<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 r600 vdpau: Invalid command stream: texture bo too small"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=98512">98512</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>radeon r600 vdpau: Invalid command stream: texture bo too small
          </td>
        </tr>

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

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

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

        <tr>
          <th>Reporter</th>
          <td>james.campbell@yahoo.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Mesa Git Master
Arch Linux
AMD A8-6600K APU

When playing an h264 video using mpv with vdpau hardware decoding over opengl,
the video is corrupted and the following error appears in dmesg:

[ 8936.496231] radeon 0000:00:01.0: evergreen_cs_track_validate_texture:854
texture bo too small (layer size 225280, offset 1126400, max layer 2, depth 1,
bo size 1351680) (640 176)
[ 8936.496257] [drm:radeon_cs_ioctl [radeon]] *ERROR* Invalid command stream !

If I downgrade mesa to 12.0.3, playback works ok.

Other mpv users have reported the same issue:
<a href="https://github.com/mpv-player/mpv/issues/3714">https://github.com/mpv-player/mpv/issues/3714</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>