Color Depths
Ben Gamari
ben at mw0.ath.cx
Mon Nov 19 22:18:19 PST 2007
Hi all,
Quite sorry about polluting the list like this but I recently stumbled
upon the new server flag which Kristian mentioned in his response a few
days back to "question about GlxVisual." After setting the GlxVisuals
ServerFlag to "all," compiz instead complains about the root visual not
being a GL visual:
ben at mercury /opt/compcomm/src/compiz $ LIBGL_ALWAYS_INDIRECT=1 compiz --replace ccp
compiz (core) - Fatal: Root visual is not a GL visual
compiz (core) - Error: Failed to manage screen: 0
compiz (core) - Fatal: No manageable screens found on display :0.0
This makes a great deal of sense considering my total X visual count has
gone from 3 to 39 (see below) whereas my GLXFBConfig count has remained
at 36. The output of xwininfo on my root window is included below.
What could be going wrong to cause this missing GLXFBConfig? Moreover,
why does this behavior change with the value of GlxVisual? I'm
thoroughly confused.
Thanks again,
- Ben
ben at mercury ~ $ xwininfo -root
xwininfo: Window id: 0xa0 (the root window) (has no name)
Absolute upper-left X: 0
Absolute upper-left Y: 0
Relative upper-left X: 0
Relative upper-left Y: 0
Width: 1920
Height: 1200
Depth: 24
Visual Class: TrueColor
Border width: 0
Class: InputOutput
Colormap: 0x20 (installed)
Bit Gravity State: ForgetGravity
Window Gravity State: NorthWestGravity
Backing Store State: NotUseful
Save Under State: no
Map State: IsViewable
Override Redirect State: no
Corners: +0+0 -0+0 -0-0 +0-0
-geometry 1920x1200+0+0
ben at mercury ~ $ xdpyinfo
name of display: :0.0
version number: 11.0
vendor string: The X.Org Foundation
vendor release number: 10400001
X.Org version: 1.4.0.1
maximum request size: 16777212 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 0x14011a4, revert to Parent
number of extensions: 33
BIG-REQUESTS
Composite
DAMAGE
DEC-XTRAP
DOUBLE-BUFFER
DPMS
Extended-Visual-Information
GLX
MIT-SCREEN-SAVER
MIT-SHM
MIT-SUNDRY-NONSTANDARD
RANDR
RECORD
RENDER
SECURITY
SGI-GLX
SHAPE
SYNC
TOG-CUP
X-Resource
XAccessControlExtension
XC-APPGROUP
XC-MISC
XFIXES
XFree86-DGA
XFree86-DRI
XFree86-Misc
XFree86-VidModeExtension
XINERAMA
XInputExtension
XKEYBOARD
XTEST
XVideo
default screen number: 0
number of screens: 1
screen #0:
print screen: no
dimensions: 1920x1200 pixels (331x207 millimeters)
resolution: 147x147 dots per inch
depths (7): 24, 1, 4, 8, 15, 16, 32
root window id: 0xa0
depth of root window: 24 planes
number of colormaps: minimum 1, maximum 1
default colormap: 0x20
default number of colormap cells: 256
preallocated pixels: black 0, white 16777215
options: backing-store NO, save-unders NO
largest cursor: 64x64
current input event mask: 0xfa0033
KeyPressMask KeyReleaseMask EnterWindowMask
LeaveWindowMask StructureNotifyMask SubstructureNotifyMask
SubstructureRedirectMask FocusChangeMask PropertyChangeMask
ColormapChangeMask
number of visuals: 39
default visual id: 0x21
visual:
visual id: 0x21
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: 0x22
class: DirectColor
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: 0x7b
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: 0x7c
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: 0x7d
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: 0x7e
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: 0x7f
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: 0x80
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: 0x81
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: 0x82
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: 0x83
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: 0x84
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: 0x85
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: 0x86
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: 0x87
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: 0x88
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: 0x89
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: 0x8a
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: 0x8b
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: 0x8c
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: 0x8d
class: DirectColor
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: 0x8e
class: DirectColor
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: 0x8f
class: DirectColor
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: 0x90
class: DirectColor
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: 0x91
class: DirectColor
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: 0x92
class: DirectColor
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: 0x93
class: DirectColor
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: 0x94
class: DirectColor
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: 0x95
class: DirectColor
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: 0x96
class: DirectColor
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: 0x97
class: DirectColor
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: 0x98
class: DirectColor
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: 0x99
class: DirectColor
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: 0x9a
class: DirectColor
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: 0x9b
class: DirectColor
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: 0x9c
class: DirectColor
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: 0x9d
class: DirectColor
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: 0x9e
class: DirectColor
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: 0x56
class: TrueColor
depth: 32 planes
available colormap entries: 256 per subfield
red, green, blue masks: 0xff0000, 0xff00, 0xff
significant bits in color specification: 8 bits
ben at mercury ~ $ /opt/xorg/mesa/progs/xdemos/glxinfo -t
name of display: :0.0
display: :0 screen: 0
direct rendering: Yes
server glx vendor string: SGI
server glx version string: 1.2
server glx extensions:
GLX_ARB_multisample, GLX_EXT_import_context, GLX_EXT_texture_from_pixmap,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_OML_swap_method, GLX_SGI_swap_control, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
client glx vendor string: SGI
client glx version string: 1.4
client glx extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_allocate_memory,
GLX_MESA_copy_sub_buffer, GLX_MESA_swap_control,
GLX_MESA_swap_frame_usage, GLX_OML_swap_method, GLX_OML_sync_control,
GLX_SGI_make_current_read, GLX_SGI_swap_control, GLX_SGI_video_sync,
GLX_SGIS_multisample, GLX_SGIX_fbconfig, GLX_SGIX_pbuffer,
GLX_SGIX_visual_select_group, GLX_EXT_texture_from_pixmap
GLX version: 1.2
GLX extensions:
GLX_ARB_get_proc_address, GLX_ARB_multisample, GLX_EXT_import_context,
GLX_EXT_visual_info, GLX_EXT_visual_rating, GLX_MESA_copy_sub_buffer,
GLX_MESA_swap_control, GLX_MESA_swap_frame_usage, GLX_OML_swap_method,
GLX_SGI_swap_control, GLX_SGI_video_sync, GLX_SGIS_multisample,
GLX_SGIX_fbconfig, GLX_SGIX_visual_select_group
OpenGL vendor string: Tungsten Graphics, Inc
OpenGL renderer string: Mesa DRI Intel(R) 945GM 20061102 x86/MMX/SSE2
OpenGL version string: 1.3 Mesa 7.1
OpenGL extensions:
GL_ARB_depth_texture, GL_ARB_fragment_program, GL_ARB_multisample,
GL_ARB_multitexture, GL_ARB_pixel_buffer_object, GL_ARB_point_parameters,
GL_ARB_shadow, GL_ARB_texture_border_clamp, GL_ARB_texture_compression,
GL_ARB_texture_cube_map, GL_ARB_texture_env_add,
GL_ARB_texture_env_combine, GL_ARB_texture_env_crossbar,
GL_ARB_texture_env_dot3, GL_ARB_texture_mirrored_repeat,
GL_ARB_texture_non_power_of_two, GL_ARB_texture_rectangle,
GL_ARB_transpose_matrix, GL_ARB_vertex_buffer_object,
GL_ARB_vertex_program, GL_ARB_window_pos, GL_EXT_abgr, GL_EXT_bgra,
GL_EXT_blend_color, GL_EXT_blend_equation_separate,
GL_EXT_blend_func_separate, GL_EXT_blend_minmax, GL_EXT_blend_subtract,
GL_EXT_clip_volume_hint, GL_EXT_cull_vertex, GL_EXT_compiled_vertex_array,
GL_EXT_copy_texture, GL_EXT_draw_range_elements,
GL_EXT_framebuffer_object, GL_EXT_fog_coord, GL_EXT_multi_draw_arrays,
GL_EXT_packed_depth_stencil, GL_EXT_packed_pixels,
GL_EXT_pixel_buffer_object, GL_EXT_point_parameters,
GL_EXT_polygon_offset, GL_EXT_rescale_normal, GL_EXT_secondary_color,
GL_EXT_separate_specular_color, GL_EXT_shadow_funcs, GL_EXT_stencil_wrap,
GL_EXT_subtexture, GL_EXT_texture, GL_EXT_texture3D,
GL_EXT_texture_edge_clamp, GL_EXT_texture_env_add,
GL_EXT_texture_env_combine, GL_EXT_texture_env_dot3,
GL_EXT_texture_filter_anisotropic, GL_EXT_texture_lod_bias,
GL_EXT_texture_object, GL_EXT_texture_rectangle, GL_EXT_vertex_array,
GL_3DFX_texture_compression_FXT1, GL_APPLE_client_storage,
GL_APPLE_packed_pixels, GL_ATI_blend_equation_separate,
GL_IBM_rasterpos_clip, GL_IBM_texture_mirrored_repeat,
GL_INGR_blend_func_separate, GL_MESA_pack_invert, GL_MESA_ycbcr_texture,
GL_MESA_window_pos, GL_NV_blend_square, GL_NV_light_max_exponent,
GL_NV_texture_rectangle, GL_NV_texgen_reflection, GL_NV_vertex_program,
GL_NV_vertex_program1_1, GL_OES_read_format, GL_SGIS_texture_border_clamp,
GL_SGIS_texture_edge_clamp, GL_SGIS_texture_lod, GL_SGIX_depth_texture,
GL_SUN_multi_draw_arrays
36 GLX Visuals
Vis Vis Visual Trans buff lev render DB ste r g b a aux dep ste accum buffers MS MS
ID Depth Type parent size el type reo sz sz sz sz buf th ncl r g b a num bufs
----------------------------------------------------------------------------------------------------
0x7b 24 TrueColor 0 32 0 rgba 0 0 8 8 8 8 0 0 0 0 0 0 0 0 0
0x7c 24 TrueColor 0 32 0 rgba 0 0 8 8 8 8 0 0 0 16 16 16 16 0 0
0x7d 24 TrueColor 0 32 0 rgba 1 0 8 8 8 8 0 0 0 0 0 0 0 0 0
0x7e 24 TrueColor 0 32 0 rgba 1 0 8 8 8 8 0 0 0 16 16 16 16 0 0
0x7f 24 TrueColor 0 32 0 rgba 1 0 8 8 8 8 0 0 0 0 0 0 0 0 0
0x80 24 TrueColor 0 32 0 rgba 1 0 8 8 8 8 0 0 0 16 16 16 16 0 0
0x81 24 TrueColor 0 32 0 rgba 0 0 8 8 8 8 0 24 8 0 0 0 0 0 0
0x82 24 TrueColor 0 32 0 rgba 0 0 8 8 8 8 0 24 8 16 16 16 16 0 0
0x83 24 TrueColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 0 0 0 0 0 0
0x84 24 TrueColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 16 16 16 16 0 0
0x85 24 TrueColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 0 0 0 0 0 0
0x86 24 TrueColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 16 16 16 16 0 0
0x87 24 TrueColor 0 32 0 rgba 0 0 8 8 8 8 0 24 8 0 0 0 0 0 0
0x88 24 TrueColor 0 32 0 rgba 0 0 8 8 8 8 0 24 8 16 16 16 16 0 0
0x89 24 TrueColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 0 0 0 0 0 0
0x8a 24 TrueColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 16 16 16 16 0 0
0x8b 24 TrueColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 0 0 0 0 0 0
0x8c 24 TrueColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 16 16 16 16 0 0
0x8d 24 DirectColor 0 32 0 rgba 0 0 8 8 8 8 0 0 0 0 0 0 0 0 0
0x8e 24 DirectColor 0 32 0 rgba 0 0 8 8 8 8 0 0 0 16 16 16 16 0 0
0x8f 24 DirectColor 0 32 0 rgba 1 0 8 8 8 8 0 0 0 0 0 0 0 0 0
0x90 24 DirectColor 0 32 0 rgba 1 0 8 8 8 8 0 0 0 16 16 16 16 0 0
0x91 24 DirectColor 0 32 0 rgba 1 0 8 8 8 8 0 0 0 0 0 0 0 0 0
0x92 24 DirectColor 0 32 0 rgba 1 0 8 8 8 8 0 0 0 16 16 16 16 0 0
0x93 24 DirectColor 0 32 0 rgba 0 0 8 8 8 8 0 24 8 0 0 0 0 0 0
0x94 24 DirectColor 0 32 0 rgba 0 0 8 8 8 8 0 24 8 16 16 16 16 0 0
0x95 24 DirectColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 0 0 0 0 0 0
0x96 24 DirectColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 16 16 16 16 0 0
0x97 24 DirectColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 0 0 0 0 0 0
0x98 24 DirectColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 16 16 16 16 0 0
0x99 24 DirectColor 0 32 0 rgba 0 0 8 8 8 8 0 24 8 0 0 0 0 0 0
0x9a 24 DirectColor 0 32 0 rgba 0 0 8 8 8 8 0 24 8 16 16 16 16 0 0
0x9b 24 DirectColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 0 0 0 0 0 0
0x9c 24 DirectColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 16 16 16 16 0 0
0x9d 24 DirectColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 0 0 0 0 0 0
0x9e 24 DirectColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 16 16 16 16 0 0
36 GLXFBConfigs:
Vis Vis Visual Trans buff lev render DB ste r g b a aux dep ste accum buffers MS MS
ID Depth Type parent size el type reo sz sz sz sz buf th ncl r g b a num bufs
----------------------------------------------------------------------------------------------------
0x57 0 TrueColor 0 32 0 rgba 0 0 8 8 8 8 0 0 0 0 0 0 0 0 0
0x58 0 TrueColor 0 32 0 rgba 0 0 8 8 8 8 0 0 0 16 16 16 16 0 0
0x59 0 TrueColor 0 32 0 rgba 1 0 8 8 8 8 0 0 0 0 0 0 0 0 0
0x5a 0 TrueColor 0 32 0 rgba 1 0 8 8 8 8 0 0 0 16 16 16 16 0 0
0x5b 0 TrueColor 0 32 0 rgba 1 0 8 8 8 8 0 0 0 0 0 0 0 0 0
0x5c 0 TrueColor 0 32 0 rgba 1 0 8 8 8 8 0 0 0 16 16 16 16 0 0
0x5d 0 TrueColor 0 32 0 rgba 0 0 8 8 8 8 0 24 8 0 0 0 0 0 0
0x5e 0 TrueColor 0 32 0 rgba 0 0 8 8 8 8 0 24 8 16 16 16 16 0 0
0x5f 0 TrueColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 0 0 0 0 0 0
0x60 0 TrueColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 16 16 16 16 0 0
0x61 0 TrueColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 0 0 0 0 0 0
0x62 0 TrueColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 16 16 16 16 0 0
0x63 0 TrueColor 0 32 0 rgba 0 0 8 8 8 8 0 24 8 0 0 0 0 0 0
0x64 0 TrueColor 0 32 0 rgba 0 0 8 8 8 8 0 24 8 16 16 16 16 0 0
0x65 0 TrueColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 0 0 0 0 0 0
0x66 0 TrueColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 16 16 16 16 0 0
0x67 0 TrueColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 0 0 0 0 0 0
0x68 0 TrueColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 16 16 16 16 0 0
0x69 0 DirectColor 0 32 0 rgba 0 0 8 8 8 8 0 0 0 0 0 0 0 0 0
0x6a 0 DirectColor 0 32 0 rgba 0 0 8 8 8 8 0 0 0 16 16 16 16 0 0
0x6b 0 DirectColor 0 32 0 rgba 1 0 8 8 8 8 0 0 0 0 0 0 0 0 0
0x6c 0 DirectColor 0 32 0 rgba 1 0 8 8 8 8 0 0 0 16 16 16 16 0 0
0x6d 0 DirectColor 0 32 0 rgba 1 0 8 8 8 8 0 0 0 0 0 0 0 0 0
0x6e 0 DirectColor 0 32 0 rgba 1 0 8 8 8 8 0 0 0 16 16 16 16 0 0
0x6f 0 DirectColor 0 32 0 rgba 0 0 8 8 8 8 0 24 8 0 0 0 0 0 0
0x70 0 DirectColor 0 32 0 rgba 0 0 8 8 8 8 0 24 8 16 16 16 16 0 0
0x71 0 DirectColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 0 0 0 0 0 0
0x72 0 DirectColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 16 16 16 16 0 0
0x73 0 DirectColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 0 0 0 0 0 0
0x74 0 DirectColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 16 16 16 16 0 0
0x75 0 DirectColor 0 32 0 rgba 0 0 8 8 8 8 0 24 8 0 0 0 0 0 0
0x76 0 DirectColor 0 32 0 rgba 0 0 8 8 8 8 0 24 8 16 16 16 16 0 0
0x77 0 DirectColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 0 0 0 0 0 0
0x78 0 DirectColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 16 16 16 16 0 0
0x79 0 DirectColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 0 0 0 0 0 0
0x7a 0 DirectColor 0 32 0 rgba 1 0 8 8 8 8 0 24 8 16 16 16 16 0 0
On Tue, 2007-11-20 at 00:31 -0500, Ben Gamari wrote:
> Hey all,
>
> In continuing my journey into the X server and supporting components,
> I've found a great number of references to color depths of various
> types. It seems that the problem I am presently encountering is that
> FBConfigs of the correct color depth (24 bits) are not being created.
> Presently, all 36 GLXFBConfigs created have a size of 32, e.g.
>
> 36 GLXFBConfigs:
> Vis Vis Visual Trans buff lev render DB ste r g b a aux dep ste accum buffers MS MS
> ID Depth Type parent size el type reo sz sz sz sz buf th ncl r g b a num bufs
> ----------------------------------------------------------------------------------------------------
> 0x57 0 TrueColor 0 32 0 rgba 0 0 8 8 8 8 0 0 0 0 0 0 0 0 0
> ...
>
> However, the i830 driver only allows Xorg to start when the default
> color depth is 24. If I override the default color depth to 32 in compiz
> (by adding a "defaultDepth = 32;" line right before the FBConfig check,
> approximately line 2170) compiz starts fine but is unable to map any of
> my windows to textures because they use 24 bit visuals.
>
> If I add 32 to the depth whitelist in xf86-video-intel (just for shits
> and giggles), the server comes back with a complain about inconsistent
> weights. All in all, the entire thing is quite perplexing, especially
> considering not so long ago things worked generally as they should.
>
> I can only conclude that something has a depth wrong. Are my
> GLXFBConfigs supposed to be 24 bits if my default depth is 24 bits?
> Should my windows by using 32-bit visuals? Under what types of "depths"
> take into account the alpha channel? There seems to be great
> inconsistency in convention here.
>
> Thanks again for your time,
>
> - Ben
> _______________________________________________
> xorg mailing list
> xorg at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/xorg
More information about the xorg
mailing list