-
Notifications
You must be signed in to change notification settings - Fork 48
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
Comments
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 |
@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
Glitches i see on this machine are as follows
Note: All opencl examples have similar issues(listed above) on this APU's GPU, there are no deviations. |
Still broken on devel. The problem occurs even if I do not resize the window. It disappears after I perform any resizing operation. |
@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. |
@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 ? |
I am trying this on arch, I am assuming you are doing the same @9prady9 ? |
no, i am using ubuntu 16.04 now |
OpenCL examples are not working at all
surface
plotting
plot3
histogram
fractal
CPU examples look garbled at default window size, but they work after maximizing the window.
Histogram default window
Histogram maximized window
Fractal default window
Fractal maximized window
The text was updated successfully, but these errors were encountered: