12-16-2020, 07:51 AM
(12-16-2020, 06:01 AM)sagher Wrote: Hello all experts...!
I have a question about basic Hardware info of VPS server, we got simply CPU info my putting this "
Code: (Select All)cat /proc/cpuinfo
but GPU info and OpenGL version not mention in this info. can anyone have working command to check GPU server info. size memory of GPU card if any?
For the OpenGL version:
Code: (Select All)
$ glxinfo | grep "OpenGL version"
OpenGL version string: 3.0 Mesa 20.2.4
OR, with more info:
Code: (Select All)
$ glxinfo | grep "OpenGL"
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 2500 (IVB GT1)
OpenGL core profile version string: 4.2 (Core Profile) Mesa 20.2.4
OpenGL core profile shading language version string: 4.20
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 20.2.4
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL extensions:
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 20.2.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
OpenGL ES profile extensions:
For the GPU unit:
Code: (Select All)
$ glxinfo | grep 'OpenGL renderer string'
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 2500 (IVB GT1)
OR, with more verbosity:
Code: (Select All)
$ glxinfo -B
name of display: :0
display: :0 screen: 0
direct rendering: Yes
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Intel Open Source Technology Center (0x8086)
Device: Mesa DRI Intel(R) HD Graphics 2500 (IVB GT1) (0x152)
Version: 20.2.4
Accelerated: yes
Video memory: 1536MB
Unified memory: yes
Preferred profile: core (0x1)
Max core profile version: 4.2
Max compat profile version: 3.0
Max GLES1 profile version: 1.1
Max GLES[23] profile version: 3.0
OpenGL vendor string: Intel Open Source Technology Center
OpenGL renderer string: Mesa DRI Intel(R) HD Graphics 2500 (IVB GT1)
OpenGL core profile version string: 4.2 (Core Profile) Mesa 20.2.4
OpenGL core profile shading language version string: 4.20
OpenGL core profile context flags: (none)
OpenGL core profile profile mask: core profile
OpenGL version string: 3.0 Mesa 20.2.4
OpenGL shading language version string: 1.30
OpenGL context flags: (none)
OpenGL ES profile version string: OpenGL ES 3.0 Mesa 20.2.4
OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00
If you don't have glxinfo in your system, then install the glx-utils package if you're on CentOS/Fedora systems, or the equivalent on the other distros.
Otherwise, use the standard lshw command:
Code: (Select All)
sudo lshw -numeric -C display