2009-04-17, 05:56
Hey All,
I though I would whip up a quick install guide for setting up the latest Live Beta with the SVN PPA including VDPAU.
This worked fine for me, but all systems are different so if you have data you do not want to loose I suggest you BACK IT UP first.
XBMCLive 8.10.2 Beta 1
Install
Update to latest Alsa
Update to latest Nvidia Driver
Update to nvidia-180-libvdpau
This is the base live install Beta 1 - So a M$ remote is default defacto std, I will not get into Lirc setup it is beyond the scope of this article.
I am also not configuring your xorg.conf file here, I suggest you do some research on your TV and here is a link to a great howto on getting the info you need to properly setup custom modelines for your display device. I suggest you read through the post a couple times before you make any changes or try to complete the tutorial the link supplies. You can damage your display device using the wrong parameters so please READ UP.
http://ubuntuforums.org/showthread.php?t=1003099&page=2
Download the beta ISO and burn to disk with your favourite iso burn program.
I install to a Harddrive so I do not use USB build feature.
*This is for NVIDIA Cards Use also check and make sure your Nvidia Card is Supported for VDPAU*
***WARNING*** - REMOVE ALL DRIVES YOU DO NOT WANT TO INSTALL XBMC ON - THIS WILL ERASE YOUR DRIVE COMPLETELY***
1. Install XBMCLive - Boot from ISO and choose install to usb/hdd - pwr up after install is complete.
2. Exit XBMC (login with xbmc/xbmc)
3. Thanks to indianolajohn, do these steps first as pre-requirements. Make sure the key is accepted before you paste in the 2nd line. When pasting the 2nd line make sure it confirms an OK. When making the directories make sure you include the slashes as typed below.
4.
5.
6.
7.
8.
9.(Do not worry about the held back packages right now and do not run autoremove)
10.(I use vim you can use whichever editor you like) paste the following two lines to the bottom of your sources.list file, then save and exit the file.
11.
12.
13.
14. cd ~
15.
16.
17. cd install
*NOTE* - NVIDIA DRIVER - Below is the ftp address for the latest nvidia beta driver, if it gives you cannot dwld it here then just dwnld it (right click save target as) to your desktop machine and then ftp into your live machine and copy it over.
18.
19. make sure you are in your install directory
20.
*NOTE* Follow the prompts say no to the first question and yes to everything else. You have installed the latest NVIDIA beta driver. I have not tried with any other version BUT live and vdpau work fine with this one.
21. cd ~
22.
23.
Let it install all the packages and update/upgrade xbmc to the current svn ppa 9.04 Alpha1. I have tested this for a few days now and on a single core 3200 with 1gb of ram with the killa sample I see 50% cpu usage and only 7 dropped frames. This dist-upgrade holds back the kernel, because it is kernel live 8.10.2 Beta 1 is shipped with.
24. Upgrade Alsa to 1.0.19
25. cd ~/install
26.
27.
28.
Let it run it's course It may take a while, when the script stops and shows the command line you can issue a sudo reboot, After the reboot hit ctl-alt-f2 login with xbmc/xbmc and run alsamixer make sure all your iec958 channels are unmuted and the pcm and master volumes are at min 80. (press m to mute/unmute) esc to exit
*NOTE* If you are using a P5N7A-VM board make sure and edit your
and add to the bottom of the file.
now hit ctl-alt-f7 to go back to xbmc.
if you are using spdif then in settings-system-audio just change output from analog to digital.
if you are using hdmi then modify your settings-system-audio in xbmc
to a rcvr then
digital - on - on - hdmi - hdmi
to a TV then
digital - off - off - hdmi - hdmi
Make sure you set VDPAU as the decoder in setting/video/player or you will not get vdpau decoding. If you want to see it in action then load up and play a HD file and while it is playing hit the play button on your remote to see the a/v decoding info at the top of the screen hit play again to exit.
A couple notes.
A grabbed a couple lines above from Olympia's P5N7A-VM thread, thanks Olympia. Thanks to grassmunk for posting a few helper links on his posts in the 8.10.2 Beta 1 thread. Thanks to indianolajohn for his additions below which I have noe included in the howto.
Logging into console - I posted above to use xbmc/xbmc, that is username = xbmc and password = xbmc unless you changed it when you setup Live so use whatever you made your password when installing live.
There are several threads on asoundrc files, if you are using hdmi and having issues with desktop sounds or 2 channel and mp3 files playing to quickly then you may need to create this files again there are several threads on the forum documenting this and a quick search will reveal them.
I have now done this three time on the same machine following the guide as it is comprised above and it works every time. Enjoy!!
Hope it helps
rgds,
Dave
I though I would whip up a quick install guide for setting up the latest Live Beta with the SVN PPA including VDPAU.
This worked fine for me, but all systems are different so if you have data you do not want to loose I suggest you BACK IT UP first.
XBMCLive 8.10.2 Beta 1
Install
Update to latest Alsa
Update to latest Nvidia Driver
Update to nvidia-180-libvdpau
This is the base live install Beta 1 - So a M$ remote is default defacto std, I will not get into Lirc setup it is beyond the scope of this article.
I am also not configuring your xorg.conf file here, I suggest you do some research on your TV and here is a link to a great howto on getting the info you need to properly setup custom modelines for your display device. I suggest you read through the post a couple times before you make any changes or try to complete the tutorial the link supplies. You can damage your display device using the wrong parameters so please READ UP.
http://ubuntuforums.org/showthread.php?t=1003099&page=2
Download the beta ISO and burn to disk with your favourite iso burn program.
I install to a Harddrive so I do not use USB build feature.
*This is for NVIDIA Cards Use also check and make sure your Nvidia Card is Supported for VDPAU*
***WARNING*** - REMOVE ALL DRIVES YOU DO NOT WANT TO INSTALL XBMC ON - THIS WILL ERASE YOUR DRIVE COMPLETELY***
1. Install XBMCLive - Boot from ISO and choose install to usb/hdd - pwr up after install is complete.
2. Exit XBMC (login with xbmc/xbmc)
3. Thanks to indianolajohn, do these steps first as pre-requirements. Make sure the key is accepted before you paste in the 2nd line. When pasting the 2nd line make sure it confirms an OK. When making the directories make sure you include the slashes as typed below.
Code:
sudo gpg --keyserver subkeys.pgp.net --recv 2BBD133164234534
sudo gpg --export --armor 2BBD133164234534 | sudo apt-key add -
sudo mkdir /var/log/apt/
sudo mkdir /boot
4.
Code:
sudo apt-get update
5.
Code:
sudo apt-get install wget
6.
Code:
wget https://xbmc.svn.sourceforge.net/svnroot/xbmc/branches/linuxport/XBMC/tools/XBMCLive/runXBMC.sh
7.
Code:
cp /usr/bin/runXBMC.sh ~/runXBMC.sh.old
8.
Code:
sudo cp ~/runXBMC.sh /usr/bin/runXBMC.sh
9.
Code:
sudo apt-get upgrade
10.
Code:
sudo vim /etc/apt/sources.list
11.
Code:
deb http://www.avenard.org/files/ubuntu-repos release/
deb-src http://www.avenard.org/files/ubuntu-repos release/
12.
Code:
sudo apt-get update
13.
Code:
sudo apt-get install nvidia-180-libvdpau
14. cd ~
15.
Code:
sudo apt-get install build-essential linux-headers-`uname -r`
16.
Code:
sudo mkdir install
17. cd install
*NOTE* - NVIDIA DRIVER - Below is the ftp address for the latest nvidia beta driver, if it gives you cannot dwld it here then just dwnld it (right click save target as) to your desktop machine and then ftp into your live machine and copy it over.
18.
Code:
wget [url]ftp://download.nvidia.com/XFree86/Linux-x86/185.19/NVIDIA-Linux-x86-185.19-pkg1.run[/url]
19. make sure you are in your install directory
20.
Code:
sudo sh NVIDIA-Linux-x86-185.19-pkg1.run
*NOTE* Follow the prompts say no to the first question and yes to everything else. You have installed the latest NVIDIA beta driver. I have not tried with any other version BUT live and vdpau work fine with this one.
21. cd ~
22.
Code:
sudo apt-get update
23.
Code:
sudo apt-get dist-upgrade
Let it install all the packages and update/upgrade xbmc to the current svn ppa 9.04 Alpha1. I have tested this for a few days now and on a single core 3200 with 1gb of ram with the killa sample I see 50% cpu usage and only 7 dropped frames. This dist-upgrade holds back the kernel, because it is kernel live 8.10.2 Beta 1 is shipped with.
24. Upgrade Alsa to 1.0.19
25. cd ~/install
26.
Code:
wget http://217.20.138.65/xbmc/AlsaUpgrade-1.0.x-rev-1.16.sh
27.
Code:
chmod a+x AlsaUpgrade-1.0.x-rev-1.16.sh
28.
Code:
sudo ./AlsaUpgrade-1.0.x-rev-1.16.sh -di
Let it run it's course It may take a while, when the script stops and shows the command line you can issue a sudo reboot, After the reboot hit ctl-alt-f2 login with xbmc/xbmc and run alsamixer make sure all your iec958 channels are unmuted and the pcm and master volumes are at min 80. (press m to mute/unmute) esc to exit
*NOTE* If you are using a P5N7A-VM board make sure and edit your
Code:
sudo vim /etc/modprobe.d/alsa-base
and add to the bottom of the file.
Code:
options snd-hda-intel model=6stack-dig
now hit ctl-alt-f7 to go back to xbmc.
if you are using spdif then in settings-system-audio just change output from analog to digital.
if you are using hdmi then modify your settings-system-audio in xbmc
to a rcvr then
digital - on - on - hdmi - hdmi
to a TV then
digital - off - off - hdmi - hdmi
Make sure you set VDPAU as the decoder in setting/video/player or you will not get vdpau decoding. If you want to see it in action then load up and play a HD file and while it is playing hit the play button on your remote to see the a/v decoding info at the top of the screen hit play again to exit.
A couple notes.
A grabbed a couple lines above from Olympia's P5N7A-VM thread, thanks Olympia. Thanks to grassmunk for posting a few helper links on his posts in the 8.10.2 Beta 1 thread. Thanks to indianolajohn for his additions below which I have noe included in the howto.
Logging into console - I posted above to use xbmc/xbmc, that is username = xbmc and password = xbmc unless you changed it when you setup Live so use whatever you made your password when installing live.
There are several threads on asoundrc files, if you are using hdmi and having issues with desktop sounds or 2 channel and mp3 files playing to quickly then you may need to create this files again there are several threads on the forum documenting this and a quick search will reveal them.
I have now done this three time on the same machine following the guide as it is comprised above and it works every time. Enjoy!!
Hope it helps
rgds,
Dave