Subject: Re: Console drivers
To: Michael Lorenz <macallan@netbsd.org>
From: Marco Trillo <marcotrillo@gmail.com>
List: port-macppc
Date: 11/11/2006 10:50:01
Hi,

On 11/11/06, Michael Lorenz <macallan@netbsd.org> wrote:
> On Nov 10, 2006, at 17:03, Marco Trillo wrote:
> > On 11/10/06, Marco Trillo <marcotrillo@gmail.com> wrote:
> >> then the screen went black and the eMac froze  (I suppose, since the
> >
> > Well, after doing more tests, actually it did not froze (just the
> > screen went black), but I did not give it enough time to initialize
> > the keyboard :-)
> >
> >> after the boot command (in case it has any relation with this, this
> >> time the boot  command was not the first command entered on the OF
> >> prompt).
> >
> > Hmm... it has relation: when I type the "boot cd:,ofwboot.xcf" command
> > as the first command in the OF session, the framebuffer inits with
> > green-on-white letters but then it goes black. But when I first type
> > other OF commands, the framebuffer does not start and the screen goes
> > black just after typing the boot command.
>
> This is odd.
> The initial green-on-white stuff doesn't come from radeonfb - it
> doesn't kick in until this:
> radeonfb0 at pci0 dev 16 function 0: ATI Technologies Radeon 9200 5962
> Then it should switch to some halfway sane resolution in 32bit colour
> and continue ( I didn't write this driver - it doesn't work very well
> in 8bit and 32bit is fast enough so it runs in 32bit )
> Apparently whatever it picks isn't something your display likes and I
> see no output regarding monitor identification via DDC2.
> So, initial diagnosis - monitor going black when radeonfb attaches is
> no freeze, just out of sync. If the eMac is anything like the G3 iMacs
> then the monitor is picky about its horizontal frequency - did you have
> to use HorizSync to something fixed or a very narrow range in
> XF86Config?

Yes, it apparently requires a fixed "horizontal sync" frequency of
72kHz and can't do anything out of that.

These are the possible combinations for the eMac:
640x480@138Hz
800x600@112Hz
1024x768@89.0Hz
1152x864@80.0Hz
1280x960@72.0Hz

I will try with the "1024x768x89" mode.

Thanks!

BTW, I also tried this ISO on a PowerMac G4 'Sawtooth' with ATI Rage
128 Pro and booted fine with the new 'ofb' driver with color support:

ofb0 at pci0 dev 16 function 0: ATI Technologies Rage Fury MAXX AGP 4x (TMDS)
ofb0: 1280 x 1024, 8bpp


-- 

     -Marco