NVIDIA AD106M (RTX 4070 Laptop GPU) Not Detected / Driver Installation Fails

hI,

I have been trying to figure out why nvidia driver 580 isn’t working, but haven’t been able to get it to work. After sudo apt install nvidia-driver-580-open, I reboot, and it gets stuck at manufacturer and ubuntu logo. I have to uninstall the driver to boot into system again. I have also verified that secure boot is disabled.

I have attached the logs for reference.

No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 24.04.3 LTS
Release:	24.04
Codename:	noble
lspci | grep VGA
64:00.0 VGA compatible controller: NVIDIA Corporation AD106M \[GeForce RTX 4070 Max-Q / Mobile\] (rev a1)
ubuntu-drivers devices
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
udevadm hwdb is deprecated. Use systemd-hwdb instead.
== /sys/devices/pci0000:00/0000:00:03.1/0000:64:00.0 ==
modalias : pci:v000010DEd00002820sv00001043sd00001E63bc03sc00i00
vendor   : NVIDIA Corporation
model    : AD106M \[GeForce RTX 4070 Max-Q / Mobile\]
driver   : nvidia-driver-570 - distro non-free
driver   : nvidia-driver-570-open - distro non-free
driver   : nvidia-driver-580 - distro non-free
driver   : nvidia-driver-535 - distro non-free
driver   : nvidia-driver-570-server-open - distro non-free
driver   : nvidia-driver-580-open - distro non-free recommended
driver   : nvidia-driver-535-server-open - distro non-free
driver   : nvidia-driver-580-server-open - distro non-free
driver   : nvidia-driver-535-open - distro non-free
driver   : nvidia-driver-580-server - distro non-free
driver   : nvidia-driver-535-server - distro non-free
driver   : nvidia-driver-570-server - distro non-free
driver   : xserver-xorg-video-nouveau - distro free builtin

After installing and checking nvidia smi returns the following

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.

nvidia-bug-report.log.gz (182.3 KB)

I am able to fix my issue. I had few things going on.

I had 6.16 kernel which is still in Mainline and probably doesn’t support 4070 yet(?). Even though I was booting into 6.14 kernel when installing 580 driver. it would always stuck at manufacturer/ubuntu logo.. Removing that kernel would let me boot into OS fine. But nvidia-smi would still not work, and my gpu wasn’t detected.

So I ran the following:

sudo apt purge '^nvidia-.*'
sudo apt autoremove
sudo rm -rf /var/lib/nvidia /var/run/nvidia* /etc/X11/xorg.conf
sudo apt update
sudo ubuntu-drivers install

which installed 580 open driver. Rebooted into OS, checked nvidia-smi, checked system informaiton and could see gpu was detected and working.

Hi @silentflyerdani , the 6.16 kernel should work with r580. Please help to attach a bug report here if you see any issues whenever you upgrade the kernel.

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.