OpenSolaris

Printable Version Enter a New Search
Bug ID 6465198
Synopsis xdpyinfo shows incorrect extensions list on snv11_46
State 10-Fix Delivered (Fix available in build)
Category:Subcategory xserver:server_exts
Keywords "GLX" | GLX | Nevada | Ogl_install_check | cde | gnome | no-s9u9 | sx-doc
Responsible Engineer Stuart Kreitman
Reported Against snv_44
Duplicate Of
Introduced In
Commit to Fix snv_50
Fixed In snv_50
Release Fixed solaris_nevada(snv_50)
Related Bugs 6455566
Submit Date 29-August-2006
Last Update Date 16-January-2007
Description
Non-confidential data moved from comments to correct section:

GLX extension is missing in GNOME as well as when it is first login in CDE in Nevada OS.  It has been verified that the problem existed on Nevada build 45 and 46.  It is not sure if the problem existed before such builds because there's outstanding problems in Gnome which allowed testing opengl to be done only in CDE since.  When run xglinfo, FBPM extention is shown in replacement of GLX extension.  See below for more details. 
It may be due to mismapping in table index of extension in gnome.

Steps to Reproduce:
-------------------
On a Nevada 45/46, run: /usr/openwin/demo/GL/ogl_install_check.  To verify further, run /usr/openwin/demo/GL/xglinfo.

OGL Version
------------
 Sun OpenGL 1.5 patch 120812-11 for Solaris, libGL.so.1, sparc, June 16, 2006

Solaris Nevada snv_46 SPARC

# /usr/openwin/demo/GL/ogl*
Xlib:  extension "GLX" missing on display ":0.0".
/usr/openwin/demo/GL/sparcv9/ogl_install_check: glXChooseVisual Error: Can't find visual.


gfxsqa-58# cat /etc/release
                           Solaris Nevada snv_45 SPARC
           Copyright 2006 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                             Assembled 31 July 2006
gfxsqa-58# /usr/openwin/demo/GL/xgl* >& /home/ledatt/tmp/xgl_cde_nv45
gfxsqa-58# cat /home/ledatt/tmp/xgl_cde_nv45
Xlib:  extension "GLX" missing on display ":0.0".
================================= Display :0.0 =================================
name of display:        :0.0
version number:         11.0
vendor string:          Sun Microsystems, Inc.
vendor release:         6620
max request size:       262140 bytes
motion buffer size:     256
bitmap:                 unit = 32, bit order = MSBFirst, padding = 32
image byte order:       MSBFirst
keycode range:          minimum 8, maximum 254
focus window:           0x700014, revert to RevertToPointerRoot
default screen num:     0
number of screens:      1
pixmap formats:         4 total
                        depth  1, bits_per_pixel  1, scanline_pad 32
                        depth  8, bits_per_pixel  8, scanline_pad 32
                        depth 16, bits_per_pixel 16, scanline_pad 32
                        depth 24, bits_per_pixel 32, scanline_pad 32
Server Extensions:      33 total
                        Adobe-DPS-Extension, DPSExtension, SHAPE, 
                        Extended-Visual-Information, MIT-SHM, Multi-Buffering, 
                        XInputExtension, XInputDeviceEvents, XTEST, 
                        MIT-SUNDRY-NONSTANDARD, SolarisIA, SUN_DGA, SUN_OVL, 
                        SUN_ALLPLANES, SYNC, XC-MISC, RECORD, LBX, 
                        DOUBLE-BUFFER, XC-APPGROUP, SECURITY, TOG-CUP, XEVIE, 
                        SUN_SME, MIT-SCREEN-SAVER, AccessX, DPMS, FBPM, 
                        X-Resource, XFIXES, DAMAGE, DPMS, FBPM,
                                                          ^^^^
GLX Extension:          NONE
=================================== Screen 0 ===================================
screen:                 0
dimensions:             1280x1024 pixels (361x289 millimeters)
resolution:             90x90 dots per inch
depths:                 (2 total):       1, 24
root window id:         0x2d
depth of root window:   24 planes
number colormaps:       minimum 1, maximum 1
default colormap:       0x21, number colormap cells 256
preallocated pixels:    black 0x0, white 0xffffff
options:                backing-store YES, save-unders YES
input event mask:       0x38003f
                        KeyPress             KeyRelease           ButtonPress
                        ButtonRelease        EnterWindow          LeaveWindow
                        SubstructureNotify   SubstructureRedirect FocusChange
                        
