tech-kern archive

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

Re: R10K crmfb



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

Hello,

On Jun 24, 2008, at 14:30, Manuel Bouyer wrote:
Reply-To:
In-Reply-To: <84A05B3C-8DF9-4EF8-821C-B099283314CA%netbsd.org@localhost>

On Tue, Jun 24, 2008 at 10:42:13AM -0400, Michael Lorenz wrote:
PS: something completely different - does crmfb work properly on your
R10k O2? And did you ever try my accelerated X hack?

I've used it though serial console for the USB tests. I can try the
VGA display this evening.

Thanks :)

Well, crmfb0 itself doesn't work. The system boots, but the display is
messed up: thin (1 pixel) dark red vertical lines on a black background,
with 6 2-pixed white horizontal lines, starting a line 0.

This is weird, as if the graphics backend reads from different tiles than the rendering engine writes to, or the rendering engine doesn't render. Crmfb doesn't directly access any visible video memory - to avoid having to deal with tile borders I have rasops draw into an off- screen tile and then blit it into place. Maybe I should memset() it with something recognizeable for testing.
Do the red lines disappear eventually?
If they do then at least the memory transfer engine works ( it's kind of a very simple but very fast blitter, setup errors are rather unlikely for lack of functionality )

crmfb0: initial resolution 1024x768

Hmm, I never tested crmfb with anything else than 1280x1024 ( couldn't figure out how to change video mode in ARCS or how to make IRIX's video mode stick ). The memory transfer engine has some weird constraints regarding the width of a rectangle to copy but 1024 would be even more likely to fit than 1280.

have fun
Michael

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

iQEVAwUBSGFDncpnzkX8Yg2nAQLS1Af7B9/YwZKnDCGM0IR39CF5QlxY3llTTJh0
K02kcrSYOJcSb0tMq8lLwq84MNpdadzPJBRC6OY/mhOJfJHdfFj9kZBlhW4VW/F3
OlrYnPV41R69EtUsmDnn/ReJwDm85DjnRooPQdkcmHKrmqbUdF5TiWcMYjeBMHBA
hmVtXqGlQ/AWKWlLJBuCxwg9McVZoTdSwqLjkwoZSSSRg5lxRiDWvcXA/j9JbW7R
nj0fMSaXFm71xUoFv68gZKIAJzsyM/2B6nC5eevuCNONBgSNp2l7lcFQuY8XTYQI
YxWm1aMjLjndlxmUezckEuHS0p1G5bKFlGqjwpohbG7GD+HXogXfTQ==
=KkfD
-----END PGP SIGNATURE-----


Home | Main Index | Thread Index | Old Index