Created attachment 114845 [details] Demo Hi, by accident I found out that after some threshold on overdraw the GPU hangs. I have attached a simple program that demonstrates the problem.
can you attach the source code and how to build it?
Created attachment 114856 [details] Overdraw application
I have fixed MIME for the overdraw demo. It requires Gtk+ 3.16 and it can be compiled by "clang main.c common/io.c `pkg-config --cflags --libs gtk+-3.0 epoxy`".
Created attachment 114911 [details] Overdraw GLFW3 This is a version using GLFW3 in case you do not have Gtk+ 3.16. gcc common/io.c main.c `pkg-config --cflags --libs glfw3 epoxy`
Tesla card renders it correctly (it takes around 10 seconds), I will test on Intel (GL 2.1) when I get home.
Intel x4500 hang too, but seems to do better job at reseting.
Created attachment 114934 [details] Intel dmesg
Hi Pavol, If the draw call takes more than 10 seconds, the kernel driver will consider it a hang and will try to reset the GPU, which might sometimes fail, leaving the GPU in an unusable state. I will close this as NOTABUG. Please try again with a lower instance count and make sure it finishes in 10 seconds.
(In reply to Marek Olšák from comment #8) > I will close this as NOTABUG. Please try again with a lower instance count > and make sure it finishes in 10 seconds. Alternatively use the kernel parameter radeon.lockup_timeout=20000 to increase the timeout to 20 seconds.
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.