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)



- Balinus - 2011-09-08

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.


- hipp0 - 2011-09-10

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-review-en-instructiehandleiding/

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!


- wsnipex - 2011-09-10

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


- rossl1986 - 2011-09-10

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


- chrischdi - 2011-09-13

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


ZOTACZootac AD02: suspend to ram zotac does not care only support windows - EricV - 2011-09-13

I have seen other here saying suspend to ram does not work. As it does not work for me, I opened a ticket at zotac.

Their anwser was;: your RAM is broken, your video driver is broken and anyway we only support windows (and I have the lastest BIOS).

>
>We tested the ZBOX AD02 in windows and S3 works perfectly fine.
> Unfortunately ZOTAC only supports windows XP, Vista, 7 in 32 bit and 64 bit versions.
> I apologize for the inconvenience.

I managed to have suspend to RAM work fine on a acer 522 with same software setup so its definitively a BIOS problem but apparently zotac does not care...

You have been warned...


- thys - 2011-09-21

Anyone got the latest checkout of FernetMenta's branch working?

I can hear the audio play but for video it just stays in the menu. Error log shows:

Code:
18:58:49 T:139680317753248   DEBUG: CAnnouncementManager - Announcement: OnPlay from xbmc
18:58:49 T:139680317753248   DEBUG: GOT ANNOUNCEMENT, type: 1, from xbmc, message OnPlay
18:58:49 T:139680317753248   DEBUG: ASB: CXBMCRenderManager::NotifyDisplayFlip called with m_renderinfo.framepts: -4503599627370496.000000
18:58:49 T:139680317753248   DEBUG: Previous line repeats 7 times.
18:58:49 T:139680317753248   DEBUG: ------ Window Deinit (DialogBusy.xml) ------
18:58:49 T:139680317753248   DEBUG: ASB: CXBMCRenderManager::NotifyDisplayFlip called with m_renderinfo.framepts: -4503599627370496.000000
18:58:49 T:139679615543040   DEBUG: Previous line repeats 54 times.
18:58:49 T:139679615543040   DEBUG: CDVDPlayerAudio:: Skipping 7 packet(s) of 10.67 ms duration
18:58:49 T:139680317753248   DEBUG: ASB: CXBMCRenderManager::NotifyDisplayFlip called with m_renderinfo.framepts: -4503599627370496.000000
18:58:50 T:139679615543040   DEBUG: Previous line repeats 57 times.
18:58:50 T:139679615543040   DEBUG: CDVDPlayerAudio:: Duplicating 4 packet(s) of 10.67 ms duration
18:58:50 T:139680317753248   DEBUG: ASB: CXBMCRenderManager::NotifyDisplayFlip called with m_renderinfo.framepts: -4503599627370496.000000
18:58:50 T:139679615543040   DEBUG: Previous line repeats 56 times.
18:58:50 T:139679615543040   DEBUG: CDVDPlayerAudio:: Duplicating 5 packet(s) of 10.67 ms duration
18:58:50 T:139680317753248   DEBUG: ASB: CXBMCRenderManager::NotifyDisplayFlip called with m_renderinfo.framepts: -4503599627370496.000000
18:58:51 T:139679615543040   DEBUG: Previous line repeats 98 times.
18:58:51 T:139679615543040   DEBUG: CDVDPlayerAudio:: Skipping 1 packet(s) of 10.67 ms duration
18:58:51 T:139680317753248   DEBUG: ASB: CXBMCRenderManager::NotifyDisplayFlip called with m_renderinfo.framepts: -4503599627370496.000000
18:58:54 T:139679822771968   DEBUG: Previous line repeats 236 times.
18:58:54 T:139679822771968 WARNING: CDVDPlayerVideoOutput::Process - timeout waiting for message (player not started), forcing trypic
18:58:55 T:139679822771968   ERROR: VAAPI - Unable to find surface
18:58:55 T:139679822771968 WARNING: CDVDPlayerVideoOutput::GetPicture - error getting videoPicture.
18:58:55 T:139680317753248   DEBUG: ASB: CXBMCRenderManager::NotifyDisplayFlip called with m_renderinfo.framepts: -4503599627370496.000000
18:58:55 T:139679822771968   DEBUG: Previous line repeats 24 times.
18:58:55 T:139679822771968 WARNING: CDVDPlayerVideoOutput::Process - timeout waiting for message (player not started), forcing trypic
18:58:55 T:139679822771968   ERROR: VAAPI - Unable to find surface
18:58:55 T:139679822771968 WARNING: CDVDPlayerVideoOutput::GetPicture - error getting videoPicture.
18:58:55 T:139680317753248   DEBUG: ASB: CXBMCRenderManager::NotifyDisplayFlip called with m_renderinfo.framepts: -4503599627370496.000000
18:58:55 T:139679822771968   DEBUG: Previous line repeats 22 times.
18:58:55 T:139679822771968 WARNING: CDVDPlayerVideoOutput::Process - timeout waiting for message (player not started), forcing trypic
18:58:55 T:139679822771968   ERROR: VAAPI - Unable to find surface
18:58:55 T:139679822771968 WARNING: CDVDPlayerVideoOutput::GetPicture - error getting videoPicture.
18:58:55 T:139680317753248   DEBUG: ASB: CXBMCRenderManager::NotifyDisplayFlip called with m_renderinfo.framepts: -4503599627370496.000000
18:58:55 T:139679822771968   DEBUG: Previous line repeats 21 times.
18:58:55 T:139679822771968 WARNING: CDVDPlayerVideoOutput::Process - timeout waiting for message (player not started), forcing trypic
18:58:55 T:139679822771968   ERROR: VAAPI - Unable to find surface
18:58:55 T:139679822771968 WARNING: CDVDPlayerVideoOutput::GetPicture - error getting videoPicture.
18:58:55 T:139680317753248   DEBUG: ASB: CXBMCRenderManager::NotifyDisplayFlip called with m_renderinfo.framepts: -4503599627370496.000000
18:58:56 T:139679822771968   DEBUG: Previous line repeats 22 times.
18:58:56 T:139679822771968 WARNING: CDVDPlayerVideoOutput::Process - timeout waiting for message (player not started), forcing trypic
18:58:56 T:139679822771968   ERROR: VAAPI - Unable to find surface
18:58:56 T:139679822771968 WARNING: CDVDPlayerVideoOutput::GetPicture - error getting videoPicture.
18:58:56 T:139680317753248   DEBUG: ASB: CXBMCRenderManager::NotifyDisplayFlip called with m_renderinfo.framepts: -4503599627370496.000000
18:58:56 T:139679822771968   DEBUG: Previous line repeats 22 times.
18:58:56 T:139679822771968 WARNING: CDVDPlayerVideoOutput::Process - timeout waiting for message (player not started), forcing trypic
18:58:56 T:139679822771968   ERROR: VAAPI - Unable to find surface
18:58:56 T:139679822771968 WARNING: CDVDPlayerVideoOutput::GetPicture - error getting videoPicture.
18:58:56 T:139680317753248   DEBUG: ASB: CXBMCRenderManager::NotifyDisplayFlip called with m_renderinfo.framepts: -4503599627370496.000000
18:58:56 T:139679822771968   DEBUG: Previous line repeats 18 times.
18:58:56 T:139679822771968 WARNING: CDVDPlayerVideoOutput::Process - timeout waiting for message (player not started), forcing trypic
18:58:56 T:139679822771968   ERROR: VAAPI - Unable to find surface
18:58:56 T:139679822771968 WARNING: CDVDPlayerVideoOutput::GetPicture - error getting videoPicture.
18:58:56 T:139680317753248   DEBUG: ASB: CXBMCRenderManager::NotifyDisplayFlip called with m_renderinfo.framepts: -4503599627370496.000000
18:58:56 T:139679822771968   DEBUG: Previous line repeats 19 times.
18:58:56 T:139679822771968 WARNING: CDVDPlayerVideoOutput::Process - timeout waiting for message (player not started), forcing trypic
18:58:56 T:139679822771968   ERROR: VAAPI - Unable to find surface
18:58:56 T:139679822771968 WARNING: CDVDPlayerVideoOutput::GetPicture - error getting videoPicture.
18:58:56 T:139680317753248   DEBUG: ASB: CXBMCRenderManager::NotifyDisplayFlip called with m_renderinfo.framepts: -4503599627370496.000000
18:58:56 T:139679822771968   DEBUG: Previous line repeats 18 times.
18:58:56 T:139679822771968 WARNING: CDVDPlayerVideoOutput::Process - timeout waiting for message (player not started), forcing trypic
18:58:56 T:139679822771968   ERROR: VAAPI - Unable to find surface
18:58:56 T:139679822771968 WARNING: CDVDPlayerVideoOutput::GetPicture - error getting videoPicture.
18:58:56 T:139680317753248   DEBUG: ASB: CXBMCRenderManager::NotifyDisplayFlip called with m_renderinfo.framepts: -4503599627370496.000000
18:58:57 T:139679822771968   DEBUG: Previous line repeats 19 times.
18:58:57 T:139679822771968 WARNING: CDVDPlayerVideoOutput::Process - timeout waiting for message (player not started), forcing trypic
18:58:57 T:139679822771968   ERROR: VAAPI - Unable to find surface
18:58:57 T:139679822771968 WARNING: CDVDPlayerVideoOutput::GetPicture - error getting videoPicture.
18:58:57 T:139680317753248   DEBUG: ASB: CXBMCRenderManager::NotifyDisplayFlip called with m_renderinfo.framepts: -4503599627370496.000000
18:58:57 T:139679615543040   DEBUG: Previous line repeats 1 times.
18:58:57 T:139679615543040 WARNING: CDVDMessageQueue(audio)::Get - asked for new data packet, with nothing available
18:58:57 T:139680317753248   DEBUG: ASB: CXBMCRenderManager::NotifyDisplayFlip called with m_renderinfo.framepts: -4503599627370496.000000
18:58:57 T:139679822771968   DEBUG: Previous line repeats 16 times.
18:58:57 T:139679822771968 WARNING: CDVDPlayerVideoOutput::Process - timeout waiting for message (player not started), forcing trypic
18:58:57 T:139679822771968   ERROR: VAAPI - Unable to find surface
18:58:57 T:139679822771968 WARNING: CDVDPlayerVideoOutput::GetPicture - error getting videoPicture.
18:58:57 T:139680317753248   DEBUG: ASB: CXBMCRenderManager::NotifyDisplayFlip called with m_renderinfo.framepts: -4503599627370496.000000
18:58:57 T:139679822771968   DEBUG: Previous line repeats 23 times.
18:58:57 T:139679822771968 WARNING: CDVDPlayerVideoOutput::Process - timeout waiting for message (player not started), forcing trypic
18:58:57 T:139679822771968   ERROR: VAAPI - Unable to find surface
18:58:57 T:139679822771968 WARNING: CDVDPlayerVideoOutput::GetPicture - error getting videoPicture.
18:58:57 T:139680317753248   DEBUG: ASB: CXBMCRenderManager::NotifyDisplayFlip called with m_renderinfo.framepts: -4503599627370496.000000
18:58:57 T:139679822771968   DEBUG: Previous line repeats 22 times.
18:58:57 T:139679822771968 WARNING: CDVDPlayerVideoOutput::Process - timeout waiting for message (player not started), forcing trypic
18:58:57 T:139679822771968   ERROR: VAAPI - Unable to find surface
18:58:57 T:139679822771968 WARNING: CDVDPlayerVideoOutput::GetPicture - error getting videoPicture.
18:58:57 T:139680317753248   DEBUG: ASB: CXBMCRenderManager::NotifyDisplayFlip called with m_renderinfo.framepts: -4503599627370496.000000
18:58:57 T:139679822771968   DEBUG: Previous line repeats 22 times.
18:58:57 T:139679822771968 WARNING: CDVDPlayerVideoOutput::Process - timeout waiting for message (player not started), forcing trypic
18:58:57 T:139679822771968   ERROR: VAAPI - Unable to find surface
18:58:57 T:139679822771968 WARNING: CDVDPlayerVideoOutput::GetPicture - error getting videoPicture.
18:58:57 T:139680317753248   DEBUG: ASB: CXBMCRenderManager::NotifyDisplayFlip called with m_renderinfo.framepts: -4503599627370496.000000
18:58:58 T:139679822771968   DEBUG: Previous line repeats 22 times.



