[LINUX] HOW-TO use VAAPI HW Acceleration on AMD Zacate (Fusion) platform

  Thread Rating:
  • 14 Votes - 4.71 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
alanwww1 Offline
Team-XBMC Member
Posts: 1,299
Joined: Nov 2008
Reputation: 31
Location: Hungary
Post: #851
alecxx Wrote:I'm comparing right now an "Alan implementation"(i5 2500k+z68,VAAPI) AND a ZACATE e350 (xbmcbuntu 24.01.12 build), side by side...AND...they perform almost equally.

Interesting comparison. You checked also Deinterlacing quality ? I think this is an area where Intel could improve. Currently only BOB is implemented.

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
alecxx Offline
Junior Member
Posts: 22
Joined: Jun 2011
Reputation: 0
Post: #852
No, i just tested with "p" material...

Btw, just IMHO, I prefer AMD colors..AND dark scenes are WAY better...

compared over a DELL Ips monitor (0-255)
find quote
Redsandro Offline
Skilled Python Coder
Posts: 133
Joined: Jul 2008
Reputation: 0
Location: Netherlands
Post: #853
I am not sure if this is related to the latest build, but XBMC crashes EVERY FIRST TIME after loggin in during media scanning now. The second time it works.

http://pastebin.com/BhGuZ4xW

Since last year I have been doing nothing on my HTPC except automatic updates, so I am automatically thinking of an XBMC update.

Using this repo:
Code:
$ cat /etc/apt/sources.list.d/xbmc-nathanrennie.list
# RED 2011-12-06
# XBMC VAAPI Nathan Rennie-Waldock

#Stable
deb http://ppa.launchpad.net/nathan-renniewaldock/xbmc-stable/ubuntu oneiric main
deb-src http://ppa.launchpad.net/nathan-renniewaldock/xbmc-stable/ubuntu oneiric main

#Nightly
deb http://ppa.launchpad.net/nathan-renniewaldock/xbmc-nightly/ubuntu oneiric main
deb-src http://ppa.launchpad.net/nathan-renniewaldock/xbmc-nightly/ubuntu oneiric main

Try Xubuntu. It's the new Ubuntu.
find quote
gsjosh Offline
Junior Member
Posts: 25
Joined: Jan 2010
Reputation: 0
Post: #854
So I've been trying to get this working for a long time now, but I'm rather stuck. I used MTroi's wonderful small guide with the only exception that I used the latest Catalyst drivers (12.3) and the official stable XBMC release (11.0) as here. I know fglrx is working fine:

Code:
htpc@HTPC:~$ DISPLAY=:0 fglrxinfo
display: :0  screen: 0
OpenGL vendor string: Advanced Micro Devices, Inc.
OpenGL renderer string: AMD Radeon HD 6310 Graphics
OpenGL version string: 4.2.11566 Compatibility Profile Context

and also the libraries are installed correctly:

Code:
htpc@HTPC:~$ DISPLAY=:0 vainfo
libva: VA-API version 0.32.0
libva: User requested driver 'xvba'
libva: Trying to open /usr/lib/va/drivers/xvba_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

but XBMC doesn't want to use VAAPI, I get this in the xbmc.log:

Code:
ERROR: VAAPI - failed executing vaCreateContext(m_display->get() , m_config , avctx->width , avctx->height , VA_PROGRESSIVE , m_surfaces , m_surfaces_count , &m_hwaccel->context_id) at line 424 with error ffffffff:unknown libva error

I have seen a user in the same thread here having a similar problem, but he didn't respond to having a solution. Anybody?
(This post was last modified: 2012-04-09 01:50 by gsjosh.)
find quote
Redsandro Offline
Skilled Python Coder
Posts: 133
Joined: Jul 2008
Reputation: 0
Location: Netherlands
Post: #855
Although I'd like to say: This whole thread has become obsolete, since Eden is released and as you can read here, va-api wrapper is both no longer maintained and no longer a requirement:

http://www.phoronix.com Wrote:As xvba-va-driver wrapper development stopped in June this year and all-over performance and stability did not really impress the users, we implemented direct xvba support for xbmc.
http://www.phoronix.com/scan.php?page=ne...px=MTAyODU
-edit-
Fixed URL.


However, I tried a fresh installation of XBMC on Lubuntu 12.04 beta 2 (with additional drivers of course) and I couldn't get fluent playback. So I restored my 11.10 image on my HTPC. I don't really have the time to go on another adventure to get stuff working. Initially, it was necessary to get hardware that was too modern for FOSS to play nice, but now that I've got it working one way or the other, my next upgrade will be "when things go easy and without ado, like they should." Smile

Anyway, as a reference, here is how I got it running:
http://forum.xbmc.org/showthread.php?tid...#pid908362

Try Xubuntu. It's the new Ubuntu.
(This post was last modified: 2012-04-09 04:20 by Redsandro.)
find quote
abudabi Offline
Member
Posts: 84
Joined: Aug 2011
Reputation: 1
Post: #856
Yeah.. Just ditch the VAAPI wrapper and use Xvba. I did and it works a treat!

http://forum.xbmc.org/showthread.php?tid=116996
(This post was last modified: 2012-04-09 07:24 by abudabi.)
find quote
gsjosh Offline
Junior Member
Posts: 25
Joined: Jan 2010
Reputation: 0
Post: #857
Hah! That's both great and bad. Great that there is a better solution, bad since I spent my whole easter weekend getting my first Ubuntu install working. Big Grin Thanks anyway, I'll be lurking the other thread then.
find quote
Krautmaster Offline
Senior Member
Posts: 198
Joined: Jul 2010
Reputation: 1
Post: #858
hi there, what is the current status to deinterlacing?

Im installing that way:

sudo su
wget https://dl.dropbox.com/u/21136636/scripts/amd_1204_vnsi
chmod 777 amd_1204_vnsi
./amd_1204_vnsi

-> lightdm
-> none none depending on IR
find quote
fritsch Offline
Posting Freak
Posts: 1,273
Joined: Aug 2011
Reputation: 36
Post: #859
@Krautmaster:
you are using the wsnipex repository, which is using direct XVBA support. XVBA provides BOB like deinterlacing. Don't mix this with vaapi.
find quote
Litus Offline
Junior Member
Posts: 8
Joined: Oct 2012
Reputation: 0
Post: #860
(2012-04-09 07:23)abudabi Wrote:  Yeah.. Just ditch the VAAPI wrapper and use Xvba. I did and it works a treat!

http://forum.xbmc.org/showthread.php?tid=116996

Thank you so much! I was afraid I would never decide to issue the hardware acceleration on xbmc AMD zacate. But your link helped! I finally go to sleep happy! :-)
find quote
Post Reply