Subject: Re: XFree86 no worky on 3.1 on G3 iBook
To: None <port-macppc@NetBSD.org>
From: Zach Lowry <zach@zachlowry.net>
List: port-macppc
Date: 01/04/2007 09:22:30
--Apple-Mail-4-638398885
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	delsp=yes;
	format=flowed


On Jan 3, 2007, at 10:41 PM, Michael Lorenz wrote:

>
> Even HorizSync 60 should do it - what /exactly/ you have in there  
> isn't that important as long it's something that gives you 1024x768  
> at 60Hz.

Well, one would think I would have that.

> Odd, that /should/ work - certainly does on mine ( iBook G4 but the  
> panel should be the same as on yours )
> Is that XFree86 or xorg? I had trouble with xorg 7.0 which produced  
> a lot of flickering and random horizontal lines while NetBSD's  
> xfree86 did the right thing.
> Where did you put Option "iBookHacks" "true"? It needs to be in the  
> Device section or it won't have any effect. I also never tried to  
> run it in 16bit ( which XFree86 will default to if there's no  
> DefaultDepth statement in the Screen section )

This is XFree86, but I did briefly try xorg from pkgsrc. It gave the  
following:

xf86MapVidMem: could not mmap screen [s=80000,a=90000000] (Invalid  
argument)

iBookHacks is in the device section. I'm going to attach my  
XF86Config for completeness. I also added DefaultDepth, no luck.

Thanks!

Zach Lowry


--Apple-Mail-4-638398885
Content-Transfer-Encoding: 7bit
Content-Type: application/octet-stream;
	x-unix-mode=0644;
	name=XF86Config
Content-Disposition: attachment;
	filename=XF86Config

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/CID/"
	FontPath     "/usr/X11R6/lib/X11/fonts/75dpi/"
	FontPath     "/usr/X11R6/lib/X11/fonts/100dpi/"
EndSection
Section "Module"
	Load  "extmod"
	Load  "glx"
#	Load  "dbe"
	Load  "record"
	Load  "xtrap"
	Load  "type1"
	Load  "speedo"
EndSection
Section "InputDevice"
	Identifier  "Keyboard0"
	Driver      "kbd"
	Option	    "Protocol" "wskbd"
	Option	    "Device" "/dev/wskbd"
EndSection

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

Section "Monitor"
	Identifier   "Monitor0"
	VendorName   "Apple"
	ModelName    "iBook Panel"
	HorizSync	30-60
	VertRefresh	55-60
EndSection

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"
        ### [arg]: arg optional
        #Option     "NoAccel"            	# [<bool>]
        #Option     "SWcursor"           	# [<bool>]
        #Option     "Dac6Bit"            	# [<bool>]
        #Option     "Dac8Bit"            	# [<bool>]
        #Option     "PanelOff"           	# [<bool>]
        #Option     "DDCMode"            	# [<bool>]
        #Option     "MonitorLayout"      	# [<str>]
        #Option     "IgnoreEDID"         	# [<bool>]
        #Option     "OverlayOnCRTC2"     	# [<bool>]
        #Option     "CloneMode"          	# [<str>]
        #Option     "CloneHSync"         	# [<str>]
        #Option     "CloneVRefresh"      	# [<str>]
        #Option     "UseFBDev"           	# [<bool>]
        #Option     "VideoKey"           	# <i>
        #Option     "DisplayPriority"    	# [<str>]
        #Option     "PanelSize"          	# [<str>]
        #Option     "ForceMinDotClock"   	# <freq>
        Option	    "iBookHacks" "true"
	Identifier  "Card0"
	Driver      "radeon"
	VendorName  "ATI Technologies Inc"
	BoardName   "Radeon Mobility M6 LY"
	BusID       "PCI:0:16:0"
EndSection

Section "Screen"
	Identifier "Screen0"
	Device     "Card0"
	Monitor    "Monitor0"
	DefaultDepth 24
	SubSection "Display"
		Modes	"1024x768"
		Viewport   0 0
		Depth     1
	EndSubSection
	SubSection "Display"
		Modes	"1024x768"
		Viewport   0 0
		Depth     4
	EndSubSection
	SubSection "Display"
		Modes	"1024x768"
		Viewport   0 0
		Depth     8
	EndSubSection
	SubSection "Display"
		Modes	"1024x768"
		Viewport   0 0
		Depth     15
	EndSubSection
	SubSection "Display"
		Modes	"1024x768"
		Viewport   0 0
		Depth     16
	EndSubSection
	SubSection "Display"
		Modes	"1024x768"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection


--Apple-Mail-4-638398885
Content-Transfer-Encoding: 7bit
Content-Type: text/plain;
	charset=US-ASCII;
	format=flowed




--Apple-Mail-4-638398885--