![]() |
Vaapi Problem
I have been trying to get hardware acceleration for my graphics card, ATI Mobility Radeon HD 4650, working but I am not having much success with it. I followed the procedure in AlienBob's blog post for VLC here:
http://alien.slackbook.org/blog/deco...-video-in-vlc/ I have fglrx, the proprietary ATI driver for my card, installed. I have installed libva once through SBo and then compiled it from the git tree here: http://cgit.freedesktop.org/libva/ I have installed xvba-video from the source git tree here: http://cgit.freedesktop.org/vaapi/xvba-driver/ My fglrxinfo outputs this: Code:
bash-4.2$ fglrxinfoCode:
bash-4.2$ vainfoI'm running Slackware64 14.0. |
Not sure so this is just a guess but based on
Code:
libva info: Trying to open /usr/lib64/dri/fglrx_drv_video.so |
Other people have gotten it working on 64 bit systems so I don't think it is an issue with the architecture. But just to be certain I did try making my system 32 bit compatible With the multilib packages and the problem was still there.
|
In /usr/lib64/dri, you should have:
fglrx_dri.so @fglrx_drv_video.so #symbolic link to xvba_drv_video.so xvba_drv_video.so I have never managed to get vaapi video acceleration working with VLC. However, mplayer-vaapi works fine! (I have a Radeon HD 4200 in a small laptop). I have to add the following lines to my xorg.conf: Section "DRI" MODE 0666 EndSection Section "Extensions" Option "Composite" "Disable" EndSection otherwise HD video runs very slow. Also make sure de-interlace is turned OFF when viewing HD content, or the video will also run slow - at least it does on my admittedly under-powered system! But with the above settings, I can play HD video perfectly. -- Pete |
Quote:
Code:
bash-4.2$ ls /usr/lib64/dri |
I'm running libva-1.0.16, which I got from http://www.freedesktop.org/software/...eleases/libva/ - I see they are up to 1.1 now, so maybe I should update! I built it using Alien's build script, suitably tweaked to reflect the new version.
XvBA is 0.8.0 which I think I got from splitted-desktop, but can't find a link to it anymore. Don't worry about the dummy stuff - that is just what it says, a dummy! The main difference that I can see is that you seem to have something called fglrx_drv_video.so, whereas in mine that is a symbolic link to xvba_drv_video.so The file size of xvba_drv_video.so is 121552 on my system. If yours is similar, you could try making a symbolic link to fglrx_drv_video.so called xvba_drv_video.so (it should work either way around!) Its a bit of a guess, but it could be that something is trying to address xvba... instead of fglrx.... and not finding it. vainfo gives me: ~$ vainfo libva: VA-API version 0.32.1 Xlib: extension "XFree86-DRI" missing on display ":0". libva: va_getDriverName() returns 0 libva: Trying to open /usr/lib64/dri/fglrx_drv_video.so libva: va_openDriver() returns 0 vainfo: VA-API version: 0.32 (libva 1.0.16) vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.8.0 vainfo: Supported profile and entrypoints VAProfileH264High : VAEntrypointVLD VAProfileVC1Advanced : VAEntrypointVLD so you should be expecting something similar. One last thought - and I know this is a silly question - but you do have the ati proprietary driver installed, don't you? (Sorry if that's in insulting query, but I have to ask!) -- Pete |
Quote:
Quote:
Quote:
|
Yes, quite happy to send all the stuff I've got. Not sure if this board supports PMs, but you can get me at christyATattglobalDOTnet (with the obvious changes!)
May be a bit tied up tomorrow (Sunday) - got to change the disk pads on the car, and I think the calipers are sticking, so I may be under the car most of the day! But will send the appropriate tarballs as soon as I can get back to the computer! -- Pete |
After using pchristy's packages I still got the error, but I then reinstalled fglrx and the error went away, so it would appear that one must reinstall fglrx after they install the libva and xvba packages. Hardware acceleration is now fully functional (as far as the ATI driver goes), so this problem can be marked as solved. Thank you to everyone who offered their help:)
|
| All times are GMT -5. The time now is 08:52 AM. |