Bug 99194 - Saints Row IV and Unturned cause GPU resets
Summary: Saints Row IV and Unturned cause GPU resets
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: unspecified
Hardware: x86-64 (AMD64) Linux (All)
: medium normal
Assignee: Default DRI bug account
QA Contact: Default DRI bug account
Depends on:
Blocks: 77449
  Show dependency treegraph
Reported: 2016-12-24 10:49 UTC by Alex Ford
Modified: 2017-03-14 12:21 UTC (History)
0 users

See Also:
i915 platform:
i915 features:

dmesg output taken right after the event (30.96 KB, text/plain)
2016-12-24 10:49 UTC, Alex Ford
Xorg.0.log taken after the reset (27.77 KB, text/x-log)
2016-12-24 10:49 UTC, Alex Ford

Description Alex Ford 2016-12-24 10:49:11 UTC
Created attachment 128647 [details]
dmesg output taken right after the event

Under both 13.0.2 and git versions of mesa, certain games cause complete gpu lockups which are only sometimes recoverable.

The Non-free (as in beer) game Saints Row IV exhibits this behaviour shortly into the loading screen. System recovery is only possible within the first few seconds using the Sysreq key. After about five seconds the system fails to respond and requires a hardware reset.

The Free (again, as in beer) game Unturned exhibits this behaviour upon loading up a map (for my purposes I used the PEI map that is the default). System recovery is typically possible by simply closing the game, but sometimes requires a VT switch to kill the process.

This behaviour is present both in 13.0.2 and the git version at Dec 16, 2016 16:30:30 MST. This behaviour also appears in at least kernel versions 4.9.0 and 4.8.14

Dmesg output is provided, albiet oddly truncated (That is exactly where dmesg starts)

The card in question is:

Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Cayman/Antilles HDMI Audio [Radeon HD 6930/6950/6970/6990]

and as such uses the r600 driver.

Running Gentoo ~AMD64, if it helps.
Comment 1 Alex Ford 2016-12-24 10:49:48 UTC
Created attachment 128648 [details]
Xorg.0.log taken after the reset
Comment 2 Alex Ford 2017-03-14 12:21:19 UTC
A fix appeared in the git version on Dec 16, 2016, possibly https://cgit.freedesktop.org/mesa/mesa/commit/?id=e933246013eef376804662f3fcf4646c143c6c88

This fixes both Unturned and Saints Row IV

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.