https://bugs.freedesktop.org/show_bug.cgi?id=89887
Bug ID: 89887 Summary: AMD 3650 Mobility locks up on overdraw Product: Mesa Version: git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r600 Assignee: dri-devel@lists.freedesktop.org Reporter: pavol@klacansky.com QA Contact: dri-devel@lists.freedesktop.org
Created attachment 114845 --> https://bugs.freedesktop.org/attachment.cgi?id=114845&action=edit 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.
https://bugs.freedesktop.org/show_bug.cgi?id=89887
--- Comment #1 from Dave Airlie airlied@freedesktop.org --- can you attach the source code and how to build it?
https://bugs.freedesktop.org/show_bug.cgi?id=89887
pavol@klacansky.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #114845|0 |1 is obsolete| |
--- Comment #2 from pavol@klacansky.com --- Created attachment 114856 --> https://bugs.freedesktop.org/attachment.cgi?id=114856&action=edit Overdraw application
https://bugs.freedesktop.org/show_bug.cgi?id=89887
--- Comment #3 from pavol@klacansky.com --- 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`".
https://bugs.freedesktop.org/show_bug.cgi?id=89887
--- Comment #4 from pavol@klacansky.com --- Created attachment 114911 --> https://bugs.freedesktop.org/attachment.cgi?id=114911&action=edit 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`
https://bugs.freedesktop.org/show_bug.cgi?id=89887
--- Comment #5 from pavol@klacansky.com --- Tesla card renders it correctly (it takes around 10 seconds), I will test on Intel (GL 2.1) when I get home.
https://bugs.freedesktop.org/show_bug.cgi?id=89887
--- Comment #6 from pavol@klacansky.com --- Intel x4500 hang too, but seems to do better job at reseting.
https://bugs.freedesktop.org/show_bug.cgi?id=89887
--- Comment #7 from pavol@klacansky.com --- Created attachment 114934 --> https://bugs.freedesktop.org/attachment.cgi?id=114934&action=edit Intel dmesg
https://bugs.freedesktop.org/show_bug.cgi?id=89887
Marek Olšák maraeo@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |NOTABUG
--- Comment #8 from Marek Olšák maraeo@gmail.com --- 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.
https://bugs.freedesktop.org/show_bug.cgi?id=89887
--- Comment #9 from Christian König deathsimple@vodafone.de --- (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.
dri-devel@lists.freedesktop.org