2012/11/29 DRC <dcomman...@users.sourceforge.net>: > Re-read Chapters 8 and 9. vglconnect is used only for the VGL > Transport, which compresses the 3D images and forwards them to a remote > X server. That isn't what you want, and in fact, by also specifying '-c > proxy' as arguments to vglrun, you are bypassing the VGL Transport on > the server end and instead causing VirtualGL to send the 3D images > uncompressed to the remote X server, which definitely isn't what you want. > > You simply need to use the same vglrun command line you're using below, > but type it *after* you do 'export DISPLAY=localhost:1.0'. When using > the X11 Transport (-c proxy), VirtualGL basically causes the 3D app to > act like a 2D X11 app, so it uses DISPLAY the same way any X11 app would. >
Ok i think it is working correctly now, what i did is this: 1) start Xvfb instances: Xvfb :1 -screen 0 1024x768x24 -fbdir vfb_test/fbdir1 & Xvfb :2 -screen 0 1024x768x24 -fbdir vfb_test/fbdir2 & ... 2) start vglclients /opt/VirtualGL/bin/vglclient -display localhost:1.0 -port 4242 -detach /opt/VirtualGL/bin/vglclient -display localhost:2.0 -port 4243 -detach 3) start applications to be tested /opt/VirtualGL/bin/vglrun -cl localhost:4242 +v -c rgb -sp -fps 5.0 -- ../Downloads/VirtualGL-2.3.2/bin/glxspheres /opt/VirtualGL/bin/vglrun -cl localhost:4243 +v -c rgb -sp -fps 5.0 -- ../Downloads/VirtualGL-2.3.2/bin/glxgears which works great, as Xvfb renders each display successfully only thing that is worrying me is a message that the rendering context is indirect after i start glxspheres: $ /opt/VirtualGL/bin/vglrun -cl localhost:4242 +v -c rgb -sp -fps 5.0 -- ../Downloads/VirtualGL-2.3.2/bin/glxspheres Polygons in scene: 62464 [VGL] Shared memory segment ID for vglconfig: 1769493 [VGL] VirtualGL v2.3.2 64-bit (Build 20121128) [VGL] Opening local display :0 [VGL] NOTICE: Replacing dlopen("libGL.so.1") with dlopen("librrfaker.so") [VGL] NOTICE: Replacing dlopen("libGL.so.1") with dlopen("librrfaker.so") Visual ID of window: 0x23 [VGL] WARNING: The OpenGL rendering context obtained on X display [VGL] :0 is indirect, which may cause performance to suffer. [VGL] If :0 is a local X display, then the framebuffer device [VGL] permissions may be set incorrectly. Context is Indirect OpenGL Renderer: AMD Radeon HD 6800 Series [VGL] Using 1 / 8 CPU's for compression [VGL] Using synchronous readback (GL format = 0x1907) [VGL] Client version: 2.1 5.940935 frames/sec - 6.630083 Mpixels/sec 5.006409 frames/sec - 5.587152 Mpixels/sec any idea why i'm getting this message? does it mean that is not doing GPU rendering? thanks for your help so far! ------------------------------------------------------------------------------ Keep yourself connected to Go Parallel: BUILD Helping you discover the best ways to construct your parallel projects. http://goparallel.sourceforge.net _______________________________________________ VirtualGL-Users mailing list VirtualGL-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/virtualgl-users