xorg.conf for PPC machines with Radeon 9600 and KMS kernel (Lucid Lynx)

Ok. I got it to work by disabling KMS on the radeon card and by using an xorg.conf.
But the question is: am I missing anything by not having the KMS for the radeon card?
In any case, here's what I put in /etc/modprobe.d/radeon-kms.conf :

options radeon modeset=0

xorg.conf:

Section "Device"
    Identifier    "Radeon 9600"
    Driver        "ati"
    BusID        "PCI:0:16:0"
    Option        "DynamicClocks" "true"
    Option        "AGPMode" "4"
    Option        "AGPFastWrite" "true"
    Option        "UseFBDev" "false"
    Option        "DRI" "true"
    Option        "GARTSize" "64"
    Option        "AddARGBGLXVisuals" "true"
    Option        "XAANoOffscreenPixmaps"
    Option        "DisableGLXRootClipping" "true"
    Option        "AllowGLXWithComposite" "true"
    Option        "EnablePageFlip" "true"
EndSection

Section "Monitor"
    Identifier    "Configured Monitor"
    Option        "DPMS"
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Device        "Radeon 9600"
    Monitor        "Configured Monitor"
EndSection

Section "ServerLayout"
    Identifier    "Default Layout"
    Screen        "Default Screen"
EndSection

Section "DRI"
    Mode 0666
EndSection

Section "Extensions"
    Option        "Composite" "Enable"
EndSection

 To download this file:
wget http://mac.linux.be/files/xorg/radeon1.txt

Some other people reported luck with the following line in yaboot.conf:

append="root=/dev/mapper/hda4_crypt video=radeonfb:off radeon.modeset=1"

 or:
 

append=radeon.agpmode=1

 From the Ubuntu Apple forum:
I see from your other post that you've already done the most important thing which was to disable KMS (putting radeon.modeset=0 in yaboot.conf). You don't need to do a lot to your xorg.conf as most of the default options are good. My iBook is newer, but I have the same video card. All I have in my xorg.conf is:

Section "Device"
Identifier "Radeon9200"
Driver "radeon"
BusID "PCI:0:16:0"
Option "GARTSize" "16"
Option "AccelMethod" "EXA"
EndSection

Setting "AccelMethod" to EXA will sort out your choppy scrolling. I set "GARTSize" to 16 because the default 8 causes silly colours.

If you want to experiment with your xorg.conf settings then I suggest you follow the manual http://manpages.ubuntu.com/manpages/.../radeon.4.html because most of what you see written about xorg.conf on forums is rubbish. I've experimented with most (if not all) of what is suggested and you never see vast improvements in glxgears.

Having said that, you can see biggish improvements by reducing the number of colours. I don't do this, but you can give it a go:

Section "Screen"
Identifier "StandardScreen"
Device "Radeon9200"
DefaultDepth 16
EndSection

Another thing that will speed things up is to turn on HyperZ. This isn't done in xorg.conf, but in a ".drirc" file in your home folder. Install Driconf from the software centre so that you can turn it on using the applet.
http://ubuntuforums.org/showthread.php?t=1691981
 

© 2002-2012 Jeroen Diederen. Drupal theme by Kiwi Themes.