You are not logged in.

#1 2013-07-06 10:21:32

Ambrevar
Member
Registered: 2011-08-14
Posts: 212
Website

mplayer2 pause+unpause makes video stutter when VDPAU is on

Hi there,

since the beginning of the week, mplayer2 is behaving strangely: pausing for some seconds (3-4) then unpausing will make the video stutter horribly (while audio is still fine).
Same with any mplayer2 or mpv version. mplayer1 is fine.

I could figure something out: mplayer1 defaults to GL video output, whereas mplayer2 / mpv will default to VDPAU. Switching to any other VO driver than VDPAU works fin indeed. However using vdpau with mplayer1 works fine. But perhaps mplayer1 tells it is using vdpau but cannot, so it falls back to using gl without telling.

I'm using radeon, and mesa got updated a few days ago to version 9.1.4. I've been experimenting this issue since then. I do not know if mplayer2 was using vdpau automatically before. If I have some time I'll test with 9.1.3 to see what VO mplayer[12] use.

As a temporary fix I've set 'vo=gl' to ~/.mplayer/config.

Has anyone the same issue with another video driver? Have you tested with mesa 9.1.3?

This could help deciding who is to blame here.

Offline

#2 2013-07-06 13:14:53

Army
Member
Registered: 2007-12-07
Posts: 1,784

Re: mplayer2 pause+unpause makes video stutter when VDPAU is on

I get the same with OSS ATI, mplayer2 and vo=vdpau. I recommend setting it to vo=xv, because that (still) has the best performance. With linux 3.10 and probably after a mesa update I'll give vdpau another try, until then xv is the output driver of choice.

Offline

#3 2013-07-06 15:10:17

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: mplayer2 pause+unpause makes video stutter when VDPAU is on

No such issue with nvidia card and binary driver. This seems to be an issue with ATI cards.

Offline

#4 2013-07-07 15:51:52

Ambrevar
Member
Registered: 2011-08-14
Posts: 212
Website

Re: mplayer2 pause+unpause makes video stutter when VDPAU is on

I did test it with Mesa 9.1.3, and mplayer2 still defaults to vdpau. The unpause issue persists.

Maybe I'm missing something here, but it seems like Mesa did not trigger the change. I'm wondering what update changed mplayer behaviour during the last 2 weeks.

Offline

#5 2013-07-12 02:27:50

drcouzelis
Member
From: Connecticut, USA
Registered: 2009-11-09
Posts: 4,092
Website

Re: mplayer2 pause+unpause makes video stutter when VDPAU is on

Thanks to this thread, I was able to figure out why mplayer2 was working correctly and mpv stopped working: I had "vo=xv" in my "~/.mplayer/config" file. I added that line to my "~/.mpv/config" and everything works well again.

Offline

Board footer

Powered by FluxBB