[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
Krautmaster Offline
Senior Member
Posts: 198
Joined: Jul 2010
Reputation: 1
Post: #11
yeah but are the actual github files not patched already? vaapi looks fine so far but i dont know how to start catalyst control center now (want to overscan + auto deinterlace)

Edit: how to apply ur patch?

Edit: works absolutely smooth without patching using lars dharma-pvr release

Edit: really cool! due to the fact, that xvba does not accelerate mpeg , SD interlaced LiveTVcan be deinterlaced with cpu power. Works fine with Zacate! Usability is as good as with i3 2100
On the intel system, with VAAPI enabled, live TV stutters.

Edit:

To fix the Sound Problem:

Quote:add "options snd_hda_intel index=1" to the bottom of "/etc/modprobe.d/alsa-base.conf".

Edit. Okay sometimes i have this problem with this stuttering VAAPI mode. Does the patch help there?

Quote:root@htpc:/usr/src/xbmc/xbmc/cores/dvdplayer/DVDCodecs/Video# patch -p0 < vaapi_surface_reuse.patch patch unexpectedly ends in middle of line
patch: **** Only garbage was found in the patch input.
root@htpc:/usr/src/xbmc/xbmc/cores/dvdplayer/DVDCodecs/Video#
(This post was last modified: 2011-04-16 18:38 by Krautmaster.)
find quote
mickc Offline
Junior Member
Posts: 12
Joined: Jan 2011
Reputation: 0
Post: #12
the OP said to use the latest libva, libva deva and xvba


are these the correct ones?

http://www.splitted-desktop.com/~gbeauch..._amd64.deb

http://www.splitted-desktop.com/~gbeauch..._amd64.deb

http://www.splitted-desktop.com/~gbeauch..._amd64.deb
(This post was last modified: 2011-04-18 17:22 by mickc.)
find quote
joostp Offline
Junior Member
Posts: 3
Joined: Apr 2011
Reputation: 0
Post: #13
Thanks for this topic.
The patch seems to fix my playback problems.

I also got some errors when I patched xbmc, but when I checked the vaapi file all the changes were made.
find quote
Badmaster Offline
Junior Member
Posts: 2
Joined: Apr 2011
Reputation: 0
Post: #14
Krautmaster Wrote:well done, ill share my information then

==> catalyst installation

http://wiki.cchtml.com/index.php/Ubuntu_...tion_Guide

Edit:

after installing Catalyst 11.3 , the newest libva , libva-dev and xvba ist should look like this or?

[Image: img_0152g7ji.jpg]
hi!

I'm getting the same output from vainfo you are getting (ASRock E350M1). is/was this correct?
I'm getting a ton of strange blue shades in the XBMC GUI and playing back a movie just gives me total chaos with mostly green "puke" Undecided

i tried following this tutorial on the forums here...

vaapi xbmc debug log:
Code:
grep vaapi -i .xbmc/temp/xbmc.log
08:19:49 T:2716351376 M:2208538624   DEBUG: CDVDFactoryCodec: compiled in hardware support: CrystalHD:no OpenMax:no VDPAU:no VAAPI:yes
08:19:49 T:2699565968 M:2208362496   DEBUG: VAAPI - attempting to open codec 28 with profile 100 at level 41 with 4 reference frames
08:19:49 T:2699565968 M:2208403456   DEBUG: VAAPI - initialize version 0.32
08:19:49 T:2699565968 M:2208403456   DEBUG: VAAPI - attrib 5 (get/---) min 1 max 1 value 0x1
08:19:49 T:2699565968 M:2208530432   DEBUG: VAAPI - attrib 4 (get/set) min 0 max 16777215 value 0xffffff
08:19:49 T:2699565968 M:2208530432   DEBUG: VAAPI - attrib 0 (get/set) min -100 max 100 value 0x0
08:19:49 T:2699565968 M:2208530432   DEBUG: VAAPI - attrib 1 (get/set) min -100 max 100 value 0x0
08:19:49 T:2699565968 M:2208657408   DEBUG: VAAPI - attrib 2 (get/set) min -100 max 100 value 0x0
08:19:49 T:2699565968 M:2208657408   DEBUG: VAAPI - attrib 3 (get/set) min -100 max 100 value 0x0
08:19:49 T:2699565968 M:2208657408   DEBUG: VAAPI - profile 7
08:19:49 T:2699565968 M:2208657408   DEBUG: VAAPI - profile 10
08:19:49 T:2699565968 M:2208657408   DEBUG: VAAPI - making sure 7 surfaces are allocated for given 4 references
08:19:49 T:2699565968 M:2196787200   DEBUG: OutputPicture - change configuration. 1920x1040. framerate: 23.98. format: VAAPI
08:19:49 T:3046799712 M:2192556032  NOTICE: GL: Using VAAPI render method
08:19:49 T:3046799712 M:2191712256   DEBUG: CLinuxRendererGL::UploadVAAPITexture - creating vaapi surface for texture 1
08:19:49 T:3046799712 M:2187087872   DEBUG: CLinuxRendererGL::UploadVAAPITexture - creating vaapi surface for texture 0
08:19:53 T:2699565968 M:2171879424   ERROR: VAAPI - renderer still using all freed up surfaces by decoder
08:19:53 T:2699565968 M:2171879424   ERROR: VAAPI - unable to find free surface, trying to allocate a new one
08:19:53 T:2699565968 M:2171879424   DEBUG: VAAPI - making sure 8 surfaces are allocated for given 4 references
08:21:04 T:2716351376 M:2130366464   DEBUG: VAAPI - destroying surface 0x3000000
08:21:04 T:2716351376 M:2130366464   DEBUG: VAAPI - destroying surface 0x3000003
08:21:04 T:2716351376 M:2130366464   DEBUG: VAAPI - destroying surface 0x3000001
08:21:04 T:2716351376 M:2130366464   DEBUG: VAAPI - destroying surface 0x3000006
08:21:04 T:2716351376 M:2130366464   DEBUG: VAAPI - destroying surface 0x3000005
08:21:04 T:2716351376 M:2130366464   DEBUG: VAAPI - destroying surface 0x3000004
08:21:04 T:3046799712 M:2131742720   DEBUG: VAAPI - destroying surface 0x3000002
08:21:04 T:3046799712 M:2131742720   DEBUG: VAAPI - destroying glx surface 0xb0ec45c0
08:21:04 T:3046799712 M:2131742720   DEBUG: VAAPI - destroying surface 0x3000007
08:21:04 T:3046799712 M:2131742720   DEBUG: VAAPI - destroying glx surface 0xb0e42050
08:21:05 T:3046799712 M:2131824640   DEBUG: VAAPI - destroying display 0xb010770


help would be greatly appreciated 0:-)

