Bug#470936: VT switching results in scrambled colors with -depth 24
Package: xserver-xorg-video-vesa
Version: 1:1.3.0-1
I use the following command to start X:
# Xorg :1 vt11 -depth 24 -allowMouseOpenFail -query localhost &
with an ATI card:
$ lspci
...
04:00.0 VGA compatible controller: ATI Technologies Inc Radeon HD 2400 PRO
...
$
configured to use the generic `vesa' driver:
$ cat /etc/X11/xorg.conf
...
Section "Device"
Identifier "Generic Video Card"
Driver "vesa"
BusID "PCI:4:0:0"
EndSection
...
$
The X server starts fine, but the colors get scrambled after the
first switch to a non-X VT and back. The problem disappears
when running X with `-depth 16', like:
# Xorg :1 vt11 -depth 16 -allowMouseOpenFail -query localhost &
The only way to get back to the normal ``palette'' was to
restart the server.
I didn't check precisely, but it seems that after returning to a
24-bit mode, the card is misconfigured to interpret the color
components as having fewer bits than it's expected; something
like interpreting R, G, B as (mod 64) instead of (mod 256).
It looks like that comments to [1], and [2], describe a similar
misbehaviour.
[1] http://bugs.launchpad.net/ubuntu/+source/restricted-manager/+bug/186999
[2] http://forum.ubuntu.ru/index.php?topic=12910.0;all
Reply to: