<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - radeon crashes (ring 0 stall) with GPU fault detected: 147, and *ERROR* radeon: dpm resume failed."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=90284">90284</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>radeon crashes (ring 0 stall) with GPU fault detected: 147, and *ERROR* radeon: dpm resume failed.
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>DRI
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>XOrg git
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>x86-64 (AMD64)
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>Linux (All)
          </td>
        </tr>

        <tr>
          <th>Status</th>
          <td>NEW
          </td>
        </tr>

        <tr>
          <th>Severity</th>
          <td>normal
          </td>
        </tr>

        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Component</th>
          <td>DRM/Radeon
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>niklas@trippler.no
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=115515" name="attach_115515" title="journalctl -r -x --boot=-4">attachment 115515</a> <a href="attachment.cgi?id=115515&action=edit" title="journalctl -r -x --boot=-4">[details]</a></span>
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</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>