=================== 1 Visuals for Screen 0 (default = 0x22) ===================
TrueColor visual: ID = 0x22 (hex) 34 (decimal), screen = 0, gamma = 2.22
  GL NOT SUPPORTED
  Core X: depth=24, colormapSize=256 RGB: masks=(0xff0000,0xff00,0xff) bits=8


AFTER LOG OUT and LOG BACK IN
------------------------------
gfxsqa-58# /usr/openwin/demo/GL/xglinfo
================================= Display :0.0 =================================
name of display:        :0.0
version number:         11.0
vendor string:          Sun Microsystems, Inc.
vendor release:         6620
max request size:       262140 bytes
motion buffer size:     256
bitmap:                 unit = 32, bit order = MSBFirst, padding = 32
image byte order:       MSBFirst
keycode range:          minimum 8, maximum 254
focus window:           0x800016, revert to RevertToPointerRoot
default screen num:     0
number of screens:      2
pixmap formats:         4 total
                        depth  1, bits_per_pixel  1, scanline_pad 32
                        depth  8, bits_per_pixel  8, scanline_pad 32
                        depth 16, bits_per_pixel 16, scanline_pad 32
                        depth 24, bits_per_pixel 32, scanline_pad 32
Server Extensions:      33 total
                        Adobe-DPS-Extension, DPSExtension, SHAPE, 
                        Extended-Visual-Information, MIT-SHM, Multi-Buffering, 
                        XInputExtension, XInputDeviceEvents, XTEST, 
                        MIT-SUNDRY-NONSTANDARD, SolarisIA, SUN_DGA, SUN_OVL, 
                        SUN_ALLPLANES, SYNC, XC-MISC, RECORD, LBX, 
                        DOUBLE-BUFFER, XC-APPGROUP, SECURITY, TOG-CUP, XEVIE, 
                        SUN_SME, MIT-SCREEN-SAVER, AccessX, DPMS, FBPM, 
                        X-Resource, XFIXES, DAMAGE, XIE, GLX, 
GLX Extension:          error base = 155, event base = 102, Version 1.3
=================================== Screen 0 ===================================
screen:                 0
dimensions:             1280x1024 pixels (361x289 millimeters)
resolution:             90x90 dots per inch
depths:                 (2 total):       1, 24
root window id:         0x48
depth of root window:   24 planes
number colormaps:       minimum 1, maximum 1
default colormap:       0x21, number colormap cells 256
preallocated pixels:    black 0x0, white 0xffffff
options:                backing-store YES, save-unders YES
input event mask:       0x38003f
                        KeyPress             KeyRelease           ButtonPress
                        ButtonRelease        EnterWindow          LeaveWindow
                        SubstructureNotify   SubstructureRedirect FocusChange
                        
=================== 1 Visuals for Screen 0 (default = 0x22) ===================
TrueColor visual: ID = 0x22 (hex) 34 (decimal), screen = 0, gamma = 2.22
  DOUBLE buffered MONO RGB visual with (Z Stencil Accum)
  GL Sizes: RGBA=(8,8,8,0), Z=32, Stencil=8, Accum=(16,16,16,16)
  number of sample buffers=0, samples per pixel =1
  Core X: depth=24, colormapSize=256 RGB: masks=(0xff0000,0xff00,0xff) bits=8

=================================== Screen 1 ===================================
screen:                 1
dimensions:             1280x1024 pixels (361x288 millimeters)
resolution:             90x90 dots per inch
depths:                 (3 total):       1, 8, 24
root window id:         0x4a
depth of root window:   8 planes
number colormaps:       minimum 1, maximum 2
default colormap:       0x35, number colormap cells 256
preallocated pixels:    black 0x1, white 0x0
options:                backing-store YES, save-unders YES
input event mask:       0x38003f
                        KeyPress             KeyRelease           ButtonPress
                        ButtonRelease        EnterWindow          LeaveWindow
                        SubstructureNotify   SubstructureRedirect FocusChange
                        
=================== 16 Visuals for Screen 1 (default = 0x23) ===================
PseudoColor visual: ID = 0x23 (hex) 35 (decimal), screen = 1, gamma = 2.22
  DOUBLE buffered MONO COLOR INDEX visual with (Z Stencil)
  GL Sizes: ColorIndex=8, Z=32, Stencil=8
  number of sample buffers=0, samples per pixel =1
  Core X: depth=8, colormapSize=256 

