HOW-TO: XBMC and Ubuntu 9.04

Ubuntu - Revo main operating system

HOW-TO: XBMC and Ubuntu 9.04

Postby damur » Wed May 20, 2009 3:45 pm

This guide will help you to install Ubuntu 9.04 on your Acer Aspire Revo, install XBMC and get video, sound and wlan working. Plus some other ideas you might find useful. I am not using the Live version of XBMC, because I wasn't able to get WLAN working. It's also useful to have a GUI for installing plugins, scripts, programs etc.

I won't explain everything in detail, but give you some links and hints. Please notice that I don't have much experience with Linux and this was actually my first time using it.

Whenever you have do edit a text or config file, open it by typing "sudo gedit filename" in the terminal. So you have the permission to edit it.

Step 1: Download and install Ubuntu 9.04
Shouldn't be a problem. Download and burn it on CD/DVD and install on the Revo with an external drive. If you don't have one, try to boot the image from a bootable USB-Stick or SD-Card. When asked, activate auto-login.
After installation, do all the updates it asks you about, but do NOT install the madwifi drivers, ubuntu won't boot after that anymore, even not in recovery mode. I tried that on two different Revos.
Official page: http://www.ubuntu.com/

Step 2: Getting NVidia drivers
Envy is a tool which downloads and installs the NVidia drivers for you. It will say that there are no compatible drivers, but just install the latest (180.xx). They worked for me.

Start the Ubuntu Terminal and type:
Code: Select all
sudo apt-get install envyng-core
sudo envyng -t

Official FAQ: http://www.albertomilone.com/envyngfaq.html#A

After installing the drivers, switch off visual effects in Ubuntu (Appereance settings), otherwise XBMC won't start.

Step 3: Install XBMC
Use the official Instructions: http://xbmc.org/forum/showthread.php?t=33327
Ubuntu 9.04 is "Jaunty", so use the Jaunty PPA

Now start XBMC an go to videoplayer settings. Use VDPAU for rendering. This is important, otherwise you won't be able to watch HD content.

Step 4: Setting up HDMI-Sound
Create a File named "asound.conf" in "/etc" with the following content:
Code: Select all
pcm.!default
{
type hw
card 0
device 3
}

This will enable sound over HDMI in GNOME and the XBMC Skin-Sounds

Step 5: Configure WLAN
First just configure your WLAN in Ubuntu and activate auto-connect to it.
WLAN worked very bad for me with the internal Atheros device, new drivers helped out. But now I am using a WLAN-USB-Dongle, which has much better link quality in my case.

Type in the terminal:
Code: Select all
sudo apt-get install linux-backports-modules-jaunty

To make sure you are using the new drivers type:
Code: Select all
sudo modprobe ath5k

Official page: http://linuxwireless.org/en/users/Downl ... ssonUbuntu

If you want to use another WLAN device you have to blacklist the ath5k driver. Do this by adding "blacklist ath5k" in "/etc/modprobe.d/blacklist".

If you want WLAN in the XBMC session too (not just GNOME), remove the Network-Manager applet from Ubuntus autostart and just add "nm-applet" to "/etc/rc.local"
This is probably no good solution, because you have no more GUI for nm-appplet in GNOME and its startet under root. But it works for now. If you know a better solution please let me know.

Step 6: Using Transmission (a torrent client) in background (daemon)
Type in terminal:
Code: Select all
apt-get install transmission-daemon

Now you can start transmission-daemon via terminal and control it in the WebUI. Open your Webbrowser and go to http://ipOfOcer:9091 (e.g. http://192.168.0.5:9091)



Please let me know if you have ideas how to make he Revo a better MediaCenter :!:

Problems:
  • After boot, WLAN needs some time to connect and get IP. But XBMC needs an internet-connection at startup, otherwise RSS-Reader and weather won't refresh automatically.
  • When transmission-daemon is startet from rc.local, I am not able to login the WebUI
damur
 
Posts: 6
Joined: Wed May 20, 2009 9:18 am

Re: HOW-TO: XBMC and Ubuntu 9.04

Postby omnium » Wed May 20, 2009 3:57 pm

Hi,
very good instructions!
thank you very much,
omnium
User avatar
omnium
 
Posts: 145
Joined: Fri May 01, 2009 5:21 pm

