|
|
| (8 intermediate revisions by 2 users not shown) |
| Line 1: |
Line 1: |
| {{XBMC wiki toc/v}}
| |
| :''See also: '''[[:Category:Compiling]]''''' | | :''See also: '''[[:Category:Compiling]]''''' |
| [[category:XBMC]]
| |
|
| |
|
| == <big>'''Installation and configuration of XBMC on Ubuntu based OS with AMD HD Graphic (tested with Zotac AD02 and AD10)'''</big> ==
| | [[Category:Kodi]] |
| | | [[Category:Index]] |
| === '''The Goal:''' ===
| |
| Installing and configuring all the necessary to get a fully functional, stable and great XBMC media center on AMD Plateform using prorietary ATI driver and Hardware acceleration.
| |
| | |
| === Software: ===
| |
| | |
| This configuration guide has been tested under Ubuntu based OS running 11.10 TLS and 12.04 TLS (desktop versions of Xubuntu and Lubuntu)
| |
| | |
| === Hardware: ===
| |
| | |
| This configuration guide has been tested on Zotac AMD Based HTPC: ZOTAC AD02 and ZOTAC AD10
| |
| | |
| <br>These two HTPCs are quite the same; One major difference is the included and optional USB IR receiver for Zotac AD10, associated with its nice MCE remote control.
| |
| | |
| <br>Also, only the Zotac AD02 has an SPDIF output to serve Digital sound, digital sound for Zotac AD10 will be achieved using HDMI ouput
| |
| | |
| <br>Both of them are embedded with an AMD E350 CPU with ATI Radeon HD able to deal with 1080p video and 5.1 Digital audio :-)
| |
| | |
| '''Zotac AD02 Model :'''
| |
| AMD E-350 APU Platform (dual-core) (1.6 GHz)
| |
| AMD Radeon™ HD 6310
| |
| | |
| [[File:zotac-ad02.jpg]]
| |
| | |
| '''Zotac AD10 Model :'''
| |
| AMD E-350 APU Platform (dual-core) (1.6 GHz)
| |
| AMD Radeon™ HD 6310
| |
| | |
| [[File:zotac-ad10.jpg]]
| |
| | |
| === Step 1: Install your system ===
| |
| | |
| <br>First choose your Ubuntu version to install.
| |
| This guide will only be fully applicable with an Ubuntu based version.
| |
| | |
| <br>I will not cover the OS installation itself as there is a lot of tutorials on this subject and installation is enought easy right now.
| |
| | |
| <br>I do not recommend using Ubuntu classic version as it provides by default a very resource consuming interface (Unity) and has a lot of problems and bugs running ATI proprietary driver!
| |
| | |
| <br>As far as I know and as far as I tested, the only Ubuntu bases distributions with absolutely no issue with the ATI proprietary driver are:
| |
| | |
| <br>* Xubuntu : Ubuntu based version with XFCE desktop
| |
| <br>* Lubuntu : Ubuntu based version with LFCE desktop
| |
| | |
| <br>I would recommend Lubuntu in the case of a XBMC dedicated system (but that’s all my personal choice and therefore i prefer to use Xubuntu) as it has a really low resource consuming desktop interface.
| |
| | |
| <br>'''NB:'''
| |
| | |
| You may also want to choose a minimal Ubuntu installation and then only run an Xserver that will directly start XBMC interface.
| |
| This guide will still be approximately applicable in this case.
| |
| | |
| <br>'''I did not choose this option for different reasons:'''
| |
| | |
| * No desktop interface to deal with system, files and so on (even if often prefer the command line, 2 possibilities are always betters than one!)
| |
| * No Web browser
| |
| * No graphical tool to manage Networks connections, etc…
| |
| * No access to AMD ATI graphical configuration manager, so no way to simply change resolution, brightness, contrast and so on
| |
| | |
| '''Installation recommendations:'''
| |
| | |
| '''3 partitions :'''
| |
| | |
| * A first partition for the root system ( / )
| |
| * A second partition for home (/home)
| |
| * A small Swap partition (1 or 2 GB will largely be enough, a such system is not expected to really swap in normal conditions)
| |
| | |
| '''Other:'''
| |
| | |
| * Install Third party softwares (mp3 and so on)
| |
| * In the installation Software, use “xbmc” as a the login
| |
| * Activate autologin for the user "xbmc"
| |
| | |
| === Step 2: Ensure your system is up to date and upgrade if required ===
| |
| | |
| <pre>
| |
| sudo apt-get update
| |
| sudo apt-get upgrade -y
| |
| sudo dist-upgrade –y
| |
| sudo reboot
| |
| </pre>
| |
| | |
| === Step 3: Install some requirements ===
| |
| | |
| <pre>
| |
| sudo apt-get install ssh python-software-properties udisks upower xorg alsa-utils mesa-utils git-core
| |
| librtmp0 lirc libmad0 lm-sensors lib32gcc1 libc6-i386 dkms
| |
| </pre>
| |
| | |
| <br>NB : For lirc, when wizard asks you to choose your hardware in our case we will configure it later so you can choose none...
| |
| If you already know how to configure lirc and your hardware you may want to choose the right one.
| |
| | |
| === Step 4: Install ATI proprietary driver (required for XVBA Hardware acceleration) ===
| |
| | |
| * Get the driver from AMD Site (same file for both 32/64 Bits):
| |
| | |
| http://support.amd.com/us/gpudownload/linux/Pages/radeon_linux.aspx
| |
| | |
| * Build Packages:
| |
| | |
| <pre>
| |
| sudo sh ./amd-driver-installer-*-x86.x86_64.run --buildpkg
| |
| </pre>
| |
| | |
| NB: I you are missing some requirements to build packages, a graphical apt-get install will automaticaly appear
| |
| and install requirements, just valid and proceed and package building will continue
| |
| | |
| Packages will be built in current directory and exit.
| |
| | |
| * Install packages:
| |
| | |
| <pre>
| |
| sudo dpkg -i fgl*.deb
| |
| </pre>
| |
| | |
| * Create xorg configuration files
| |
| | |
| <pre>
| |
| sudo aticonfig -initial -f
| |
| sudo aticonfig -sync-vsync=on
| |
| </pre>
| |
| | |
| Optionnal and not destructive: Disable underscan (black borders)
| |
| | |
| <pre>
| |
| sudo aticonfig --set-pcs-val=MCIL,DigitalHDTVDefaultUnderscan,0
| |
| </pre>
| |
| | |
| * Reboot
| |
| | |
| <pre>
| |
| sudo reboot
| |
| </pre>
| |
| | |
| === Step 5: Proceed with XBMC installation using pre-compiled packages built for ATI ===
| |
| | |
| This procedure will add a ppa containing pre-compiled XBMC stable Eden version with XVBA support and install XBMC:
| |
| | |
| * Add the ppa:
| |
| | |
| <pre>
| |
| sudo add-apt-repository ppa:wsnipex/xbmc-xvba-eden
| |
| </pre>
| |
| | |
| Press enter to valid adding this ppa
| |
| | |
| * Update and install:
| |
| | |
| <pre>
| |
| sudo apt-get update
| |
| sudo apt-get install xbmc xbmc-bin
| |
| </pre>
| |
| | |
| === Step 6: XBMC nice level ===
| |
| | |
| * Allow xbmc user to change its nice level:
| |
| | |
| edit /etc/security/limits.conf
| |
| add the following line at the end of the file
| |
| | |
| <pre>
| |
| xbmc - nice -1
| |
| </pre>
| |
| | |
| === Step 7: First start of XBMC and base configuration ===
| |
| | |
| '''Open XBMC and proceed with first settings:'''
| |
| | |
| * Open XBMC
| |
| | |
| * In Appearance / skin, I recommend “NEON” (again my personal choice!)
| |
| | |
| * In Appearance, adapt your language if required
| |
| | |
| [[File:Screen1.png]]
| |
| | |
| * In System->Settings->System->Video Settings:
| |
| | |
| Vertical Sync: Always on
| |
| | |
| [[File:Screen2.png]] | |
| | |
| * In System ->Video->Playback:
| |
| <br>XVBA: On
| |
| <br>Adjust Refreshrate to match video: On
| |
| <br>Sync Playback to Display: On
| |
| <br>Sync Method: Video Clock (Drop/Dupe)
| |
| | |
| [[File:Screen3.png]] | |