Comment 0 for bug 2023042

Revision history for this message
Francis Ginther (fginther) wrote : "Driver/library version mismatch" when installing open and proprietary drivers concurrently

Installing "nvidia-driver-525-open" followed by "nvidia-headless-no-dkms-525 linux-modules-nvidia-525-gcp nvidia-utils-525" led to a system which complained about a "Driver/library version mismatch". Specifically what was done is:

Deploy a clean google VM with:

gcloud compute instances create fginther-kinetic-gpgpu-525 --image-project ubuntu-os-cloud --image-family ubuntu-2210-amd64 --machine-type n1-standard-4 --boot-disk-size=32GB --accelerator type=nvidia-tesla-t4,count=1 --maintenance-policy TERMINATE --restart-on-failure

Enable kinetic-proposed (this was done with the 525.116.04-0ubuntu0.22.10.1 driver package).

Install the 525-open driver first:

apt-get install -y nvidia-driver-525-open

Then install the proprietary driver:

apt-get install nvidia-headless-no-dkms-525 linux-modules-nvidia-525-gcp nvidia-utils-525

After rebooting, "nvidia-smi" complained of the driver/library mismatch:

ubuntu@fginther-kinetic-gpgpu-525:~$ nvidia-smi
Failed to initialize NVML: Driver/library version mismatch

The /var/log/apt/history.log is attached which details the packages installed and removed.