Update - 20090409
Not necessary to blacklist agp for later MBP nvida and IMAC radeon.
grub efi boot can run agp with ATI fglrx on IMAC81 for ubuntu 810, or xorg radeon driver for ubuntu904, but only xorg fbdev for MBP nvidia.
For MacBook2,1 a special 'fix_video' hack enabled using intel_agp for intel video chip (945,965) without blacklist.
-----------
To work with the efi framebuffer efifb,
in grub.cfg we have (example)-
linux /vmlinuz root=/dev/sda3 video=efifb agp=off
In ubuntu we need to disable the agp modules to access the console, and use the fbdev driver for the desktop in X.
1. blacklist agp
copy this text to a file named blacklist-agp.
Code:
## /etc/modprobe.d/blacklist-agp
## blacklist to disable agp for use with efifb framebuffer
## agpgart and all agp modules in ubuntu 810 i386 intrepid.
## modprobe -l *agp
## 20081129 pxw
##
blacklist agpgart
blacklist amd-k7-agp
blacklist amd64-agp
blacklist sworks-agp
blacklist ati-agp
blacklist via-agp
blacklist sis-agp
blacklist efficeon-agp
blacklist intel-agp
blacklist ali-agp
blacklist nvidia-agp
##
then copy it to the /etc/modprobe.d/ directory
Code:
$ sudo cp blacklist-agp /etc/modprobe.d/
To return to agp, remove this file from the /etc/modprobe.d/ directory
2. edit /etc/X11/xorg.conf to use fbdev.
Save a copy of existing xorg.conf for changing back to existing x configuration.
Here is a single Section mini xorg.conf for intrepid xubuntu on a MacBook to use the fbdev driver.
If you have an xorg.conf with Section "Device", just edit that Section in the Driver line, leave the Identifier line as is.
/etc/X11/xorg.conf
Code:
Section "Device"
Identifier "Configured Video Device"
Driver "fbdev"
EndSection