Hi all,
I’m having serious trouble getting my NVIDIA GTX 760 working on Ubuntu 24.04. I’ve been trying for hours and I’m stuck. Here’s the situation:
Hardware:
-
NVIDIA GTX 760 (GK104)
-
Integrated GPU: none
-
Ubuntu 24.04, kernel 6.14.0-29-generic (default)
-
Attempted mainline kernel 6.8.12-060812-generic
What I’ve tried:
-
Disabled Nouveau via
/etc/modprobe.d/blacklist-nouveau.conf. -
Installed NVIDIA driver 470.256.02 via
apt. -
Installed mainline kernel 6.8.12 (thought maybe older kernel would compile driver).
-
Tried
dkms buildanddkms autoinstallfor NVIDIA 470.256.02. -
Ran
sudo nvidia-xconfigto generate/etc/X11/xorg.conf. -
Checked modules via
lsmodanddkms status. Nouveau is blacklisted, DKMS showsadded.
Current behavior:
-
Booting into kernel 6.8.12-060812 sometimes hangs at
Loading initial ramdisk... -
Booting into kernel 6.14.0-29 gives low-resolution graphics,
nvidia-smifails:NVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. OpenGL renderer: llvmpipe (LLVM 20.1.2, 256 bits) -
prime-select nvidiafails: no integrated GPU detected. -
glxinfoshows llvmpipe (software renderer). -
Attempted
sudo modprobe nvidiareturns “Module not found”.
Installed packages:
nvidia-driver-470, nvidia-utils-470, nvidia-dkms-470, xserver-xorg-video-nvidia-470, nvidia-settings
Questions:
-
Why is the DKMS module failing to build?
-
How can I get NVIDIA 470 working on Ubuntu 24.04 reliably?
-
Is the mainline kernel necessary, or can I fix it on the default 6.14 kernel?
-
How do I avoid being stuck in low-resolution mode or hung boots?
Any help or guidance would be massively appreciated. I’m happy to provide logs (/var/log/Xorg.0.log, dmesg, dkms build logs) if needed.
Thanks!