MFP Revo Install

From HTPC How-To's
Jump to: navigation, search

Written by DejaVu (on 03/03/11) specific to XBMCLive on an Acer Revo
Wiki Formatting and notes by Archigos (on 07/06/2011)


This guide was sent to me (Archigos) by Deja in a text file (which killed a lot of the formatting) and is being posted here with his permission. I've also modified some sections for ease of reading, etc.
From Deja → Please beware - Although most of the information in this guide is correct, if does need revisiting


Each Linux Command should be entered on a single line, even if the command appears to wrap onto additional lines. There will be ONE command per 'box'. Now without further ado, onto the Guide.

XBMCLive is ultimately a standalone XBMC install that runs on a Minimal Installation of Ubuntu and is the recommended way to use XBMC on the Revo to use it at it's full potential.

First things first, although simple, make sure your TV's "Overscan" settings are on their default (it may be called Overscan or Zoom). This is what changes your screen to 16x9 (HD), 4x3 (SD), Subtitle Zoom, Movie Expand, etc. so make sure it's set to 'Default', 'Off' or 'Widescreen'.

My setup is:

  • Philips 50" Plasma Full HD TV (1080p).
  • Acer Revo R3700 250Gb, 2Gb, Wireless Version.
  • Denon AVR-1910 Full HD Amp.

The 4GB Revo will work with this guide, but only 2.7Gb is needed/used. It's a limitation in XBMCLive for some reason (x86/Shared Graphics perhaps?).

What you will need

  • A Windows PC (Irony!)
  • A 1GB USB Stick
  • The Internet

With this setup you will be able to:

  • Use XBMC with full Video Acceleration and DTS/Dolby Surround sound (if needed).
  • Install the correct and most up-to-date NVidia ION drivers.
  • Share External USB Drives back to a Windows Network.
  • Setup your XBMC to be completely compatible with your TV or Amp.
  • Download from News Groups (Provider required - Recommended Astraweb!)
  • Automatically find TV Episodes & Movies when they are released.
  • Rename and Organize them into a decent name convention.
  • Surf the internet
  • Check your downloads (Movies & TV) with Google Chrome - through XBMC!
  • Download and install Skins or Add-ons to XBMC.
  • Be able to update & Upgrade almost everything with one single command line command.

Installing XBMC (Including NVidia Drivers and 5.1 Surround Sound)

How to setup XBMC perfectly on an Acer Revo

If Windows is still installed on your Revo follow this, if you've already changed the Operating System, do steps 1-4 on a Windows System. In either case, make sure the Thumb Drive is plugged into the Revo in step 5.

  1. Download the latest version of XBMC Live from XBMC Downloads
  2. Plug in Thumb Drive (1GB or larger)º and download UNetbootin (For Windows). Make sure to note the drive letter assigned.
  3. Run UNetbootin and select "Diskimage = ISO" and browse to the Live.iso you downloaded.
    1. Mare sure Type says USB and that you have selected the correct one as I (we) take no responsibility for a wiped Hard drive.
    2. Press OK and your Bootable XBMC Live USB Boot Drive will be created.
  4. After UNetbootin finishes, shutdown the Revo and leave the USB Drive plugged in.
  5. Start up the Acer Revo (with Thumb Drive) and begin tapping the F12 key as soon as possible.
    1. You should be asked for a Boot Device (stop tapping F12) and select your USB Drive.
    2. You should now be asked to run XBMCLive from the USB Drive or install it to the Hard Drive (Warning: Installing to Hard Drive will format that drive)
  6. Follow directions during install (Full Name, Username, Password, Computer Name, etc.)
    1. For this guide it is assumed your Username and Password are "XBMC" and the Computer Name is "Revo"
  7. After install completes the system will shut down, remove the USB Drive and turn it back on to start XBMC.

º Revo doesn't have its own DVD Drive

Connecting and Configuring

Once you have XBMCLive installed and running you need to configure a few things, you can do this via:

  • Command Line (Press CTRL+ALT+F2 to get to a prompt/shell from inside XBMC)
  • Putty/SSH (Preferred)

Assuming your HTPC (the Revo) is on the same Network/Router as the Windows system you used earlier you can Putty into it and do the configuration that way.

With Putty loaded, put the name of your Revo server into the "Host Name" setting (Revo) and press "Open" and you'll be asked for your Username (XBMC) and Password (XBMC). If it doesn't connect, you may need to use the Revo's IP Address instead of it's system name.
Now logged into the Revo with Command Line access you can use "Right+Click" to paste info like URL's without having to type them out fully, among other things.

The below assumes you're using Putty on a Windows machine to connect to your Revo.

Installing Nvidia Drivers

The Revo uses the Nvidia ION GPU so find the latest drivers and make sure to select:

Product Type = ION
Product Series = ION (Desktops)
Download Type = Graphics Driver
Operating System = Linux 32-bit
Language = English (UK)
Click "Search" then click "Download"

When you reach the page that says "Agree & Download", "Right+Click" on that button and "Copy Link Address" (or "Copy Link Location")

Now back in Putty: (When you Right+Click in Putty it performs a 'paste')

wget ^Right+Click^

so you should have something similar to:

  • Note: version 260.19.44 is/was the latest version at the time of this writing.

This will download all the drivers that we need, so wait for them to finish and type:

sudo apt-get update

which updates Linux's Repositories and ensures you download the correct versions. (Thanks to Digital Forums Member Northernbloke for pointing this out.)

Next stop the X-Server and install the latest version:

sudo /etc/init.d/xbmc-live stop
sudo apt-get install xserver-xorg-dev

Make sure both lines below are on a SINGLE line each (starting with 'sudo')

sudo apt-get install build-essential cdbs fakeroot dh-make debhelper debconf libstdc++5 dkms linux-headers-$(uname -r)
sudo sh ./ -k $(uname -r) --x-module-path=/usr/lib/xorg/modules --x-library-path=/usr/lib

Make sure in the line above that the '.run' file name matches the one from the wget command

If all has gone well you should be in the NVidia installer. It pretty much guides you through everything, but just press "Enter/Return" and answer Yes to all the questions. When that's done you'll return to a blank screen.
Reboot the Revo and it will automatically load XBMC with the correct up-to-date video drivers:

sudo shutdown -r now

Now we'll start to configure some of the audio and video settings of XBMC (we'll cover more later).


You can configure this to your personal preference, for most people that means using HDMI for the output and HDA Nvidia HDMI for the bottom two settings.


Go to "Settings > System > Video" and enable VDPAU. Ignore Resolution as we'll address this properly later on.

With the above complete, you should have your Revo all setup with XBMC and Full Video Acceleration with DTS/Dolby D Surround sound through HDMI. At this point if you use Optical audio you should be able to set that with no problem as well.

Sharing your Revo attached drives to your Windows Network

Samba may already be installed on the XBMC Live CD, I can't remember, so the following is in case it's not.

Install Samba:

sudo apt-get install samba smbfs

After Samba is installed XBMCLive should appear on your home network but there's one more step:

sudo nano /etc/samba/smb.conf

Make sure that your "Workgroup" is set near the top and add the following at the end of the file:

comment = Revo   
path = /   
force user = root   
inherit permissions = yes   
read only = no   
guest ok = Yes   

The above effectively does what some thought was not possible and gives you the ability to view the entire Revo's drive (ext4) on your Windows machine and you should have total read access. Write access is only limited to certain areas.

Main areas of interest

 /media     = This is where your USB drives are attached.
 /mnt       = This is where you should 'mount' any network drives.
 /home/xbmc = This is the User folder for XBMC

You CAN now create Network drives as I have to the /media folder if you wish for ease of access through Windows. Which is what I did.

Setup XBMC and Linux with correct Resolution for your TV or AMP

This uses the NVidia X Server and Fluxbox Window Manager to correctly display XBMC on your TV. Although it seems relatively involved, I am going to scratch the surface of this to get the optimum settings for your TV.

First off we need to generate a new xorg.conf file which lives at /etc/X11/xorg.conf

sudo nvidia-xconfig
sudo nano /etc/X11/xorg.conf

Now add the following lines in the correct section of that file:
Section "monitor"

Option "ExactModeTimingsDVI" "TRUE"

Section "Device"

Option "ModeValidation" "NoEdidModes"

Now close and save the file by hitting "CTRL+X" on your keyboard, then press "Y" and then "Enter"

Now we need to figure out what kind of resolution your TV supports by asking for its Extended Display Identification Data info:
Kill XBMC if it's running:

sudo /etc/init.d/xbmc-live stop

Now we need to setup a log file with your TV's EDID Modes:

cd ~
X -verbose 6 > ~/xlog.txt 2>&1

After about 10 seconds (any longer will generate a massive Log file) kill X by pressing CTRL+C. The EDID data is outputted extremely quickly.

In the Root of you Home directory you will find xlog.txt which I found easier to navigate to on my Windows PC as the command line programs Nano or GEdit are awkward to use in this situation. From the Windows PC, navigate to \\REVO\System\xlog.txt and open it in Wordpad, Notepad++, etc. (Not Windows regular "Notepad")

