https://bugs.freedesktop.org/show_bug.cgi?id=90284
Bug ID: 90284 Summary: radeon crashes (ring 0 stall) with GPU fault detected: 147, and *ERROR* radeon: dpm resume failed. Product: DRI Version: XOrg git Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: DRM/Radeon Assignee: dri-devel@lists.freedesktop.org Reporter: niklas@trippler.no
Created attachment 115515 --> https://bugs.freedesktop.org/attachment.cgi?id=115515&action=edit journalctl -r -x --boot=-4
Graphics card: AMD R9 290 Kernel: Linux archfractal 4.0.1-1-ARCH #1 SMP PREEMPT Monitors connected: 2 DE: Xfce
Relevant packages: local/xf86-video-ati 1:7.5.0-2 (xorg-drivers xorg) local/lib32-mesa 10.5.4-1 local/lib32-mesa-libgl 10.5.4-1 local/lib32-mesa-vdpau 10.5.4-1 local/linux 4.0.1-1 (base) local/xorg-server 1.17.1-5 (xorg)
This bug, which is triggered by dota2 (Valve game), locks up both displays for a few seconds before they blink black and freeze in the last frame displayed, requireing a system reboot. The bug seems to happen with others (same symptoms / log messages) using other applications (chrome html5 video was mentioned), but dota2 seems like one of the few recreatable ways to trigger the bug.
Steps to recreate: Have steam and dota 2 installed (might have to remove steams own bundled libstdc++ libraries as they conflict with mesa). Launch dota 2 with any video settings Start a new lobby with "cheats enabled" and "all pick" game mode (these don't matter, but make it faster to recreate) Pick the hero "Chaos Knight" and enter the game Type in chat "-lvlup 24" to gain max level and skill up everything Click R to use ulti (which spawns copies of himself) Hold-drag mouse over all the illusions and the hero. When the mouse button is released the above bug triggers, crashing the displaydriver and taking the computer down with it.
In the log attached (journal_log) the bug is triggered at 17:43:50, the first line there is: "kernel: radeon 0000:01:00.0: GPU fault detected: 147 0x000cc801" I noticed a few lines later the following lines appeared:
May 02 17:44:01 archfractal kernel: [drm:radeon_pm_resume [radeon]] *ERROR* radeon: dpm resume failed May 02 17:44:01 archfractal kernel: [drm:ci_dpm_enable [radeon]] *ERROR* ci_start_dpm failed
I guessed the bug had something to do with dpm, and disabled it (kernel parameter radeon.dpm=0). When I had done this the bug could still be recreated, but the log showed completely different error messages. This log is also attached as "journal_log_radeon_dpm_is_0"
I had to gzip the first log to fit within the 3M file size limit
https://bugs.freedesktop.org/show_bug.cgi?id=90284
--- Comment #1 from Trippler niklas@trippler.no --- Created attachment 115516 --> https://bugs.freedesktop.org/attachment.cgi?id=115516&action=edit journalctl -r -x --boot=-2. This is the log when booted with radeon.dpm=0
https://bugs.freedesktop.org/show_bug.cgi?id=90284
Alex Deucher alexdeucher@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|DRM/Radeon |Drivers/Gallium/radeonsi Version|XOrg git |10.5 Product|DRI |Mesa Summary|radeon crashes (ring 0 |GPU lockup with DOTA2 |stall) with GPU fault | |detected: 147, and *ERROR* | |radeon: dpm resume failed. | QA Contact| |dri-devel@lists.freedesktop | |.org
https://bugs.freedesktop.org/show_bug.cgi?id=90284
--- Comment #2 from Tom Stellard tstellar@gmail.com --- Can you run the program with the environment variable R600_DEBUG=ps,vs,gs and post the output.
https://bugs.freedesktop.org/show_bug.cgi?id=90284
--- Comment #3 from Trippler niklas@trippler.no --- Created attachment 115594 --> https://bugs.freedesktop.org/attachment.cgi?id=115594&action=edit Output of the program being run with R600_DEBUG=ps,vs,gs
export R600_DEBUG=ps,vs,gs steam > output_steam
After this I ran game from steam and recreated crash condition. Also attached (next attachment) is systemd log from this event as well (journal_log_with_debug_ps_vs_gs.gz)
https://bugs.freedesktop.org/show_bug.cgi?id=90284
--- Comment #4 from Trippler niklas@trippler.no --- Created attachment 115595 --> https://bugs.freedesktop.org/attachment.cgi?id=115595&action=edit journalctl -r -x --boot=-1 when recreating the crash with R600_DEBUG=ps,vs,gs
https://bugs.freedesktop.org/show_bug.cgi?id=90284
--- Comment #5 from Trippler niklas@trippler.no --- (In reply to Trippler from comment #4)
Created attachment 115595 [details] journalctl -r -x --boot=-1 when recreating the crash with R600_DEBUG=ps,vs,gs
Done. I added two logs - "output_steam.gz" which is the output of the program, and "journal_log_with_debug_ps_vs_gs.gz" which is the output of "journalctl --boot=-1 -r -x"
https://bugs.freedesktop.org/show_bug.cgi?id=90284
Michel Dänzer michel@daenzer.net changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #115594|text/plain |application/gzip mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=90284
Tom Stellard tstellar@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #115515|text/plain |application/gzip mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=90284
Tom Stellard tstellar@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #115595|text/plain |application/gzip mime type| |
https://bugs.freedesktop.org/show_bug.cgi?id=90284
--- Comment #6 from pablow.1422@gmail.com --- Same here.
Graphics card: AMD Radeon HD7750 Kernel: 3.19.0-16-generic #16-Ubuntu SMP DE: KDE
Mesa 10.6.0-devel (git-28090b3 2015-05-05 vivid-oibaf-ppa)
Any info needed, I'm happy to provide it.
https://bugs.freedesktop.org/show_bug.cgi?id=90284
--- Comment #7 from Marek Olšák maraeo@gmail.com --- Can you still reproduce this with current Mesa git?
https://bugs.freedesktop.org/show_bug.cgi?id=90284
Oded Gabbay oded.gabbay@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO
--- Comment #8 from Oded Gabbay oded.gabbay@gmail.com --- Is this still relevant ? We got reports it works with Ubuntu 16.04
https://bugs.freedesktop.org/show_bug.cgi?id=90284
--- Comment #9 from Trippler niklas@trippler.no --- (In reply to Oded Gabbay from comment #8)
Is this still relevant ? We got reports it works with Ubuntu 16.04
I can confirm that I can no longer recreate the bug. They have switched the game engine the game uses since this bug was reported, so I do not know if the cause is fixed or it is no longer triggered.
I do think it's safe to mark this as no longer relevant though.
https://bugs.freedesktop.org/show_bug.cgi?id=90284
Timothy Arceri t_arceri@yahoo.com.au changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |RESOLVED Resolution|--- |INVALID
--- Comment #10 from Timothy Arceri t_arceri@yahoo.com.au --- Closing as invalid since both Mesa and Dota2 have changed since the report and the problem can no longer be reproduced.
dri-devel@lists.freedesktop.org