-c proxy is designed for use with an X proxy (such as TurboVNC, the X
proxy we produce), so it's not surprising that it performs poorly over a
remote connection. X proxies act as virtual X servers, so they are
designed to be run on the same machine as VirtualGL. As such, -c proxy
sends the rendered frames from VirtualGL to the X server using
XShmPutImage(), so the frames are not compressed in any way.
Check the vglconnect log (in {home directory}/.vgl/ on the client
machine) and see whether vglclient actually received a connection from
the server. If it didn't, then I would suspect that you need to open
port 4242 in the client's firewall. This is one of many reasons why X
proxies are the most popular way of running VirtualGL these days, but I
acknowledge that the VGL Transport still has its uses and is the most
straightforward way of running VirtualGL if you are already using a
remote X environment with a client-side X server.
DRC
On 2/20/19 6:43 AM, ulsch wrote:
> Hello VGL-team,
>
> currently i am setting up a environment where virtualgl remotely on a
> workstation renders and sends the data to a client. So the typical VGL
> application without any fancy constellation or hardware. For this I use
> the latest VGL version 2.6.1.
> Client1: Linux Ubuntu 18.04
> Client2: Windows 10 with Linux Ubuntu 18.04 wsl and vcxsrv X server
> Workstation: Linux Ubuntu 18.04, nvidia quadro
>
> The connection can be established via vglconnect but a VGLrun only works
> via vglrun -c proxy <executable> which leads to quite low frame rates.
>
> * vglrun +pr +v -c proxy /opt/VirtualGL/bin/glxspheres64*
> /[VGL] NOTICE: Automatically setting VGL_CLIENT environment variable to/
> /[VGL] xxxxxxxx, the IP address of your SSH client./
> /Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)/
> /[VGL] Shared memory segment ID for vglconfig: 48562541/
> /[VGL] VirtualGL v2.6.1 64-bit (Build 20190101)/
> /[VGL] Opening connection to 3D X server :0/
> /Visual ID of window: 0x21/
> /Context is Direct/
> /[VGL] Using Pbuffers for rendering/
> /OpenGL Renderer: llvmpipe (LLVM 6.0, 256 bits)/
> /[FBX] WARNING: MIT-SHM extension not available. Will use X pixmap/
> /[FBX] drawing instead./
> /[VGL] Using pixel buffer objects for readback (BGR --> BGRA)/
> /[VGL] NOTICE: PBO readback is not behaving asynchronously. Disabling
> PBOs./
> /[VGL] This could be due to a mismatch between the readback pixel format/
> /[VGL] (BGRA) and the Pbuffer pixel format (BGR)./
> /[VGL] Try setting VGL_FORCEALPHA=1./
> /Readback - 176.59 Mpixels/sec- 158.23 fps/
> /13.330503 frames/sec - 14.876841 Mpixels/sec/
> /Blit - 15.38 Mpixels/sec- 13.78 fps/
> /Total - 14.66 Mpixels/sec- 13.14 fps/
> /Readback - 184.28 Mpixels/sec- 165.13 fps/
> /15.410686 frames/sec - 17.198325 Mpixels/sec/
> /Blit - 15.00 Mpixels/sec- 13.44 fps/
> /Total - 14.96 Mpixels/sec- 13.41 fps/
> /Readback - 184.09 Mpixels/sec- 164.95 fps/
> /15.084290 frames/sec - 16.834067 Mpixels/sec/
> /Blit - 16.52 Mpixels/sec- 14.80 fps/
> /Total - 15.89 Mpixels/sec- 14.24 fps/
> /Readback - 187.55 Mpixels/sec- 168.06 fps/
> /14.632749 frames/sec - 16.330148 Mpixels/sec/
> /Blit - 15.11 Mpixels/sec- 13.54 fps/
> /Total - 14.91 Mpixels/sec- 13.36 fps/
> /Readback - 187.72 Mpixels/sec- 168.21 fps/
>
> using vglrun with compression (-c jpeg) it gets stuck and aborts with a
> timeout
>
> *vglrun +pr +v +tr -c jpeg /opt/VirtualGL/bin/glxspheres64*
> /[VGL] NOTICE: Automatically setting VGL_CLIENT environment variable to/
> /[VGL] xxxxxxxxxxx , the IP address of your SSH client./
> /Polygons in scene: 62464 (61 spheres * 1024 polys/spheres)/
> /VGL] Shared memory segment ID for cfconfig: 48529773/
> /[VGL] VirtualGL v2.6.1 64-bit (Build 20190101)/
> /[VGL] Opening connection to 3D X server :0/
> /Visual ID of window: 0x21/
> /Context is Direct/
> /[VGL] Using Pbuffers for rendering/
> /OpenGL Renderer: llvmpipe (LLVM 6.0, 256 bits)/
> /.../
> /VGL 0xf512f740] glXSwapBuffers (dpy=0x01f70930(localhost:21.0)
> drawable=0x00280002 [VGL] /
> /ERROR: Could not connect to VGL client. Make sure that cfclient is/
> /[VGL] running and that either the DISPLAY or VGL_CLIENT environment/
> /[VGL] variable points to the machine on which cfclient is running./
> /[VGL] ERROR: in connect--/
> /[VGL] 283: Connection timed out/
>
>
> VGL_CLIENT variable is not set
> DISPLAY is automatically set to /localhost:21.0/
> /
> /
> In another comparable environment this runs the virtualGL transmission
> with compression error free with frame rates in the range of 50-60fps
> which allows a smooth working on the client side. Unfortunately I have
> no clue what caused this error. i'd be happy to get some hints and help
> about that
--
You received this message because you are subscribed to the Google Groups
"VirtualGL User Discussion/Support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/virtualgl-users/af61f3a4-2a8c-3270-2f69-b2c9acccdd40%40virtualgl.org.
For more options, visit https://groups.google.com/d/optout.