I tried to set up a Google Compute Engine with Ubuntu 20.4 using GPU Grid drivers ( NVIDIA Tesla P100 Virtual Workstation). Since I need CUDA 10.2 for my project which requires TensorFlow 1.15 I installed this GPU Grid driver as recommended on Google Cloud document site and here is the result.
NVIDIA-SMI 440.87 Driver Version: 440.87 CUDA Version: 10.2
I supposed that NVIDIA Tesla P100 supports Opengl 4.5 as it is mentioned on Tesla release notes. However, after connecting to this VM with a visual remote connection (I used NoMachine), I ran this command [glxinfo | grep "OpenGL"] to double-check, it showed OpenGL version 1.4 only
OpenGL vendor string: Mesa Project
OpenGL renderer string: Software Rasterizer
OpenGL version string: 1.4 (2.1 Mesa 13.0.2)
OpenGL extensions:
The problem is that the application I am trying to run on this VM (Carla simulator) requires Opengl 4.3++, I just wonder if there is any way to upgrade Opengl to version 4.3?
glxinfo
output may not be relevant at all because the NVIDIA driver is not the driver in use for the current session. You may need to change NoMachine configuration, or preload a library for the NVIDIA driver to get your software to use the actual hardware. The NVIDIA GPU may also be detected as a secondary video card since the VM hypervisor may also expose some kind of virtual video device as the primary for booting. – Romen