Public bug reported:

On Ubuntu 24.04 LTS (and Linux Mint 22 based on it), the nvidia-driver-470 
package has an incorrect dependency that forces the installation of 
nvidia-driver-535, which is incompatible with legacy Kepler architecture GPUs 
like the GeForce GT 710.
Hardware Affected:
NVIDIA GeForce GT 710 (GK208B architecture)
Likely affects all Kepler architecture GPUs: GT 730, GT 640, GTX 650, GTX 660, 
GTX 670, GTX 680
System Information:
OS: Ubuntu 24.04 LTS (Noble Numbat) / Linux Mint 22 (Wilma)
Kernel: 6.8.0-124-generic
Architecture: x86_64
Steps to Reproduce:
Fresh installation of Ubuntu 24.04 LTS
Hardware: NVIDIA GeForce GT 710 (or any Kepler GPU)
Open terminal and run:

sudo apt update
sudo apt install nvidia-driver-470
Expected Behavior:
The system should install only the nvidia-driver-470 package and its correct 
dependencies.
Actual Behavior:
The package manager attempts to install nvidia-driver-535 as a dependency, 
which is incompatible with Kepler GPUs. This causes:
Display resolution locked at 640x480
NVIDIA driver fails to load
System falls back to generic VESA/fbdev driver
Diagnostic Commands and Output:
Check driver status:

$ nvidia-smi
NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. 
Make sure that the latest NVIDIA driver is installed and running.

Check kernel messages:

$ dmesg | grep -i nvidia | tail -20
NVRM: The NVIDIA GeForce GT 710 GPU installed in this system is
       supported through the NVIDIA 470.xx Legacy drivers. Please
       visit http://www.nvidia.com/object/unix.html for more
       information.  The 535.309.01 NVIDIA driver will ignore
       this GPU.
NVRM: No NVIDIA GPU found.

Check package dependencies:

$ apt policy nvidia-driver-470
Installed: (none)
Candidate: 470.256.02-0ubuntu0.24.04.5
Version table:
   470.256.02-0ubuntu0.24.04.5 500
        500 http://archive.ubuntu.com/ubuntu noble-updates/restricted amd64 
Packages

Check DKMS status

$ dkms status
nvidia/535.309.01, 6.8.0-124-generic, x86_64: installed

$ dkms status
nvidia/535.309.01, 6.8.0-124-generic, x86_64: installed

Note: The system compiled the 535 driver instead of 470.

Impact:
Users with legacy Kepler GPUs cannot install the correct driver via apt
System becomes unusable with locked 640x480 resolution
No hardware acceleration for video playback or desktop effects
Forces users to manual driver installation from NVIDIA's website
Workaround:
Manual installation of the driver from NVIDIA's official website:

# 1. Install prerequisites
sudo apt update
sudo apt install build-essential linux-headers-$(uname -r) dkms

# 2. Blacklist nouveau driver
echo "blacklist nouveau" | sudo tee 
/etc/modprobe.d/blacklist-nvidia-nouveau.conf
echo "options nouveau modeset=0" | sudo tee -a 
/etc/modprobe.d/blacklist-nvidia-nouveau.conf
sudo update-initramfs -u
sudo reboot

# 3. Download driver (version 470.256.02 for Kepler)
wget 
https://us.download.nvidia.com/XFree86/Linux-x86_64/470.256.02/NVIDIA-Linux-x86_64-470.256.02.run

# 4. Stop display manager and install
sudo systemctl stop lightdm
sudo chmod +x NVIDIA-Linux-x86_64-470.256.02.run
sudo ./NVIDIA-Linux-x86_64-470.256.02.run

# 5. Restart
sudo systemctl start lightdm

Suggested Fix:
Review the package dependencies for nvidia-driver-470 in the Ubuntu 24.04 
repositories. The package should not depend on nvidia-driver-535 as they are 
mutually exclusive for different GPU architectures.
Additional Notes:
This issue affects users upgrading from previous Ubuntu versions where the 
correct driver was automatically detected
The NVIDIA Driver Manager GUI in Linux Mint also fails to properly handle this 
scenario
Users must ignore NVIDIA-related updates in the Update Manager after manual 
installation to avoid conflicts

** Affects: ubuntu
     Importance: Undecided
         Status: New

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

Title:
  nvidia-driver-470 package has incorrect dependency on nvidia-
  driver-535 for Kepler GPUs

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+bug/2155363/+subscriptions


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

Reply via email to