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)



- kaulalla - 2011-07-27

I followed the steps, all went fine, yet I get the same outputs as before (plus I lost the LAN card, so have to use wlan now), no improvement... xbmc wont start, and no opengl rendering Sad


- devil103 - 2011-07-27

kaulalla Wrote:I followed the steps, all went fine, yet I get the same outputs as before (plus I lost the LAN card, so have to use wlan now), no improvement... xbmc wont start, and no opengl rendering Sad

I do remember having the same problem this weekend. I believe the fix was to simply run the installation again:

Code:
sudo dpkg -i fglrx*.deb
sudo aticonfig --initial -f

AND

sudo aticonfig --input=/etc/X11/xorg.conf --tls=1

I think this actually solved my OpenGL rendering problem. The later problem was then the hardware acceleration Big Grin

Can't help you with the network card I'm afraid. My Asus board has an r8168 realtek card which works out of the box for now with r8169 module. At the moment I can't compile the realtek r8168 module from their website and have a topic running about this in the ubuntu forums.


- Robotica - 2011-07-27

Catalyst 11.7 released. No more kernel patch needed for x.x.39 & 3.x kernels!


- Balinus - 2011-07-27

Robotica, there is a typo in one of your command of the 1st post of this thread :

"Disable ppa:xorg-edgers/ppa untill everything is more mature.
Code:

text"

Where "text" should be the command to disable the xorg-edgers/ppa.


Update to 11.7 - demiurg - 2011-07-27

Looking to upgrade from 11.6 to 11.7 (on kernel 3.0.0-5 and Ubuntu Desktop), but I am def. a n00b, so wanted to check here if my steps make sense, and if so it might help other n00bs to update:

Quote:# uninstall old
sudo sh /usr/share/ati/fglrx-uninstall.sh
sudo apt-get remove --purge fglrx fglrx_* fglrx-amdcccle* fglrx-dev* xorg-driver-fglrx

#install new
cd ~/; mkdir catalyst11.7; cd catalyst11.7/
wget http://www2.ati.com/drivers/linux/ati-driver-installer-11-7-x86.x86_64.run
chmod +x ati-driver-installer-11-7-x86.x86_64.run

sudo sh ./ati-driver-installer-11-7-x86.x86_64.run --buildpkg Ubuntu/natty
sudo dpkg -i fglrx*.deb

sudo aticonfig --initial -f
# or maybe sudo aticonfig --input=/etc/X11/xorg.conf --tls=1 ?
sudo reboot



- Anastrophe - 2011-07-27

Devil103,

I'm no linux guru and I don't have a Fusion box (yet), but surely the 'history' command would show you exactly what you typed?


- devil103 - 2011-07-28

Anastrophe Wrote:Devil103,

I'm no linux guru and I don't have a Fusion box (yet), but surely the 'history' command would show you exactly what you typed?

Great idea, now why didn't I think of that. Cool
I'll look over the commands and see what I did!

EDIT:
I already see something here which I did and didn't mention:

Code:
sudo dpkg-reconfigure x11-common
This should bring up a screen in the terminal where you allow 'anybody' to startx



- mbah.pande - 2011-07-28

Hi All

Just some question again on XBMC with this E350 APU

1. How to play Full HD video (1080p) in XBMC?
vainfo and fglrxinfo seems no problem but when i try to paly Full HD
video the image and sound is not smoth i mean have some delay

2. How to run wine app from XBMC (using advanced launcher)
my wine already work fine

FYI
XBMC install on Full instalation Ubuntu Natty 64bit
Iam using ATI Catalyst 11.7
and XBMC from maverick ppa


- devil103 - 2011-07-28

mbah.pande Wrote:Hi All

Just some question again on XBMC with this E350 APU

1. How to play Full HD video (1080p) in XBMC?
vainfo and fglrxinfo seems no problem but when i try to paly Full HD
video the image and sound is not smoth i mean have some delay

You can always check if hardware acceleration is being used by pressing 'o' during playback. If CPU usage is high and there's no mention of 'vaapi' you're probably not using acceleration.

To give an idea, when playing 720p blurayrip my CPU usage is 10% - 15%


- mbah.pande - 2011-07-28

devil103 Wrote:You can always check if hardware acceleration is being used by pressing 'o' during playback. If CPU usage is high and there's no mention of 'vaapi' you're probably not using acceleration.

