Bug 99194

Summary: Saints Row IV and Unturned cause GPU resets
Product: Mesa Reporter: Alex Ford <alex>
Component: Drivers/Gallium/r600Assignee: Default DRI bug account <dri-devel>
Status: RESOLVED FIXED QA Contact: Default DRI bug account <dri-devel>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: x86-64 (AMD64)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:
Bug Depends on:    
Bug Blocks: 77449    
Attachments: dmesg output taken right after the event
Xorg.0.log taken after the reset

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.