Subject: Re: XFree86 no worky on 3.1 on G3 iBook
To: Michael Lorenz <macallan@netbsd.org>
From: Zach Lowry <zach@zachlowry.net>
List: port-macppc
Date: 01/03/2007 20:23:39
On Jan 3, 2007, at 3:51 PM, Michael Lorenz wrote:

> Define 'not working'. If you don't tell anyone what exactly your  
> problem is how do you expect people to help you?

Right, of course! It flickers and then gives a black screen. X is  
running, as I can see the processes on a separate terminal, but I get  
no display.

>
> 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.

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