Subject: Re: ok, last bit on video
To: None <port-macppc@netbsd.org>
From: m. kolb <muk@bender.cl.msu.edu>
List: port-macppc
Date: 09/23/2004 12:25:21
> > i found a dirt cheap Radeon 7k that i'm going to go for.  how well 
> > does it
> > work with netbsd/macppc and xfree86?  i don't mind patching XFree86.
> 
> i had a similar question posted on september 10th, and i got following 
> answer from m. kolb (he uses a Radeon 7500) including his X86Config:
> 
> >> has anybody X running on a Power Mac using a Radeon? Is there 
> >> something
> >> to tweak?
> >
> > I have it working on my g4 quicksilver with the stock Radeon 7500.
> > There was a time when I needed to use a patched radeon driver from
> > A.Briggs, but that time has passed.  I just use the stock build and it
> > works fine. Here is my XF86Config file:

Here is a more clean version (w/o a bunch of non-existant modules):

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

Section "Files"
	RgbPath      "/usr/X11R6/lib/X11/rgb"
	ModulePath   "/usr/X11R6/lib/modules"
	FontPath     "/usr/X11R6/lib/X11/fonts/misc/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Speedo/"
	FontPath     "/usr/X11R6/lib/X11/fonts/Type1/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection

Section "Module"
	Load  "dbe"
	Load  "extmod"
	Load  "glx"
	Load  "record"
	Load  "xtrap"
	Load  "speedo"
	Load  "type1"
	Load  "bitmap"
	Load  "freetype"
EndSection

Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "keyboard"
	Option "Protocol" "wskbd"
	Option "Device" "/dev/wskbd"
        Option      "XkbRules"    "xfree86"
        Option      "XkbLayout"   "us"
EndSection

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

Section "Monitor"
	Identifier   "Monitor0"
        VendorName   "Mitsubishi"
        ModelName    "Diamond Plus 73"
        HorizSync    31-70
        VertRefresh  55-120
EndSection

Section "Device"
	Identifier  "Card0"
	Driver      "ati"
	VendorName  "ATI Technologies Inc"
	BoardName   "Radeon RV200 QW [Radeon 7500]"
	BusID       "PCI:0:16:0"
	Option	    "PanelOff" "True"
EndSection

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