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

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Help and Support (/forumdisplay.php?fid=33)
+--- Forum: XBMC General Help and Support (/forumdisplay.php?fid=111)
+---- Forum: Linux and Live support (/forumdisplay.php?fid=52)
+---- Thread: [LINUX] HOW-TO use VAAPI HW Acceleration on AMD Zacate (Fusion) platform (/showthread.php?tid=99154)



- WytRaven - 2011-06-17 06:52

yumz Wrote:Getting a similar problem after installing from the mini.iso. Ubuntu refuses to load normally and I have to mash F8 to boot into recovery mode and sometimes the screen will start to flicker or just die.

Just Alt-F1 to get to a console and you can go on from there (the mini.iso does not install GUI so you won't get to a desktop if that is what you are expecting).


- WytRaven - 2011-06-17 07:17

I have now tried disabling VA API in XBMC and sure enough I can now play videos as expected (with graceful handling of the "no audio" situation, but thats another thing altogether). So it is VA API that is the problem. However even with VA API disabled I am getting screen tearing no matter what the settings of refresh rate syncing are.

I am beginning to suspect the refresh rate stuff may have something to do with not having modelines in xorg.conf. I will have to experiment with that. Thanks to those that have recently provided some starting points for that experimentation.

As for VA API problems. I would try removing Cat 11.6 and using the repos to install whatever one is in there, as per SDM2011's suggestion, but it would appear htpcero has already tried that to no avail.

I do have one question that I would rather not have to waste energy on investigating myself right now so if someone knows the answers please speak up. I want to use the Simplicity skin with XBMC but note that when I go to "more skins" it is listed as broken. In fact there is apparently only 1 (out of 3 available) other than Confluence that can be used? Is this something weird due to being an experimental XBMC that can be worked around or is that the end of the story; i.e. no Simplicity for me.


- WytRaven - 2011-06-17 07:45

Robotica Wrote:Did you use the method provided in OP(bottom) to compile Mplayer?

Yeah those are the instructions I followed.


- WytRaven - 2011-06-17 08:34

Robotica Wrote:In alsamixer unmute the spdif devices. Than we store this setting.
Code:
alsamixer
sudo alsactl store

Thanks Robotica, that's my audio issues fixed. Enabled pass through options in xbmc and set both audio output devices to hdmi (ALSA) and audio is being perfectly passed through to my surround receiver.

So that's one xbmc problem definitively solved! Nod


- Rapoza - 2011-06-17 11:36

I also tried some things last night.

It seems that or mobo has trouble with vaapi. Seems that the driver is not getting the correct ID from the gfx card and then some segfault errors related appear.

I'm completely sure that is directly related to the link about segmentation Robotica posted yesterday.

Raven, the audio and the net problems appeared when I used your driver installation method. But I realized that where apparently caused by "lack of configurations"
Net config app showed partial traces of may before settings (mask, gateway) but the networking file was totally empty.

For the audio, if you try running a mixer prog and while your adjusting volumes, the problem goes out. I managed to crash the mixer and then the system stay with 100% volume. That seemed to me not a volume amount, but a wrong value on config files.

Those are my guesstimations. But the Robotica fix I think goes for that.

So, what I do now? What kind of installation? I think the SDM2011 method will not work if no desktop is installed.


- jbo87 - 2011-06-17 11:50

I am using a AsRock E350M1 and XBMC w/ VAAPI works if i start it out of Gnome. It crashes on playback when i choose XBMC as session on the login screen though.

Another problem is wakeup from STR. It wakes up but there is no picture on the screen. It also does not respond to a ping.


- Rapoza - 2011-06-17 11:56

jbo87 Wrote:I am using a AsRock E350M1 and XBMC w/ VAAPI works if i start it out of Gnome. It crashes on playback when i choose XBMC as session on the login screen though.

Another problem is wakeup from STR. It wakes up but there is no picture on the screen. It also does not respond to a ping.

Maverick/Natty? Kernel version?


- jbo87 - 2011-06-17 12:05

Rapoza Wrote:Maverick/Natty? Kernel version?

I am at work. Will post ASAP


ASUS E35-I DELUXE Ubuntu 11.04 (GNU/Linux 2.6.39-0-generic x86_64) - Rapoza - 2011-06-17 12:58

@jbo: No hurry needed. Wink

Currently doing a complete installation as per OP instructions. Natty cli.
Arrived to the driver installation and seen this on the debs install:

Quote:Configurando fglrx (2:8.861-0ubuntu1) ...
update-alternatives: utilizando /usr/lib/fglrx/ld.so.conf para proveer /etc/ld.so.conf.d/GL.conf (gl_conf) en modo automático.
update-initramfs: deferring update (trigger activated)
Loading new fglrx-8.861 DKMS files...
First Installation: checking all kernels...
Building only for 2.6.39-0-generic
Building for architecture x86_64
Building initial module for 2.6.39-0-generic

Error! Bad return status for module build on kernel: 2.6.39-0-generic (x86_64)
Consult the make.log in the build directory
/var/lib/dkms/fglrx/8.861/build/ for more information.
update-initramfs: deferring update (trigger activated)
Procesando disparadores para ureadahead ...
ureadahead will be reprofiled on next reboot

Installing GIT:

Quote:W: Possible missing firmware /lib/firmware/rtl_nic/rtl8105e-1.fw for module r8169

When executing 2nd DEB dependencies for xbmc build (ppa missing?):
Quote:E: No se ha podido localizar el paquete libcrystalhd-dev

./Bootstrap of xbmc on 2nd post:
Quote:configure: WARNING: unrecognized options: --enable-vaapi, --enable-libbluray

Does not missing a "cd /xbmc" between post 1 and 2 after ending with bluray?


- Robotica - 2011-06-17 13:35

WytRaven Wrote:Thanks Robotica, that's my audio issues fixed. Enabled pass through options in xbmc and set both audio output devices to hdmi (ALSA) and audio is being perfectly passed through to my surround receiver.

So that's one xbmc problem definitively solved! Nod

If your checks (vainfo, glxinfo, etc) are ok, your drivers ok are but the problem is x.org

So setup X.org and you have solved another (related to video)...