You are not logged in.

#1 2016-11-02 19:20:02

Pushpankar
Member
Registered: 2016-04-17
Posts: 11

[SOLVED] Hardware video acceleration is not working.

I am using Bumblebee for my intel and nvidia 920M graphics card. I tried to install vdpau but I am getting error

$ optirun vdpauinfo | grep "Information string:"               
libva info: VA-API version 0.39.3
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib/dri/i965_drv_video.so
libva info: va_openDriver() returns -1
Information string: OpenGL/VAAPI backend for VDPAU

I tried to troubleshoot

$ export VDPAU_DRIVER=nvidia
$ optirun vdpauinfo | grep "Information string:"
Error creating VDPAU device: 1

Last edited by Pushpankar (2016-11-03 07:38:47)

Offline

#2 2016-11-02 19:38:56

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

Re: [SOLVED] Hardware video acceleration is not working.

Bumblebee only works for OpenGL, not VDPAU. It's also possible the Nvidia GPU doesn't even have a hardware decoder. Because it makes no sense to waste power activating the dedicated GPU only to then use it for hardware decoding (whose main purpose is to save power).

Just use VAAPI on the Intel GPU. Oh, and uninstall libva-vdpau-driver and libvdpau-va-gl if you have them. They're useless, they only cause trouble. All you need is libva-intel-driver.

Offline

#3 2016-11-03 05:13:09

Pushpankar
Member
Registered: 2016-04-17
Posts: 11

Re: [SOLVED] Hardware video acceleration is not working.

Thank you Gusar, it worked. But i was trying to reduce cpu consumption while playing full hd videos. I did not notice much improvement in cpu consumption by using integrated graphics card for hardware video acceleration.
I was also wondering that how can i utilize graphics card (I don't play games).

Offline

#4 2016-11-03 05:16:19

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

Re: [SOLVED] Hardware video acceleration is not working.

Which player do you use and how do you configure it? (please don't say VLC smile its VAAPI support is crappy)

Offline

#5 2016-11-03 07:02:40

Pushpankar
Member
Registered: 2016-04-17
Posts: 11

Re: [SOLVED] Hardware video acceleration is not working.

I am using mplayer with vo=xv config

Offline

#6 2016-11-03 07:35:01

Pushpankar
Member
Registered: 2016-04-17
Posts: 11

Re: [SOLVED] Hardware video acceleration is not working.

I just tried mpv player with --hwdec=vaapi  --vo=opengl options and my cpu consumption came down to 20%. Thanks for your precious time.

Offline

Board footer

Powered by FluxBB