Pismo 3D acceleration!!!! YAY! Alert: long post!

Felix Jodoin felixj at shaw.ca
Thu Dec 16 16:55:30 MST 2004


The hardware guide said it couldn't be done, but I found a way. 
Want full 3d acceleration on your powerbook g3 pismo?

First of all, get the system set up with kernel 2.6.9: 
Update the system
-then-
Edit your yaboot configuration files to make sure it's using that.
Remove the "append=rhgb quiet" line, and run ybin. 

Once you've done that, use the attached XF86Config configuration file:

Section "ServerLayout"
        Identifier     "XFree86 Configured"
        Screen      0  "Screen0" 0 0
        InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection
 
Section "Files"
 
# RgbPath is 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.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
        RgbPath      "/usr/X11R6/lib/X11/rgb"
        FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
        FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
        FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/korean:unscaled"
        FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic:unscaled"
        FontPath     "/usr/share/fonts/ISO8859-2/misc:unscaled"
        FontPath     "/usr/share/fonts/ISO8859-2/75dpi:unscaled"
        FontPath     "/usr/share/fonts/ISO8859-2/100dpi:unscaled"
        FontPath     "/usr/share/fonts/ISO8859-9/misc:unscaled"
        FontPath     "/usr/share/fonts/ISO8859-9/75dpi:unscaled"
        FontPath     "/usr/share/fonts/ISO8859-9/100dpi:unscaled"
        FontPath     "/usr/share/fonts/KOI8-R/misc:unscaled"
        FontPath     "/usr/share/fonts/KOI8-R/75dpi:unscaled"
EndSection
 
Section "Module"
        Load  "dbe"
        Load  "extmod"
        Load  "fbdevhw"
        Load  "glx"
        Load  "record"
        Load  "freetype"
        Load  "type1"
        Load  "dri"
EndSection
 
Section "InputDevice"
 
# Change "XkbModel" to "macintosh_old" if you are using
# the deprecated adb keycodes.
        Identifier  "Keyboard0"
        Driver      "keyboard"
        Option      "XkbRules" "xfree86"
        Option      "XkbModel" "macintosh"
        Option      "XkbLayout" "us"
EndSection
 
Section "InputDevice"
        Identifier  "Mouse0"
        Driver      "mouse"
        Option      "ZAxisMapping" "4 5"
        Option      "Protocol" "IMPS/2"
        Option      "Device" "/dev/input/mice"
EndSection
 
Section "Modes"
 
        # Generated
        # D: 64.994 MHz, H: 48.359 kHz, V: 59.998 Hz
        Identifier     "Modes0"
        ModeLine     "1024x768" 65.0 1024 1064 1200 1344 768 771 777 806
-hsync -vsync
EndSection
 
Section "Monitor"
        Identifier   "Monitor0"
        ModelName    "Monitor Model"
        UseModes     "Modes0"
        HorizSync    30.0 - 70.0
        VertRefresh  50.0 - 160.0
        Option      "DPMS"
EndSection
 
Section "Device"
 
        Option  "ShadowFB"      "true"
        Option  "fbdev" "/dev/fb0"
        #BusID  "0:0:0"
        Identifier  "Card0"
        Driver      "r128"
        BoardName   "Unknown video card"
        Option      "UseFBDev" "true"
EndSection
 
Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        DefaultDepth     16
        SubSection "Display"
                Depth     8
                Modes    "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     16
                Modes    "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     24
                Modes    "1024x768"
        EndSubSection
        SubSection "Display"
                Depth     15
                Modes    "1024x768"
        EndSubSection
EndSection
 
Section "DRI"
        Group        0
        Mode         0666
EndSection


END OF FILE

Don't include that end of file line ;)
That will give you 3D acceleration!



More information about the yellowdog-general mailing list