Subject: Re: XFree86 no worky on 3.1 on G3 iBook
To: Zach Lowry <zach@zachlowry.net>
From: Michael Lorenz <macallan@netbsd.org>
List: port-macppc
Date: 01/03/2007 23:41:33
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
On Jan 3, 2007, at 21:23, Zach Lowry wrote:
> On Jan 3, 2007, at 3:51 PM, Michael Lorenz wrote:
>> Anyway, this needs to be fixed:
>>> Section "Monitor"
>>> Identifier "Monitor0"
>>> VendorName "Apple"
>>> ModelName "iBook Panel"
>>> #HorizSync 30-60
>>> #VertRefresh 55-60
>>> EndSection
>>>
>>
>> ... because without you telling XFree86 about your display it assumes
>> that you have an old VGA monitor:
>>> (II) RADEON(0): Validating modes on Primary head ---------
>>> (II) RADEON(0): Monitor0: Using default hsync range of 28.00-33.00
>>> kHz
>>> (II) RADEON(0): Monitor0: Using default vrefresh range of
>>> 43.00-72.00 Hz
>>> (II) RADEON(0): Clock range: 12.50 to 350.00 MHz
>>
>> ... which results in a mode your panel can't display:
>>> (**) RADEON(0): Default mode "640x480": 25.2 MHz, 31.5 kHz, 60.0 Hz
>>> (II) RADEON(0): Modeline "640x480" 25.20 640 656 752 800 480 490
>>> 492 525 -hsync -vsync
>>
>> 1024x768 in 60Hz should work fine and you may need Option
>> "iBookHacks" "true"
>>
>
> So, a HorizSync of 30-60 and a VertRefresh of 55-60, like I have
> above, should be sufficient? That didn't work, and neither did a
> number of other settings I have tried. I have iBookHacks set to true.
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.
> The relevant lines from XFree86.0.log with the sync and refresh lines
> uncommented are as follows:
>
> (--) RADEON(0): Virtual size is 1024x768 (pitch 1024)
> (**) RADEON(0): *Default mode "1024x768": 65.0 MHz, 48.4 kHz, 60.0 Hz
> (II) RADEON(0): Modeline "1024x768" 65.00 1024 1048 1184 1344 768
> 771 777 806 -hsync -vsync
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 )
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iQEVAwUBRZyFfcpnzkX8Yg2nAQK+3QgAkiEB9jrZUyoWHuzSqPokY/5aZXhdLz0i
TVGu6RbQccX4gfeKkoJRyqskVMo0IE7FlJ/rPbLfJjcka1ns3QMp5tu+AKJDjUwh
cyK3oU6eUwJF9iQdLdzdAlFn3/JOLtq6R1duKdDUIUHM4hPn+WGVhswvCPO+WgtL
dKTnP16mV0gCddJx4pUgQ3E2I8vQ/Ybtf2VXmT2sVNr4VM6vy8s8C8KaLfCMPZLt
tlmnS23ujbtWFNZS69tZ14yMPs8n9p3+1x9I/eO4ANt88Pvo8v00j2y/b5RqjrVV
QRYl+XfzZdYz70whanqW0A8kM7XZpjguNz+y644dH+kBkH6C7UiS+Q==
=ggyz
-----END PGP SIGNATURE-----