Radeon problem solved - here's how


Subject: Radeon problem solved - here's how
From: Iain Stevenson (iain@iainstevenson.com)
Date: Sun Dec 23 2001 - 12:21:19 MST


The problem: Radeon 32Mb PCI card not working in accelerated mode with X on
a 9600/200. I tried several sets of RPMS and many XFree86 4.1.0 builds
with no success. The current XFree86 from CVS does not build a working
XFree86 system.

The fundamental problem was that, although the card worked unaccelerated in
any slot, it only worked in acccelerated mode when moved to the top slot.
It was also necessary to move the other cards in the machine (Ethernet
card, USB card, serial card) around to get them all to work together.

To build X with the radeon driver, follow the instructions at
http://penguinppc.org/articles/radeon. However, the patch has been
reversed since the page was prepared so use this command "patch -p0 <
radeon-patch-gerk.diff" to apply the patch to the XFree86 4.1.0 source.

DRI is not supported (yet) on ppc so there is no need to build the DRM
modules in the Linux kernel and they should not be built. I've attached my
XF86Config-4 which sets X to 1024x768 resolution at just short of 60Hz.

  Iain

Section "ServerLayout"
        Identifier "XFree86 Configured"
        Screen 0 "Screen0" 0 0
        InputDevice "Mouse0" "CorePointer"
        InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
# The location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.

        RgbPath "/usr/X11R6/lib/X11/rgb"

# Multiple FontPath entries are allowed (which are concatenated together),
# as well as specifying multiple comma-separated entries in one FontPath
# command (or a combination of both methods)

        FontPath "unix/:7100"
        # If X can't find it's default font, try uncommenting these:
        FontPath "/usr/X11R6/lib/X11/fonts/local/"
        FontPath "/usr/X11R6/lib/X11/fonts/misc/"
        FontPath "/usr/X11R6/lib/X11/fonts/75dpi/:unscaled"
        FontPath "/usr/X11R6/lib/X11/fonts/100dpi/:unscaled"
        FontPath "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath "/usr/X11R6/lib/X11/fonts/CID/"
        FontPath "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath "/usr/X11R6/lib/X11/fonts/75dpi/"
        FontPath "/usr/X11R6/lib/X11/fonts/100dpi/"
        #FontPath "/usr/X11R6/lib/X11/fonts/TrueType"

# ModulePath can be used to set a search path for the X server modules.
# The default path is shown here.

# ModulePath "/usr/X11R6/lib/modules"

EndSection

Section "Module"
        Load "GLcore"
        Load "dbe"
        Load "extmod"
        Load "dri"
        Load "ddc"
        Load "glx"
        Load "int10"
        Load "i2c"
        Load "pex5"
        Load "record"
        Load "bitmap"
        Load "type1"
        Load "speedo"
        #Load "freetype"
        # Uncomment for Video4Linux support
        #Load "v4l"
EndSection

Section "InputDevice"
        Identifier "Keyboard0"
        Driver "keyboard"
        Option "CustomKeycodes"
        Option "XkbModel" "macintosh_old"
        Option "XkbLayout" "us"
EndSection

Section "InputDevice"
        Identifier "Mouse0"
        Driver "mouse"
        Option "ZAxisMapping" "4 5"
        Option "Protocol" "IMPS/2"
        Option "Device" "/dev/mouse"
EndSection

Section "Monitor"
        Identifier "Monitor0"
        UseModes "Modes0"
        ModelName "Monitor Model"
        Option "DPMS"
        HorizSync 30-70
        VertRefresh 50-160
EndSection

Section "Modes"
        Identifier "Modes0"
        Modeline "1024x768" 58.000 1024 1040 1122 1308 768 771 777 794
-HSync -VSync
EndSection

Section "Device"
        Identifier "Card0"
        VendorName "ati"
        Driver "radeon"
        BusID "PCI:0:13:0"
EndSection

Section "Screen"
        Identifier "Screen0"
        Device "Card0"
        Monitor "Monitor0"
        DefaultDepth 24
        SubSection "Display"
                Depth 8
                Modes "1024x768"
        EndSubSection
        SubSection "Display"
                Depth 16
                Modes "1024x768"
        EndSubSection
        SubSection "Display"
                Depth 24
                Modes "1024x768"
        EndSubSection
EndSection



This archive was generated by hypermail 2a24 : Sun Dec 23 2001 - 12:44:19 MST