Ok, I've managed to get a semi-working Xserver module, but I still want to
work on it some more.  In the meantime, I've discovered that the only
reason that my colourmap was screwed up under X using the framebuffer
Xserver was because of the default fb depth (which is 8).  When I did
'fbset -depth 16' and then started X with the config below, KDE popped
right up and in the correct colours :-)  Word of warning, 24-bit depth
doesn't work yet, apparently, so keep the colour depth at either 8 or 16
for now.

This should buy more time for getting the Radeon Mobility patches into
XFree86 4.1.0 :-P

Here's my XF86Config-4:

# XF86Config-4 (XFree86 server configuration file) generated by Dexconf, the
# Debian X Configuration tool, using values from the debconf database.
#
# Edit this file with caution, and see the XF86Config manual page.
# (Type "man XF86Config" at the shell prompt.)

Section "Files"
        FontPath        "unix/:7100"                    # local font server
        # if the local font server has problems, we can fall back on these
        FontPath        "/usr/lib/X11/fonts/misc"
        #FontPath       "/usr/lib/X11/fonts/cyrillic"
        FontPath        "/usr/lib/X11/fonts/100dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/75dpi/:unscaled"
        FontPath        "/usr/lib/X11/fonts/Type1"
        FontPath        "/usr/lib/X11/fonts/Speedo"
        FontPath        "/usr/lib/X11/fonts/100dpi"
        FontPath        "/usr/lib/X11/fonts/75dpi"
EndSection

Section "ServerFlags"
EndSection

Section "Module"
        Load    "ddc"
        Load    "GLcore"
        Load    "dbe"
        #Load   "dri"
        Load    "extmod"
        Load    "glx"
        Load    "pex5"
        Load    "record"
        Load    "xie"
        Load    "bitmap"
        Load    "freetype"
        Load    "speedo"
        Load    "type1"
        Load    "vbe"
        Load    "int10"
EndSection

Section "InputDevice"
        Identifier      "Generic Keyboard"
        Driver          "keyboard"
        Option          "CoreKeyboard"
        Option          "XkbRules"      "xfree86"
        Option          "XkbModel"      "macintosh"
        Option          "XkbLayout"     "us"
EndSection

Section "InputDevice"
        Identifier      "Configured Mouse"
        Driver          "mouse"
        Option          "CorePointer"
        Option          "Device"                "/dev/input/mice"
        Option          "Protocol"              "ImPS/2"
        Option          "Emulate3Buttons"       "true"
        Option          "ZAxisMapping"          "4 5"
EndSection

Section "Device"
        Identifier      "Radeon Mobility M6"
        Driver          "fbdev"
        Option          "UseFBDev"              "true"
        #Option         "ShadowFB"              "false"
EndSection

Section "Monitor"
        Identifier      "LCD"
        HorizSync       30-68
        VertRefresh     50-85
        Option          "DPMS"
EndSection

Section "Screen"
        Identifier      "Default Screen"
        Device          "Radeon Mobility M6"
        Monitor         "LCD"
        DefaultDepth    16
        SubSection "Display"
                Depth           8
                Modes           "1152x768"
        EndSubSection
        SubSection "Display"
                Depth           15
                Modes           "1152x768"
        EndSubSection
        SubSection "Display"
                Depth           16
                Modes           "1152x768"
        EndSubSection
        SubSection "Display"
                Depth           24
                Modes           "1152x768"
        EndSubSection
EndSection

Section "ServerLayout"
        Identifier      "Default Layout"
        Screen          "Default Screen"
        InputDevice     "Generic Keyboard"
        InputDevice     "Configured Mouse"
EndSection

Section "DRI"
        Mode    0666
EndSection

# end of XF86Config

Reply via email to