<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 - problems with tearfree fullscreen video on secondary HDMI1 screen"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=91066">91066</a>
          </td>
        </tr>

        <tr>
          <th>Summary</th>
          <td>problems with tearfree fullscreen video on secondary HDMI1 screen
          </td>
        </tr>

        <tr>
          <th>Product</th>
          <td>xorg
          </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>Driver/intel
          </td>
        </tr>

        <tr>
          <th>Assignee</th>
          <td>chris@chris-wilson.co.uk
          </td>
        </tr>

        <tr>
          <th>Reporter</th>
          <td>kevmitch@gmail.com
          </td>
        </tr>

        <tr>
          <th>QA Contact</th>
          <td>intel-gfx-bugs@lists.freedesktop.org
          </td>
        </tr></table>
      <p>
        <div>
        <pre>Created <span class=""><a href="attachment.cgi?id=116665" name="attach_116665" title="xorg.0.log after triggeing  BadDrawable  errors">attachment 116665</a> <a href="attachment.cgi?id=116665&action=edit" title="xorg.0.log after triggeing  BadDrawable  errors">[details]</a></span>
xorg.0.log after triggeing  BadDrawable  errors

As originally described in <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW - TearFree option bugs"
   href="show_bug.cgi?id=91036">Bug 91036</a>. 

My system is:
Mobile Ivy Bridge 
Debian sid
xf86-video-intel=master(87b5ca2)
linux=4.0.5 or drm_intel master(be39a7e) (tried both)
xserver-xorg-core=2:1.17.1-2
xserver-xorg=1:7.7+9
mpv=git master(09eaaf3)

Running with sna acceleration and tearfree option on.

Dual screen desktop set up with

    xrandr --output LVDS1 --mode 1920x1080 --rate 60  --output HDMI1 --mode
1920x1080 --rate 23.98 --set "Broadcast RGB" "Full" --right-of LVDS1

Play a 23.98 fps clip with mpv. Default configuration. Opengl output, no
hardware decoding

    mpv --no-config --vo=opengl 1920x1080-23.80fps.mkv

Works fine until I go full screen on HDMI1. Then the image freezes or goes
black and I often (though not alwasy) get a ton of

[vo/opengl/x11] X11 error: BadDrawable (invalid Pixmap or Window parameter)

in the terminal in which mpv is executing.

This is accompanied by a bunch of 

[   817.135] (EE) intel(0): [DRI2] DRI2SwapBuffers: drawable has no back or
front?

in Xorg.0.log (attached)

If I match the refresh rate 

    xrandr --output LVDS1 --mode 1920x1080 --rate 60  --output HDMI1 --mode
1920x1080 --rate 60 --set "Broadcast RGB" "Full" --right-of LVDS1

I get, but old frames often get displayed resulting in jerky back and forth
effect. 

I don't see any of these problems with uxa acceleration.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the QA Contact for the bug.</li>
      </ul>
    </body>
</html>