How can I find out the version of NVIDIA driver that I have running on my on CentOS 8 system?
I do not have the nvidia-smi command on my system.
How can I find out the version of NVIDIA driver that I have running on my on CentOS 8 system?
I do not have the nvidia-smi command on my system.
modinfo nvidia |grep version
modinfo: ERROR: Module nvidia not found
On the other hand, I did run the following:
$ sudo lshw -class display
[sudo] password for achesir:
*-display
description: VGA compatible controller
product: GP104GLM [Quadro P3200 Mobile]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:01:00.0
version: a1
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
configuration: driver=nouveau latency=0
resources: irq:135 memory:b4000000-b4ffffff memory:70000000-7fffffff memory:80000000-81ffffff ioport:3000(size=128) memory:b5000000-b507ffff
*-display
description: VGA compatible controller
product: Intel Corporation
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 00
width: 64 bits
clock: 33MHz
capabilities: pciexpress msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:134 memory:b3000000-b3ffffff memory:60000000-6fffffff ioport:4000(size=64) memory:c0000-dffff
The reason I want to know the NVIDIA driver that I am using is to be able to run the “–uninstall” option usingthe appropriate *.run file, and then install the latest NVIDIA driver for my NVIDIA card in my laptop, so that I can then install the CUDA drivers to run on that NVIDIA card.
You can just use the latest .run installer version for that, it uninstalls any lower version.
ls /usr/lib64/libGLX_nvidia*
should give you the version when no kernel driver is installed.