Port-sparc archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: NetBSD 5.0 and SPARCstation 5 not a lucky combination



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hello,

On Jul 28, 2009, at 1:01 AM, der Mouse wrote:

I dimly remember that the old rcons code draws at least the cursor
and maybe all text by software and uses the blitter only for
scrolling and rectangle fills.

Depends.  Looking at the 3.1 code, I see CG6_BLIT_CURSOR, which if
turned on seems to do the cursor with the blitter.

I added that option years ago when I found out that it locked up one of my CG6. For some reason the same code works fine with wscons.

As I recall, most of the usability gain from cg6 acceleration came from
scrolling.  There is some font-draw support in the hardware, but I
suspect it's not that much faster than software font-draw.

It's several orders of magnitude faster ( I implemented it for NetBSD's own xf86-video-suncg6, it beats the pants off most contemporary and many newer chips. x11perf -ftext yields more than 400000 characters per second on a TGX ) But as you said, scrolling is by far the most noticeable acceleration feature in the kernel driver. When using the blitter for all operations we can queue up character drawing too instead of having to wait for the blitter to finish which is the main reason why I added it to most of my drivers. Less CPU time spent spinning.

Perhaps the next step is shutting [RASTERCONSOLE] off, and seeing
if the problem persists.
That would be an interesting datapoint.  With no wscons and no
REASTERCONSOLE, console display _should_ go through the PROM
callbacks, AIUI; [...]
I'm pretty sure the PROM drawing routines for the cg6 use the blitter
for at least a few things.

Yes. Scrolls, at the very least; it scrolls too fast to be anything else.

Exactly what I thought - see a cg14 for comparison, then add sbus's lower bandwidth...

However, don't callouts to the ROM code run with a bunch of stuff disabled? That should help some....

I think we disable at least interrupts when calling the PROM.

have fun
Michael

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (Darwin)

iQEVAwUBSm9EVcpnzkX8Yg2nAQKhiQf/Zk3Fhvw6sP0VPHqxci/kavixdIU0qOmM
WP4ryomML07XZTBeWhtoOkEaRRJDwUtoIdKjeTogx9K5luBOEPJEGtuMuOxppHex
Ci7cbhBgwKeg4NO/4Ft4NOjxehfBYY8r0iWdyk+BPo1g/4In/kSpwY/mnojR1GLi
3DmP9/q1n4nb76z7zcNoBw6MYkOdy658AEFBZeJtoFBhHkclL3h98DLyww6NFmc/
YK72vPI4q1wqDjesTeOMZsHGqkAO2kAJ8H/Lk6eghKd1+U73RitH7LvBuzWwZbys
IDAFRMbMVqv+MVksYCeqwCf4LqBtsBZTjfN+mw0zdzJbA0nz+wGraQ==
=y+iK
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index