I've been fooling around with the code a bit and here's what I've
figured out so far:

1) If you don't boot usplash there's no problem.

2) restorepalette (from svgalib-bin) from will fix the problem
temporarily (see below).  In particular, it's the part that restores vga
color map registers that does the trick.  But here's what's weird: if
you write code to query those vga registers, you find that the mapping
is already correct.  So it's the act of rewriting the correct values
into the registers that fixes it.

3) Switching back to X and then back to the console screws everything up
again, even after you've run restorepalette.  But again, there's no
problem if usplash was never run in the first place.

So presumably we either have a) the svgalib code setting up something
wrong (note that usplash calls routines in the wrong order in some
cases, for example calling vga_setchipset before vga_init, though as far
as I can see all the initialization happens correctly), or b) there's a
bug either in the ATI X driver or ATI's VBE implementation.

-- 
usplash messes up colors on console
https://bugs.launchpad.net/bugs/60915
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to