Skip to contentSkip to conversation

GPU hang (ring gfx timeout) in OpenGL game

Bug 107204 [email protected] 1 participant 4 messages Jul 12, 2018 – Sep 25, 2019

lore
Share & tools
lore
#0 lore raw

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

Bug ID: 107204
Summary: GPU hang (ring gfx timeout) in OpenGL game
Product: Mesa
Version: git
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: medium
Component: Drivers/Gallium/radeonsi
Assignee: [email protected]
Reporter: [email protected]
QA Contact: [email protected]

Created attachment 140587
--> https://bugs.freedesktop.org/attachment.cgi?id=140587&action=edit
Dumps from GALLIUM_DDEBUG

It hangs in OpenGL game immediately after startup almost always (but sometimes it goes through and works) with dmesg message:

Quoted 1 line

[drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx timeout, last signaled seq=3324, last emitted seq=3327

I tested it on Radeon RX580, mainline kernel 4.18, Mesa 18.1.3 and Mesa git c0874947f1.

I could provide game code for testing but I would have to package minimal assets as full game weights pretty much.

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

#1 lore raw

[Bug 107204] GPU hang (ring gfx timeout) with out of bounds UBO read in shader

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

Miłosz Rachwał <[email protected]> changed:

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

            Summary|GPU hang (ring gfx timeout) |GPU hang (ring gfx timeout)
                   |in OpenGL game              |with out of bounds UBO read
                   |                            |in shader
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

#2 lore raw

[Bug 107204] GPU hang (ring gfx timeout) with out of bounds UBO read in shader

In reply to [email protected]

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

--- Comment #1 from Miłosz Rachwał <[email protected]> ---
It turned out that the cause was uninitialized UBO, which depending on memory contents leaded to out of bounds UBO array read in fragment shader. It probably shouldn't bring down whole GPU, though.

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

#3 lore raw

[Bug 107204] GPU hang (ring gfx timeout) with out of bounds UBO read in shader

In reply to [email protected]

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

GitLab Migration User <[email protected]> changed:

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

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

--- Comment #2 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/1320.

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