I’ve been using 13.04 (raring ringtail) daily build on my macbook pro (rMBP) for a couple days now, and things have been working great so far. Definitely a major improvement over 12.10, and for a daily build it’s been pretty stable too.
Improved from 12.10
- Better modesetting support in the kernel (no more need for nomodeset option)
- Proprietary Nvidia drivers finally work right
- New wifi drivers, that actually work!
Now for the directions!
2. Install Ubuntu
Note that the wifi won’t work (we’ll fix this in the next step), so don’t try to install updates during the installation process, unless you have a separate usb wifi dongle or ethernet. Also, at the end of the installer, after the dialog asking you to restart, you’ll probably get a black screen. Just press spacebar and it should reboot.
3. Install Wifi Drivers
Wifi doesn’t work out of the box, so from another computer (or your OSX install) download the driver and its dependencies (dkms, libc6-dev, linux-libc-dev), then copy them all to a flash drive and boot back into Ubuntu. Install each with:
sudo dpkg -i "the package file you downloaded"
Alternatively, if you have a usb wifi card, you can use that and install the driver with this command:
sudo apt-get update && sudo apt-get install bcmwl-kernel-source
4. EFI Boot
To get the 2880×1800 native resolution, and the external display ports working you’ll need to convert GRUB to EFI mode. Follow these steps adapted from the Ubuntu UEFI page:
sudo add-apt-repository ppa:yannubuntu/boot-repair && sudo apt-get update sudo apt-get install -y boot-repair && boot-repair
- Click on “Advanced options”, go to the “GRUB location” tab.
- Make sure that “Separate /boot/efi partition” is checked, then click the “Apply” button, and follow the directions (you’ll be asked to remove and reinstall GRUB)
- Reboot. You’ll probably have several new options in rEFIt, select any of them to boot up
- (optional) if you want to remove some of the extra rEFIt options, just delete the directories you don’t want from /boot/efi/EFI (be VERY CAREFUL here, and don’t delete the APPLE directory)
Note: After changing to EFI, you may get a blank screen for several seconds during boot-up.
5. NVIDIA Drivers
Now you’ll need to install the proprietary NVIDIA drivers, and configure Xorg:
sudo apt-get install linux-headers-`uname -r` sudo apt-get install nvidia-current sudo nvidia-xconfig
- edit /etc/X11/xorg.conf and add to the Device section:
Option "UseDPLib" "off"
- edit /etc/default/grub and add “i915.lvds_channel_mode=2 i915.modeset=0 i915.lvds_use_ssc=0” to GRUB_CMDLINE_LINUX_DEFAULT inside the double-quotes between the words “quiet splash“. Then run:
- Reboot and you should see the nvidia logo during boot
- (optional) If you don’t see the nvidia logo or get a blank screen, try installing gfxCardStatus (version 2.2.1, not 2.3), and forcing the discrete graphics card from the dropdown menu of their toolbar icon. You may also need to run “sudo dpkg-reconfigure nvidia-current” after rebooting.
6. Other Configuration (optional)
- If you’re like me and want the F1-F12 keys to behave as function keys, and not special keys then just follow these steps from the AppleKeyboard guide:
echo options hid_apple fnmode=2 | sudo tee -a /etc/modprobe.d/hid_apple.conf sudo update-initramfs -u -k all sudo reboot
- Brightness controls still aren’t working
- Only the native resolution (2880×1800) is available, which means the text is rather small