I've configured XFree86 with the Matrox G550 video card, mga driver, and
use of overlays. The problem seems to be that the root window is forced
to
depth 8 when the Option "Overlay" is enabled. I've tried setting Option
Overlay in the XF86Config-4 file with the combinations:
Option "Overlay"
Option "Overlay" "8,24"
Option "Overlay" "24,8"
I even set on the command line to start X with depth 24 and set
XF86Config-4 to default to depth 24.
Alas, to no avail! All attempts have the same effect.
Is there a way to have use Overlay's and have a root window
color depth > 8 (ie, 16 or 24)? If so, can anyone share their
settings/configuration with me?
Here is some diag information:
To show that Option overlay is indeed set, I have the following output:
prompt> xprop -root | grep SERVER_OVERLAY
SERVER_OVERLAY_VISUALS(SERVER_OVERLAY_VISUALS) = 0x25, 0x1, 0xff, 0x1,
0x26, 0x1, 0xff, 0x1
And to show X is started with depth 24, I have:
prompt> ps auxwww | grep X11
tj 1447 0.0 0.0 2160 604 ? S 00:05 0:00 xinit
/etc/X11/xinit/xinitrc -- -depth 24 -deferglyphs 16
root 1448 3.3 1.5 64656 14052 ? R 00:05 0:08
/etc/X11/X :0 -depth 24 -deferglyphs 16
I have color flashing and check the depth of the
root window via xdpyinfo:
prompt> xdpyinfo
name of display: :0.0
version number: 11.0
vendor string: Mandrake Linux (XFree86 4.2.1, patch level 3mdk)
vendor release number: 40201000
XFree86 version: 4.2.1
maximum request size: 4194300 bytes
motion buffer size: 256
bitmap unit, bit order, padding: 32, LSBFirst, 32
image byte order: LSBFirst
number of supported pixmap formats: 7
supported pixmap formats:
depth 1, bits_per_pixel 1, scanline_pad 32
depth 4, bits_per_pixel 8, scanline_pad 32
depth 8, bits_per_pixel 8, scanline_pad 32
depth 15, bits_per_pixel 16, scanline_pad 32
depth 16, bits_per_pixel 16, scanline_pad 32
depth 24, bits_per_pixel 32, scanline_pad 32
depth 32, bits_per_pixel 32, scanline_pad 32
keycode range: minimum 8, maximum 255
focus: window 0x240000c, revert to PointerRoot
number of extensions: 25
BIG-REQUESTS
DOUBLE-BUFFER
DPMS
Extended-Visual-Information
FontCache
GLX
LBX
MIT-SCREEN-SAVER
MIT-SHM
MIT-SUNDRY-NONSTANDARD
SECURITY
SGI-GLX
SHAPE
SYNC
TOG-CUP
XC-APPGROUP
XC-MISC
XFree86-Bigfont
XFree86-DGA
XFree86-Misc
XFree86-VidModeExtension
XInputExtension
XKEYBOARD
XTEST
XVideo
default screen number: 0
number of screens: 2
screen #0:
dimensions: 1600x1200 pixels (542x406 millimeters)
resolution: 75x75 dots per inch
depths (2): 8, 24
root window id: 0x5f
depth of root window: 8 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x21
default number of colormap cells: 256
preallocated pixels: black 0, white 1
options: backing-store NO, save-unders NO
largest cursor: 64x64
current input event mask: 0xd84031
KeyPressMask EnterWindowMask LeaveWindowMask
KeymapStateMask SubstructureNotifyMask
SubstructureRedirectMask
PropertyChangeMask ColormapChangeMask
number of visuals: 4
default visual id: 0x25
visual:
visual id: 0x25
class: PseudoColor
depth: 8 planes
available colormap entries: 256
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x26
class: GrayScale
depth: 8 planes
available colormap entries: 256
red, green, blue masks: 0x0, 0x0, 0x0
significant bits in color specification: 8 bits
visual:
visual id: 0x27
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
visual:
visual id: 0x28
class: TrueColor
depth: 24 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
And lastly, removing "Option Overlays ..." from the XF86Config-4 file
starts X with a root color depth of 24 (as expected!). However, X does
not support overlays in this mode!
Any thoughts are greatly appreciated,
Tim Johnson
[EMAIL PROTECTED]
_______________________________________________
Xpert mailing list
[EMAIL PROTECTED]
http://XFree86.Org/mailman/listinfo/xpert