You are not logged in.

#1 2013-09-26 19:33:57

archie0
Member
Registered: 2012-02-26
Posts: 144

[Solved]Video hardware acceleration not working (libvdpau)

Hey. I'm running the open source ATI driver on a dual-graphics laptop.
libvdpau is installed, and I've also tweaked bashrc

export LIBVA_DRIVER_NAME=vdpau
export VDPAU_DRIVER=r600

Currently, the integrated chip is running, 6xxx series which is supposed to be supported by r600. Please also take a look at my other thread: https://bbs.archlinux.org/viewtopic.php … 2#p1329712

vainfo
libva info: VA-API version 0.34.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'vdpau'
libva info: Trying to open /usr/lib/dri/vdpau_drv_video.so
libva info: va_openDriver() returns -1
vaInitialize failed with error code -1 (unknown libva error),exit

What's wrong?


EDIT: I did not have libva-vdpau-driver  installed.

Last edited by archie0 (2013-09-26 19:40:47)

Offline

#2 2013-09-26 20:03:03

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [Solved]Video hardware acceleration not working (libvdpau)

archie0 wrote:
export LIBVA_DRIVER_NAME=vdpau
export VDPAU_DRIVER=r600

these aren't necessary since mesa-9.2, and should be auto-detected.
You could try disabling those, and let it autodetect the driver

archie0 wrote:

EDIT: I did not have libva-vdpau-driver  installed.

that's not needed if you're using open source radeon driver. only for catalyst and intel

it should work out of the box really, but you should use vdpauinfo to check if it works instead of vainfo. (I get that same output from vainfo, but vdpau is working fine)

Offline

#3 2013-09-26 20:49:17

archie0
Member
Registered: 2012-02-26
Posts: 144

Re: [Solved]Video hardware acceleration not working (libvdpau)

ooo wrote:
archie0 wrote:
export LIBVA_DRIVER_NAME=vdpau
export VDPAU_DRIVER=r600

these aren't necessary since mesa-9.2, and should be auto-detected.
You could try disabling those, and let it autodetect the driver

archie0 wrote:

EDIT: I did not have libva-vdpau-driver  installed.

that's not needed if you're using open source radeon driver. only for catalyst and intel

it should work out of the box really, but you should use vdpauinfo to check if it works instead of vainfo. (I get that same output from vainfo, but vdpau is working fine)


Removed libva-vdpau-driver and the bashrc stuff and installed vdpauinfo from AUR.
Are you getting the following error too (at the bottom, when running vdpauinfo/vainfo)?

Inconsistency detected by ld.so: dl-close.c: 771: _dl_close: Assertion `map->l_init_called' failed!

Offline

#4 2013-09-26 22:12:02

ooo
Member
Registered: 2013-04-10
Posts: 1,638

Re: [Solved]Video hardware acceleration not working (libvdpau)

yeah, I get that as well.

doesn't seem to matter though as vdpau acceleration works fine with mpv.
if you get anything in "Decoder capabilities" -list in vdpauinfo output, everything should work (for the type of videos that are listed there).

Last edited by ooo (2013-09-26 22:15:34)

Offline

Board footer

Powered by FluxBB