Subject: Re: The radeon framebuffer device panics init (on i386)
To: Vincent <10.50@free.fr>
From: Michael Lorenz <macallan@netbsd.org>
List: tech-kern
Date: 12/19/2006 20:02:33
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Dec 19, 2006, at 16:10, Vincent wrote:

> Michael Lorenz escribit:
>
>>> time the radeonfb driver is attached, so I assume the code, founding 
>>> no suitable BIOS (the patch I wrote sets cf->cf_biossz to 0) makes 
>>> (wrong) guesses about the default configuration.
>> There's a #define at the beginning of radeonfb.c which sets a default 
>> video mode which is going to be used when there's no information 
>> about the display available - should be "1024x768@60". The mode must 
>> be one defined in src/sys/dev/videomodes/videomodes.c - maybe try a 
>> few others that more closely match whatever your display likes.
>
> That 1024x768@60 Hz happens to be exactly the same videomode I use 
> with X (which obviously works since I am writing this mail ;)). I'll 
> try to see if by chance something is wrong with the dividers or that 
> kind of stuff.

Please do that.

> But again, maybe also everything is fine and it is just drawing black 
> glyphes on a black background?
>
Possible - that happens on R3xx-based chips and I committed a 
workaround a few days ago. To enable it look into 
radeonfb_init_screen():
	if (!IS_R300(dp->rd_softc)) {
		ri->ri_ops.putchar = radeonfb_putchar;
	}
and make sure that radeonfb_putchar isn't used ( just comment it out or 
something )
This will lead to all characters being drawn in software. Scrolling and 
so on will still be done using the blitter.

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

iQEVAwUBRYiLqcpnzkX8Yg2nAQKq1Qf+NBhc+301+S2QPm1H3Tz/DwRrqHI2tNhb
xQ98S+TUnKb2wSU2Qm36VoA4KiFbv47Mcl4QxbGMpTQxXFpDfGmK2IXdr4BRKf6x
Uj4/e0YdXqxRqQF31eXSlWn73BrFUDymJq4PNpsAH6UoYZ87YNAr8nxc5eJIE4ph
MfMMJH7IwNwtEjtywWqd4EIV9Ek4MHub8tX1ceNTebCAuEe7R9PhBZgP+ZbxCiOX
AvDUXX7RMXmx5CAGbrWJZTCcbzTNXXneFFaeUE6Tuu2fHrRCYf3MEHBAOvlCmE79
M+KcnsBiP30EQ6EjhfYjP3x95/7Z4jkOBwkX7qLEsuIiyVs9TBf3FA==
=dEwS
-----END PGP SIGNATURE-----