[Bug 139453] Re: colors are left on the screen after blanking with usplash enabled
Colin King
colin.king at ubuntu.com
Fri Mar 14 11:29:24 UTC 2008
Hi, just to confirm, this is a bug with the vga console driver with
setting color palettes and hence it will be wrong on any VGA hardware
with the VGA console driver.
It just so happens that screen blanking should set all the colors to
black, but it fails to do so. One should be able to reproduce this bug
using the following shell script which sets each color to black (colors
0..7) and then restores them.
#!/bin/bash
restore()
{
echo -en "\033]P0000000"
echo -en "\033]P1aa0000"
echo -en "\033]P200aa00"
echo -en "\033]P3aa5500"
echo -en "\033]P40000aa"
echo -en "\033]P5aa00aa"
echo -en "\033]P600aaaa"
echo -en "\033]P7aaaaaa"
}
blank()
{
for i in 0 1 2 3 4 5 6 7
do
echo -en "\033]P${i}000000"
sleep 1
done
}
blank
sleep 1
restore
Run the original colortable16.sh script and then the one above. It will
clear the colors in the color palette one by one, however the same
colors are not cleared as in the screen blanking bug - this is because
the vgacon driver is cannot set one particular color palette setting.
Please let me know if the script cannot clear the color as in the screen
blanking bug. If it does reproduce the bug then I think I have a fix.
Thanks
--
colors are left on the screen after blanking with usplash enabled
https://bugs.launchpad.net/bugs/139453
You received this bug notification because you are a member of Kernel
Bugs, which is subscribed to linux-meta in ubuntu.
More information about the kernel-bugs
mailing list