Hello fellow virtualgl users.

I have had great luck getting virtualgl running in the past on Ubuntu,
but with Ubuntu 12.04 I seem to be having trouble.

I know one change is that 12.04 uses lightdm instead of gdm by
default, although I have switched my install to use gdm, but that
still didn't seem to do it.

OpenGL 3D works great with the proprietary NVIDIA driver on the local
console of the machine.  My steps were:

$ wget 
http://downloads.sourceforge.net/project/virtualgl/VirtualGL/2.3.1/virtualgl_2.3.1_i386.deb
$ wget 
http://downloads.sourceforge.net/project/virtualgl/TurboVNC/1.1/turbovnc_1.1_i386.deb
$ sudo dpkg -i turbovnc_1.1_i386.deb
$ sudo dpkg -i virtualgl_2.3.1_i386.deb
$ sudo stop gdm
$ sudo /opt/VirtualGL/bin/vglserver_config -config +s +f -t
... Creating /etc/modprobe.d/virtualgl.conf to set requested permissions for
    /dev/nvidia* ...
... Attempting to remove nvidia module from memory so device permissions
    will be reloaded ...
... Granting write permission to /dev/nvidia0 /dev/nvidiactl for all users ...
... Modifying /etc/X11/xorg.conf to enable DRI permissions for
    all users ...
... Adding xhost +LOCAL: to /etc/gdm/Init/Default script ...

Done. You must restart the display manager for the changes to take effect.

$ sudo start gdm

$ /opt/TurboVNC/bin/vncserver

New 'X' desktop is cymsint10.lab.cyanoptics.com:1

Starting applications specified in /home/buildslave/.vnc/xstartup.turbovnc
Log file is /home/buildslave/.vnc/cymsint10.lab.cyanoptics.com:1.log

$ export DISPLAY=:1
$ /opt/VirtualGL/bin/vglrun +v -d unix:1 /opt/VirtualGL/bin/glxspheres
[VGL] NOTICE: Replacing dlopen("/lib/i386-linux-gnu/libdl.so.2") with
dlopen("libdlfaker.so")
Polygons in scene: 62464
[VGL] Shared memory segment ID for vglconfig: 294915
[VGL] VirtualGL v2.3.1 32-bit (Build 20120612)
[VGL] Opening local display unix:1
Xlib:  extension "GLX" missing on display "unix:1".
[VGL] WARNING: VirtualGL attempted and failed to obtain a Pbuffer-enabled
[VGL]    24-bit visual on the 3D X server unix:1.  This is normal if
[VGL]    the 3D application is probing for visuals with certain capabilities,
[VGL]    but if the app fails to start, then make sure that the 3D X server is
[VGL]    configured for 24-bit color and has accelerated 3D drivers installed.
ERROR (593): Could not obtain RGB visual with requested properties


Can someone offer advice on debugging?  In the past when I have seen
this it was a result of not having the NVIDIA driver properly running,
but I think it is OK this time.  I am happy to dig deep, I just need
pointers as to how to turn up logging / which logs to look at.

Thank you.

-Paul

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
VirtualGL-Users mailing list
VirtualGL-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtualgl-users

Reply via email to