I'm sure many of you are hearing about the superior performance of CrystalHD with Linux in comparison to the Apple TV OS and want to try it for yourselves. I am posting a disk image that will allow you to do just that without needing any Linux knowledge at all
I have optimised a Ubuntu 8.0.4 installation for you and have imaged it so you can easily restore it to a 4GB flash drive. However, please note that I have not minimalised this install much, it is OpenOffice short of a fully fledged Ubuntu desktop. I recommend that you remove the packages that you do not want and customise the installation to your preference.
Full Image Download (Sam Nazarko) ~ 780MB
md5 hash: d4cb24bca0042e84425ab23454a5bab4
- XBMC R28256 - latest SVN build from XBMC repository
- Crystal HD Driver 1.0.3 - latest stable version (r26)
- ALSA 1.0.19 - which has been configured to offer sound over HDMI
- Customised mach_kernel - meaning that Linux is booted directly which is a little faster and the boot process is more streamlined.
- Linux 2.6.24-27 kernel - for compiling ALSA drivers (one of the functions was not backported to 2.6.24-26, so had to update), as well as NVIDIA drivers.
- NVIDIA 100.14.19 Drivers - so that HDMI audio is not broken, also fixed two issues:[INDENT]1. Turned off TurboCache - to conserve memory
2. Turned off DynamicTwinView to fix issues with refresh rate[/INDENT]
Advantages over native Apple TV OS:
- 1080p output support (aTV OS will only allow a resolution of 1280x720p then upscaled to 1920x1080p)
- 23.976p refresh rate
- Better CrystalHD performance than aTV OS at this point of writing
- Snappier interface
For your reference:
- The SSH username and password is xbmc, xbmc. This can be changed via ssh with command "passwd"
- For sound output over HDMI in XBMC with ALSA 1.0.19, use custom device: "plughw:0,3". This has been done already, so for those planning to use HDMI sound, no change is necessary in audio settings. Remember to configure what codecs your receiver is compatible with.
- To verify the detection of the Crystal HD card, enter the following command through SSH:
"lspci | grep Broadcom"
02:00.0 Multimedia controller: Broadcom Corporation Unknown device 1612 (rev 01)
- If you update the Linux kernel, you must recompile the mach_kernel from atv-bootloader source by putting in the new initrd.gz and vmlinuz from "/boot", else aTV will not boot the new kernel. Darwin Cross Tools are required for compiling atv-bootloader (included). You'll then want to install the new headers and modules.
- I have disabled video thumbnail generation and file information extraction. This is because the subversion build included has issues with this feature. Having this setting enabled will cause performance issues.
How to restore the disk image:
Note: Use a high speed flash drive for optimal performance.
If you are restoring to a hard drive, and it will be the only mass storage device connected to aTV, you will need to modify com.apple.boot.plist kernel parameters, for they assume that the installation is located at /dev/sdb2.
Linux will let you natively image your USB without third party utilities. After downloading the image, extract it with:
then write it to USB with:
sudo dd if=xbmc-r28256-crystalHD-1.0.3-alsa-1.019-nvidia100.14.19-hardy-cust_machkernel-188.8.131.52.img of=device bs=4096
You can restore the disk image (after extracting) with USB Image Tool, nab the latest version from here. Extract the archive and run the application as an Administrator.
It is important you run it as an administrator as it is necessary to restore the image in Device Mode for correct functionality
Note: To regain full access to your USB in Windows at a later date, restore this 512 byte bootsector
Minimalised Disk Image by pin87a ~ 650MB
This is a minimal version of my disk image. It means that there is not a Ubuntu desktop, and it uses the XBMC live package.
- Minimal Ubuntu 8.0.4
- atvclient (http://wiki.github.com/Evinyatar/atvclient/)
- crystalhd 1.0.3 (http://code.google.com/p/crystalhd-for-osx/)
- alsa 1.0.19 (needed for hdmi audio)
- Nvidia Driver - 100.14.19 (only driver that allows hdmi audio to work properly)
- XBMC svn r28256
- xbmc-live (used to auto-launch xbmc, auto adjust volume levels, etc..)
- powersaved (auto-throttle cpu to minimize heat)
- custom mach_kernel (2.6.24-28-generic) for atv-bootloader (allows atv-bootloader to load ubuntu directly)
Just like my image it includes atvclient, crystalHD, ALSA, functional Nvidia drivers, r28256 of XBMC, cpu throttling and a custom mach_kernel (mine uses older kernel though). The same imaging methods apply. The SSH username and password are the same, as is all other information under the reference heading.
Requires 4GB (or larger) usb drive. Image is slightly undersized so it should fit on all 4GB drives.
I should be done with a new version of atv-win in a couple of months, allowing you to customise the software you want to install like the Mac version, and allowing custom scripts. Check my twitter for updates.