<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body><table border="1" cellspacing="0" cellpadding="8">
        <tr>
          <th>Priority</th>
          <td>medium
          </td>
        </tr>

        <tr>
          <th>Bug ID</th>
          <td><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - screen goes blank, Linux hangs - Radeon 7870, Gallium, Glamor"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=65963">65963</a>
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>xorg-driver-ati@lists.x.org
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>screen goes blank, Linux hangs - Radeon 7870, Gallium, Glamor
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xorg-team@lists.x.org
          </td>
        </tr>

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

        <tr>
          <th>Classification</th>
          <td>Unclassified
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>All
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>nowaker@geozone.pl
          </td>
        </tr>

        <tr>
          <th>Hardware</th>
          <td>Other
          </td>
        </tr>

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

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

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

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr></table>
      <p>
        <div>
        <pre>My Linux hangs randomly after I replaced my 2x Nvidia cards (ZaphodHeads,
Xinerama) with Radeon 7870 (Gallium, Glamor). 

Desktop hangs, I can move the pointer but clicking doesn't have any effect.
After ~3 second the screen goes blank. Sometimes (10%?) it recovers after ~15
seconds. In most cases it just hangs. Linux is totally dead, doesn't answer to
ping, ssh and even Alt+PrtSc shortcuts.

If it recovers, I see this[1] in the dmesg and this[2] in the Xorg.0.log.

[1]
[  389.821754] radeon 0000:01:00.0: GPU lockup CP stall for more than 10000msec

[2]
(EE) [mi] EQ overflowing.  Additional events will be discarded until existing
events are processed.


I am able to reproduce the bug using Linphone (it doesn't mean it hangs just in
Linphone). I call my mobile. Screen goes blank right after connection is
established (connection = when you hear beeping and you wait for the guy to
answer the phone). Therefore, I can test if the changes you provide resolve the
issue.


Using x86_64  Arch Linux 3.9.6-1-ARCH, radeon and glamor from git, KDE.

lspci: 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc.
[AMD/ATI] Pitcairn XT [Radeon HD 7870 GHz Edition]

glxinfo: OpenGL renderer string: Gallium 0.4 on AMD PITCAIRN



Full logs:
<a href="http://upload.nowaker.net/nwkr/1371723485_glxinfo">http://upload.nowaker.net/nwkr/1371723485_glxinfo</a>
<a href="http://upload.nowaker.net/nwkr/1371724316_xrandr">http://upload.nowaker.net/nwkr/1371724316_xrandr</a>

When Linux recovers:
<a href="http://upload.nowaker.net/nwkr/1371723420_dmesg">http://upload.nowaker.net/nwkr/1371723420_dmesg</a>
<a href="http://upload.nowaker.net/nwkr/1371724751_Xorg.0.log">http://upload.nowaker.net/nwkr/1371724751_Xorg.0.log</a>

When Linux hangs, thus log cut:
<a href="http://upload.nowaker.net/nwkr/1371723428_Xorg.0.log.old">http://upload.nowaker.net/nwkr/1371723428_Xorg.0.log.old</a> - when Linux hangs


Tell me if you need more logs.
I will be happy to test any provided fixes.</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>