You are not logged in.

#1 2015-10-14 22:10:00

bernd_b
Member
Registered: 2013-07-30
Posts: 183

full screen video playback with mpv or vlc broken using vaapi

I did an update on my video playback pc a few days ago. Since then, video motion is still without anything to complain about when I use mpv or vlc in windowed mode. But when switching to full screen, playback of the video stutters.

As far as I could track this matter down, downgrading from
extra/xf86-video-intel 1:2.99.917+478+gdf72bc5-2

to

extra/xf86-video-intel 1:2.99.917.20150616-2

seems to stop this behaviour and full screen playback behaves normally again.

It is maybe of notice that kodi isn't affected at all regardless of the xf86-video-intel version installed.

Anyone out there who knows which brings light into this matter? The archlinux installed is 64bit and I use vaapi hardware acceleration for playback with the built in HD2000 graphic card.

Offline

#2 2015-10-18 17:19:50

bastardo
Member
Registered: 2008-11-29
Posts: 15

Re: full screen video playback with mpv or vlc broken using vaapi

I think I got a similar issue. Video stutters with VDPAU in mplayer and vlc and works fine with

mplayer -vo xv

I don't have a solution though.

I have an Ivy Bridge.

Offline

#3 2015-10-18 17:42:05

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: full screen video playback with mpv or vlc broken using vaapi

I have different issues with fullscreen vaapi using the latest xf86-video-intel package. The usual advice when problems arise with that package - have you tried switching to UXA? Also, what output are you using with mpv, vaapi or opengl? Kodi doesn't have a native vaapi output, it always uses opengl, perhaps that's why it doesn't have any problems. I think in the next few days I will attempt a git bisect of xf86-video-intel to find out when exactly the problem started, all I know is version 2.99.917+381+g5772556-1 works fine.

@bastardo: Intel doesn't have VDPAU, so whatever issues you have, they're of a totally different nature.

Offline

#4 2015-10-20 20:40:09

bernd_b
Member
Registered: 2013-07-30
Posts: 183

Re: full screen video playback with mpv or vlc broken using vaapi

Indeed, I was using --vo=vaapi. But changing to --vo=opengl didn't change the behaviour in fullscreen. It's a pity - from what I see and remember the motion flow in windowed mode is really great.

Offline

#5 2015-10-25 20:21:22

bernd_b
Member
Registered: 2013-07-30
Posts: 183

Re: full screen video playback with mpv or vlc broken using vaapi

Gusar wrote:

have you tried switching to UXA?

In between I tried. It helps with mpv, but leaves me with tearing in vlc (instead of shuttering).

bernd_b wrote:

motion flow in windowed mode is really great

Some further testing indicates to me, that it isn't that simple. The bigger the window, the more and faulty the playback behaves as in full screen. So this seems to be a performance issue introduced with the current driver version?

Since overall it gives me the best results, I stick to downgrading to xf86-video-intel 1:2.99.917.20150616-2.

Offline

#6 2015-11-13 13:40:36

kokoko3k
Member
Registered: 2008-11-14
Posts: 2,457

Re: full screen video playback with mpv or vlc broken using vaapi

For those (like me) with tearing problems with xf86-video-intel+sna, It is true that downgrading fixes it,
but with mpv >=0.12 (and at least 0.13 too), if you intend to use opengl video output, then you need to pass --vo=opengl:backend=x11 too, or it will pick x11egl that tears.
...don't know why.

Last edited by kokoko3k (2015-11-13 13:41:24)


Help me to improve ssh-rdp !
Retroarch User? Try my koko-aio shader !

Offline

#7 2015-11-28 15:29:33

Gusar
Member
Registered: 2009-08-25
Posts: 3,607

Re: full screen video playback with mpv or vlc broken using vaapi

kokoko3k wrote:

but with mpv >=0.12 (and at least 0.13 too), if you intend to use opengl video output, then you need to pass --vo=opengl:backend=x11 too, or it will pick x11egl that tears.
...don't know why.

It picks x11egl because the VAAPI/EGL interop is much better than the VAAPI/GLX interop. However, there are some GLX extensions which help with vsync that don't yet have an equivalent in EGL.

Offline

Board footer

Powered by FluxBB