Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Examples broken on AMD display device #94

Open
pavanky opened this issue Jun 13, 2016 · 10 comments
Open

Examples broken on AMD display device #94

pavanky opened this issue Jun 13, 2016 · 10 comments
Assignees
Labels
Milestone

Comments

@pavanky
Copy link
Member

pavanky commented Jun 13, 2016

OpenCL examples are not working at all

surface
surface_opencl

plotting
plotting_opencl

plot3
plot3_opencl

histogram
histogram_opencl

fractal
fractal_opencl


CPU examples look garbled at default window size, but they work after maximizing the window.

Histogram default window
histogram_cpu_default

Histogram maximized window
histogram_cpu_maximized

Fractal default window
fractal_cpu_default

Fractal maximized window
fractal_cpu_maximized

@pavanky pavanky added this to the 1.0.0 milestone Jun 13, 2016
@pavanky
Copy link
Member Author

pavanky commented Jun 13, 2016

OK you can't see the image being garbled in the screen shot of fractal default size, but it is garbled. The same is true for all cpu graphics examples on my AMD GPU

@9prady9
Copy link
Member

9prady9 commented Jul 4, 2016

@pavanky I have checked the examples on the #92 PR changes and everything is rendering as expected on AMD APU A10. Can you please test this on your GPU and let me know if the problem is still there after the changes of PR #92

@9prady9
Copy link
Member

9prady9 commented Jul 14, 2016

@pavanky I have been able to finally setup linux environment (the details are given below) and opencl examples from devel branch run with few glitches but are not as corrupted as we see above.

System Info

pradeep@asgard ~/gitroot/forge (devel) $uname -a
Linux asgard 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
Ubuntu 16.04

GPU Info

  Platform ID:                   0x7fa1444e98f8
  Name:                      Spectre
  Vendor:                    Advanced Micro Devices, Inc.
  Device OpenCL C version:           OpenCL C 1.2 
  Driver version:                2117.7 (VM)
  Profile:                   FULL_PROFILE
  Version:                   OpenCL 1.2 AMD-APP (2117.7)
  Extensions:                    cl_khr_fp64 cl_amd_fp64 cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_spir cl_khr_gl_event 

GPU Driver Info

AMDGPU-Pro Driver Version 16.30 for Ubuntu 16.04

Glitches i see on this machine are as follows

  • Renderings appear corrupted while resizing the window although they render fine before and after resize operation.
  • Towards end of the program, when we close the window, the opencl examples report a seg fault even though it ran fine until that point.
  • Ticks are not being rendered on 3d charts.

Note: All opencl examples have similar issues(listed above) on this APU's GPU, there are no deviations.

@pavanky
Copy link
Member Author

pavanky commented Aug 24, 2016

Still broken on devel. The problem occurs even if I do not resize the window. It disappears after I perform any resizing operation.

@pavanky
Copy link
Member Author

pavanky commented Sep 5, 2016

@9prady9 The examples are not broken on AMD when using SDL2 (as opposed to GLFW3). So I am guessing the problem occurs somewhere in the window focus / resizing in forge when using glfw.

But the responsiveness is really really bad on SDL. I am going to check if the responsiveness is bad on other GPUs.

@9prady9
Copy link
Member

9prady9 commented Sep 5, 2016

@pavanky I tried SDL2 toolkit backend on my laptop that has GTX 650M and image examples(fractal, histogram) & surface example were responding smoothly for the mouse events without lag. Could it be possible that this is another issue on AMD hardware ? do you see the lag for SDL2 and cpu examples as well ?

@pavanky
Copy link
Member Author

pavanky commented Sep 5, 2016

@9prady9 no, the problem occurs on other gpus as well: #109

@pavanky
Copy link
Member Author

pavanky commented Sep 5, 2016

I am trying this on arch, I am assuming you are doing the same @9prady9 ?

@9prady9
Copy link
Member

9prady9 commented Sep 5, 2016

no, i am using ubuntu 16.04 now

@9prady9 9prady9 modified the milestones: 1.0.0, timeless May 18, 2017
@9prady9 9prady9 modified the milestones: timeless, 1.0.4 Nov 17, 2018
@9prady9 9prady9 modified the milestones: 1.0.4, 1.0.5 Mar 2, 2019
@9prady9 9prady9 modified the milestones: 1.0.5, 1.0.6 Apr 8, 2020
@9prady9 9prady9 modified the milestones: 1.0.6, 1.1.0 Apr 5, 2021
@9prady9
Copy link
Member

9prady9 commented May 4, 2021

IMG_20210504_224922 - AMD GPU rendering seems to work in general except the 3d renderables - an odd horizontal line appears from the center of the screen to left edge of the window and it keeps rotation with the object if the object rotates - doesn't matter what the rendered object is. Static image of that horizontal line is shown below
IMG_20210504_225502

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants