<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 - [amdgpu R9 390X] GPU hang on windows switching while running Quetoo"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99685">99685</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[amdgpu R9 390X] GPU hang on windows switching while running Quetoo
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>Mesa
          </td>
        </tr>

        <tr>
          <th>Version</th>
          <td>17.0
          </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>Drivers/Gallium/radeonsi
          </td>
        </tr>

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

        <tr>
          <th>Reporter</th>
          <td>dev@illwieckz.net
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hi, I trigger a GPU hang whenever I switch between the Quetoo window and
another windows using Alt+Tab. A map must be loaded to trigger the hang. Once
the GPU hanged, the display does not update (but everything else is still
running, I can hear sound effects, connect from a remote computer to monitor
things etc) and every action that query the GPU will hang, for example after
the display hang, it's not possible to run clinfo otherwise it will never
return.

GPU: R9 390X
Distro: Ubuntu 16.10
Kernel: Linux 4.9.0-6.1 (from <a href="https://liquorix.net/">https://liquorix.net/</a> )
KMD: amdgpu
UMD: Mesa 17.1.0-devel (from
<a href="https://launchpad.net/~paulo-miguel-dias/+archive/ubuntu/mesa">https://launchpad.net/~paulo-miguel-dias/+archive/ubuntu/mesa</a> )

How to trigger the bug:

1. Untar Quetoo prebuild binary (from <a href="http://quetoo.org/pages/downloads">http://quetoo.org/pages/downloads</a> )
2. run bin/quetoo-update to get data
3. delete lib/libdrm.so.2 and lib/libstdc++.so.6 from quetoo dir if needed
4. run bin/quetoo
5. load a map (or join a server)
6. do the Alt+Tab thing to switch between windows and come back to Quetoo.

If you want to build quetoo yourself, you can run it that way after having
built it:
$ src/main/quetoo -p …/quetoo/share/default -p …/quetoo/lib/default

"…/quetoo" being the path where you ran quetoo-update before (share/default
contains pk3 game data and lib/default contains glsl etc.)

I don't know if the bug is on Mesa side or kernel side.

dmesg
<a href="http://pastebin.com/eQt6radD">http://pastebin.com/eQt6radD</a>
Xorg.0.log
<a href="http://pastebin.com/Ge11mwN6">http://pastebin.com/Ge11mwN6</a>
journactl /usr/lib/gdm3/gdm-x-session
<a href="http://pastebin.com/3hYX08H7">http://pastebin.com/3hYX08H7</a></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>