Hello all
As you may know XvBA is not really work and yet buggy, so we can't use XvBA for decoding H.264 in most cases. I figure it out that we can use the DRI driver for hardware acceleration.
First you must add these lines to /etc/environment
Code:
LIBVA_DRIVER_NAME=fglrx_dri
LIBVA_DRIVERS_PATH=/usr/lib64/dri
Then you must force the driver to load dri driver (/etc/X11/xorg.conf)
Code:
Section "Module"
Load "dri"
EndSection
and add this to the "Section "Device"
Now restart your X to apply changes then check if DRI driver loaded correctly
the result must be
Code:
LIBVA_DRIVERS_PATH=/usr/lib64/dri
LIBVA_DRIVER_NAME=fglrx_dri
To active hardware acceleration open VLC and go to
Tools-->Preferences-->Input & Codecs-->Use GPU accelerated decoding
Note: this method require the ATI proprietary driver (fglrx)
Have a lot of fun!
No comments:
Post a Comment