[Bug 91036] TearFree option bugs
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Jun 22 04:18:55 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=91036
--- Comment #23 from Kevin Mitchell <kevmitch at gmail.com> ---
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.
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)
This persists even if I then exit fullscreen and go back to windowed mode. I
have to stop and restart the player in windowed mode to resume normal
operation.
Then I tried the above with the HDMI1 display also set to the same 60hz refresh
rate as the LVDS1 (not ideal for video playback)
xrandr --output LVDS1 --mode 1920x1080 --rate 60 --output HDMI1 --mode
1920x1080 --rate 60 --set "Broadcast RGB" "Full" --right-of LVDS1
In this case, it behaves a little better. No X11 errors or freezing with
fullscreen HDMI1, but frequently (about every 10s or so) one or more frames
from within the last second are displayed resulting in a jerky back-and-forth
video playback. Again the mpv player itself continues to run without reporting
dropped frames and the audio is uninterrupted. In this case, I also observe
similar corruption as described by the original reporter.
So far, I have yet to experience these problems if I mirror the displays (even
with different refresh rates)
xrandr --output LVDS1 --mode 1920x1080 --rate 60 --output HDMI1 --mode
1920x1080 --rate 23.98 --set "Broadcast RGB" "Full" --same-as LVDS1
Same refresh rate mirrored also works well
xrandr --output LVDS1 --mode 1920x1080 --rate 60 --output HDMI1 --mode
1920x1080 --rate 60 --set "Broadcast RGB" "Full" --same-as LVDS1
Finally, turning off the LVDS1 entirely seems to work
xrandr --output LVDS1 --off --output HDMI1 --mode 1920x1080 --rate 23.98
--set "Broadcast RGB" "Full" --same-as LVDS1
--
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/1c795b36/attachment.html>
More information about the intel-gfx-bugs
mailing list