- FernetMenta - 2011-09-21

Wrong branch. Take a look in vaapi branch.


- thys - 2011-09-21

FernetMenta Wrote:Wrong branch. Take a look in vaapi branch.
Ahh now I feel stupid, thanks!


- Krautmaster - 2011-09-21

Hello there,

i collected a few How-Tos and created a new Wiki on my Homeserver.

Topics like VDR, XBMC, HD Acceleration, Ambilight, and so on...

Maybe you all are interested and maybe you can fill, approve, correct these How-To's

http://krautmaster.is-a-chef.com/wiki/index.php/Main_Page

When the Wiki is grown up a little, I'll release it on http://www.htpc-wiki.de

I would prefer English as language, maybe i'll translate it to German too.

Would be nice to see some Pro_Users here to add and share their knowledge in this wiki.

Simply create an articles , paste down approved tutorials and I'll check the form and so on. With a ITX Zacate, Sandy Bridge and Nvidia System i am able to check most of them but that costs time.

Feel free to edit!

Thanks!!!


- Kapz786 - 2011-09-28

Hi Guys,

I've got XBMC running (via OpenElec) on my Zotac AD10 (E-350 and AMD Radeon HD 6310)

Do you guys have any suggestions on which video/playback settings to use to improve performance?

What should i be putting for:

