title: Does using Xvfb to run OpenGL effects version?
body: <p>I'm trying to run OpenGL on headless ubuntu server.</p>
  
  <ul>
  <li>GPU / Driver : NVIDIA Geforce GTX 1080Ti / version 418.67</li>
  <li>Using <code>freeglut</code> (installed by running <code>apt install freeglut3-dev</code>)</li>
  <li>Using <code>Xvfb</code> (Since it is a headless server.)</li>
  </ul>
  
  <p>When I run <code>glxinfo | grep "OpenGL version"</code>, it says <code>OpenGL version string: 3.1 Mesa 19.2.8</code>. So, I am unable to run a code that requires OpenGL 3.3.</p>
  
  <p>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 <code>Xvfb</code>. Can using <code>Xvfb</code> can effect the driver and the OpenGL version it supports when I make a gl context with <code>Xvfb</code> running? Or it has nothing to do with it and only thing I can do is updating the driver?</p>