Results 1 to 5 of 5

Thread: Enable vaapi/hw-accel on Radeon HD 6290 and VLC

  1. #1
    Join Date
    Feb 2012
    Posts
    2

    Question Enable vaapi/hw-accel on Radeon HD 6290 and VLC

    Hello,

    Posting this here because I've found a lot of info regarding vaapi, UVD, etc on these boards. Hopefully someone will have some insight they can share.

    I'm trying to enable GPU acceleration on AMD G-Series T40N with a build on a Radeon HD 6290. I followed the instructions here: http://wiki.videolan.org/VLC_VAAPI, but 1080p playback is still choppy. I know that it's possible on this machine, since I was able to compile mplayer with GPU acceleration and it plays smoothly.

    VLC is currently running from a working directory, i.e. it hasn't been installed. I'm able to check 'Hardware Acceleration' in the preferences.

    (Hopefully) relevant data follows:

    Code:
     msuser@ubuntu:/usr/lib/vlc$ uname -a
    Linux ubuntu 2.6.32-38-generic #83-Ubuntu SMP Wed Jan 4 11:12:07 UTC 2012 x86_64 GNU/Linux
    Code:
     msuser@ubuntu:~/Downloads/vlc-1.1.13$ ./vlc --version
    VLC media player 1.1.13 The Luggage (revision exported)
    VLC version 1.1.13 The Luggage (exported)
    Compiled by msuser on ubuntu (Feb  8 2012 18:56:06)
    Compiler: gcc version 4.4.3 (Ubuntu 4.4.3-4ubuntu5) 
    This program comes with NO WARRANTY, to the extent permitted by law.
    You may redistribute it under the terms of the GNU General Public Licence;
    see the file named COPYING for details.
    Written by the VideoLAN team; see the AUTHORS file.
    Code:
     msuser@ubuntu:~/Downloads/vlc-1.1.13$ ffmpeg
    FFmpeg version 0.6.3, Copyright (c) 2000-2010 the FFmpeg developers
      built on Feb  8 2012 19:47:35 with gcc 4.4.3
      configuration: --enable-gpl --enable-postproc --enable-shared --enable-vaapi
      libavutil     50.15. 1 / 50.15. 1
      libavcodec    52.72. 2 / 52.72. 2
      libavformat   52.64. 2 / 52.64. 2
      libavdevice   52. 2. 0 / 52. 2. 0
      libswscale     0.11. 0 /  0.11. 0
      libpostproc   51. 2. 0 / 51. 2. 0
    Hyper fast Audio and Video encoder
    usage: ffmpeg [options] [[infile options] -i infile]... {[outfile options] outfile}...
    
    Use -h to get full help or, even better, run 'man ffmpeg'
    Code:
    msuser@ubuntu:~/Downloads/vlc-1.1.13$ set | grep LIBVA
    LIBVA_DRIVERS_PATH=/usr/lib64/va/drivers
    LIBVA_DRIVER_NAME=xvba
    Code:
    msuser@ubuntu:~/Downloads/vlc-1.1.13$ vainfo
    libva: libva version 0.32.0-sds2
    Xlib:  extension "XFree86-DRI" missing on display ":0.0".
    libva: va_getDriverName() returns 0
    libva: Trying to open /usr/lib/va/drivers/fglrx_drv_video.so
    libva: va_openDriver() returns 0
    vainfo: VA API version: 0.32
    vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.8.0
    vainfo: Supported profile and entrypoints
          VAProfileH264High               :   VAEntrypointVLD
          VAProfileVC1Advanced            :   VAEntrypointVLD
    Code:
    msuser@ubuntu:~/Downloads/vlc-1.1.13$ ./vlc --list | grep avcodec
    VLC media player 1.1.13 The Luggage (revision exported)
      avcodec                FFmpeg audio/video decoder
      avcodec                FFmpeg deinterlace video filter
      avcodec                FFmpeg audio/video encoder
    Code:
    msuser@ubuntu:~/Downloads/vlc-1.1.13$ ./vlc --ffmpeg-hw
    VLC media player 1.1.13 The Luggage (revision exported)
    Blocked: call to unsetenv("DBUS_ACTIVATION_ADDRESS")
    Blocked: call to unsetenv("DBUS_ACTIVATION_BUS_TYPE")
    
    output omitted
    
    [0x1a8ed90] avcodec decoder: Using VA API version 0.32 for hardware decoding.

  2. #2
    Join Date
    Aug 2007
    Posts
    6,675

    Default

    vlc is very inefficent. try xbmc xvba branch.

  3. #3
    Join Date
    Jan 2007
    Location
    Germany
    Posts
    2,175

    Default

    Yeah it was laggy with my E-350 when I tried it with VLC 1.1.x, not sure about 2.0. But XBMC with XvBA is MUCH better.

  4. #4
    Join Date
    Feb 2012
    Posts
    2

    Default

    I'm not trying to build an HTPC here. I need a video player to integrate into a Digital Signage platform. Specifically, we're using MediaSignage mediasignage.com, which allows me to call an external program to play videos (it can't utilize GPU acceleration on its own).

    I can get mplayer to use the GPU function but not VLC. However, mplayer has some bugs that I don't like. Although at this point, I'm thinking it's a better idea to just iron out mplayer.

  5. #5
    Join Date
    Aug 2007
    Posts
    6,675

    Default

    Well i am still waiting for a new "offical" mplayer vaapi release. You find the current work there:

    http://gitorious.org/vaapi/mplayer

    Why dont you write a plugin for xbmc instead? Or maybe patch xmbc to quit after playback, you can definitely run it with a file/url as option. if you really want vlc maybe try a cheap celeron/pentium on h61 instead, should be no huge price diff. vlc needs vaapi. intel has native vaapi - but the gfx stack is tricky, best use a new one for intel - but an older xserver for fglrx

Posting Permissions

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