<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 - [radeonsi,regression] Hardware-accelerated video playback with mpv spams console with "r600_texture_transfer_map - failed to create temporary texture to hold untiled copy""
   href="https://bugs.freedesktop.org/show_bug.cgi?id=99579">99579</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>[radeonsi,regression] Hardware-accelerated video playback with mpv spams console with "r600_texture_transfer_map - failed to create temporary texture to hold untiled copy"
          </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>All
          </td>
        </tr>

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

        <tr>
          <th>Keywords</th>
          <td>bisect_pending, regression
          </td>
        </tr>

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

        <tr>
          <th>Priority</th>
          <td>high
          </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>kai@dev.carbon-project.org
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>dri-devel@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Since updating Mesa from 494b63f52541936e7b0357534ee0fd2444319501 to
7c5629a26912af9164bda17b7af5370f6b4302e4 I see the following error spammed to
the console when playing back any video with mpv and hardware acceleration
(VA-API and VDPAU are both affected):
<span class="quote">> EE ../../../../../src/gallium/drivers/radeon/r600_texture.c:1571 r600_texture_transfer_map - failed to create temporary texture to hold untiled copy</span >
Only when I set --hwdec=no and --vo to something other than "vaapi" or "vdpau"
I can avoid this error. dmesg is clear and shows no error.

I'm using the following mpv and FFmpeg versions (all from their respective
Debian packages):
mpv 0.23.0
ffmpeg library versions:
   libavutil       55.34.100
   libavcodec      57.64.101
   libavformat     57.56.100
   libswscale      4.2.100
   libavfilter     6.65.100
   libswresample   2.3.100
ffmpeg version: 3.2.2-1

The graphics stack used (Debian testing as a base) was:
GPU: Hawaii PRO [Radeon R9 290] (ChipID = 0x67b1)
Mesa: Git:master/7c5629a269 + the modified version of <span class=""><a href="attachment.cgi?id=127812" name="attach_127812" title="Mesa part of fix">attachment 127812</a> <a href="attachment.cgi?id=127812&action=edit" title="Mesa part of fix">[details]</a></span> <a href='page.cgi?id=splinter.html&bug=99579&attachment=127812'>[review]</a>
libdrm: Git:master/d4b8344363 (tag libdrm-2.4.75)
LLVM: SVN:trunk/r293339 (5.0 devel) +
<<a href="https://reviews.llvm.org/D26348?download=true">https://reviews.llvm.org/D26348?download=true</a>>
X.Org: 2:1.19.0-3
Linux: 4.9.6
Firmware: 20161130-2
libclc: Git:master/2ec7d80d5e
DDX (amdgpu): 1.2.0-1+b1

Let me know, if you need anything else (besides a bisect).</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>