[Bug 91036] TearFree option bugs

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Jun 22 06:12:22 PDT 2015


https://bugs.freedesktop.org/show_bug.cgi?id=91036

--- Comment #24 from Chris Wilson <chris at chris-wilson.co.uk> ---
(In reply to Kevin Mitchell from comment #23)
> I'm also having tearfree problems. Please advise if I should include this as
> a separate bug report. 
> 
> My system is:
> Mobile Ivy Bridge 
> Debian sid
> xf86-video-intel=master
> linux=4.0.5 or drm_intel master (tried both)
> xserver-xorg-core=2:1.17.1-2
> xserver-xorg=1:7.7+9
> 
> For me, the problem only seems to be when I have an extended desktop
> (non-mirrored) second display connected via HDMI1 together with my laptops
> LVDS1. I set this up with
> 
>     xrandr --output LVDS1 --mode 1920x1080 --rate 60  --output HDMI1 --mode
> 1920x1080 --rate 23.98 --set "Broadcast RGB" "Full" --right-of LVDS1
> (my LVDS1 is unfortunately restricted to 60hz or 50hz)
> 
> My test case is running
> 
>     mpv --no-config --vo=opengl 23.80fps.mkv
> (http://mpv.io/)
> 
> in fullscreen on the HDMI display. This works nearly flawlessly with the old
> UXA acceleration mode aside from the occasional judder/dropped frame.
> 
> With base no xorg configuration (i.e., base SNA), I get bad video tearing.

Tearing is expected if either the application requests tearing, or is too slow
to maintain the requested framerate (i.e. if it misses a frame, the next frame
is presented as soon as possible without synchronisation, the technique is
called adaptive vsync and is meant to help reduce jitter).

> Therefore, I enable the tearfree option. In this case, it seems to work ok
> on either screen in windowed mode, but when I fullscreen to the HDMI1
> display, the video freezes or goes black. The player itself, including
> audio, appears to continue going reporting no dropped frames, although it
> does fill the terminal with a bunch of
> 
> [vo/opengl/x11] X11 error: BadDrawable (invalid Pixmap or Window parameter)

That's a distinct bug, it's generated by the core layer. There is one known
issue involving DRI2/DRI3 interop in mpv that generates that error, bug 85665.

Ultimately I need to have a look at your Xorg.0.log to see which class of
errors you are likely seeing.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/intel-gfx-bugs/attachments/20150622/011c464b/attachment.html>


More information about the intel-gfx-bugs mailing list