Results 1 to 7 of 7

Thread: AMD hardware acceleration on Kubuntu 12.04 with mplayer

  1. #1
    Join Date
    Aug 2012
    Beans
    2

    AMD hardware acceleration on Kubuntu 12.04 with mplayer

    hi, this is my first post and I thought I would share this information because it has been quite hard for me to find.

    This is how I was able to use mplayer with hardware acceleration on a AMD HTPC board. I have a C-60 Ontario (1Ghz dual core with Radeon 6290), this might also work on E-350 Zacate (1.6Ghz dual core with Radeon 6310) (please confirm).

    Although the CPU is quite weak (1Ghz)... I am able to play huge x264 (1080p) movies: smoothly and fluently on a board that cost only 70 euros.

    Hardware:
    Asus C60M1-i

    • make sure you have the proprietary drivers.
      I do not know if this is mandatory but I did this anyway.
      See https://help.ubuntu.com/community/BinaryDriverHowto/ATI...
      In Kubuntu 12.04, you will find it in the KDE menu Applications > System > Additional Drivers
    • You should be able to install all these without any extra PPA repository.
      Code:
      sudo apt-get install xvba-va-driver libva-glx1 libva-egl1 vainfo
    • vainfo should now give you something that looks like:
      Code:
      me@doos:~$ sudo vainfo
      libva: VA-API version 0.32.0
      Xlib:  extension "XFree86-DRI" missing on display ":0".
      libva: va_getDriverName() returns 0
      libva: Trying to open /usr/lib/x86_64-linux-gnu/dri/fglrx_drv_video.so
      libva: va_openDriver() returns 0
      vainfo: VA-API version: 0.32 (libva 1.0.15)
      vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8
      vainfo: Supported profile and entrypoints
            VAProfileH264High               : VAEntrypointVLD
            VAProfileVC1Advanced            : VAEntrypointVLD
    • The stock mplayer does not support libva or vaapi.
      You won't find those when you do:
      Code:
      me@doos:~$ mplayer -vo help
    • There is an mplayer with vaapi enabled.
      I found it here: https://launchpad.net/~sander-vangrieken/+archive/vaapi
      To install it:
      Code:
      sudo add-apt-repository ppa:sander-vangrieken/vaapi
      sudo apt-get update
      sudo apt-get install mplayer-vaapi
    • now get a bag of popcorn and some Belgian beer
      Code:
      me@doos:~$ mplayer -vo vaapi big_buck_bunny_1080p_h264.mov
    Last edited by smeerlap; August 10th, 2012 at 06:44 PM.

  2. #2
    Join Date
    Jul 2008
    Location
    The Left Coast of the USA
    Beans
    Hidden!
    Distro
    Kubuntu

    Re: AMD hardware acceleration on Kubuntu 12.04 with mplayer

    Ah! Big Buck Bunny! Mrs. QIII scolds me when I let the grands watch that. Says he's mean to the squirrel.
    Please read The Forum Rules and The Forum Posting Guidelines
    My Blog
    A thing discovered and kept to oneself must be discovered time and again by others. A thing discovered and shared with others need be discovered only the once.
    This universe is crazy. I'm going back to my own.

  3. #3
    Join Date
    Aug 2011
    Beans
    464
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: AMD hardware acceleration on Kubuntu 12.04 with mplayer

    vlc does gpu acceleration fine with amd as well, need to do the above, install vlc and enable gpu acceleration under inputs and codecs.

  4. #4
    Join Date
    Jun 2009
    Beans
    1

    Re: AMD hardware acceleration on Kubuntu 12.04 with mplayer

    Cool PC name

  5. #5
    Join Date
    Mar 2010
    Beans
    2

    Re: AMD hardware acceleration on Kubuntu 12.04 with mplayer

    Quote Originally Posted by smeerlap View Post

    This is how I was able to use mplayer with hardware acceleration on a AMD HTPC board. I have a C-60 Ontario (1Ghz dual core with Radeon 6290), this might also work on E-350 Zacate (1.6Ghz dual core with Radeon 6310) (please confirm).
    Code:
    sudo apt-get install xvba-va-driver libva-glx1 libva-egl1 vainfo
    Thanks buddy, i needed this. I use asus eee 1015BX-whi026s with C-60 and hdmi out. Now finally VLC gpu acceleration works in Mint 13!

  6. #6
    Join Date
    Jun 2007
    Beans
    13,143

    Re: AMD hardware acceleration on Kubuntu 12.04 with mplayer

    XBMC is another alternative if you're using fglrx/Catalyst driver: http://wiki.cchtml.com/index.php/Ubu...yer_.28XvBA.29

  7. #7
    Join Date
    Aug 2012
    Beans
    2

    Re: AMD hardware acceleration on Kubuntu 12.04 with mplayer


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •