User Tools

Site Tools


unix:xbmc

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
unix:xbmc [2009/07/06 20:28]
robm
unix:xbmc [2011/05/28 14:53]
robm
Line 3: Line 3:
  
 Xbox Media Center is an open-source "home theatre PC" project that was originally developed for Microsoft's first Xbox console (hacked to run Linux of course). It has since been ported to run on ordinary desktop Linux and even Windows and Mac. Xbox Media Center is an open-source "home theatre PC" project that was originally developed for Microsoft's first Xbox console (hacked to run Linux of course). It has since been ported to run on ordinary desktop Linux and even Windows and Mac.
 +
 +===== Standlone Mode =====
 +*Challenge*: Get XBMC to run on a separate X-screen, isolated from my desktop environment.
 +
 +Made with reference to Ubuntu 9.10 (Karmic) for AMD64.
 +
 +==== 1. X11: Separate X screens ====
 +
 +  - Install nVidia restricted drivers (login and let Karmic offer to do this for you, or install ''nvidia-glx'')
 +  - Fix the missing symlink: ''ln -s /usr/lib/nvidia/libnvidia-cfg.so.185.18.36 /usr/lib/libnvidia-cfg.so.1''
 +    * [[https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-180/+bug/414225|There's a bug on this]]
 +  - ''sudo service gdm stop'' to drop to a proper shell
 +  - Run ''sudo nvidia-xconfig -a --separate-x-screens --force-generate'' to create a new ''/etc/xorg.conf'' with both X screens
 +  - ''sudo X -wr'' to start X with a white region as the background (so you know it's worked!)
 +  - ''DISPLAY=:0.0 xeyes'' should display on one screen ...
 +  - ''DISPLAY=:0.1 xeyes'' should display on the other ...
 +
 +==== 2. Sound: Pulseaudio at System Start ====
 +
 +See also http://pulseaudio.org/wiki/SystemWideInstance
 +
 +  - ''sudoedit /etc/default/pulseaudio''
 +    * ''PULSEAUDIO_SYSTEM_START=1''
 +    * ''DISALLOW_MODULE_LOADING=0''
 +  - Start pulseaudio: ''sudo service pulseaudio start''
 +  - Add yourself to the ''pulse-access'' group, or you'll get "Access denied": ''sudo adduser {your-username} pulse-access''
 +  - Logout and back in to make the new group effective. No really. 
 +    * Check effective groups with ''id'':
 +      * ''uid=1000(meermanr) gid=1000(meermanr) groups=4(adm),20(dialout),24(cdrom),46(plugdev),104(lpadmin),115(admin),118(pulse-access),120(sambashare),1000(meermanr)''
 +  - Try playing something: ''DISPLAY=: paplay /usr/share/sounds/ubuntu/stereo/system-ready.ogg''
 +    * You need the ''DISPLAY'' variable only if you are SSH'd in from another machine; pulseaudio tries to forward the sound over X. Isn't SSH awesome?
 +
 +==== 3. XBMC: Installing and running ====
 +
 +  - Follow install instructions at [[https://launchpad.net/~team-xbmc/+archive/karmic-ppa]]
 +  - Run ''DISPLAY=0.1 xbmc --standalone''
 +
 +==== 4. TODO ====
 +
 +  * Prevent XBMC capturing the X keyboard and mouse - how will GDM use them?
 +  * Get GDM to run on *just* DISPLAY=:0.0
  
 ===== Tips ===== ===== Tips =====
Line 347: Line 388:
 ==== 3. Use iPlayer / YouTube ==== ==== 3. Use iPlayer / YouTube ====
   - Home Window -> Video -> Video plugins -> etc   - Home Window -> Video -> Video plugins -> etc
 +
 +===== Playing Blurays =====
 +  * [[http://forum.xbmc.org/showpost.php?p=484790&postcount=1|BluRay Player with MakeMKV]]
 +  * www.MakeMKV.com
 +
  
unix/xbmc.txt · Last modified: 2011/05/28 14:53 by robm