<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 ring 0 stalled for more than ... radeon ... GPU lockup ..."
   href="https://bugs.freedesktop.org/show_bug.cgi?id=104307">104307</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>radeon ring 0 stalled for more than ... radeon ... GPU lockup ...
          </td>
        </tr>

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

        <tr>
          <th>Version</th>
          <td>17.2
          </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>narutocanada@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=136241" name="attach_136241" title="apitrace trace --api gl ./a.out ; mv a.out.trace a.out.mesa-17.2.7.trace">attachment 136241</a> <a href="attachment.cgi?id=136241&action=edit" title="apitrace trace --api gl ./a.out ; mv a.out.trace a.out.mesa-17.2.7.trace">[details]</a></span>
apitrace trace --api gl ./a.out ; mv a.out.trace a.out.mesa-17.2.7.trace

# how to reproduce:
# cd /build/mesa-13.0.6/; make install
rm a.out t.ppm ; gcc gbm5.c -lgbm -lEGL -lGL -lGLU ; apitrace trace --api gl
./a.out ; display t.ppm
mv a.out.trace a.out.mesa-13.0.6.trace
# cd /build/mesa-17.2.7/; make install
echo > /var/log/messages
rm a.out t.ppm ; gcc gbm5.c -lgbm -lEGL -lGL -lGLU ; apitrace trace --api gl
./a.out ; display t.ppm
mv a.out.trace a.out.mesa-17.2.7.trace
# NOTE: nromally this shader runs for about 1 second (depends on GPU),
# but would never reach 10 seconds lockup timer defined in
drivers/gpu/drm/radeon/radeon_drv.c
# something changed in Mesa perhaps ?
# single source file at: <a href="https://github.com/narutocanada/smallpt-glsl">https://github.com/narutocanada/smallpt-glsl</a>

Dec 18 01:42:21 localhost kern.err kernel: [ 4272.087147] radeon 0000:00:01.0:
ring 0 stalled for more than 10020msec
Dec 18 01:42:21 localhost kern.warn kernel: [ 4272.089575] radeon 0000:00:01.0:
GPU lockup (current fence id 0x0000000000000019 last fence id
0x000000000000001a on ring 0)
Dec 18 01:42:22 localhost kern.err kernel: [ 4272.587921] radeon 0000:00:01.0:
ring 0 stalled for more than 10521msec
Dec 18 01:42:22 localhost kern.warn kernel: [ 4272.590350] radeon 0000:00:01.0:
GPU lockup (current fence id 0x0000000000000019 last fence id
0x000000000000001a on ring 0)</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>