[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
abudabi Offline
Member
Posts: 84
Joined: Aug 2011
Reputation: 1
Post: #521
FernetMenta Wrote:The "big pixels" are probably because killa-sample and other videos showing this are encoded with h.264 level > 4.1. The xvba backend driver reduces the number of references needed by h.264 in this case. There might be a better way of dealing with level > 4.1. vdpau does not support level > 4.1 either but plays killa-sample fine.

Is it an easy thing to upgrade VDPAU later (when they fix it) or should I hold off on rolling out my system? I'm fairly noobish so dont want to set everything up now just to reload later Smile

PS. I am using lots of other apps on my desktop not just xbmc
find quote
chrischdi Offline
Junior Member
Posts: 2
Joined: Sep 2011
Reputation: 0
Location: Germany
Post: #522
ErikB Wrote:Actually, you can. By doing this!
create a file, for instance xbmcstarter, and put it in /etc/init.d

Content:
Code:
#!/bin/sh
startx

And finally run chmod +x xbmcstarter


When starting the server like this, xbmc starts after bootup.. but when starting a movie xbmc instantly restarts, for some reason.
Guess there is some difference between starting from /etc/init.d and from ssh...

EDIT: Maybe it has to do with the fact that startx is run as root instead of as xbmc - and root doesnt have video or audio privileges.. Will try adding root tho those groups tonight. (or maybe the other way around or something else login-related)

Try to Install xbmc-live. It's a startup script for XBMC and also aviable in ppa:lars-opdenkamp/xbmc-pvr
I'm sure it create's a startup script in /etc/init.d with this content: Link

But I also got the problem that xbmc crashes when starting a video with vaapi enabled.

My only option is to compile myself?
Installed from the pvr ppa.
(This post was last modified: 2011-09-07 22:29 by chrischdi.)
find quote
ErikB Offline
Junior Member
Posts: 21
Joined: Sep 2011
Reputation: 0
Post: #523
Followup on what I did with my issues running XBMC on a Zacate with ubuntu server..
The problem with the blinking console was solved with ctrl+alt+F1.

But anyway. Today I found out that XBMC should play most anything on a Apple TV. And then I checked and saw the prices of those things... And then I regretted spending som much time trying to make my server also be the XBMC frontend.

Anyway, went to the store, bought an Apple TV2, fiddled around and installed, and it works like a charm. Even plays the 1080p files without any "big pixel" issues.

Said and done, I will let my E350 be a headless (file- and web-)server and use Apple TV as my frontend. It's gonna be great. Sad it took me so much time to find how great the Apple TV is.

Anyway, good luck to the rest of you. Thanks for all your input.
find quote
Balinus Offline
Posting Freak
Posts: 1,018
Joined: Jul 2011
Reputation: 17
Location: Montréal
Post: #524
ErikB Wrote:Followup on what I did with my issues running XBMC on a Zacate with ubuntu server..
The problem with the blinking console was solved with ctrl+alt+F1.

But anyway. Today I found out that XBMC should play most anything on a Apple TV. And then I checked and saw the prices of those things... And then I regretted spending som much time trying to make my server also be the XBMC frontend.

Anyway, went to the store, bought an Apple TV2, fiddled around and installed, and it works like a charm. Even plays the 1080p files without any "big pixel" issues.

Said and done, I will let my E350 be a headless (file- and web-)server and use Apple TV as my frontend. It's gonna be great. Sad it took me so much time to find how great the Apple TV is.

Anyway, good luck to the rest of you. Thanks for all your input.

I thought that the apple TV2 was unable to play 1080p files... :confused2:
find quote
ErikB Offline
Junior Member
Posts: 21
Joined: Sep 2011
Reputation: 0
Post: #525
Balinus Wrote:I thought that the apple TV2 was unable to play 1080p files... :confused2:

Well, technically it can.. but it still only outputs 720p through the HDMI. Which is sufficient for me, since my projector is only capable up to 1280x720.

Erik
find quote
Balinus Offline
Posting Freak
Posts: 1,018
Joined: Jul 2011
Reputation: 17
Location: Montréal
Post: #526
ErikB Wrote:Well, technically it can.. but it still only outputs 720p through the HDMI. Which is sufficient for me, since my projector is only capable up to 1280x720.

Erik

ah ok! Thanks for the clarification.
find quote
hipp0 Offline
Junior Member
Posts: 12
Joined: Sep 2011
Reputation: 0
Post: #527
So after getting VAAPI working with xmbc and Fusion, I have some questions left. By the way thanks to everybody who is helping me with that, great job!

For me it seems that xbmc is quite unstable at the moment. I build it with some patches against the master branch a few days ago. After some days of testing I have to say that there are still some problems. Examples for that:
  • When navigating fast through the menu xbmc crashes and restarts again.
  • After pausing a Video the sound and the Video seems asynchronous. Have to start the Video again and select "Resume from XY"

I am not the only one who mentioned this Problems, if the google translator did not go completely insane :-D . http://www.xbmcfreak.nl/amd-fusion-revie...ndleiding/

Perhaps this because the master branch is pre 11.0? Is this right? Is there a way to make VAAPI work with a stable 10.X Version?

In your opinion what is the most stable xbmc branch/git/ppa . Thanks again!
find quote
wsnipex Offline
Team-XBMC packaging monkey
Posts: 1,819
Joined: Jun 2011
Reputation: 50
Post: #528
the audio out of sync issue after pause is fixed for me with the patches from fernetmenta and enabling "auto adjust refresh rate" and disabling "sync audio to video".
I also have set xbmc to always use vsync
find quote
rossl1986 Offline
Junior Member
Posts: 11
Joined: Aug 2010
Reputation: 0
Post: #529
I've managed to follow this guide to get it working on my system. However, I can't get it to autoboot into XBMC. I followed the link on the first page but nothing happens, it just boots to the command line like it did before I changed anything.

Anybody know of a more reliable way to get this to autoboot? I've tried some other guides as well but nothing seems to work.

Thanks
find quote
chrischdi Offline
Junior Member
Posts: 2
Joined: Sep 2011
Reputation: 0
Location: Germany
Post: #530
rossl1986 Wrote:I've managed to follow this guide to get it working on my system. However, I can't get it to autoboot into XBMC. I followed the link on the first page but nothing happens, it just boots to the command line like it did before I changed anything.

Anybody know of a more reliable way to get this to autoboot? I've tried some other guides as well but nothing seems to work.

Thanks

I got autostart working by the following steps:
Edit the file /etc/init/tty1.conf
Change the following Line:
Code:
exec /sbin/getty 38400 tty1
to
Code:
exec /bin/login -f xbmc < /dev/tty1 > /dev/tty1 2>&1

To clear the screen and start X we craete a file named .bash_profile:
Code:
Code:
nano ~/.bash_profile
Content:
Code:
case "`tty`" in
/dev/tty1) clear && startx &>/dev/null;;
esac
For autostart XBMC we need .xinitrc
Code:
Code:
nano ~/.xinitrc
Content:
Code:
pulseaudio --start
exec /usr/local/xbmc/bin/xbmc --standalone

Pulseaudio because it didn't start automatic on my installation. Don't know why!

Greetz
find quote
Post Reply