Re: HOW-TO: XBMC and Ubuntu 9.04

Postby yd1 » Wed May 20, 2009 4:14 pm

hi,
i agree pretty good instruction, i know the xbmc from my old xbox, so if it play hd content and hdaudio like true hd and so on it would be great.
yd1
 
Posts: 1
Joined: Wed May 20, 2009 4:00 pm

Re: HOW-TO: XBMC and Ubuntu 9.04

Postby omnium » Wed May 20, 2009 5:48 pm

hi,
yd1 wrote:..so if it play hd content and hdaudio like true hd and so on it would be great.

..I think that's (true HD, DD+) in general impossible with the Revo... viewtopic.php?f=10&t=21 afaik (rumors), the Revo has 'only' HDMI 1.2

cu,
omnium
User avatar
omnium
 
Posts: 145
Joined: Fri May 01, 2009 5:21 pm

Re: HOW-TO: XBMC and Ubuntu 9.04

Postby phreaks » Tue May 26, 2009 12:29 pm

Step 4 of your Howto doesnt work for me properly. Only sound appears when I'm playing a movie. Skin and Gnome-sound is not working.
Any ideas?
User avatar
phreaks
 
Posts: 16
Joined: Wed May 06, 2009 8:09 am

Re: HOW-TO: XBMC and Ubuntu 9.04

Postby H3ng5t » Sun Jun 07, 2009 12:46 pm

Thank you for instruction. But before i try this, i would know, how the performance is, playing videos (mkv 720p, 1080p).
H3ng5t
 
Posts: 4
Joined: Mon May 25, 2009 7:49 am

Re: HOW-TO: XBMC and Ubuntu 9.04

Postby Smiley1081 » Tue Jun 16, 2009 8:40 am

Tried to print this tread, but I only got gibberish.

Any suggestion on how to print from this forum?
User avatar
Smiley1081
 
Posts: 39
Joined: Sun Jun 07, 2009 12:36 pm

Re: HOW-TO: XBMC and Ubuntu 9.04

Postby Smiley1081 » Sun Jun 28, 2009 10:34 am

I have been following the how-to, but I am stuck at point 2.

damur wrote:Step 2: Getting NVidia drivers
Envy is a tool which downloads and installs the NVidia drivers for you. It will say that there are no compatible drivers, but just install the latest (180.xx). They worked for me.

Start the Ubuntu Terminal and type:
Code: Select all
sudo apt-get install envyng-core
sudo envyng -t

Official FAQ: http://www.albertomilone.com/envyngfaq.html#A


After I run EnvyNG and it installs the Nvidia driver, I cannot use Firefox as it locks up the compter (before the restart it was set to full screen), and if I put some program to full screen, again I get a complete lock up.

Sometimes, I also get a random lock up.

After installing the drivers, switch off visual effects in Ubuntu (Appereance settings), otherwise XBMC won't start.


Could this be the reason why Firefox and other programs lockup? I am going to try it next.

BTW, here is a screenshot from EnvyNG.

Image

Which one of the drivers should I use?

180 gave me the lock-ups, now I have installed 173, but I still have to try it.
User avatar
Smiley1081
 
Posts: 39
Joined: Sun Jun 07, 2009 12:36 pm

Re: HOW-TO: XBMC and Ubuntu 9.04

Postby Smiley1081 » Sun Jun 28, 2009 3:25 pm

Yes, it was the visual effects...
User avatar
Smiley1081
 
Posts: 39
Joined: Sun Jun 07, 2009 12:36 pm

Re: HOW-TO: XBMC and Ubuntu 9.04

Postby Smiley1081 » Mon Jun 29, 2009 11:40 am

Well, I have followed all the steps, and almost everythung works.

Nice how-to, Damur, thanks.

The ALMOST is from the sound.

I have created the asound.conf in /etc, switched the XBMC output to hdmi in both fields.

Under XBMC the sound comes and goes, sometimes you hear it, sometimes you don't.

Any idea?

Under GNOME, I still cannot find where to specify to use the HDMI exit...
User avatar
Smiley1081
 
Posts: 39
Joined: Sun Jun 07, 2009 12:36 pm

Next

Return to Linux - Ubuntu

Who is online

Users browsing this forum: No registered users and 1 guest