[Libva] using TFP on intel

Gwenole Beauchesne gbeauchesne at splitted-desktop.com
Sun Nov 7 01:11:14 PST 2010


Hi,

Le 6 nov. 10 à 08:51, Oleksiy Krivoshey a écrit :

> yes, you are right - i can play 1080p h264 video just fine with  -vo
> vaapi:gl:tfp, with only 4-5% of CPU usage but when i use  -vo vaapi:gl
> i've got broken playback - like displaying a still frame for 3-4
> seconds, the jumping through all this time to next frame, displaying
> it again for 3-4 seconds and so on (cpu usage is still low).

FWIW, my system is a standard Ubuntu/lucid + the following patches:
<http://www.splitted-desktop.com/~gbeauchesne/libva/ironlake.patches/ubuntu.lucid/ 
 >

And this worked fine here. I will try to have a better look.

> XBMC
> media center (that is using vaapi with ffmpeg) also plays video in a
> broken way (mostly the same as described) and I thought I can
> implement mplayer style TFP playback in XBMC as a temporary solution..

XBMC has another problem I reported, I also had a temporary fix but a  
better one shouldn't be complicated either.

> Just wanted to understand why mplayer explicit TFP usage option plays
> perfectly while TFP solution in libva glx doesn't while the code looks
> similar - is this because of extra FBO operations?.

Yes, the code is even similar with that of vdpau-video too. :) Though,  
I need to update the libva-glx one with some other arrangements I made.

Regards,
Gwenole.


More information about the Libva mailing list