UNIX Graphics Drivers

Check

sudo lshw -c video

  *-display                        description: VGA compatible controller       product: GF100GL [Quadro 6000]       vendor: NVIDIA Corporation       physical id: 0       bus info: pci@0000:05:00.0       version: a3       width: 64 bits       clock: 33MHz       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom       configuration: driver=nvidia latency=0       resources: irq:61 memory:dc000000-ddffffff memory:e0000000-e7ffffff memory:e8000000-ebffffff ioport:a000(size=128) memory:c0000-dffff  *-graphics       product: EFI VGA       physical id: 2       logical name: /dev/fb0       capabilities: fb       configuration: depth=32 resolution=800,600

glxinfo -B

glxinfo is part of mesa-utils. To install use...sudo apt install mesa-utils
name of display: :1display: :1  screen: 0direct rendering: YesMemory info (GL_NVX_gpu_memory_info):    Dedicated video memory: 6144 MB    Total available memory: 6144 MB    Currently available dedicated video memory: 5175 MBOpenGL vendor string: NVIDIA CorporationOpenGL renderer string: Quadro 6000/PCIe/SSE2OpenGL core profile version string: 4.6.0 NVIDIA 390.157OpenGL core profile shading language version string: 4.60 NVIDIAOpenGL core profile context flags: (none)OpenGL core profile profile mask: core profile
OpenGL version string: 4.6.0 NVIDIA 390.157OpenGL shading language version string: 4.60 NVIDIAOpenGL context flags: (none)OpenGL profile mask: (none)
OpenGL ES profile version string: OpenGL ES 3.2 NVIDIA 390.157OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.20

lspci -nn | grep -E 'VGA|Display'

05:00.0 VGA compatible controller [0300]: NVIDIA Corporation GF100GL [Quadro 6000] [10de:06d8] (rev a3)

nvidia-smi

Mon Mar 20 08:43:57 2023       +-----------------------------------------------------------------------------+| NVIDIA-SMI 390.157                Driver Version: 390.157                   ||-------------------------------+----------------------+----------------------+| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC || Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. ||===============================+======================+======================||   0  Quadro 6000         Off  | 00000000:05:00.0  On |                  Off || 35%   84C    P8    N/A /  N/A |   1108MiB /  6065MiB |     22%      Default |+-------------------------------+----------------------+----------------------+                                                                               +-----------------------------------------------------------------------------+| Processes:                                                       GPU Memory ||  GPU       PID   Type   Process name                             Usage      ||=============================================================================||    0      5740      G   /usr/lib/xorg/Xorg                           237MiB ||    0      5911      G   /usr/bin/gnome-shell                         241MiB ||    0     29708      G   ...108944750663,8747736283936019652,131072   537MiB ||    0    738494      G   /snap/firefox/2391/usr/lib/firefox/firefox    44MiB |+-----------------------------------------------------------------------------+

ubuntu-drivers devices

== /sys/devices/pci0000:00/0000:00:03.0/0000:05:00.0 ==modalias : pci:v000010DEd000006D8sv0000103Csd0000076Fbc03sc00i00vendor   : NVIDIA Corporationmodel    : GF100GL [Quadro 6000]driver   : nvidia-driver-390 - distro non-free recommendeddriver   : xserver-xorg-video-nouveau - distro free builtin

Launch the "Additional Drivers" application to see which driver is active...

Bibliography