Subject: Re: Console drivers
To: dieter roelants <dieter.NetBSD@pandora.be>
From: Michael Lorenz <macallan@netbsd.org>
List: port-macppc
Date: 11/26/2006 12:28:10
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Nov 26, 2006, at 05:44, dieter roelants wrote:

> Hi Michael,
>
>> so, finally the missing pieces to allow using accelerated display
>> drivers as console on macppc are in place. Please try them and report
>> success or failure.
>
> I have a current running on my iMac which has a
> machfb0 at pci0 dev 18 function 0: ATI Technologies 3D Rage Pro (rev. 
> 0x5c)
> machfb0: 16 MB aperture at 0x81000000, 4 KB registers at 0x80881000
> machfb0: 6144 KB SGRAM 98.924 MHz, maximum RAMDAC clock 230 MHz
> mach64_get_mode: 1024 5152 5248 1312 768 769 772 800
> machfb0: initial resolution 1024x768 at 8 bpp
>
> If I first boot MacOS 9 and then reboot to NetBSD everything works fine
> and the console is very fast. Nice :)
> If I do a cold boot in NetBSD, the screen goes black (just as with
> Marco) the moment machfb attaches. So it seems like something is not
> initialized properly? This is not new, though. I already had to boot
> MacOS first to get X working properly (else the display would be
> garbled).

Hmm, interesting. The only Rage Pro I have here is on a Sun Ultra 10 
motherboard and doesn't show this problem.

> Anything I should try?

Nothing I can think of right now. In theory the driver shouldn't mess 
with video modes at all when attaching, just determine what resolution 
it's running in. Maybe it's doing a little bit too much. Did you get a 
message like 'initializing DSP' or something similar?

> PS. Something completely different; could you add rum to GENERIC,
> please? It's already in i386 GENERIC, but works just fine on macppc 
> too.

I'll have a look.

have fun
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iQEVAwUBRWnOqspnzkX8Yg2nAQI2lQf/YabOVIPqtQochOmIVZmDfWYZi4vEgDyU
E/2fnW05qVuEIuXXAqhN+c9VnU4Kidf3Ue0OPC3vk0BEI1N8KODxpVS3d+6UOpRw
V5m51pGZHs5wV++6yY6W6lYmwZok3rGvF6levn19zBCSpYBZ5MrDkgJcttQnfWBD
dJA9RuiPsCWcgFPiAs9QYTNLynxKjO47N9wUHbJTV7NJkFQSP6EQGK/LYIe/D6hl
kD+Lq8pAk6YsZxzhLgkVu5qMFXiiKmuqrpWHd1TJqk2Wt1f75dI+d5whUbbJRZId
BsQGYiStCIU23KySqUMoIA511HFyPyzHvrwxqUnONONb2hG/zrgrfQ==
=UrGo
-----END PGP SIGNATURE-----