2010-09-12, 11:25
Hi all
Just wanted to share my experience regarding getting HW decoding to work on the AMD 780G chipset.
We will not tamper with default installation so you should be able to revert to stock if you encounter something.
Ok so first you need to install xbmc-live 10.04 beta.
I will do this through putty so from a remote computer. Be sure to connect the media-PC to your tv/display as we will need it later.
Now we need libva1_0.31.0-1+sds13_i386.deb, libva-dev_0.31.0-1+sds13_i386.deb and xvba-video_0.6.11-1_i386.deb. We will be using slightly older versions so we don't have to go through updating the fglrx driver on the live-edition.
So now we have that setup for xbmc build and get the latest xbmc svn
Now when you reboot xbmc should have VAAPI option under video playback.
If you have underscan issues with you HDMI tv (1" black borders around the edge), try this method.
still using putty (omit DISPLAY=:0 if you do it local).
change your /etc/X11/xorg.conf to this
If you have other than 1920x1080 and 60Hz change in relevant places.
For some odd reason the driver might not have accepted the changes so I found that starting amdcccle and changing from 50Hz to 60Hz (or switch to any other Hz) got rid of the borders.
from putty
This will star amd control center on you TV NOT your desktop. So go to your tv and exit xbmc (amdcccle will be on top). after you exit xbmc you can control the mouse. Go to the display settings and try switching to another frequency eg. 60Hz hit apply and accept settings. Now you are in the amdcccle move the "wait for Vsync" slider all the way to quality (should help remove stutter if vsync is disabled in xbmc).
Again from putty
Hopefully you will be rid of the stupid black borders. Remember to disable Vsync in xbmc as this should eliminate some stutter issues if you have any.
Now go to a HD movie and hit play and press "o" that is an o for orio not zero.
you should see it decoding the movie using vaapi and almost no cpu usage.
If you have suspend wakeup issues follow this guide
Best
Linnemann
Just wanted to share my experience regarding getting HW decoding to work on the AMD 780G chipset.
We will not tamper with default installation so you should be able to revert to stock if you encounter something.
Ok so first you need to install xbmc-live 10.04 beta.
I will do this through putty so from a remote computer. Be sure to connect the media-PC to your tv/display as we will need it later.
Now we need libva1_0.31.0-1+sds13_i386.deb, libva-dev_0.31.0-1+sds13_i386.deb and xvba-video_0.6.11-1_i386.deb. We will be using slightly older versions so we don't have to go through updating the fglrx driver on the live-edition.
Code:
wget http://www.splitted-desktop.com/~gbeauchesne/libva/pkgs/i386/libva1_0.31.0-1+sds13_i386.deb
wget http://www.splitted-desktop.com/~gbeauchesne/libva/pkgs/i386/libva-dev_0.31.0-1+sds13_i386.deb
wget http://www.splitted-desktop.com/~gbeauchesne/xvba-video/xvba-video_0.6.11-1_i386.deb
So now we have that setup for xbmc build and get the latest xbmc svn
Code:
sudo apt-get update
sudo apt-get build-essential
sudo apt-get build-dep xbmc
sudo dpkg -i *.deb
sudo apt-get install -f
svn co https://xbmc.svn.sourceforge.net/svnroot/xbmc/trunk/ xbmc
cd xbmc
./bootstrap
./configure
make
sudo make install
sudo mv /usr/bin/xbmc /usr/bin/xbmc.bak
sudo mv /usr/bin/xbmc-standalone /usr/bin/xbmc-standalone.bak
sudo ln -s /usr/local/bin/xbmc /usr/bin/xbmc
sudo ln -s /usr/local/bin/xbmc-standalone /usr/bin/xbmc-standalone
sudo reboot
Now when you reboot xbmc should have VAAPI option under video playback.
If you have underscan issues with you HDMI tv (1" black borders around the edge), try this method.
still using putty (omit DISPLAY=:0 if you do it local).
Code:
sudo DISPLAY=:0 aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0
sudo DISPLAY=:0 aticonfig --input=/etc/X11/xorg.conf --tls=1
change your /etc/X11/xorg.conf to this
Code:
Section "ServerLayout"
Identifier "aticonfig Layout"
Screen 0 "aticonfig-Screen[0]-0" 0 0
EndSection
Section "Files"
EndSection
Section "Module"
EndSection
Section "ServerFlags"
Option "AIGLX" "off"
Option "Xinerama" "off"
EndSection
Section "Monitor"
Identifier "aticonfig-Monitor[0]-0"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
Option "VideoOverlay" "on"
Option "OpenGLOverlay" "off"
EndSection
Section "Monitor"
Identifier "0-DFP2"
Option "VendorName" "ATI Proprietary Driver"
Option "ModelName" "Generic Autodetecting Monitor"
Option "DPMS" "true"
Option "PreferredMode" "1920x1080"
Option "TargetRefresh" "60"
Option "Position" "0 0"
Option "Rotate" "normal"
Option "Disable" "false"
EndSection
Section "Device"
Identifier "aticonfig-Device[0]-0"
Driver "fglrx"
Option "UseFastTLS" "1"
Option "Monitor-DFP2" "0-DFP2"
BusID "PCI:1:5:0"
EndSection
Section "Screen"
Identifier "aticonfig-Screen[0]-0"
Device "aticonfig-Device[0]-0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1920x1080" "800x600" "720x400" "640x480"
EndSubSection
EndSection
Section "Extensions"
Option "Composite" "Disable"
EndSection
If you have other than 1920x1080 and 60Hz change in relevant places.
Code:
sudo reboot
For some odd reason the driver might not have accepted the changes so I found that starting amdcccle and changing from 50Hz to 60Hz (or switch to any other Hz) got rid of the borders.
from putty
Code:
sudo DISPLAY=:0 /usr/bin/amdcccle
This will star amd control center on you TV NOT your desktop. So go to your tv and exit xbmc (amdcccle will be on top). after you exit xbmc you can control the mouse. Go to the display settings and try switching to another frequency eg. 60Hz hit apply and accept settings. Now you are in the amdcccle move the "wait for Vsync" slider all the way to quality (should help remove stutter if vsync is disabled in xbmc).
Again from putty
Code:
sudo reboot
Hopefully you will be rid of the stupid black borders. Remember to disable Vsync in xbmc as this should eliminate some stutter issues if you have any.
Now go to a HD movie and hit play and press "o" that is an o for orio not zero.
you should see it decoding the movie using vaapi and almost no cpu usage.
If you have suspend wakeup issues follow this guide
Best
Linnemann