I am having some trouble uninstalling an older Nvidia driver on Proxmox (v7.1-12). I previously installed driver v470 using a run file from Nvidia’s website and its been working fine. I do however want to update the driver as this one is very old.
I first tried to uninstall the driver using the run file (had to redownload that specific version as I deleted the old one) using ./NVIDIA-Linux-x86_64-470.103.01.run -uninstall but the installer shows the following :
There is no NVIDIA driver currently installed.
I then downloaded the latest driver (v535) which shows
The NVIDIA driver appears to have been installed previously using a different installer. To prevent potential conflicts, it is recommended either to update the existing installation
using the same mechanism by which it was originally installed, or to uninstall the existing installation before installing this driver.
Please review the message provided by the maintainer of this alternate installation method and decide how to proceed:
and if I select continue installation it shows
if you want to use the nvidia-installer please uninstall the Debian packages first. The two methods of installation cannot be used at the same time.
Running nvidia-smi shows the following
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.103.01 Driver Version: 470.103.01 CUDA Version: 11.4 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 Quadro P400 Off | 00000000:0F:00.0 Off | N/A |
| 30% 42C P0 N/A / N/A | 0MiB / 1998MiB | 0% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
+-----------------------------------------------------------------------------+
I’m not sure what else I can try to update the driver.
I should add that as far as I can remember I haven’t installed any debian packages for Nvidia.
Your memory fooled you, you installed the driver from debian repo, not using the runfile.
The debian 11 repo only provides drivers up to 470, so if you want to upgrade, you’ll either have to use an additional repo (e.g. the nvidia cuda repo) or the runfile installer with --dkms option. In any case, you’ll have to uninstall/purge the installed driver first using apt.