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/04/2007 14:57:40
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello,
On Jan 4, 2007, at 12:01, Zach Lowry wrote:
> On Jan 4, 2007, at 9:55 AM, Michael Lorenz wrote:
>
>> Ok, so what exactly happens? According to that snippet from the log
>> it should try to do 1024x768 at 60Hz which should be right for your
>> iBook. What do you see on the display?
>
> Just a black screen. Nothing more, nothing less. When I kill X
> remotely it goes back to the console.
Ok, so the panel either gets no data or doesn't know how to make any
sense of them.
>> The relevant part in my log looks slightly different:
>> (--) RADEON(0): Virtual size is 1024x768 (pitch 1024)
>> (**) RADEON(0): *Mode "1024x768": 65.0 MHz (scaled from 0.0 MHz),
>> 48.4 kHz, 60.0 Hz
>> (II) RADEON(0): Modeline "1024x768" 65.00 1024 1048 1184 1344 768
>> 771 777 806
>> - - not sure is the sync options make a difference, might well be the
>> case though.
>
> Maybe so, perhaps I can turn that off somehow. Any ideas?
I think you can use the Modeline as it is.
>> Does your panel provide DDC data? If it does you should see something
>> like this:
>> (II) RADEON(0): Monitor1 EDID data ---------------------------
>> (II) RADEON(0): Manufacturer: APP Model: 9c1f Serial#: 16843009
>> (II) RADEON(0): Year: 2002 Week: 0
>> (II) RADEON(0): EDID Version: 1.3
>> (II) RADEON(0): Digital Display Input
>> (II) RADEON(0): Max H-Image Size [cm]: horiz.: 25 vert.: 18
>> (II) RADEON(0): Gamma: 2.20
>> (II) RADEON(0): No DPMS capabilities specified; RGB/Color Display
>> (II) RADEON(0): First detailed timing is preferred mode
>> (II) RADEON(0): redX: 0.577 redY: 0.338 greenX: 0.310 greenY: 0.554
>> (II) RADEON(0): blueX: 0.158 blueY: 0.124 whiteX: 0.313 whiteY:
>> 0.329
>> (II) RADEON(0): Supported VESA Video Modes:
>> (II) RADEON(0): 1024x768@60Hz
>> (II) RADEON(0): Manufacturer's mask: 0
>> (II) RADEON(0): Supported additional Video Mode:
>> (II) RADEON(0): clock: 65.0 MHz Image Size: 246 x 184 mm
>> (II) RADEON(0): h_active: 1024 h_sync: 1048 h_sync_end 1184
>> h_blank_end 1344 h_border: 0
>> (II) RADEON(0): v_active: 768 v_sync: 771 v_sync_end 777
>> v_blanking: 806 v_border: 0
>> (II) RADEON(0): IBM-IAXG01A
>> (II) RADEON(0): IBM-IAXG01A
>> (II) RADEON(0): Monitor name: Color LCD
>> (II) RADEON(0): End of Monitor1 EDID data --------------------
>
> It does not, I don't see any such section in my log. I wonder if my X
> display is going to the external monitor port for some reason.
May well be the case.
>> Looks like the infamous radeon register size bug. In short - the
>> driver tries to mmap 512kB here which is appropriate for very new
>> radeons, older ones have smaller register ranges. NetBSD/macppc
>> allows to mmap only what really belongs to the graphics controller so
>> this call fails. I submitted a bug report against xorg 7.0 for this,
>> thought they fixed it in later versions.
>
> Let me see if I can get a newer version of xorg from pkgsrc and build
> it. Thanks!
It should be fixed in xsrc/xorg.
have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)
iQEVAwUBRZ1cNMpnzkX8Yg2nAQKWNgf/dgpl56epUTo5ACcXYDi2jPnMhWEUQAmM
PJdpHgU0z3u2hGF82zL1D2vzJR4iFUgYJgf4GG+n8UzdbgTm2d2XQVPVf758GD0S
Gm2ecErr1P4vcJrliHAKtGIQ5b/sFIE5IHbV4tfbRNmzOfFWzMrcJ7+8cFgv1O9j
5jwrQsUyS1avZhuWUchIqGWq5VQ/3Kj2YMg/ypxRPKJ2T8eNc7zN+TU3jnrBmP8d
we9FLarPpOpv4Kabk5UQhzHsujyfZPY/ff/olg58KvoNknz3H8t+ffCIiAMctQl6
rQAmb4VQRX+1WuNKZ9CiYvIHdaN0Fssvg+J/zactBsVm3xdyf0jvgA==
=go36
-----END PGP SIGNATURE-----