We are working on ESC with Windows 10. We launched a python file from a virtual environment with praview. The program returned an error:
“(84.017s) [paraview ]vtkWin32OpenGLRenderWin:680 ERR| vtkWin32OpenGLRenderWindow (000001A32F152970): failed to get wglChoosePixelFormatARB
( 84.021s) [paraview ]vtkWin32OpenGLRenderWin:758 ERR| vtkWin32OpenGLRenderWindow (000001A32F152970): failed to get valid pixel format.
( 84.024s) [paraview ]vtkOpenGLRenderWindow.c:475 ERR| vtkWin32OpenGLRenderWindow (000001A32F152970): GLEW could not be initialized: Missing GL version
( 87.073s) [paraview ]vtkWin32OpenGLRenderWin:680 ERR| vtkWin32OpenGLRenderWindow (000001A32F153910): failed to get wglChoosePixelFormatARB
( 87.087s) [paraview ]vtkWin32OpenGLRenderWin:758 ERR| vtkWin32OpenGLRenderWindow (000001A32F153910): failed to get valid pixel format.
( 87.093s) [paraview ]vtkOpenGLRenderWindow.c:475 ERR| vtkWin32OpenGLRenderWindow (000001A32F153910): GLEW could not be initialized: Missing GL version”
To check, we installed paraview 5.11.0 on ECS.
The program opens, but then closes with this window:
Please tell me what to do?
Are you running in WSL ?
No, we use clear Window
And I forgot to attach a screenshot
What is that ?
from a virtual environment
What do you mean ?
we use clear Window
What is clear Window ?
Instead of “virual environment” I should say “IDE”
And when we ran our python file on our laptops (they have Windows on them), it was executed without errors.
Now we are running it on ECS (elastic cloud server). The server has Windows 10 operating system, and we don’t use WSL
(clear Windows == Windows without using WSL, I mean)
Thanks for understanding
You probably do not have support for OpenGL rendering. You have three solutions:
- Switch to linux and use our EGL or OSMESA release
- Compile OSMESA or EGL paraview on your server yourself
- Somehow enable OpenGL rendering on your ECS windows server
Thanks!
Maybe you can also tell me what it means to “compile OSMESA” and how to do it. I have not been able to get information about it.
Some info here: Complete compilation of Paraview (Readers+OSmesa+Python) - #3 by Captain_Convergence
Thank you for your help!
Switching to Linux