Skip to contentSkip to conversation

New: OpenCL test 'Arithm/Absdiff.Mat/20' from OpenCV hangs HD5470M

Bug 77907 [email protected] 1 participant 6 messages Apr 24, 2014 – Sep 18, 2019

lore
Share & tools
lore
#0 lore raw

https://bugs.freedesktop.org/show_bug.cgi?id=77907

          Priority: medium
            Bug ID: 77907
          Assignee: [email protected]
           Summary: OpenCL test 'Arithm/Absdiff.Mat/20' from OpenCV hangs
                    HD5470M
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: [email protected]
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: git
         Component: Drivers/Gallium/r600
           Product: Mesa

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

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#1 lore raw

[Bug 77907] OpenCL test 'Arithm/Absdiff.Mat/20' from OpenCV hangs HD5470M

https://bugs.freedesktop.org/show_bug.cgi?id=77907

--- Comment #1 from Bruno Jiménez <[email protected]> --- Created attachment 97922
--> https://bugs.freedesktop.org/attachment.cgi?id=97922&action=edit
Here's an excerpt of dmesg from when this happens

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#2 lore raw

[Bug 77907] OpenCL test 'Arithm/Absdiff.Mat/20' from OpenCV hangs HD5470M

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=77907

--- Comment #2 from Bruno Jiménez <[email protected]> --- Created attachment 97923
--> https://bugs.freedesktop.org/attachment.cgi?id=97923&action=edit
Here's the disassembled cs I got using gdb and R600_DEBUG=cs,compute

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#3 lore raw

[Bug 77907] OpenCL test 'Arithm/Absdiff.Mat/20' from OpenCV hangs HD5470M

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=77907

--- Comment #3 from Bruno Jiménez <[email protected]> --- Created attachment 97924
--> https://bugs.freedesktop.org/attachment.cgi?id=97924&action=edit
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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/dri-devel

#4 lore raw

[Bug 77907] OpenCL test 'Arithm/Absdiff.Mat/20' from OpenCV hangs HD5470M

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=77907

Vedran Miletić <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Blocks|                            |99553

Referenced Bugs:

https://bugs.freedesktop.org/show_bug.cgi?id=99553
[Bug 99553] Tracker bug for runnning OpenCL applications on Clover

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel

#5 lore raw

[Bug 77907] OpenCL test 'Arithm/Absdiff.Mat/20' from OpenCV hangs HD5470M

In reply to [email protected]

https://bugs.freedesktop.org/show_bug.cgi?id=77907

GitLab Migration User <[email protected]> changed:

What |Removed |Added
----------------------------------------------------------------------------

             Status|NEW                         |RESOLVED
         Resolution|---                         |MOVED

--- Comment #4 from GitLab Migration User <[email protected]> --- -- 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.

Signature · 2 lines
You are receiving this mail because:
You are the assignee for the bug.

_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel