Kodi Community Forum
[LINUX] HOW-TO use VAAPI HW Acceleration on AMD Zacate (Fusion) platform - Printable Version

+- Kodi Community Forum (https://forum.kodi.tv)
+-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33)
+--- Forum: General Support (https://forum.kodi.tv/forumdisplay.php?fid=111)
+---- Forum: Linux (https://forum.kodi.tv/forumdisplay.php?fid=52)
+---- Thread: [LINUX] HOW-TO use VAAPI HW Acceleration on AMD Zacate (Fusion) platform (/showthread.php?tid=99154)



- Robotica - 2011-07-05

Rapoza Wrote:Yesterday I saw an entire 24p film, from start to end. I started, then Press F, then pressed R, (so image stabilized) and then added 2sec to the audio sync.
Rofl
Thats a xbmc bug, other things are wimp.

Does anyone found a "cure"? Even heared about one?

Bobo1on1 responded to the bug: http://forum.xbmc.org/showpost.php?p=831658&postcount=37


- Pugnou - 2011-07-05

Thank you for the reply, I did some research and this is what I miss:
Code:
libgl-dev libglu-dev libglew-dev libjpeg-dev libsamplerate-dev libfontconfig-dev libasound-dev libpng-dev libsdl-dev libcurl-dev libcrystalhd-dev
How to retrieve all?


- Robotica - 2011-07-05

Pugnou Wrote:Thank you for the reply, I did some research and this is what I miss:
Code:
libgl-dev libglu-dev libglew-dev libjpeg-dev libsamplerate-dev libfontconfig-dev libasound-dev libpng-dev libsdl-dev libcurl-dev libcrystalhd-dev
How to retrieve all?

See OP or text file posted in this topic for build instructions.


- Pugnou - 2011-07-06

Thx again.
It's my last post I hope...
Now, I run XBMC, but if, i choose VAAPI in settings when I launch movie XBMC crash, and if i don't choose VAAPI, XBMC runs (whithout VAAPI of course :/)
Do you have any idea for this problems? (it's not in the OP and README)
(And, sorry if i must create a topic for this, delete this answer and i do topic)


- Robotica - 2011-07-06

That's also in this topic somewhere. But what versions (linux, kernel, drivers, etc) are you running? Also check your logs (start with xbmc.log +old) to see what is happening...


- Pugnou - 2011-07-06

Ubuntu: 11.04
Kernel: 2.6.38 (I can't change for .39)
Drivers: Ati catalyst 11.6 (OpenGL 4.1.1.10834)

xbmc.log: http://pastebin.com/L4S2GtSV


- wsnipex - 2011-07-06

maybe you miss the environment variables?
http://forum.xbmc.org/showpost.php?p=830836&postcount=233


- devil103 - 2011-07-06

Quote:DEBUG: VAAPI - attempting to open codec 28 with profile 100 at level 41 with 4 reference frames

XBMC tries to load vaapi but last lines relate to audio. Have you configured alsamixer?


- wobu - 2011-07-06

devil103 Wrote:XBMC tries to load vaapi but last lines relate to audio. Have you configured alsamixer?

If xbmc crashes according to vaapi and the reason are the missing environment file entries, then no ERROR log entry would be in the crash log of xbmc.

At least it was so in my case.

Due to the fact that xbmc would run without vaapi is enabled, i think it can't be the audio settings Smile


- Robotica - 2011-07-06

Pugnou Wrote:Ubuntu: 11.04
Kernel: 2.6.38 (I can't change for .39)
Drivers: Ati catalyst 11.6 (OpenGL 4.1.1.10834)

xbmc.log: http://pastebin.com/L4S2GtSV

If everything looks ok (vainfo ,etc) try to remove xorg.conf and do "aticonfig --initial -f".


- shade - 2011-07-06

WytRaven Wrote:Yay my system is dead again thx to an X update...

XBMC is now claiming no hardware accelerated OpenGL post Xorg update. I have tried reinstalling fglrx to no avail.

Any luck?

I had to reinstall my machine and i came upon the same problem.

using:

ppa:ubuntu-x-swat/x-updates
ppa:lars-opdenkamp/xbmc-pvr
ppa:xorg-edgers/ppa

With 2.6.39-3 and patched Catalyst 11.6


- wsnipex - 2011-07-06

had the same problem a few days ago. some update from xorg-edgers broke vaapi.

luckly I had a backup of my system.
for now, I have this ppa disabled and no updates...


- Pugnou - 2011-07-06

Yeah, I launch avatar in 1080p 24fps ...but a picture of two shows the first frame of film. I do not know if I'm clear.


.xinitrc - devil103 - 2011-07-06

So I've got the XBMC installation almost the way I want it.
I'll hold off on the X-updates for now but there's one last thing... (isn't there always?)

I'm using an .xinitrc script to autostart XBMC after login of my xbmc user but this script also runs when logging into the machine using ssh.

Is there a way to disable this behaviour and not run .xinitrc when logging in remotely?


- lewy - 2011-07-06

shade Wrote:Any luck?

I had to reinstall my machine and i came upon the same problem.

using:

ppa:ubuntu-x-swat/x-updates
ppa:lars-opdenkamp/xbmc-pvr
ppa:xorg-edgers/ppa

With 2.6.39-3 and patched Catalyst 11.6

Hi everyone,
One command brought everything back to normal:
sudo ppa-purge ppa:xorg-edgers/ppa