<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 - issue with mpv using OGL output on latest xf86-video-ati"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=94675">94675</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>issue with mpv using OGL output on latest xf86-video-ati
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </td>
        </tr>

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

        <tr>
          <th>Hardware</th>
          <td>Other
          </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>Driver/Radeon
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>xorg-driver-ati@lists.x.org
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>john.ettedgui@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>xorg-team@lists.x.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Hello,

between commit "Use render node for DRI3 if available" and "glamor: Return
NullPixmap on failure to create shareable pixmap" something broke mpv's OGL
output. I can bisect that if needed.

When I run -vo vdpau it works fine, but -vo opengl or -vo opengl-hq gives me no
video in the window, and error lines such as:

"[vo/opengl-hq] after creating framebuffer texture: OpenGL error
INVALID_OPERATION."
"[vo/opengl-hq] after rendering: OpenGL error INVALID_OPERATION."

and on quitting:
"[vo/opengl-hq/vdpau-glx] Before uninitializing OpenGL interop: OpenGL error
INVALID_OPERATION."

Rolling back to commit "Set RADEON_GEM_NO_CPU_ACCESS flag for BOs which don't
need CPU access" fixes it.

I see nothing in dmesg related.
Other OGL programs seem to still run fine (I tried glxgears and dolphin-emu
quickly), so I am not sure.

I am on Linux 4.5, mesa git, Xorg 1.18.2, using a 280X.
I tried using mpv from latest git in case, but it didn't change anything from
0.16.

Thank you!
John</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>