Hi Dieter and others,
can you try this instead? Doing set_palette() (and set_origin too if we
are talking about it) before con_switch is severely broken. Old code, before
moving set_palette, did set_palette unconditionally even when KD_GRAPHICS.
Code below restores this behavior, but still does set_palette() after console
switch. Please tell me whether it fixes your problem too (if not, then
X server must be fixed... if yes, then I believe that this is THE ONE CORRECT
PATCH (tm)).
Best regards,
Petr Vandrovec
vandrove@vc.cvut.cz
--- linux-2.4.0-test5-pre3/drivers/char/console.c.orig Wed Jul 19 22:36:04 2000
+++ linux-2.4.0-test5-pre3/drivers/char/console.c Thu Jul 20 12:05:17 2000
@@ -587,10 +587,12 @@
if (redraw) {
set_origin(currcons);
- if (sw->con_switch(vc_cons[currcons].d) && vcmode != KD_GRAPHICS) {
+ if (sw->con_switch(vc_cons[currcons].d)) {
/* Update the screen contents */
set_palette(currcons);
- do_update_region(currcons, origin, screenbuf_size/2);
+ if (vcmode != KD_GRAPHICS) {
+ do_update_region(currcons, origin, screenbuf_size/2);
+ }
}
}
set_cursor(currcons);
-
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.tux.org/lkml/