chers,
- BM
find quote
Robotica Offline
Posting Freak
Posts: 927
Joined: Aug 2010
Reputation: 3
Post: #15
Did you apply this patch: http://trac.xbmc.org/ticket/10928 ?
find quote
Krautmaster Offline
Senior Member
Posts: 198
Joined: Jul 2010
Reputation: 1
Post: #16
Quote:wget http://www.splitted-desktop.com/~gbeauch..._amd64.deb
wget http://www.splitted-desktop.com/~gbeauch..._amd64.deb
wget http://www.splitted-desktop.com/~gbeauch..._amd64.deb

sudo dpkg -i libva1_0.32.0-1+sds2_amd64.deb
sudo dpkg -i libva-dev_0.32.0-1+sds2_amd64.deb
sudo dpkg -i xvba-video_0.7.8-1_amd64.deb

after installing the 11.3 catalyst. Not the newest one 8.840!
find quote
alanwww1 Offline
Team-XBMC Member
Posts: 1,299
Joined: Nov 2008
Reputation: 31
Location: Hungary
Post: #17
Robotica Wrote:Did you apply this patch: http://trac.xbmc.org/ticket/10928 ?

Guys !

This patch is already in trunk so no need to apply again !

Cheers,

Alan

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
Krautmaster Offline
Senior Member
Posts: 198
Joined: Jul 2010
Reputation: 1
Post: #18
thx Alan!

I prefer the older 10.0 Versions of xbmc, they run much more stable for me.

Thats why i asked for how to patch these older Dharma release
find quote
alanwww1 Offline
Team-XBMC Member
Posts: 1,299
Joined: Nov 2008
Reputation: 31
Location: Hungary
Post: #19
Sorry i just have no time nowadays. I think you can patch older releases easy, with manually looking for the corresponding lines and change - insert the things we have in the new patch. Just use a text editor, with no problem. Sorry but i don't have time for this now.

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
Badmaster Offline
Junior Member
Posts: 2
Joined: Apr 2011
Reputation: 0
Post: #20
Robotica Wrote:Did you apply this patch: http://trac.xbmc.org/ticket/10928 ?
yes, will try with new ubuntu & 64bit version when i get the time :-]
cheers!
find quote
Post Reply