Trouble getting 4060ti to initialize on ubuntu24

I am having trouble getting my new 4060ti to work on ubuntu24. I have tried using both the drivers that come bundled with ubuntu (ubuntu-drivers cli command) and installing them directly with the .run files. My machine does not have trouble seeing that a 4060ti is plugged into my machine however no matter what I do the output of
nvidia-smi is “No devices were found”

I have tried a few driver versions: 535, 550, 560, 565
All of them seem to have the same outcome for me

lspci | grep -i nvidia;
08:00.0 VGA compatible controller: NVIDIA Corporation AD106 [GeForce RTX 4060 Ti] (rev a1)
08:00.1 Audio device: NVIDIA Corporation Device 22bd (rev a1)

ubuntu-drivers devices;
== /sys/devices/pci0000:00/0000:00:03.1/0000:08:00.0 ==
modalias : pci:v000010DEd00002803sv00001043sd0000898Dbc03sc00i00
vendor : NVIDIA Corporation
model : AD106 [GeForce RTX 4060 Ti]
manual_install: True
driver : nvidia-driver-535-open - third-party non-free
driver : nvidia-driver-565 - third-party non-free
driver : nvidia-driver-565-open - third-party non-free
driver : nvidia-driver-545 - third-party non-free
driver : nvidia-driver-550 - third-party non-free
driver : nvidia-driver-560 - third-party non-free recommended
driver : nvidia-driver-535-server - distro non-free
driver : nvidia-driver-545-open - third-party non-free
driver : nvidia-driver-560-open - third-party non-free
driver : nvidia-driver-535-server-open - distro non-free
driver : nvidia-driver-535 - third-party non-free
driver : nvidia-driver-550-open - third-party non-free
driver : xserver-xorg-video-nouveau - distro free builtin

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

Hi Trevor, please describe specifically how you attempted to install the nvidia driver, i.e. which commands you utilized, and please describe the desktop environment, you are attempting to use with nvidia, as well as your kernel version shown by uname -a

It’s a common issue that the driver and kernel provided by debian/ubuntu do not work together, for a few different reasons. Generally the kernel updates, and the driver doesn’t, and so people installing on a tuesday, will get a broken nvidia install, and everyone else that had already installed everything the previous week have everything working.

This is why, for me personally I started managing my own kernel, and nvidia driver outside of apt, a year ago, and have never had problems with it since.

I did not read your bug report log, but if you provide the general information I outlined above, we can help you get the driver working quickly.

You generally want to follow instructions for making things work on linux, as opposed to merely attempting to use the prescribed methods by distributions, especially when it comes to graphics drivers.

There is a fair amount of complexity involved here. For ubuntu, sometimes you can rely on the software manager gui, and use the drivers menu, to install the nvidia driver appropriately, but sometimes these are incompatible with the currently installed kernel, and they will not work.

Here’s instructions I just looked up for you,

sudo add-apt-repository ppa:graphics-drivers/ppa

sudo apt update

sudo apt install -y nvidia-driver-550

I’m surprised you got ubuntu to even boot with nvidia honestly, since it defaults to wayland, on the default installation cd, and gnome, you must actually use nomodeset on the kernel command line to even get the live cd installer to work, and then append it again after installation, in order to boot ubuntu for the first time, and then figure out how to install the nvidia driver, in order to use your system normally, with your graphics card.(which even includes learning how to change your display server from wayland, to X11 O.O )
(unless you chose to use one of the alternate desktop environment versions of ubuntu)

It might actually be the case, now that I have reminded myself of all the relevant problems to the experience you are having, that simply switching display servers from wayland to X11, will suddenly, let the nvidia driver start working normally.

It is often times the case, that the nvidia driver can fail to work, while we use the wayland display server, and the workarounds, reasons for this situation, differ based on all the different versions of the whole compilation of system components you have.

The best solution, for users of the nvidia graphics card, is to log out of your desktop environment, to the login menu, and click the options menu to switch to X11, instead of wayland, that option for you might look like a choice between gnome on wayland, and gnome, and in that case X11 would the gnome option.

After you have chosen x11 as your display server of choice, and logged in, that will be the default for you, and you can finally use your computer with the nvidia graphics card/driver normally.

Also if you want to get it working with wayland, we can give you instructions to do that too. You basically need people that understand what is happening, and have experience with all of these issues I’ve outlined above for example, to actually fix these problems.

Also, since you are speaking with a real human being, if you have any other questions at all, now would be the time to ask them.

Thanks for the reply.

please describe specifically how you attempted to install the nvidia driver, i.e. which commands you utilized,

I have tried a few different ways, before every time I reinstalled the drivers I ran the following commands to start fresh:

sudo apt autoremove nvidia* --purge;
nvidia-uninstall
reboot

To install I have tried the following
installing through ubuntu-drivers:
ubuntu-drivers install recommended

installing through apt:
apt install nvidia-driver-550 (I have tried many versions not just 550)

installing directly from nvidia:
wget http://international.download.nvidia.com/XFree86/Linux-x86_64/560.35.03/NVIDIA-Linux-x86_64-560.35.03.run
bash NVIDIA-Linux-x86_64-560.35.03.run

please describe the desktop environment

I am sshing into my machine mostly. I think it does have the default desktop environment installed though but it does not work correctly with the messed up drivers. This is a server though so I don’t care much about the desktop environment,

uname -a

Linux hostname 6.8.0-51-generic #52-Ubuntu SMP PREEMPT_DYNAMIC Thu Dec 5 13:09:44 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux

Here’s instructions I just looked up for you,

I already have this ppa added and have ran these/similar commands but no success.

I’m surprised you got ubuntu to even boot with nvidia honestly, since it defaults to wayland, on the default installation cd, and gnome, you must actually use nomodeset on the kernel command line to even get the live cd installer to work, and then append it again after installation, in order to boot ubuntu for the first time, and then figure out how to install the nvidia driver, in order to use your system normally, with your graphics card.(which even includes learning how to change your display server from wayland, to X11 O.O )
(unless you chose to use one of the alternate desktop environment versions of ubuntu)

It is not a new installation of ubuntu, I have historically used an intel gpu in this server that works great. I am looking to switch it out for reasons. This was a ubuntu server installation and sometime along the line I installed a desktop environment for whatever reason but I do not use it.

Additional info: I just popped the 4060ti into another with windows installed and it worked fine out of the box on there which makes me think the GPU itself is fine.

Since you are using ubuntu as a remote server installation, you are going to want to look up the unique instructions for getting it to work there.

Everything I outlined above applies to the standard local install, and the default ubuntu installation cd, on a local computer. I don’t have experience installing the driver on a remote server, but understand it requires unique considerations in that case.

So again to reiterate, you will want to search for something like this:

“How to install the nvidia driver on an ubuntu server remotely”