Subject: Re: Problems with wscons(?) on U5 -current
To: Amadeus Stevenson <amadeus.stevenson@gmail.com>
From: Michael <macallan18@earthlink.net>
List: port-sparc64
Date: 06/20/2005 18:06:08
--Signature_Mon__20_Jun_2005_18_06_08_-0400_Nv2EUWVI_p.TQJHD
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: quoted-printable

Hello,

> machfb0 at pci1 dev 2 function 0: ATI Technologies 3D Rage Pro (rev.
> 0x5c)
> machfb0: 16 MB aperture at 0xe1000000, 4 KB registers at 0xe2000000
> memctl: 00651a77
> machfb0: 4096 KB SGRAM 98.924 MHz, maximum RAMDAC clock 230 MHz
> machfb0: initial resolution 800x600 at 8 bpp
> wsdisplay0 at machfb0 kbdmux 1: console (default, sun emulation)
> wsmux1: connecting to wsdisplay0
> wsdisplay0: screen 1-3 added (default, sun emulation)

Ok, I get this:
machfb0 at pci1 dev 2 function 0: ATI Technologies 3D Rage Pro (rev.
0x5c) machfb0: 16 MB aperture at 0xe1000000, 4 KB registers at
0xe2000000 memctl: 00651a77
machfb0: 4096 KB SGRAM 98.924 MHz, maximum RAMDAC clock 230 MHz
machfb0: initial resolution 1280x1024 at 8 bpp
wsdisplay0 at machfb0 kbdmux 1: console (default, vt100 emulation)

so we should have pretty much the same kind of hardware and the only
difference is the initial resolution ( the terminal emulation doesn't
matter here )

> Basically when it gets to the:
>=20
> Kernelized RAIDframe activated
>=20
> part of boot it "switches" into wscons mode (?) and the screen is
> garbled on the right hand side.

the 'switch' is normal - at this point the accelerated console driver (
machfb ) takes over, up to this point character output was handled by
the firmware. I don't see any distortion though ( compiled a new kernel
just now )

> Typing is fine, but when erasing there is this strange
> semi-transparency effect and it doesn't refresh the line etc.

Odd. Which font do you use? The big, Sun-typical Gallant one? Any
difference with a smaller font compiled into the kernel instead?

The display driver should use the maximum available screen space, maybe
there's a minimum width/height somewhere hidden and it tried to display
wider lines than is possibly can which /could/ result in distortions
similar to what you described.

Please try a kernel with a smaller font compiled in , like
options 	FONT_BOLD8x16
instead of
options 	FONT_GALLANT12x22

if the distortions vanish I know what to look for.

good luck
Michael

--Signature_Mon__20_Jun_2005_18_06_08_-0400_Nv2EUWVI_p.TQJHD
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.0 (NetBSD)

iQEVAwUBQrc91cpnzkX8Yg2nAQJAYQgApEV5tSFhKW/A9EescnBg1zpFlyuqx5QX
hJ9RRmwq2psXTszte43AYvGwASU4T66RqDZ8/egWLfJMo0ys61E8gIlBZNzXXMmW
SQBgS98UHH7bM1MkI6xP3+pxrpqM4ddMgkM1AD8OEwKfk50I5+RAqNxMyKg6Fm6l
PQxv170RjxPMkQLBdH5usHCnhagwb5Hy55Rr9HTbYdfmZ0yHee63R55sGHpdjG3Z
WcnizPQgjkbCJYvrpUMA2rjPznYi9G6CxhQsWrZbnNN9KwgHsf7mhCbppc6J2zAz
fpvSDqNxVctB0Ut3AkxhqsXp4TBNIhkOFBN87BJ/st9DU3ehhljbMA==
=zQJ4
-----END PGP SIGNATURE-----

--Signature_Mon__20_Jun_2005_18_06_08_-0400_Nv2EUWVI_p.TQJHD--