The effects are that when running that test, the screen freezes for a while, then goes to black, then shows back my desktop, happening this some times.
After some debugging, the hang seems to occur with the compute shader sent to the GPU, as the system freezes when it waits for the GPU to finish.
My system is Arch Linux with:
- AMD CEDAR 5470M
- kernel 3.14.1-1
- llvm at revision 207118
- mesa at commit 352e06d
- opencv at commit bb4199b
Created attachment 97922 [details]
Here's an excerpt of dmesg from when this happens
Created attachment 97923 [details]
Here's the disassembled cs I got using gdb and R600_DEBUG=cs,compute
Created attachment 97924 [details]
Here's the lockup code I obtained using R600_DEBUG=trace_cs
This code does indeed hang my GPU in the same way (as far as I can see) that the test does.
-- GitLab Migration Automatic Message --
This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.
You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/506.