Re: [PATCH] VESA framebuffer w/ MTRR locks 2.4.0 on init

Bryan Mayland
2001-01-05T16:48:44Z

Alan Cox wrote:

> > 1) The amount of video memory is being incorrectly reported my the VESA call
> > used in arch/i386/video.S (INT 10h AX=4f00h). My Dell Inspiron 3200 (NeoMagic
> > video) returns that it has 31 64k blocks of video memory, instead of the
> > correct 32. This means that vesafb thinks that I've got 1984k of video ram,
>
> You have 31. The last one is used for audio buffering

Dough! I normally use ywrap scrolling, the memory thing means that I get a big
"black hole" every time I get down to that last 64k of memory, and before the
pointer to the console's display resets back to "top" of the memory region. The
only way I've found to get around this is to force the size of the video memory.
Does this mean that there's a problem with the display adapter that it wraps reads
of video memory at the 2048k boundary? Is the 64k used by the Crystal 4232 and/or
OPL3? If so, why doesn't listening to sounds screw with my fbcon?

Bry