<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 - r600 [CEDAR]: GPU stalls when running shadertoy "ladybug""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=105291">105291</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>r600 [CEDAR]: GPU stalls when running shadertoy "ladybug"
          </td>
        </tr>

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

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

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

        <tr>
          <th>URL</th>
          <td>https://www.shadertoy.com/view/4tByz3
          </td>
        </tr>

        <tr>
          <th>OS</th>
          <td>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/r600
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>gw.fossdev@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>mesa-dev@lists.freedesktop.org
          </td>
        </tr>

        <tr>
          <th>CC</th>
          <td>russianneuromancer@ya.ru
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Running the shader toy example 

  <a href="https://www.shadertoy.com/view/4tByz3">https://www.shadertoy.com/view/4tByz3</a>

causes a GPU stall on CEDAR:
radeon 0000:06:00.0: ring 0 stalled for more than 10360msec
radeon 0000:06:00.0: GPU lockup (current fence id 0x00000000000005c1 
                     last fence id 0x0000000000000644 on ring 0)
radeon 0000:06:00.0: Saved 4178 dwords of commands on ring 0.
...

[drm:r600_ib_test [radeon]] *ERROR* radeon: fence wait timed out.
[drm:radeon_ib_ring_tests [radeon]] *ERROR* radeon: failed testing 
                  IB on GFX ring (-110).

The same shader toy runs fine on BARTS.

Considering that this shader runs at 1.6 FPS on BARTS the timeout could also
happen because it simply take to long to process a shader stage (i.e. one
shader is 32750 DW long (optimized) and has a few long nested loops).</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the QA Contact for the bug.</li>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>