[Linux-ia64] framebuffer console

From: Richard Hirst <rhirst_at_linuxcare.com>
Date: 2001-10-24 20:30:33
  I've been trying to use the framebuffer console to display simple
graphics with only partial success.  I'm using an nVidia Quadro2 card,
and a 2.4.9 kernel.

Would be nice to use CONFIG_FB_VESA so I was graphics card independent,
but there is some x86 assembler in that source, and I believe it relies
on video mode switching being done before the kernel starts as well.

So, I've compiled with CONFIG_FB_RIVA, and am experimenting with fbi, a
simple image viewer for the framebuffer console.  This mmaps the framebuffer
memory, and tries to memcpy() in to it.  That reliably causes hard
crashes and spontaneous system reboots.  If I hack fbi to do lseek/write
on /dev/fb0 rather than mmap(), it seems to work ok.

When using mmap() I sometimes see parts of my image on the screen before
it crashes, and the pattern of bits that are drawn (or not) indicate
that some small blocks of data (cachelines?) are not written to the
video memory while other similar sized blocks are written.  As the system
crashes so badly, I guess the missing blocks are written elsewhere.

The other thing that struck me as odd (but unrelated) was that on boot I
get two penguins at the top of the screen, where I'd expected only one..

So, has anyone else played with framebuffer console, and been more
successful than me?  Is the problem I'm seeing likely to be specific
to my graphics card, or something more generic?

Received on Wed Oct 24 03:31:06 2001

This archive was generated by hypermail 2.1.8 : 2005-08-02 09:20:05 EST