[Libva] VAAPI, VDPAU and ATI Radeon HD7750
G. Richard Bellamy
rbellamy at pteradigm.com
Mon May 12 10:10:09 PDT 2014
Hello All,
I've been troubleshooting an issue with VAAPI + VDPAU and my ATI Radeon
HD7750, on Arch Linux with the following packages:
libva <https://www.archlinux.org/packages/extra/x86_64/libva/>
libvdpau <https://www.archlinux.org/packages/extra/x86_64/libvdpau/>
libva-vdpau-driver<https://www.archlinux.org/packages/extra/x86_64/libva-vdpau-driver/>
ati-dri <https://www.archlinux.org/packages/extra/x86_64/ati-dri/>
xf86-video-ati<https://www.archlinux.org/packages/extra/x86_64/xf86-video-ati/>
Namely, I cannot get the configuration to work as expected, and both vainfo
and vdpauinfo error out, as does XBMC, which is my end-goal for getting
hardware acceleration working.
% export DISPLAY=:0
% export LIBVA_DRIVER_NAME=vdpau
% export VDPAU_DRIVER=radeonsi
% vainfo
libva info: VA-API version 0.35.1
libva info: va_getDriverName() returns -1
libva error: va_getDriverName() failed with unknown libva
error,driver_name=(null)
vaInitialize failed with error code -1 (unknown libva error),exit
zsh: exit 3 vainfo
% vdpauinfo
display: :0 screen: 0
Error creating VDPAU device: 23
zsh: exit 255 vdpauinfo
Attached are strace outputs.
Furthermore, in my completely n00b attempt to figure out what's going on,
I've stepped into the code using gdb, and tried to trace where the failure
is... and it looks to me like no matter what I tell libva, it ALWAYS goes
looking for libatiadlxx.so, which is the proprietary ATI drivers.
Any help on how to proceed with my troubleshooting? I've read through the
documentation in va.h and the API diagram, and am trying to wrap my head
around how the various pieces-parts go together and move around each other,
and I have to say I'm feeling a bit overwhelmed. It's all very fascinating,
but not my normal digs, so I'm hoping one of you can give me some guidance
on how best to run this down, and hopefully turn this into a patch if it's
not too difficult... or a hopefully good bug report if a patch is beyond me.
Regards,
Richard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libva/attachments/20140512/75c4cf69/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vainfo.strace
Type: application/octet-stream
Size: 21532 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libva/attachments/20140512/75c4cf69/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vdpauinfo.strace
Type: application/octet-stream
Size: 19768 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/libva/attachments/20140512/75c4cf69/attachment-0003.obj>
More information about the Libva
mailing list