-
Notifications
You must be signed in to change notification settings - Fork 53
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Black screen with VNC on remote CentOS7, "Window type not found" through X11 #112
Comments
When running xshell + xmanager, can you run a simple OpenGL program like When running in vncviewer, when you get a black window, can you try pressing the |
glxgears does work. I also use matlab through x11 and it's been working well. |
It probably won't make a difference, but another thing to try is resizing the window, that fixes similar issues for me on Mac. @QiangWei-Wade, are you open to trying the new OpenGL version from #66? We are about to merge that anyway... Tzanio |
Hi Tzanio, Thanks for your reply. Resizing the window does not work. I tried to compile the new OpenGL version from #66 and it gave me the following errors. Did some quick googling without luck. MFEM was compiled with intel compiler 2016. I tried 2016 and 2020 for Glvis and they gave the same complaints. Wade mpiicpc -O3 -std=c++11 -I../mfem-4.1 -I../mfem-4.1/../hypre/src/hypre/include -DGLVIS_MULTISAMPLE=4 -DGLVIS_MS_LINEWIDTH=1.4 -DGLVIS_OGL3 -I/usr/include/freetype2 -I/usr/include -I/usr/include -I/usr/include -I/usr/include -DGLVIS_USE_LIBPNG -o lib/threads.o -c lib/threads.cpp |
@kanye-quest do you have any suggestions for ☝️ |
According to https://stackoverflow.com/questions/12530406/#12665408, it seems that regex is only partially implemented with GCC 4.8.5, whose standard library your copy of ICC is using. Full support for C++11 regexes is only available on GCC 4.9. You should be able to provide a path to an updated version of gcc when running icpc with the |
@QiangWei-Wade were you able to build and try the new version? (Note: this will soon be in |
Sorry for the late reply. I compiled glvis 3.4 with gcc 9.3 that was readily available, on the same server as was described above. It's now able to present me with a plot although it's black and white only (not colored). Still black screen through vnc. I also compiled the new version with gcc 9.3. It compiles. However it still got stuck at "creating window" through x11. Under VNC, it throughs out an error about GLEW (Missing GL version). Please advise if there's anything else to play with... Best, --------(x11, glvis-3.4)---------
_/ // _/ _/ _/ _/ // The requested multisample mode is not available. Multisampling disabled. Element numbering disabled when #elements > 1000 --------(x11)---------
_/ // _/ _/ _/ _/ // Waiting for data on port 19916 ... --------(vnc)--------- |
What is the output when you run |
With VNC: glvis-upstream-modern-ogl-dev$glxinfo 240 GLX Visuals
|
With x11: (My desktop is intel i7-7700 with integrated graphics only. Not sure where the Nvidia comes from in the output...) 12 GLX Visuals
|
So it looks as if your VNC setup actually might not support OpenGL, given that the OpenGL vendor and version string fields are all blank. What happens when you run Regarding your X11 forwarded setup, Windows seems to be giving a "GDI Generic" as the vendor string, which normally indicates that OpenGL drivers aren't installed. However, this could also be something caused by the specific X server implementation being used. Which X server are you using on Windows? |
Absolutely spot on suspecting individual x server implemntation. The above info/errors happened with xshell+xmanager 6 (black&white with glvis 3.4+gcc9, stuck at creating window without specific errors). I tried xshell 6+xming latest and glvis 3.4+gcc9 was able to print out colored contours, although the dev version of glvis with new opengl inplementation still refuses to create a window. Error message below: Creating window...FATAL: window and/or OpenGL context creation failed. |
xshell6+xming: glvis-upstream-modern-ogl-dev$glxinfo 32 GLX Visuals |
glxgears shows a black window through VNC so there does seem to be something wrong with it OpenGL support. Here's the vncserver And VNC Viewer 5.20.529 (5/29/2020) on the client side. |
@kanye-quest, can you follow-up on this? |
Hi @QiangWei-Wade , I pushed some changes which should allow the modern OpenGL branch to start up on the Xming X server. I'd recommend trying out VcXsrv; I tried it out with a WSL setup and it seems to run glvis properly. It seems to be actively maintained, as a bonus. |
Closing as resolved; if you still have issues with starting up glvis feel free to make a new issue. |
Hi everyone,
I am new to glvis and after compiling on a Xeon V4 CentOS 7 remote server, I ran ./glvis in xshell with default x11 forwarding to xmananger. It would not output any image but rather throws out errors below, after executing ./ex1 -m ../data/square-disc.mesh in a different window.
Waiting for data on port 19916 ...
The requested multisample mode is not available. Multisampling disabled.
Window type not found!
Initializing the visualization failed.
I tried using vncviewer to connect to tigervnc server. This time ./glvis runs but executing ./ex1 -m ../data/square-disc.mesh outputs nothing but a black screen. Screenshot here.
https://pkueducn-my.sharepoint.com/:i:/g/personal/wadew_pku_edu_cn/EUhyr54Q95pOu_wiufrgYDkBDCh-xIxGIPQBSS8D2Ihbbw?e=QxNaPd
Uncommenting GL_OPTS = -I$(X11_DIR)/include -DGLVIS_GLX10 did not work.
Please help, thanks.
Wade
The text was updated successfully, but these errors were encountered: