I'm trying to run OpenGL on headless ubuntu server.
- GPU / Driver : NVIDIA Geforce GTX 1080Ti / version 418.67
- Using
freeglut
(installed by runningapt install freeglut3-dev
) - Using
Xvfb
(Since it is a headless server.)
When I run glxinfo | grep "OpenGL version"
, it says OpenGL version string: 3.1 Mesa 19.2.8
. So, I am unable to run a code that requires OpenGL 3.3.
Since driver 418.67 is not latest, I could consider updating the driver, but I wanted to make sure if this could do something with Xvfb
. Can using Xvfb
can effect the driver and the OpenGL version it supports when I make a gl context with Xvfb
running? Or it has nothing to do with it and only thing I can do is updating the driver?
glut
. (pythonOpenGL.GLUT
). Is it possible to use headless EGL context easily with the code written withglut
? Or could you point me to more information about the second option (regular Xorg server without display and input devices) ? Thank you for your response! – Gastropod