[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Configuring XF4 for Lombard (works with accel!)



i got it to work. being an end-user is easy.

install XF-4.0.1-12.deb, if you -version X you get XF 4.0.2 but whatever..

the ati_drv.o file on the latest deb only looks for r128 and radeon
chips, so..

because you need to compile new drivers, you'll have to grab the source
as indicated on http://linuxppc.org/documentation/xf4/
also rsync the latest drivers as indicated..

do cd xc/programs/Xserver/hw/xfree86/drivers/ati
do make
and copy ati_drv.o to /usr/X11R6/lib/modules/drivers

i've attatched my XF86Config file.. 
other notes: i use yaboot.

i imagine compiling the entire source and just following the
directions at linuxppc.org will work also.. which is what i tried and
failed at originally.. 

yours,
steven alyari 

On Fri, Dec 15, 2000 at 05:25:00PM +0100, Michel Dänzer wrote:
> steven alyari wrote:
> > 
> > > > (WW) ATI: PCI Mach64 in slot 0:17:0 could not be detected!
> > > > See README.ati for details
> > >
> > > Is this with the latest debs?
> > >
> > you asked if i am using the latest debs.. i am close to it. i am using
> > 4.0.1-10, and i rsynced the drivers, compiled, and copied and
> > overwrote ati_drv.o
> 
> Someone please correct me if I'm wrong, but AFAIK Ani Joshi's tree is still
> based on 4.0.1? The ati driver has changed dramatically since then, I think
> it's well possible that support for your chip got added inbetween.
> 
> > i'll try the latest though.
> 
> Please do. The question is if there are any patches necessary for PPC in the
> current debs' ati driver.
> 
> 
> Michel
> 
> 
> -- 
> Earthling Michel Dänzer (MrCooper)  \  CS student and free software enthusiast
> Debian GNU/Linux (powerpc,i386) user \   member of XFree86 and the DRI project


Section "DRI"
        Mode 0666
EndSection


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

    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/"

    ModulePath  "/usr/X11R6/lib/modules"
       FontPath "/usr/X11R6/lib/X11/fonts/freefont/"
    FontPath "/usr/X11R6/lib/X11/fonts/sharefont/"
EndSection


Section "Module"
    Load        "dbe"
    Load        "extmod"
    Load        "glx"
  	Load	"xie"
	Load	"pex5"
	Load	"GLcore"
	Load	"record"
# You can load other modules as well of course
EndSection


Section "ServerFlags"
    Option      "blank time"    "5"
    Option      "standby time"  "6"
    Option      "suspend time"  "9"
    Option      "off time"      "10"
EndSection

#This is for the new input layer with Linux keycodes
Section "InputDevice"
    Identifier  "Keyboard1"
    Driver      "keyboard"
    Option      "AutoRepeat"    "500 5"
Option      "XkbOptions"    "ctrl:nocaps"
    Option      "XkbRules"      "xfree86"
   Option      "XkbModel"      "macintosh"
  Option      "XkbLayout"     "us"
#    Option     "XkbVariant"    ""
EndSection


# USB mouse (/dev/usbmouse is a symlink to /dev/input/mice for me ;)
Section "InputDevice"
    Identifier  "Mouse2"
    Driver      "mouse"
    Option      "Protocol"      "IMPS/2"
    Option      "Device"        "/dev/input/mouse2"
    Option      "Buttons"       "5"
    Option      "ZAxisMapping"  "4 5"
EndSection

# ADB mouse
Section "InputDevice"
    Identifier  "Mouse1"
    Driver      "mouse"
    Option      "Protocol"      "BusMouse"
    Option      "Device"        "/dev/input/mouse0"
EndSection

Section "Monitor"
    Identifier  "PowerBook Display"
    HorizSync   30-64         # multisync
    VertRefresh 50-100        # multisync
    Option      "dpms"

# For those who like real low-res
# 320x200 @ 70 Hz, 31.5 kHz hsync, 8:5 aspect ratio
Modeline "320x200"     12.588 320  336  384  400   200  204  205  225 Doublescan
# 320x240 @ 60 Hz, 31.5 kHz hsync, 4:3 aspect ratio
Modeline "320x240"     12.588 320  336  384  400   240  245  246  262 Doublescan
EndSection


Section "Device"
    Identifier  "Rage64 Mobility"
    Driver      "ati"
    BusID       "PCI:0:17:0"
    Option      "ForcePCIMode"
    VendorName  "ATI"
    BoardName  	"Mach64 LI"
  # WARNING! Using the flat panel registers may damage your panel!
# Comment this out to enable it *ON YOUR OWN RISK*
    Option      "ProgramFPRegs" "Off"

# flat panel dimensions (this is for a Pismo)
    Option      "PanelWidth" "1024"
    Option      "PanelHeight" "768"

    Option      "XAANoDashedBresenhamLine"

EndSection


Section "Screen"

    Identifier  "Screen 1"
    Device      "Rage64 Mobility"
    Monitor     "PowerBook Display"
    DefaultDepth 24
# Only depth 16 and 24 (fbbpp 32) are supported for DRI
    SubSection "Display"
        Depth           24
	Fbbpp 32
       Modes           "1024x768"
    EndSubSection



EndSection


Section "ServerLayout"
    Identifier  "Main Layout"
    Screen      "Screen 1"
    InputDevice "Mouse1" "SendCoreEvents"

    InputDevice "Mouse2" "CorePointer"
    InputDevice "Keyboard1" "CoreKeyboard"
EndSection


Reply to: