Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
question about vdpau and vaapi[solved]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1523

PostPosted: Wed Jul 16, 2014 10:59 am    Post subject: question about vdpau and vaapi[solved] Reply with quote

I was reading up on vdpau and vaapi in the wiki, I'm not sure everything is clear
#vdpauinfo
display: :0.0 screen: 0
Failed to open VDPAU backend libvdpau_nvidia.so: cannot open shared object file: No such file or directory
Error creating VDPAU device: 1
does that mean VDPAU is not supported?
# mplayer2 -vc help | grep --color vdpa
ffmpeg12vdpau ffmpeg working FFmpeg MPEG-1/2 (VDPAU) [mpegvideo_vdpau]
ffwmv3vdpau ffmpeg problems FFmpeg WMV3/WMV9 (VDPAU) [wmv3_vdpau]
ffvc1vdpau ffmpeg problems FFmpeg WVC1 (VDPAU) [vc1_vdpau]
ffh264vdpau ffmpeg working FFmpeg H.264 (VDPAU) [h264_vdpau]
ffodivxvdpau ffmpeg working FFmpeg MPEG-4,DIVX-4/5 (VDPAU) [mpeg4_vdpau]

localhost media # lspci | grep vga -i
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)


should I disable the vdpau and vaapi flags globally or am I getting this wrong?

thanks


Last edited by Adel Ahmed on Thu Aug 21, 2014 9:50 am; edited 2 times in total
Back to top
View user's profile Send private message
TobiSGD
n00b
n00b


Joined: 14 Apr 2014
Posts: 36

PostPosted: Wed Jul 16, 2014 12:26 pm    Post subject: Reply with quote

Your Intel chip (or better: the drivers) don't support VDPAU, if you want to have hardware video decoding you will need to use VAAPI instead.
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1523

PostPosted: Wed Jul 16, 2014 2:25 pm    Post subject: Reply with quote

hmm ok what about those ffmpeg plugins, are they using vdpau or s/w decoding?
Back to top
View user's profile Send private message
ivanoff
n00b
n00b


Joined: 05 Dec 2004
Posts: 41
Location: Toulouse France

PostPosted: Wed Aug 20, 2014 10:43 am    Post subject: Reply with quote

Usually ffmpeg is able to take advantage of both vaapi and vdpau.
Since your hardware doesn't support it, you can disable vdpau entirely.
vainfo can tell you if libva (va api) is activated.
When we are at it, if you can make mplayer-vaapi work, I am interested.
_________________
Linux, because you know what it is doing.
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1523

PostPosted: Wed Aug 20, 2014 1:01 pm    Post subject: Reply with quote

what does this tell about my laptop:
vainfo
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/va/drivers/i965_drv_video.so
libva info: Found init function __vaDriverInit_0_35
libva info: va_openDriver() returns 0
vainfo: VA-API version: 0.35 (libva 1.3.1)
vainfo: Driver version: Intel i965 driver - 1.3.0
vainfo: Supported profile and entrypoints
VAProfileMPEG2Simple : VAEntrypointVLD
VAProfileMPEG2Main : VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointVLD
VAProfileH264ConstrainedBaseline: VAEntrypointEncSlice
VAProfileH264Main : VAEntrypointVLD
VAProfileH264Main : VAEntrypointEncSlice
VAProfileH264High : VAEntrypointVLD
VAProfileH264High : VAEntrypointEncSlice
VAProfileVC1Simple : VAEntrypointVLD
VAProfileVC1Main : VAEntrypointVLD
VAProfileVC1Advanced : VAEntrypointVLD
VAProfileNone : VAEntrypointVideoProc
Back to top
View user's profile Send private message
ivanoff
n00b
n00b


Joined: 05 Dec 2004
Posts: 41
Location: Toulouse France

PostPosted: Wed Aug 20, 2014 1:51 pm    Post subject: Reply with quote

Seems ok, doesn't it ?
_________________
Linux, because you know what it is doing.
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1523

PostPosted: Thu Aug 21, 2014 6:59 am    Post subject: Reply with quote

I'm not sure I get this yet, does this mean my hardware supports vdpau?
Back to top
View user's profile Send private message
ivanoff
n00b
n00b


Joined: 05 Dec 2004
Posts: 41
Location: Toulouse France

PostPosted: Thu Aug 21, 2014 7:32 am    Post subject: Reply with quote

No, it means your hardware supports vaapi (libva)
Intel never provided vdpau support, so no hope on that side.
there is a way however to add a crossbridge (add vaapi support to vdpau, very limited) with the following package
http://gpo.zugaina.org/x11-libs/libvdpau-va-gl
but performances were poor, to my mind.
Why do you need vdpau for, anyway ?
_________________
Linux, because you know what it is doing.
Back to top
View user's profile Send private message
Adel Ahmed
Veteran
Veteran


Joined: 21 Sep 2012
Posts: 1523

PostPosted: Thu Aug 21, 2014 9:47 am    Post subject: Reply with quote

I don't need vdpau, I was checking if I should disable it globally

thanks
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum