Re: Cant' switch to VESA VGA (I wanna see the grafik logo!)

Clifford Wolf (clifford@clifford.at)
Mon, 20 Jul 1998 00:06:33 +0200 (MEST)


On Sun, 19 Jul 1998, Martin Mares wrote:

> > i'm running Kernel 2.1.109 + 109ac2 + devfs on my test box here. The
> > framebuffer device is a S3 Virge. I tried allready a few modes (600x640
> > and 800x600 with 8, 15 and 16 bit colordepth). I calculated the numbers
> > for "vga=" as follows:
> >
> > hex2dec( <number from linux/Documentation/fb/vesafb.txt> + 0x200 );
> >
> > So the decimal numbers are e.g. 788 (0x314) for 800x600 with 16 bit colors
> > or 769 (0x301) for 640x480 with 8 bit colors. I get all the time a
> > message like "you passed an undefined mode." - but the debuging message
> > of "vga=ask" tells me the it dedected my card as a VESA VGA Card (what is
> > right).
>
> Are you sure your VGA BIOS supports VESA modes?

Well, I have 2 VESA Text modes in the list if tell the kernel "vga=ask"
and the kernel tells me that i have a vesa card in the headline of
"vga=ask" (but i don't know if this means that it is a VESA 2.0 card
which supports a linear frame buffer). The code after the "check_vesa"
mark in linux/arch/i386/boot/video.S just returns if the mode is ok or
not - what's about a more verbose message? ("badmdt" does not tell
anything except that it does not work. :-)

But I guess that the S3 Virge card is VESA 2 compatible (it's not a very
old card). I can't find any manuals - so I'm not absolute sure about this.
How can I find out if I can use my card or not?

- clifford

PS: Why is all this stuff written in pure assembler?
It's so hard to read. :-)

-- -- -- -- -- -- -- -- -- -- -- -- --
Clifford Wolf
magnet - Internet at Work IRC: efnet / clifford
Director of System Development http://www.clifford.at/
e-mail: c.wolf@magnet.at email: god@clifford.at

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html