To give an idea, when playing 720p blurayrip my CPU usage is 10% - 15%

yes it not using acceleration,
D(audio:aac, 44100 Hz, stereo, s16, 125kb/s) P(aq:53%, kB/s:118.13)
D(Video: H264, yuv420p, 1920x1080[PAR 1:! DAR 16:9] P9vq:99%, dc:ff-h264, Mb/s:2.39, drop:347, pc:1)

C( ad; 0.000, a/V: 3.932, edl:-, dcpu:1% acpu: 7% vcpu:98% )
W(fps:12.83 CPU0: 38,6% CPU1: 100.0% ) S( refres:60 missed:1750 speed:+0.277% sync:-22% error:23415)

Shame on me my video is only 720p

how to activated that accelerator?


- devil103 - 2011-07-28

mbah.pande Wrote:yes it not using acceleration,
D(audio:aac, 44100 Hz, stereo, s16, 125kb/s) P(aq:53%, kB/s:118.13)
D(Video: H264, yuv420p, 1920x1080[PAR 1:! DAR 16:9] P9vq:99%, dc:ff-h264, Mb/s:2.39, drop:347, pc:1)

C( ad; 0.000, a/V: 3.932, edl:-, dcpu:1% acpu: 7% vcpu:98% )
W(fps:12.83 CPU0: 38,6% CPU1: 100.0% ) S( refres:60 missed:1750 speed:+0.277% sync:-22% error:23415)

Shame on me my video is only 720p

how to activated that accelerator?

Well, that's what this topic is for Big Grin Probably one of three things:

Code:
1.) You didn't install the xvba package (unlikely if you followed the guide)
2.) The XvBA package is there but the link isn't right (see a few posts back, check to see if the link in /usr/lib/dri/fglrx_drv_video.so points to /usr/lib/va/drivers/fglrx_drv_video.so)
3.) Segmentation fault issue (search this topic to find which lines to append to /etc/environment)

Otherwise, you can always check the ~/.xbmc/temp/xbmc.log file and see what errors it gives when starting playback.


- javum - 2011-07-28

Here is string for gpu temp:
Code:
<gputempcommand>aticonfig --odgt --adapter=0 | sed -ne 's/Sensor 0: Temperature - \([0-9]\+\).*/\1 C/p'</gputempcommand>
the result is slightly different from sensors command for cpu temp (maybe another sensor?)


- Balinus - 2011-07-28

devil103 Wrote:Well, that's what this topic is for Big Grin Probably one of three things:

Code:
1.) You didn't install the xvba package (unlikely if you followed the guide)
2.) The XvBA package is there but the link isn't right (see a few posts back, check to see if the link in /usr/lib/dri/fglrx_drv_video.so points to /usr/lib/va/drivers/fglrx_drv_video.so)
3.) Segmentation fault issue (search this topic to find which lines to append to /etc/environment)

Otherwise, you can always check the ~/.xbmc/temp/xbmc.log file and see what errors it gives when starting playback.

Or simply just enable it under XBMC settings?


- kaulalla - 2011-07-28

Did a reinstall of Xubuntu 11.04 Desktop, no updates, followed Wytraven's tutorial as before (although couldn't install new linux kernel), and works as it should Big Grin Thanks for all the valuable input guys!


- mbah.pande - 2011-07-29

devil103 Wrote:Well, that's what this topic is for Big Grin Probably one of three things:

Code:
1.) You didn't install the xvba package (unlikely if you followed the guide)
2.) The XvBA package is there but the link isn't right (see a few posts back, check to see if the link in /usr/lib/dri/fglrx_drv_video.so points to /usr/lib/va/drivers/fglrx_drv_video.so)
3.) Segmentation fault issue (search this topic to find which lines to append to /etc/environment)

Otherwise, you can always check the ~/.xbmc/temp/xbmc.log file and see what errors it gives when starting playback.

thank's alot for helping me coz i'm really noob in linux and want to learn a lot maybe startin fixing this

ok i check xbmc.log and found one error and a lot of notice

08:58:44 T:139994841155648 M:1133330432 ERROR: Unable to load libcrystalhd.so.3, reason: libcrystalhd.so.3: cannot open shared object file: No such file or directory

how to fix that? Huh