video memory corrupted under X

Stanislav Brabec (
Mon, 7 Dec 1998 11:50:11 +0100

Hallo Linux kernel developers,

I am using with glibc-2.1 (later time ago 2.0) and precompiled
XFree86-3.3.2-glibc SVGA server running on Tseng ET6100 cards in 32 bit mode.

Later time ago (for 2.1.1xx, I have no backup) I have reported this
bug, which causes horizontal lines on bottom part of screen. I have
obtained small patch from Martin Mares:
--- drivers/char/console.c.mj Wed Sep 9 09:51:13 1998
+++ drivers/char/console.c Wed Sep 9 09:52:20 1998
@@ -1980,6 +1980,9 @@
goto quit;

+ if (vcmode != KD_TEXT)
+ return;
/* undraw cursor first */
if (IS_FG)
This patch (now part of kernel) have solved most of these cases,
but there resist following cases, when bug still occurs:

Pressing Ctrl + Alt + Num+ / Num - (change display mode)
Pressing Ctrl + Alt + Fx (switch to / from linux console)

Looking preciselly on drawing these lines, these lines are drawed
not only during switching, bad also few time (cca .3 sec) after.

-- Stanislav Brabec

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at