nvidia-detect shows both my geforce and my tesla. Recommends nvidia-driver. According to this:
https://wiki.debian.org/NvidiaGraphicsDrivers
tesla drivers are supposedly included with the debian 10 nvidia-driver.
I install this, reboot, I'm on 418. nvidia-smi -L doesn't show the tesla. nvidia-detect shows it.
So I try to install the nvidia-tesla-418-driver from backports. Doing this causes the "regular" 470 driver to get installed from backports. What? Why? Reboot, nvidia-smi -L still doesn't show the tesla.
Ok, maybe the tesla driver version number has to match the "regular" driver version?
Code: Select all
sudo apt install -t buster-backports nvidia-tesla-470-driver
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
nvidia-tesla-470-driver : Depends: nvidia-tesla-470-driver-libs (= 470.141.03-1~deb11u1~bpo10+1) but it is not going to be installed
Depends: nvidia-tesla-470-driver-bin (= 470.141.03-1~deb11u1~bpo10+1) but it is not going to be installed
Depends: xserver-xorg-video-nvidia-tesla-470 (= 470.141.03-1~deb11u1~bpo10+1) but it is not going to be installed
Depends: nvidia-tesla-470-kernel-dkms (= 470.141.03-1~deb11u1~bpo10+1) but it is not going to be installed or
nvidia-tesla-470-kernel-470.141.03
E: Unable to correct problems, you have held broken packages.
I go through dependency hell, purge every nvidia package, and install *only* tesla drivers, ie, nvidia-tesla-470-driver etc. Reboot. Now xorg won't start.
I go back and forth five more times, stepping through every permutation, although it seems like I can't get nvidia-driver and nvidia-tesla-470-driver installed at the same time due to conflicting packages.
Does the geforce driver include the tesla driver? Does the tesla driver include the geforce driver? Do I need both even though they are in conflict?
How do I get this working? What combination of packages is needed here?
I want xorg to work as usual with my geforce, and I want to use the tesla for cuda. And occasionally the geforce for cuda also. 470 driver version for both would be nice.