Render Method
Adjust display refresh rate to match video
Sync playback to display

etc and any other things i should be aware of?


- Robotica - 2011-09-28

Kapz786 Wrote:Hi Guys,

I've got XBMC running (via OpenElec) on my Zotac AD10 (E-350 and AMD Radeon HD 6310)

Do you guys have any suggestions on which video/playback settings to use to improve performance?

What should i be putting for:

Render Method
Adjust display refresh rate to match video
Sync playback to display

etc and any other things i should be aware of?

When XBMC is running make sure to select the following options:
settings-videos-playback
xbmc-settings-system-video
http://gaspo.dyndns.org/files/xbmc-settings-system-audio.png

To show temps in XBMC, add those lines to advancedsettings.xml
Code:
<advancedsettings>
<cputempcommand>sensors|sed -ne "s/temp1: \+[-+]\([0-9]\+\).*/\1 C/p"</cputempcommand>
</advancedsettings>

For suspend, shutdown problems:
http://wiki.xbmc.org/index.php?title=Ubuntu_Suspend_/_Wake

Above is for ASUS E35M1-I Deluxe.


- Balinus - 2011-09-28

Robotica Wrote:settings-videos-playback
xbmc-settings-system-video
http://gaspo.dyndns.org/files/xbmc-settings-system-audio.png

The links doesn't work here.


- Kapz786 - 2011-09-29

Robotica Wrote:When XBMC is running make sure to select the following options:
settings-videos-playback
xbmc-settings-system-video
http://gaspo.dyndns.org/files/xbmc-settings-system-audio.png

To show temps in XBMC, add those lines to advancedsettings.xml
Code:
<advancedsettings>
<cputempcommand>sensors|sed -ne "s/temp1: \+[-+]\([0-9]\+\).*/\1 C/p"</cputempcommand>
</advancedsettings>

For suspend, shutdown problems:
http://wiki.xbmc.org/index.php?title=Ubuntu_Suspend_/_Wake

Above is for ASUS E35M1-I Deluxe.

Any chance you can put them on imageshack? They dont work on my end either


- mbah.pande - 2011-09-29

Hi all

I'm using XBMC_PVR, aticatalys 11.8 on my E350 board and found some wired act of my XBMC sometimes video just freeze and audio keeps on when play Video

whats wrong with it?