Closed anonymous09 closed 7 years ago
Hi! Any ideas? Also I tried TigerVNC, it works as expected but slow.
Sorry about that. I thought I had already replied, but I guess the comment didn't post for some reason. The first thing that stands out is the fact that VirtualGL is trying to use :1 as the 3D X server. That is unusual and not the default. Did you alter the VGL_DISPLAY
environment variable? The 3D X server, which is defined by VGL_DISPLAY
(default :0.0), should be the X server to which the GPU is attached. If that is in fact :1, then so be it, but otherwise, you have set VGL_DISPLAY
incorrectly. The second problem seems to be a fundamental misunderstanding of what VirtualGL does. It redirects 3D rendering from an X server without a GPU to an X server with a GPU, then reads back the 3D images in real time and displays them using X11 PutImage commands. There is no point to doing this unless the 3D X server has hardware-accelerated OpenGL. Since you are using Mesa on the 3D X server, OpenGL is at best only partially accelerated. That could be another source of the error message. VirtualGL will display that error if the 3D X server doesn't support Pbuffers, which is sometimes the case with Mesa.
To make a long story short:
VGL_DISPLAY
should point to the X server that has a GPU attached.Closing due to lack of response from submitter.
Also, to answer your question about X.org logs, TurboVNC prints all messages from X.org to the VNC log file (~/.vnc/{machine_name}:{display}.log). You can get a bit more information by passing -verbose
on the vncserver command line (this is passed to Xvnc, which causes it to print all X.org warnings, errors, and messages.)
Many thanks for such a clear explanation! Problem has been in misunderstanded and changed VGL_DISPLAY.
Now all works fine.
Good day! I can't run applications via TurboVNC+VirtualGL when vncserver started in tty or pty.
I have two computers: SERVER (PC)
CLIENT (Notebook)
What works:
Running directly on SERVER. I log in KDE5 (Plasma 2), and run:
All OK.
Running vncserver on existing real X-session and run apps on real X-server. I log in KDE5 (Plasma 2), and run:
All OK.
What doesn't works:
What I miss? How I can read Xorg-logs from Xvnc? How I can enable debugging info for Xorg and so? What additional information I need post or actions I need perform?