How to get OpenGL version on headless server

Hi Everyone,

I am using headless servers with T4 and 450 branch in AWS.

I’m looking for a way to get OpenGL / EGL info via terminal.

Headless rendering = X is not installed so:

$ nvidia-settings -eglinfo
ERROR: Unable to find display on any available system
$ nvidia-settings -glxinfo
ERROR: Unable to find display on any available system

Secretly I’m well aware version is 3.2.

I’m looking for any command that can provide additional info and confirmation without altering the system.