Tell me more ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have a Macbook 15" Pro 8.2

Which apparently is supposed to be switchable between the GFX cards with vgaswitcheroo. But /sys/kernel/debug/ contains no switcheroo folder.

syslog gives me this.

[   21.631041] vga_switcheroo: enabled
[   21.631075] radeon 0000:01:00.0: Invalid ROM contents
[   21.631149] radeon 0000:01:00.0: Invalid ROM contents
[   21.631154] [drm:radeon_get_bios] *ERROR* Unable to locate a BIOS ROM
[   21.631163] radeon 0000:01:00.0: Fatal error during GPU init
[   21.631165] [drm] radeon: finishing device.
[   21.631166] [TTM] Memory type 2 has not been initialized
[   21.632193] radeon 0000:01:00.0: no bo for sa manager
[   21.632197] vga_switcheroo: disabled

it seems that it tries to enable it but then fails. In other faqs on the net i hear that when booting in efi mode there is no bios. And because of this the ati card cant initialize properly. Sounds like it could be the reason. Anyone know how to load the bios rom when in efi mode?

--ok some updates-- There is a patch that works. Allowing the loading of the video bios from a file for the 3.4 kernel.

These features have been merged into 3.6-rc 3 apparently. But I'm on that kernel and still cant switch over to the ATI card.

apparently others have the same issue

share|improve this question
Did you mean /sys/kernel/debug/vgaswitcheroo/? – Lekensteyn Sep 5 '12 at 15:59
yup, edited the question – tomodachi Sep 5 '12 at 16:46
You write that you have a 13" Macbook Pro 8.1, but that has only integrated graphics. So you either have a MBP 8.2 or 8.3. – gentmatt Sep 20 '12 at 9:38
Yup its a 8.2. changed the number. – tomodachi Sep 20 '12 at 11:18

2 Answers

I've solved it. I can successfully use the ATI card

I also got vga switcheroo working.

  1. Have ubuntu installed and running in efi mode.
  2. Install the 3.8 ubuntu kernel from here:
  3. Install the refind (refit replacement boot manager for efi macs
  4. copy vmlinuz-3.8.0-030800rc2-generic and initrd.img-3.8.0-030800rc2-generic to /boot/efi/ubuntu/
  5. create a the file /boot/efi/ubuntu/refind_linux.conf enter this into it: "Boot with sda6" "root=/dev/sda6 add_efi_memmap modprobe.blacklist=i915 radeon.modeset=1 elevator=noop vt.handoff=7 ro

this will give you a new option to boot the 3.8 kernel directly from the refit menu entierly bypassing grub which is needed for the switching to work properly

For me every other release candidate strangely enough seem to have broken USB. If your keyboard doesn't work, try another latest working for me is 3.8 rc6.

share|improve this answer
Using this instruction with the native kernel in 13.04. works fine – tomodachi May 5 at 1:24

commenting on your answer is closed, so I gotta ask here:

  • Your point is using Kernel 3.8, so Ubuntu Raring should do

  • /dev/sda6 is your Ubuntu root partition?

  • This should be compatible with Ubuntu Kernel updates, when ESP/EFI/ubuntu/ is mounted to /boot (usual place of vmlinuz and initrd), right?

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.