Subject: Re: Xfree 4.0.3 on G4 AGP
To: Samuel.Hornus <Samuel.Hornus@crans.org>
From: Michael Wolfson <mw@blobulent.com>
List: port-macppc
Date: 05/26/2001 18:36:25
--============_-1221195103==_============
Content-Type: text/plain; charset="us-ascii"
At 2:51 AM +0200 5/27/01, Samuel.Hornus wrote:
:)It certainly is a bad XF86Config file... but, even using xf86config,
:) I can't manage to get it working.
:)does someone know what video card I must feed xf86config with ?
:)(i have the out-of-the-box ATI 128 on my G4 400 AGP sawtooth)
:)(my screen is the Apple gray-G4-like 17' mutires)
r128. I've attached the XF86Config for my PowerBook (FireWire), which uses
(almost) the same video chipset and bus. It took me a long while to figure
this out as well. Someday soon, I'll get a chance to write up an
XF86Config section of the macppc X11 FAQ.
Even better would be if someone who actually understood XFree86 were to
write a generalized guide on XF86Config creation so I can just add
formatting and paste it in to the FAQ. At the moment, I'm particularly
clueless about X servers that don't auto-configure themselves for the
hardware that's present, having only ever used non-i386 X servers (hp300,
sparc, mac68k, pmax, etc...)
:)what are the changes to make in /usr/xsrc/xfree/xc/config/cf/ ?
:)to get it compiling OK on my system ?
:)at the present time it fails building/instaling Xaw...
Dunno.
Good luck,
-- MW
--============_-1221195103==_============
Content-Type: text/plain; name="XF86Config.pismo"; charset="us-ascii"
Content-Disposition: attachment; filename="XF86Config.pismo"
#
# XF86Config example
#
# The ordering of sections is not important in
version 4.0 and later.
#
**********************************************************************
#
Files section. This allows default font and rgb paths to be set
#
**********************************************************************
Section
"Files"
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/"
EndSection
#
**********************************************************************
#
Server flags section. This contains various server-wide Options.
#
**********************************************************************
Section
"ServerFlags"
Option "blank time" "10" # 10 minutes
Option "standby time" "20"
Option "suspend time" "30"
Option
"off time" "60"
Option "PCI type"
"UniNorth"
# Option "PCI type" "Bandit"
# Option
"PCI type" "Grackle"
EndSection
#
**********************************************************************
#
Input devices
#
**********************************************************************
#
**********************************************************************
#
Core keyboard's InputDevice section
#
**********************************************************************
Section
"InputDevice"
Identifier "Keyboard1"
Driver "keyboard"
Option "Protocol" "wskbd"
Option "Device"
"/dev/wskbd0"
# Option "Device" "/dev/wskbd1"
#
Option "AutoRepeat" "500 5"
Option "XkbRules" "xfree86"
Option "XkbModel" "macusb"
# Option "XkbModel" "macadb"
Option "XkbLayout" "us"
# Option "XkbVariant"
"altjp"
EndSection
#
**********************************************************************
#
Core Pointer's InputDevice section
#
**********************************************************************
Section
"InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option
"Protocol" "wsmouse"
Option "Device"
"/dev/wsmouse0"
EndSection
#
**********************************************************************
#
Monitor section
#
**********************************************************************
#
Any number of monitor sections may be present
Section "Monitor"
Identifier "Generic Monitor"
HorizSync 27-82 # multisync
VertRefresh 50-72 # multisync
Option
"dpms"
EndSection
#
**********************************************************************
#
Graphics device section
#
**********************************************************************
#Section
"Device"
# Chipset "mach64"
# Identifier "Mach64"
#
Driver "ATI"
# BusID "PCI:0:17:0"
# Option
"noaccel"
#EndSection
Section "Device"
# Chipset "r128"
Identifier "Rage 128"
Driver "r128"
BusID
"PCI:0:16:0"
# Option "noaccel"
EndSection
#
**********************************************************************
#
Screen sections.
#
**********************************************************************
Section
"Screen"
Identifier "Screen1"
# Device "Mach64"
Device "Rage128"
Monitor "Generic
Monitor"
# XXX 24bpp may be broken
# DefaultDepth 8
# DefaultDepth
16
DefaultDepth 24
SubSection "Display"
Depth
8
Modes "1024x768"
EndSubSection
SubSection
"Display"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Depth 24
Modes
"1024x768"
EndSubSection
EndSection
#
**********************************************************************
#
ServerLayout sections.
#
**********************************************************************
Section
"ServerLayout"
Identifier "Main Layout"
Screen "Screen1"
InputDevice "Mouse1" "CorePointer"
InputDevice "Keyboard1"
"CoreKeyboard"
EndSection
--============_-1221195103==_============--