Archive:HOW-TO:Install XBMC 9.11(SVN) on Mythbuntu 9.10 with JYA repos and Asus AT3N7A-I Mainboard

From Official Kodi Wiki
Revision as of 21:34, 14 January 2010 by >Rodercot (New page: {{GoToParent|Parent=Installing XBMC for Linux}} __NOEDITSECTION__ __TOC__<br> <div style="text-align: justify;">'''DISCLAIMER''' This is an unofficial guide not supported by the xbmc-team...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Template:GoToParent


DISCLAIMER This is an unofficial guide not supported by the xbmc-team. The following information is based on my experiences in setting up XBMC on different platforms and configurations. The way I do things in Linux or perform certain steps may not be the simplest or shortest paths but I get the overall result that I want. If you use this guide you do so at your own risk...


Introduction

I want to first say thanks to all the xbmc-team for a great piece of software, I would also like to thank the countless posters to the various web-sites in some of the resource links I will post later in the guide, without some of your tips or guides I would not have the system running as well as it is - So Thanks to You All. On with the guide.

This guide will explain how to install & configure Mythbuntu 9.10, update & configure the frontend, add the JY Avenard Repos, update your nvidia-glx drivers with vdpau enabled and finally install XBMC Camelot 9.11 Final from SVN using the Asus AT3N7A-I ION330 Mini-Itx mainboard. This will work with the standard M$ 1039 Rev2 Remote Control and USB Dongle as well. I will include some tips and caveats that I used along the way. The system will also resume and suspend fine within XBMC when complete.

Resources

Hardware

Software

Caveats

My Configuration

I should tell you a little about my setup so you know to proceed or not. I think I have tried every config I could try to get where I am. myth protocol, primary, secondary back-ends, combined frontend-backend machines - nothing was without constant tinkering so I went this route. Note If you do not have a dedicated back-end for mythbuntu this setup is rather useless to you - although, you can setup your frontend only machine this way and add your back-end later, this guide will not be extended to include setting up a mythbuntu back-end.


  • Myth1 - dedicated myth 8.10 backend with 3 pvr-150 and Q950 OTA HD Tuner. Schedules direct for guide information
  • Myth2 - Asrock ION330 - Myth 9.10, XBMC 9.11, MCE Remote, 52" Aquos, Denon AVR-988, HDMI (5.1) 195-glx
  • Myth3 - Asus AT3N7A-I ION330 - Myth 9.10, XBMC 9.11, MCE Remote, 32" 1080p LG, HDMI (Stereo) 195-glx
  • Serv1 - Unraid Media Server for all Media
  • Serv2 - Unraid Data Server for all Data
  • SD Movies are all Movies1/Movie_Name/Video_TS/file.vob (No Compression)
  • HD Movies are all HDMovies1/Movie_Name/file.ts in VC1 or H264 all converted to dts-hd audio
  • TVshows are all TVShows1/TVShow_Name/Season/show.name.sxxexx.epname.avi
  • Music is all Music1/Artist/Album/song.flac
  • NFO's are all handled by Media Companion Gen2 - Thanks Billy

Step 1 Setup Motherboard & Install Mythbuntu 9.10

The Asus AT3N7A-I is a pretty compact little board with ATX2 24 and 4 pin Pwr headers. If you read the manual you will note that Asus says you should use a minimum 400W PSU - LOL - Show me a Mini-ITX Chassis with a 400W PSU are we not looking to reduce heat and power consumption here. Ultimately I picked up the little Aopen S135A with an internal DC to DC board and an external psu with advertised 84W - It works just fine. A Couple things I should mention about hardware, The case I purchased takes a slim DVD requiring a sata-mini pwr/data connector (PICK ONE UP WHILE YOU ARE IN THE STORE - DOH!!!) My Case had no sata power connectors and the one standard 4 pin connector was split to feed the 4 Pin ATX2 on-board connector and an FDD pwr connector. Make sure you get the connectors you to need to assemble the system.
PWR-LED This Asus board will light the pwr led solid while the system is active and then flash when the system is suspended, I searched for a workaround with no luck. There are plenty of users asking for this to be added as a bios feature but so far no luck. I just disconnected the led completely instead of having a flashing blue light in the bedroom all night. I used a 400Gb WD Sata Drive I had laying around the house to install the system on. When assembled it is practically noiseless without anything playing in the room - Very KEWL.

Bios

Power On the system and hit delete on your keyboard to get into the bios, it is pretty standard. setup your clock, date, check that your drives are detected and make sure the ide controller is set to Sata. I left the cpu settings as default after trying unlinked overclocking taking the system to 1.95Ghz from 1.60GHz after about 6 reboots it locked up - it runs fine at 1.60GHz. Under advanced - chipset set your iGPU frame buffer to 512Mb. Under on-board devices I disable the bluetooth module for now. Under power settings I changed suspend mode from auto to S3 Only. Then setup your boot settings as you like. Then save and exit, the system will reboot.

Mythbuntu

Click on the resource link above for mythbuntu, dwnld the latest 9.10 iso, then burn it to a dvd with your favourite iso burning tool. Once you have the ISO on the dvd place the dvd in your ion system and power it up. It will boot from your ISO and give a menu with a few options like run mythbuntu livecd, install mythbuntu, memtest etc... I always like to run memtest for a couple passes on a new machine just to make sure things are happy, NOTE that a memtest pass will usually take a minimum of 30 Minutes. Caveat (The following only needs to be done if your HDD is not being detected by partitioin manager) - I initially built the system with a Seagate sata drive and all would load fine until I hit the partition manager and it was blank not allowing me to do anything to the hard drive. This is documented well across the internet and the most normal fix is setting your bios to IDE mode instead of Sata, This board does not have that option. The next common fix is adding all-generic-ide to the initial grub boot line, this is done by pressing your F6 key at the mythbuntu menu - you will get a white line of text near the bottom of your screen and a pop up window to the right side of your screen hit esc to close the window and at the end of that line of text you will see quiet splash -- after the -- and leaving a space you would type all-generic-ide. That did not work for me on this board. The workaround I found out later is included in the resources under HDD Not Detected link. The fix is basically to boot up the livecd load a livecd session then open up a termnial window in the live session - right click your mouse - system - accessories - terminal in the terminal window type:

sudo apt-get remove dmraid

Once that has done it's thing close the terminal window and you will be back at the desktop. End Caveat

Ok your live session is running - Let's click on the install mythbuntu icon on the desktop. This will start the install program. choose your time zone, language and keyboard layout; now the parition manager will start choose the guided option and let myth create your main (ext4) and swap partitions, if you prefer your own partition structure then you can choose manual and setup your drive as you like, that is beyond the scope of this guide.
Continue by clicking on forward and answer the next few questions, it will ask if you want to setup your remote and transmitter (for a specific cable box or satellite)I suggest you do as this will populate your ~/.mythtv/lircrc file which you can later edit. Next is to enable restricted drivers choose yes and this will install nvidia-glx-185 for you and finally it will ask you for your mythdatabase information enter that information with the backends ip address, the user and database name should remain unless you changed it on your backend and finally the db password. (you can get your passworod from the ~/.mythtv/mysql.txt file on your backend.) It is CASE sensitive so type it in as per, then you can click on the test connection and it will either give you a success or fail notification.
All is good then hit forward, myth will supply you with a summary of everything the install will perform. Hit ok and let it install, once completed it will ask you to reboot, go ahead and do that. Myth will pop the dvd out of the drive and ask you to hit enter to continue and then restart the system for you.

To Be Continued.