Theoretically, it can be done by granting Machine3 access to VGLServer's
root display and manipulating VGL_DISPLAY accordingly.  For instance, I
sometimes tunnel the 3D commands over SSH for the purposes of testing
VirtualGL inside virtual machines that don't have adequate graphics
capabilities to act as VGL servers (or you could simply open up TCP
access to Machine3's X server and xhost +VGLServer.)  However, all of
the above is going to perform like a dog.

The problem is that Machine3 has to send the OpenGL/GLX calls to
VGLServer using Indirect OpenGL rendering, which means that all of the
3D data (textures, geometry, etc.) are sent over the network, and
uncompressed images are read back from VGLServer to Machine3.  See the
Background article on VirtualGL.org for more info on why indirect OpenGL
rendering is bad.  VirtualGL is designed to be a direct rendering
solution, meaning that the 3D application really needs to run on the
same machine as the graphics card.

In your case, what I think you really want to do is run a TurboVNC
session on Machine3, run VirtualGL on VGLServer, and stream the output
of VirtualGL through the TurboVNC session.  The User's Guide describes
how to do that.

On 8/5/11 1:24 PM, Yushu Yao wrote:
> Dear Experts,
> 
> I'm really a beginner and I have the following use case.
> 
> VGL Client: A mac Lion. 
> VGL Server: with GPU and running VGL 2.2.1 (x)
> 
> I can run vglconnect+vglrun+glxsphere with no problem (and get a framecount 
> related to network bandwidth, is that normal?).
> 
> My question is: if I have a third machine (called Machine3), can I run a 3D 
> app (like glxgears) on Machine3, render its GLX calls on "VGL Server" and 
> stream the output to "VGL Client".
> 
> I Tried, vglrun ssh -X -Y Machine3 inside a vglconnect session, and it 
> doesn't work.
> 
> Any suggestion on how to do this (or explain if this is possible at all) will 
> be greatly appreciated.
> 
> Thanks
> 
> -Yushu

------------------------------------------------------------------------------
BlackBerry® DevCon Americas, Oct. 18-20, San Francisco, CA
The must-attend event for mobile developers. Connect with experts. 
Get tools for creating Super Apps. See the latest technologies.
Sessions, hands-on labs, demos & much more. Register early & save!
http://p.sf.net/sfu/rim-blackberry-1
_______________________________________________
VirtualGL-Users mailing list
VirtualGL-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/virtualgl-users

Reply via email to