Public bug reported:

I've been trying for 8+ hours to get the proper GPU drivers installed
for my Ubuntu 24.04 system. Neither the regular repos nor the Drivers
PPA work.

I've tried with 'ubuntu-drivers' and using APT (e.g. sudo apt install
nvidia-driver-570). I've purged and started over repeatedly. The only
combination that seems to work is the 550 driver, but I stubbornly tried
to upgrade this morning to 570 because ubuntu-drivers thinks that is the
correct choice for my hardware.

With a working system/install, I should get results from the nvidia-smi
command

At the moment, I have a driver/library version mismatch

cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module  550.144.03  Mon Dec 30 17:44:08 
UTC 2024
GCC version:

nvidia-smi
Failed to initialize NVML: Driver/library version mismatch
NVML library version: 570.133

lsb_release -rd
No LSB modules are available.
Description:    Ubuntu 24.04.2 LTS
Release:        24.04


sudo apt-cache policy linux-modules-nvidia-570-$(uname -r)
linux-modules-nvidia-570-6.8.0-60-generic:
  Installed: 6.8.0-60.63+1
  Candidate: 6.8.0-60.63+1
  Version table:
 *** 6.8.0-60.63+1 500
        500 http://us.archive.ubuntu.com/ubuntu noble-updates/restricted amd64 
Packages
        500 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 
Packages
        100 /var/lib/dpkg/status

sudo apt-cache policy nvidia-driver-570
nvidia-driver-570:
  Installed: 570.133.07-0ubuntu0.24.04.1
  Candidate: 570.133.07-0ubuntu0.24.04.1
  Version table:
 *** 570.133.07-0ubuntu0.24.04.1 500
        500 http://us.archive.ubuntu.com/ubuntu noble-updates/restricted amd64 
Packages
        500 http://security.ubuntu.com/ubuntu noble-security/restricted amd64 
Packages
        100 /var/lib/dpkg/status

Additional details of my misery might be described on my wiki at
https://wiki.freephile.org/wiki/Ollama/install

ProblemType: Package
DistroRelease: Ubuntu 24.04
Package: nvidia-dkms-570 570.133.07-0ubuntu0.24.04.1
ProcVersionSignature: Ubuntu 6.8.0-60.63-generic 6.8.12
Uname: Linux 6.8.0-60-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.28.1-0ubuntu3.7
Architecture: amd64
CasperMD5CheckResult: pass
Date: Thu Jun 19 13:06:54 2025
ErrorMessage: installed nvidia-dkms-570 package post-installation script 
subprocess returned error exit status 6
InstallationDate: Installed on 2024-07-03 (352 days ago)
InstallationMedia: Ubuntu 22.04.4 LTS "Jammy Jellyfish" - Release amd64 
(20240220)
Python3Details: /usr/bin/python3.12, Python 3.12.3, python3-minimal, 
3.12.3-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.22.6ubuntu6.1
 apt  2.8.3
SourcePackage: nvidia-graphics-drivers-570
Title: package nvidia-dkms-570 570.133.07-0ubuntu0.24.04.1 failed to 
install/upgrade: installed nvidia-dkms-570 package post-installation script 
subprocess returned error exit status 6
UpgradeStatus: Upgraded to noble on 2024-12-19 (182 days ago)

** Affects: nvidia-graphics-drivers-570 (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-package noble third-party-packages

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2115002

Title:
  nvidia-dkms-570 on 24.04.1 failed to install/upgrade returned error
  exit status 6

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/nvidia-graphics-drivers-570/+bug/2115002/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to