Press CTRL+F for "Find" and search for "Frequency information for" this will show the TV. (In my case it is Denon 1910-AVR AMP, the Amp pulls the information from the TV and forwards it.

We are also interested in the following lines:

(II) NVIDIA(0): Frequency information for : Denon 1910-AVR
(II) NVIDIA(0): HorizSync : 15.000-50.000 kHz
(II) NVIDIA(0): VertRefresh : 48.000-62.000 Hz

Write down your HorizSync and VertRefresh values and proceed further for the Validated Modes.

(II) NVIDIA(0): Validating Mode "1920x1080":
(II) NVIDIA(0): 1920 x 1080 @ 60 Hz
(II) NVIDIA(0): For use as DFP backend.
(II) NVIDIA(0): Mode Source: EDID
(II) NVIDIA(0): Pixel Clock : 74.25 MHz
(II) NVIDIA(0): HRes, HSyncStart : 1920, 2008
(II) NVIDIA(0): HSyncEnd, HTotal : 2052, 2200
(II) NVIDIA(0): VRes, VSyncStart : 1080, 1084
(II) NVIDIA(0): VSyncEnd, VTotal : 1094, 1124
(II) NVIDIA(0): H/V Polarity : +/+
(II) NVIDIA(0): Extra : Interlace
(II) NVIDIA(0): Mode is valid.

Make sure that the "(II) NVIDIA(0): Mode is valid." line exists on the one you pick. To create a modeline from this is easy. From my example above the first line would be "1920x1080" and then 74.25 and then 1920 2008 and 2052 2200 and so on, you just read the values from top to bottom. So in this example the modeline that section gives me would be:

ModeLine "1920x1080" 74.25 1920 2008 2052 2200 1080 1084 1094 1124 +hsync +vsync Interlace

You can add as many VALID Modes as you like, I mainly only went for 1920x1080, 1280x720 in 50Hz & 60Hz. My TV doesn't support 24p, so that's pointless in my case.

These are MY ModeLines:

ModeLine "1280x720 @ 50Hz" 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync
ModeLine "1280x720 @ 60Hz" 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync
ModeLine "1920x1080 @ 50Hz" 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
ModeLine "1920x1080 @ 60Hz" 148.35 1920 2008 2052 2200 1080 1084 1089  1125 +hsync +vsync

Now that we got both vsync, hsync and the working modeline's, lets put it in our xorg.conf.

Back in terminal

sudo nano /etc/X11/xorg.conf

Then add YOUR HorizSync, VertRefresh, and ModeLines from what you wrote down earlier.

Section "Monitor"

HorizSync 15 - 50
VertRefresh 48 - 62
ModeLine "1280x720 @ 50Hz" 74.25 1280 1720 1760 1980 720 725 730 750 +hsync +vsync
ModeLine "1280x720 @ 60Hz" 74.25 1280 1390 1430 1650 720 725 730 750 +hsync +vsync
ModeLine "1920x1080 @ 50Hz" 148.50 1920 2448 2492 2640 1080 1084 1089 1125 +hsync +vsync
ModeLine "1920x1080 @ 60Hz" 148.35 1920 2008 2052 2200 1080 1084 1089 1125 +hsync +vsync
Option "DPI" "100x100"

Now we need to remove the line we added earlier to get the EDID's and another (if present) that will override ours.

Option "ExactModeTimingsDVI" "TRUE"
Option "DPMS"

IMPORTANT - This line must match the modeline you created exactly! In my case I added the Hz into the Description.
Section "Screen"
SubSection "Display"

Modes "1920x1080 @ 50Hz" "1920x1080 @ 60Hz" "1280x720 @ 50Hz"  "1280x720 @ 60Hz"

Now close and save the file ("CTRL+X", "Y", "Enter")

Start XBMC by running

sudo /etc/init.d/xbmc-live start

You should get a nice correct screen, make sure to go into "Settings > Screen" and calibrate/adjust your new resolution. Plus make SURE the Overscan is set to Default on your TV!!

If not try another modeline using same methods and see if that works. If all goes completely wrong or you give up, simply generate a new xorg.conf by running

sudo nvidia-xconfig

Further information on this can be found at this XBMC Forum Thread.

Closing Notes

The original tutorial guide written by Deja continued on from here with setup instructions for Sickbeard, SabNZBd+, and CouchPotato, but that section of this guide has been moved to their corresponding pages to benefit more users.

Personal tools