PseudoColor visual: ID = 0x24 (hex) 36 (decimal), screen = 1, gamma = 2.22
  SINGLE buffered MONO COLOR INDEX visual with (Z Stencil)
  GL Sizes: ColorIndex=8, Z=32, Stencil=8
  number of sample buffers=0, samples per pixel =1
  Core X: depth=8, colormapSize=256 

StaticColor visual: ID = 0x25 (hex) 37 (decimal), screen = 1, gamma = 2.22
  GL NOT SUPPORTED
  Core X: depth=8, colormapSize=256 

StaticGray visual: ID = 0x26 (hex) 38 (decimal), screen = 1, gamma = 2.22
  GL NOT SUPPORTED
  Core X: depth=8, colormapSize=256 

GrayScale visual: ID = 0x27 (hex) 39 (decimal), screen = 1, gamma = 2.22
  GL NOT SUPPORTED
  Core X: depth=8, colormapSize=256 

StaticGray visual: ID = 0x28 (hex) 40 (decimal), screen = 1, gamma = 2.22
  GL NOT SUPPORTED
  Core X: depth=8, colormapSize=256 

PseudoColor visual: ID = 0x31 (hex) 49 (decimal), screen = 1, gamma = 2.22
  OVERLAY(1) DOUBLE buffered MONO COLOR INDEX visual   GL Sizes: ColorIndex=8, 
  number of sample buffers=0, samples per pixel =1
  Core X: depth=8, colormapSize=255 

PseudoColor visual: ID = 0x32 (hex) 50 (decimal), screen = 1, gamma = 2.22
  OVERLAY(1) SINGLE buffered MONO COLOR INDEX visual   GL Sizes: ColorIndex=8, 
  number of sample buffers=0, samples per pixel =1
  Core X: depth=8, colormapSize=255 

TrueColor visual: ID = 0x29 (hex) 41 (decimal), screen = 1, gamma = 2.22
  DOUBLE buffered MONO RGB visual with (Z Stencil Accum)
  GL Sizes: RGBA=(8,8,8,0), Z=32, Stencil=8, Accum=(16,16,16,16)
  number of sample buffers=0, samples per pixel =1
  Core X: depth=24, colormapSize=256 RGB: masks=(0xff,0xff00,0xff0000) bits=8

TrueColor visual: ID = 0x2a (hex) 42 (decimal), screen = 1, gamma = 2.22
  SINGLE buffered MONO RGB visual with (Z Stencil Accum)
  GL Sizes: RGBA=(8,8,8,0), Z=32, Stencil=8, Accum=(16,16,16,16)
  number of sample buffers=0, samples per pixel =1
  Core X: depth=24, colormapSize=256 RGB: masks=(0xff,0xff00,0xff0000) bits=8

DirectColor visual: ID = 0x2b (hex) 43 (decimal), screen = 1, gamma = 2.22
  DOUBLE buffered MONO RGB visual with (Z Stencil Accum)
  GL Sizes: RGBA=(8,8,8,0), Z=32, Stencil=8, Accum=(16,16,16,16)
  number of sample buffers=0, samples per pixel =1
  Core X: depth=24, colormapSize=256 RGB: masks=(0xff,0xff00,0xff0000) bits=8

DirectColor visual: ID = 0x2c (hex) 44 (decimal), screen = 1, gamma = 2.22
  SINGLE buffered MONO RGB visual with (Z Stencil Accum)
  GL Sizes: RGBA=(8,8,8,0), Z=32, Stencil=8, Accum=(16,16,16,16)
  number of sample buffers=0, samples per pixel =1
  Core X: depth=24, colormapSize=256 RGB: masks=(0xff,0xff00,0xff0000) bits=8

TrueColor visual: ID = 0x2d (hex) 45 (decimal), screen = 1, gamma = 1.00
  DOUBLE buffered MONO RGB visual with (Alpha Z Stencil Accum)
  GL Sizes: RGBA=(8,8,8,8), Z=32, Stencil=8, Accum=(16,16,16,16)
  number of sample buffers=0, samples per pixel =1
  Core X: depth=24, colormapSize=256 RGB: masks=(0xff,0xff00,0xff0000) bits=8

