Not having accelerated 3D drivers installed is the most obvious cause of
that VirtualGL error message.  Just because GLX exists doesn't mean that
Pbuffers are available.  In general, you have to install the vendor
drivers for the 3D graphics card in order to get Pbuffers.  The output
of '/opt/VirtualGL/bin/glxinfo -display :0 -c' will tell you whether or
not any Pbuffer visuals exist (look for a 'P' in the last column on any
of the visuals.)

Jose Rodriguez wrote:
> I'm trying to get this working but I don't see where the problem is. I
> didn't have any *dm so I installed one to be sure that there is a
> 'real' X server running. Then I started vncserver from
> /opt/TurboVNC/bin:
> 
> ps aux | grep X
> 
> root      2251  0.2  2.8  13012  7144 tty7     Ss+  19:33   0:03
> /usr/bin/X11/X -nolisten tcp -auth /var/run/slim.auth vt07
> 
> jose      2667  0.1  3.2  12288  8036 pts/1    S<   19:45   0:01
> ./Xvnc :1 -desktop X -httpd ./../vnc/classes -auth
> /home/jose/.Xauthority -dontdisconnect -geometry 400x300 -depth 24
> -rfbwait 120000 -rfbauth /home/jose/.vnc/passwd -rfbport 5901 -fp
> /usr/share/fonts/X11//misc,/usr/share/fonts/X11//75dpi,/usr/share/fonts/X11//100dpi,/usr/share/fonts/X11//Type1
> -co /usr/share/X11/rgb -deferupdate 1
> 
> 
> xdpyinfo -display :0
> 
> name of display:    :0.0
> version number:    11.0
> vendor string:    The X.Org Foundation
> vendor release number:    10605000
> X.Org version: 1.6.5
> 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 0xa00025, revert to None
> number of extensions:    26
>     BIG-REQUESTS
>     Composite
> DAMAGE
>     DOUBLE-BUFFER
>     DPMS
>     DRI2
>     GLX
>     Generic Event Extension
>     MIT-SCREEN-SAVER
>     MIT-SHM
>     RANDR
>     RECORD
>     RENDER
>     SGI-GLX
>     SHAPE
>     SYNC
>     X-Resource
>     XC-MISC
>     XFIXES
>     XFree86-DGA
>     XFree86-VidModeExtension
>     XINERAMA
>     XInputExtension
>     XKEYBOARD
>     XTEST
>     XVideo
> default screen number:    0
> number of screens:    1
> 
> screen #0:
>   dimensions:    1024x768 pixels (270x203 millimeters)
>   resolution:    96x96 dots per inch
>   depths (7):    24, 1, 4, 8, 15, 16, 32
>   root window id:    0xfd
>   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:    0x30801d
>     KeyPressMask             ButtonPressMask          ButtonReleaseMask
>     EnterWindowMask          ExposureMask             SubstructureRedirectMask
>     FocusChangeMask
>   number of visuals:    72
> 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
> [...]
> 
> 
> xdpyinfo -display :1
> 
> name of display:    :1.0
> version number:    11.0
> vendor string:    AT&T Laboratories Cambridge
> vendor release number:    3332
> 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:    2
> supported pixmap formats:
>     depth 1, bits_per_pixel 1, scanline_pad 32
>     depth 24, bits_per_pixel 32, scanline_pad 32
> keycode range:    minimum 8, maximum 255
> focus:  window 0x1000012, revert to Parent
> number of extensions:    7
>     BIG-REQUESTS
>     MIT-SHM
>     MIT-SUNDRY-NONSTANDARD
>     SHAPE
>     SYNC
>     XC-MISC
>     XTEST
> default screen number:    0
> number of screens:    1
> 
> screen #0:
>   dimensions:    400x300 pixels (135x102 millimeters)
>   resolution:    75x75 dots per inch
>   depths (1):    24
>   root window id:    0x25
>   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:    400x300
>   current input event mask:    0x30801d
>     KeyPressMask             ButtonPressMask          ButtonReleaseMask
>     EnterWindowMask          ExposureMask             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
> 
> 
> When I try /opt/VirtualGL/bin/vglrun glxgears I obtain:
> 
> [VGL] WARNING: VirtualGL attempted and failed to obtain a Pbuffer-enabled
> [VGL]    24-bit visual on the 3D X server :0.  If the application
> [VGL]    subsequently fails, then make sure that the 3D X server is configured
> [VGL]    for 24-bit color and has accelerated 3D drivers installed.
> 
> 
> I have checked and apparently the card supports pbuffers...so I'm stuck.
> 
> Regards
> 
> Jose
> 
> 
> 
> 
> 
> 
> 2009/11/19 Jose Rodriguez <[email protected]>:
>> Hello.
>>
>> I have the same problem that somebody on this list had some months
>> ago. Specifically, when I try to run a 3D application with vglrun, it
>> complains about missing the "GLX" extension. From the logs and
>> comments posted in that past thread I believe that VNC is running as X
>> display :0, and that I have to make sure that instead I have an X
>> server with 3D capabilities running on :0, and a VNC session in
>> another display. I can fire up a 'real' X server (with 3D) if I do it
>> locally on the machine I'm using as a server, but I guess this is not
>> what I have to do--and it doesn't help me much, in any case.
>>
>> I would appreciate any help you could provide.
>>
>> Regards
>>
>> Jose
>>
> 
> ------------------------------------------------------------------------------
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
> trial. Simplify your report design, integration and deployment - and focus on 
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> _______________________________________________
> VirtualGL-Users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/virtualgl-users

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
VirtualGL-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/virtualgl-users

Reply via email to