Bug 107204 - GPU hang (ring gfx timeout) with out of bounds UBO read in shader
Summary: GPU hang (ring gfx timeout) with out of bounds UBO read in shader
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/radeonsi (show other bugs)
Version: git
Hardware: All All
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-07-12 12:45 UTC by Miłosz Rachwał
Modified: 2019-09-25 18:09 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
Dumps from GALLIUM_DDEBUG (124.15 KB, application/zip)
2018-07-12 12:45 UTC, Miłosz Rachwał
Details

Description Miłosz Rachwał 2018-07-12 12:45:24 UTC
Created attachment 140587 [details]
Dumps from GALLIUM_DDEBUG

It hangs in OpenGL game immediately after startup almost always (but sometimes it goes through and works) with dmesg message:
>[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.
Comment 1 Miłosz Rachwał 2018-07-13 16:28:43 UTC
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.
Comment 2 GitLab Migration User 2019-09-25 18:09:10 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/1320.


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.