TrueColor visual: ID = 0x2e (hex) 46 (decimal), screen = 1, gamma = 1.00
  SINGLE buffered MONO RGB visual with (Alpha Z Stencil Accum)
  GL Sizes: RGBA=(8,8,8,8), Z=32, Stencil=8, Accum=(16,16,16,16)
  number of sample buffers=0, samples per pixel =1
  Core X: depth=24, colormapSize=256 RGB: masks=(0xff,0xff00,0xff0000) bits=8

TrueColor visual: ID = 0x2f (hex) 47 (decimal), screen = 1, gamma = 1.00
  DOUBLE buffered MONO RGB visual with (Z Stencil Accum)
  GL Sizes: RGBA=(8,8,8,0), Z=32, Stencil=8, Accum=(16,16,16,16)
  number of sample buffers=0, samples per pixel =1
  Core X: depth=24, colormapSize=256 RGB: masks=(0xff,0xff00,0xff0000) bits=8

TrueColor visual: ID = 0x30 (hex) 48 (decimal), screen = 1, gamma = 1.00
  SINGLE buffered MONO RGB visual with (Z Stencil Accum)
  GL Sizes: RGBA=(8,8,8,0), Z=32, Stencil=8, Accum=(16,16,16,16)
  number of sample buffers=0, samples per pixel =1
  Core X: depth=24, colormapSize=256 RGB: masks=(0xff,0xff00,0xff0000) bits=8


# /usr/openwin/bin/xdpyinfo -queryExt
name of display:    :0.0
version number:    11.0
vendor string:    Sun Microsystems, Inc.
vendor release number:    6620
maximum request size:  262140 bytes
motion buffer size:  256
bitmap unit, bit order, padding:    32, MSBFirst, 32
image byte order:    MSBFirst
number of supported pixmap formats:    4
supported pixmap formats:
    depth 1, bits_per_pixel 1, scanline_pad 32
    depth 8, bits_per_pixel 8, scanline_pad 32
    depth 16, bits_per_pixel 16, scanline_pad 32
    depth 24, bits_per_pixel 32, scanline_pad 32
keycode range:    minimum 8, maximum 254
focus:  window 0x100009, revert to Parent
number of extensions:    33
    AccessX  (opcode: 151, base event: 93)
    Adobe-DPS-Extension  (opcode: 128, base event: 64, base error: 128)
    DAMAGE  (opcode: 156, base event: 96, base error: 147)
    DOUBLE-BUFFER  (opcode: 144, base error: 142)
    DPMS  (opcode: 152)
    DPSExtension  (opcode: 128, base event: 64, base error: 128)
    Extended-Visual-Information  (opcode: 130)
    FBPM  (opcode: 153)
    FBPM  (opcode: 153)
    LBX  (opcode: 143, base event: 88, base error: 141)
    MIT-SCREEN-SAVER  (opcode: 150, base event: 92)
    MIT-SHM  (opcode: 131, base event: 68, base error: 131)
    MIT-SUNDRY-NONSTANDARD  (opcode: 135)
    Multi-Buffering  (opcode: 132, base event: 69, base error: 132)
    RECORD  (opcode: 142, base error: 140)
    SECURITY  (opcode: 146, base event: 90, base error: 144)
    SHAPE  (opcode: 129, base event: 67)
    SUN_ALLPLANES  (opcode: 139)
    SUN_DGA  (opcode: 137)
    SUN_OVL  (opcode: 138)
    SUN_SME  (opcode: 149, base event: 91)
    SYNC  (opcode: 140, base event: 86, base error: 138)
    SolarisIA  (opcode: 136)
    TOG-CUP  (opcode: 147)
    X-Resource  (opcode: 154)
    XC-APPGROUP  (opcode: 145, base error: 143)
    XC-MISC  (opcode: 141)
    XEVIE  (opcode: 148)
    XFIXES  (opcode: 155, base event: 94, base error: 146)
    XIE  (opcode: 157, base event: 97, base error: 148)
    XInputDeviceEvents  (opcode: 133, base event: 71, base error: 133)
    XInputExtension  (opcode: 133, base event: 71, base error: 133)
    XTEST  (opcode: 134)
default screen number:    0
number of screens:    1

screen #0:
  dimensions:    1152x900 pixels (325x254 millimeters)
  resolution:    90x90 dots per inch
  depths (2):    1, 24
  root window id:    0x2d
  depth of root window:    24 planes
  number of colormaps:    minimum 1, maximum 1
  default colormap:    0x21
  default number of colormap cells:    256
  preallocated pixels:    black 0, white 16777215
  options:    backing-store YES, save-unders YES
  largest cursor:    64x64
  current input event mask:    0x38003f
    KeyPressMask             KeyReleaseMask           ButtonPressMask         
    ButtonReleaseMask        EnterWindowMask          LeaveWindowMask         
    SubstructureNotifyMask   SubstructureRedirectMask FocusChangeMask         
  number of visuals:    1
  default visual id:  0x22
  visual:
    visual id:    0x22
    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
# 

# cd /usr/openwin/demo/GL/sparcv9
# ldd ogl_install_check
        libsocket.so.1 =>        /lib/64/libsocket.so.1
        libnsl.so.1 =>   /lib/64/libnsl.so.1
        libXext.so.0 =>  /usr/openwin/lib/sparcv9/libXext.so.0
        libX11.so.4 =>   /usr/openwin/lib/sparcv9/libX11.so.4
        libGLU.so.1 =>   /usr/openwin/lib/sparcv9/libGLU.so.1
        libGL.so.1 =>    /usr/openwin/lib/sparcv9/libGL.so.1
        libm.so.1 =>     /lib/64/libm.so.1
        libc.so.1 =>     /lib/64/libc.so.1
        libmp.so.2 =>    /lib/64/libmp.so.2
        libmd.so.1 =>    /lib/64/libmd.so.1
        libscf.so.1 =>   /lib/64/libscf.so.1
        libXau.so.6 =>   /usr/lib/64/libXau.so.6
        libdl.so.1 =>    /lib/64/libdl.so.1
        libintl.so.1 =>  /lib/64/libintl.so.1
        libXmu.so.4 =>   /usr/openwin/lib/sparcv9/libXmu.so.4
        libdga.so.1 =>   /usr/openwin/lib/sparcv9/libdga.so.1
        libuutil.so.1 =>         /lib/64/libuutil.so.1
        libXt.so.4 =>    /usr/openwin/lib/sparcv9/libXt.so.4
        libSM.so.6 =>    /usr/openwin/lib/sparcv9/libSM.so.
libm.so.2 =>     /lib/64/libm.so.2
        /platform/SUNW,Sun-Fire-880/lib/sparcv9/libc_psr.so.1
        /platform/SUNW,Sun-Fire-880/lib/sparcv9/libmd_psr.so.1
# ldd ../sparcv7/ogl_install_check
        libsocket.so.1 =>        /lib/libsocket.so.1
        libnsl.so.1 =>   /lib/libnsl.so.1
        libXext.so.0 =>  /usr/openwin/lib/libXext.so.0
        libX11.so.4 =>   /usr/openwin/lib/libX11.so.4
        libGLU.so.1 =>   /usr/openwin/lib/libGLU.so.1
        libGL.so.1 =>    /usr/openwin/lib/libGL.so.1
        libm.so.1 =>     /lib/libm.so.1
        libc.so.1 =>     /lib/libc.so.1
        libmp.so.2 =>    /lib/libmp.so.2
        libmd.so.1 =>    /lib/libmd.so.1
        libscf.so.1 =>   /lib/libscf.so.1
        libXau.so.6 =>   /usr/openwin/lib/libXau.so.6
        libdl.so.1 =>    /lib/libdl.so.1
        libintl.so.1 =>  /lib/libintl.so.1
        libXmu.so.4 =>   /usr/openwin/lib/libXmu.so.4
        libdga.so.1 =>   /usr/openwin/lib/libdga.so.1
        libuutil.so.1 =>         /lib/libuutil.so.1
        libXt.so.4 =>    /usr/openwin/lib/libXt.so.4
        libSM.so.6 =>    /usr/openwin/lib/libSM.so.6
        libICE.so.6 =>   /usr/openwin/lib/libICE.so.6
        libm.so.2 =>     /lib/libm.so.2
        /platform/SUNW,Sun-Fire-880/lib/libc_psr.so.1
        /platform/SUNW,Sun-Fire-880/lib/libmd_psr.so.1

-------------------------------------
                           Solaris Nevada snv_46 SPARC
           Copyright 2006 Sun Microsystems, Inc.  All Rights Reserved.
                        Use is subject to license terms.
                            Assembled 14 August 2006

---------------------------------
Problem is intermittently reproduced in CDE with different login.
Work Around
N/A
Comments
N/A