Bug 77907 - OpenCL test 'Arithm/Absdiff.Mat/20' from OpenCV hangs HD5470M
Summary: OpenCL test 'Arithm/Absdiff.Mat/20' from OpenCV hangs HD5470M
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 99553
  Show dependency treegraph
 
Reported: 2014-04-24 23:04 UTC by Bruno Jiménez
Modified: 2019-09-18 19:16 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Here's an excerpt of dmesg from when this happens (2.97 KB, text/plain)
2014-04-24 23:06 UTC, Bruno Jiménez
Details
Here's the disassembled cs I got using gdb and R600_DEBUG=cs,compute (92.89 KB, text/plain)
2014-04-24 23:08 UTC, Bruno Jiménez
Details
Here's the lockup code I obtained using R600_DEBUG=trace_cs (700.40 KB, text/plain)
2014-04-24 23:11 UTC, Bruno Jiménez
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Bruno Jiménez 2014-04-24 23:04:08 UTC
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
Comment 1 Bruno Jiménez 2014-04-24 23:06:41 UTC
Created attachment 97922 [details]
Here's an excerpt of dmesg from when this happens
Comment 2 Bruno Jiménez 2014-04-24 23:08:42 UTC
Created attachment 97923 [details]
Here's the disassembled cs I got using gdb and R600_DEBUG=cs,compute
Comment 3 Bruno Jiménez 2014-04-24 23:11:05 UTC
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.
Comment 4 GitLab Migration User 2019-09-18 19:16:00 UTC
-- 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.


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.