Announcement

Collapse
No announcement yet.

AMD's UVD2-based XvBA Finally Does Something On Linux

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • barkas
    replied
    Originally posted by ludovicrl View Post
    ok could fix this with a patch to xbmc:
    wget http://trac.xbmc.org/raw-attachment/...ce_reuse.patch
    patch -p0 vaapi_surface_reuse.patch
    Likes to crash a lot on exiting/reentering xbmc though.

    Leave a comment:


  • Kano
    replied
    Mpeg2 is only accellerated with Intel or Nvidia.

    Leave a comment:


  • -EaS-
    replied
    Originally posted by ludovicrl View Post
    ok could fix this with a patch to xbmc:
    wget http://trac.xbmc.org/raw-attachment/...ce_reuse.patch
    patch -p0 vaapi_surface_reuse.patch
    Thanks! This solved all problems that - I thought- had to do with not fully matured VAAPI support on AMD's side (never bothered to look if it had anything to do with XBMC).

    I used:
    Catalyst 11.1
    And from gbeauche:
    libva1_0.31.1-1+sds5 (dated 26 jan 2011)
    xvba-video_0.7.8.pre1-1 (dated 26 jan 2011)

    Everything plays very smoothly with full HW acceleration now .

    But I noticed a few things that I would've hoped to have been solved by now:

    Sometimes switching to (and from) movies in xbmc there is garbled output for a (very) short moment. Sometimes just before the movie starts, sometimes after quitting a movie and returning to the xbmc interface. Also sometimes starting xbmc from within Ubuntu. Could this this be related to resolution changes, as I think I've read somewhere on the xbmc forum?

    And also:
    I have a HD5550 card, that supports UVD 2.2. Now it could be me but I believe that UVD 2.x supports MPEG2 HW acceleration?



    But nope, it is not there:



    And indeed, upon checking:

    Code:
    vainfo: VA API version: 0.31
    vainfo: Driver version: Splitted-Desktop Systems XvBA backend for VA-API - 0.7.8.pre1
    vainfo: Supported profile and entrypoints
          VAProfileH264High               :	VAEntrypointVLD
          VAProfileVC1Advanced            :	VAEntrypointVLD
    Is this normal? Or is it still on its way?

    In summary I see VAAPI support almost as usable now under XBMC (except for the resolution switch problem, at least that seems to be the problem -as I seem to understand- related to the short garbled moments I see, on swithing between content and GUI).

    Leave a comment:


  • baky
    replied
    Originally posted by DanL View Post
    You have to install the libva(-dev) from SDS and rebuild mplayer-vaapi or vlc against that. Some heavy lifting has already been done for you: http://wiki.cchtml.com/index.php/Ubu...XPERIMENTAL.29
    thanks for the reply! so, i used the PPA that's mentioned in the wiki you linked, and installed libva and vlc from it, with the xvba-backend from the splitted desktops site. it works fine on "ordinary" movies, but when i try an HD movie it just freezes the computer completely. i have to switch it off. this happened in my previous attempts too (i've managed to install the libva from the splitted desktops site, and compile the mplayer given there, to get the same freeze effect).

    the wiki says that UVD support was broken in the new Catalyst drivers and that 10.7 is the last version of the drivers that works on non-UVD2 cards. i have a mobility radeon HD 3470, that's just UVD+, so that might be the case for me too?

    i've downloaded Catalyst 10.7, but the installer just crashes when started without args. i managed to build packages for maverick, and installed them, but X would no longer start after rebooting. what can i do now?..

    Leave a comment:


  • ludovicrl
    replied
    Originally posted by ludovicrl View Post
    ok I fixed the distorted image by using catalyst 10.12. The picture is now very clear. It is working perfectly in mplayer with vaapi but it is stuttering a lot in xbmc. dunno how to fix this?
    ok could fix this with a patch to xbmc:
    wget http://trac.xbmc.org/raw-attachment/...ce_reuse.patch
    patch -p0 vaapi_surface_reuse.patch

    Leave a comment:


  • ludovicrl
    replied
    Originally posted by ludovicrl View Post
    ok never mind, I finally got it working. Using xbmc with vaapi acceleration. the image is very distorted though, is this to be expected?
    ok I fixed the distorted image by using catalyst 10.12. The picture is now very clear. It is working perfectly in mplayer with vaapi but it is stuttering a lot in xbmc. dunno how to fix this?

    Leave a comment:


  • ludovicrl
    replied
    never mind

    ok never mind, I finally got it working. Using xbmc with vaapi acceleration. the image is very distorted though, is this to be expected?

    Leave a comment:


  • ludovicrl
    replied
    vaapi xvba problem

    I can't get vaapi to work with my ATI HD5450 card on Fedora 14 64 bit.

    I have installed vaapi from splitted-desktops and I have copied fgrlx_drv_video.so to the folder /usr/local/lib/va/drivers/.

    I can't seem to find instructions anywhere on how to get vaapi working. On the splitted desktops site it says xvba-video requires catalyst 9.10 but when I try to install this version of Catalyst with the driver I downloaded from ATI website, I get an error saying it is not compatible with the version of my system.

    XVBA_VIDEO_DEBUG=1 vainfo:
    libva: libva version 0.31.1-sds1
    Xlib: extension "XFree86-DRI" missing on display ":0.0".
    libva: va_getDriverName() returns 0
    libva: Trying to open /usr/local/lib/va/drivers/fglrx_drv_video.so
    xvba_video: FGLRX driver version 8.80.5 detected
    xvba_video: FGLRX device ID 0x68e0
    xvba_video: Evergreen GPU detected
    xvba_video: XvBA version 0.75 detected
    xvba_video: XVBA_CreateContext(): status 11
    libva error: /usr/local/lib/va/drivers/fglrx_drv_video.so init failed
    libva: va_openDriver() returns -1
    vaInitialize failed with error code -1 (unknown libva error),exit

    Any clues?

    Thanks

    Leave a comment:


  • DanL
    replied
    Originally posted by baky View Post
    i can't figure out how to make hd accel work. i'm on ubuntu 10.10
    You have to install the libva(-dev) from SDS and rebuild mplayer-vaapi or vlc against that. Some heavy lifting has already been done for you: http://wiki.cchtml.com/index.php/Ubu...XPERIMENTAL.29

    Leave a comment:


  • peter124
    replied
    Originally posted by energyman View Post
    except when they land in /usr/lib32 where they belong.
    May I kindly get you back to my question?
    How do I get the 64bit version of libXvBAW.so.1 or alternatively, how do I get mplayer-vaapi to compile in a way that it runs using the libraries that exist on my computer?

    Leave a comment:

Working...
X