Aug 24, 2012

openSUSE Forums: Enabling hardware acceleration in VLC on ATI

openSUSE Forums
openSUSE Forums
Enabling hardware acceleration in VLC on ATI
Aug 24th 2012, 22:13

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"
Code:

Option        "DRI" "on"
Now restart your X to apply changes then check if DRI driver loaded correctly
Code:

set | grep LIBVA
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!

You are receiving this email because you subscribed to this feed at blogtrottr.com.

If you no longer wish to receive these emails, you can unsubscribe from this feed, or manage all your subscriptions

No comments: