RTX 4070 NVIDIA driver, NVIDIA not updating their CUDA repo?

Hi,

I want to use nvidia-driver-530 deb package. NVIDIA driver 530.41.03 is required for RTX 4070. However, for some reason, NVIDIA is not updating their CUDA repo with NVIDIA driver 530.41.03, and it is stuck on 530.30.02 (seems to be all the way back February 23) which does not support the RTX 4070?

Do we know when or if NVIDIA will update this repo? Here is the URL: Index of /compute/cuda/repos/ubuntu2204/x86_64

Here is the command I would normally use: apt install nvidia-dkms-530 nvidia-driver-530 nvidia-kernel-common-530 nvidia-kernel-source-530 cuda-11-7 cuda-runtime-11-7 cuda-drivers -y

I am getting this:

nvidia-driver-530:
  Installed: 530.30.02-0ubuntu1
  Candidate: 530.30.02-0ubuntu1
  Version table:
 *** 530.30.02-0ubuntu1 600
        600 https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64  Packages
        100 /var/lib/dpkg/status

Are there any other repos/ppas for me to try? Have NVIDIA just not bothered generating deb files for driver 530.41.03 even though it came out back in March?

I would love to try out some games with my new RTX 4070 but I also would like to keep my stable diffusion setup working, also the driver being able to survive kernel updates (nvidia dkms) is really nice too.

1 Like

I managed to find a workaround to get my RTX 4070 working on Ubuntu 22.04 before NVIDIA updates their CUDA repos if they ever do, and it seems to even work with CUDA support too.

I found the deb files here: amd64 build of nvidia-graphics-drivers-530 530.41.03-0ubuntu0.23... : Proprietary GPU Drivers : “Graphics Drivers” team and I was able to manually install them, like so:

sudo apt install '/home/ken/Desktop/nvidia 530.41.03 drivers/libnvidia-cfg1-530_530.41.03-0ubuntu0.23.04.1~gpu4_amd64.deb' '/home/ken/Desktop/nvidia 530.41.03 drivers/libnvidia-gl-530_530.41.03-0ubuntu0.23.04.1~gpu4_amd64.deb' '/home/ken/Desktop/nvidia 530.41.03 drivers/nvidia-kernel-common-530_530.41.03-0ubuntu0.23.04.1~gpu4_amd64.deb' '/home/ken/Desktop/nvidia 530.41.03 drivers/nvidia-utils-530_530.41.03-0ubuntu0.23.04.1~gpu4_amd64.deb' '/home/ken/Desktop/nvidia 530.41.03 drivers/nvidia-compute-utils-530_530.41.03-0ubuntu0.23.04.1~gpu4_amd64.deb' '/home/ken/Desktop/nvidia 530.41.03 drivers/libnvidia-compute-530_530.41.03-0ubuntu0.23.04.1~gpu4_amd64.deb' '/home/ken/Desktop/nvidia 530.41.03 drivers/libnvidia-fbc1-530_530.41.03-0ubuntu0.23.04.1~gpu4_amd64.deb' '/home/ken/Desktop/nvidia 530.41.03 drivers/libnvidia-extra-530_530.41.03-0ubuntu0.23.04.1~gpu4_amd64.deb' '/home/ken/Desktop/nvidia 530.41.03 drivers/libnvidia-decode-530_530.41.03-0ubuntu0.23.04.1~gpu4_amd64.deb' '/home/ken/Desktop/nvidia 530.41.03 drivers/libnvidia-encode-530_530.41.03-0ubuntu0.23.04.1~gpu4_amd64.deb' '/home/ken/Desktop/nvidia 530.41.03 drivers/libnvidia-common-530_530.41.03-0ubuntu0.23.04.1~gpu4_all.deb' '/home/ken/Desktop/nvidia 530.41.03 drivers/xserver-xorg-video-nvidia-530_530.41.03-0ubuntu0.23.04.1~gpu4_amd64.deb' '/home/ken/Desktop/nvidia 530.41.03 drivers/nvidia-kernel-source-530_530.41.03-0ubuntu0.23.04.1~gpu4_amd64.deb' '/home/ken/Desktop/nvidia 530.41.03 drivers/nvidia-driver-530_530.41.03-0ubuntu0.23.04.1~gpu4_amd64.deb' '/home/ken/Desktop/nvidia 530.41.03 drivers/nvidia-dkms-530_530.41.03-0ubuntu0.23.04.1~gpu4_amd64.deb'

After that, I was able to install cuda like usual, and mark it for hold:

sudo apt install cuda=11.7.0-1; sudo apt-mark hold cuda

I seem to be able to use CUDA in my ML applications that use it like I normally do.

Hopefully someone finds this helpful. I will mark this as a solution since it solves my issue until NVIDIA updates their repo, if they ever do.

Edit 1: As generix said, don’t install cuda manually, it’s better to install a specific version, like I did with this:

sudo apt install cuda-11-7 cuda-toolkit-11-7

This ensures the proper version of cuda and the toolkit is installed without having to manually mark it for hold. This seems to work very well for me.

1 Like

The documented, clean way to do this is install the driver from distro repo or ppa, then just install the “cuda-toolkit” metapackage instead of “cuda”, or “cuda-toolkit-12-0” for a specific, fixed version.

1 Like

That’s pretty interesting and good to know about cuda-toolkit.

In terms of my workaround though, I did not have much of a choice.

The command apt-cache policy nvidia-driver-530 only shows 530.30.02 available to me, not 530.41.03, since 530.41.03 only seems to have binaries in graphics-drivers PPA for Ubuntu 23.04 and I am on Ubuntu 22.04. That is why I had to do my dirty workaround which seems to be working perfectly for me.

1 Like

Just a bit of an update:

In order for Wine 32-bit games to work, I needed to install libnvidia-gl-530:i386. However, there are not Ubuntu 23.04 i386 NVIDIA 530.41.03 binaries available from the link I posted earlier.

I needed to instead manually install all of these files, like so:
sudo apt install ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/libnvidia-gl-530_530.41.03-0ubuntu0.22.04.2_i386.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/nvidia-kernel-source-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/nvidia-kernel-common-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/xserver-xorg-video-nvidia-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/nvidia-utils-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/nvidia-driver-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/libnvidia-gl-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/nvidia-dkms-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/nvidia-compute-utils-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/libnvidia-fbc1-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/libnvidia-extra-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/libnvidia-compute-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/libnvidia-encode-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/libnvidia-decode-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/libnvidia-common-530_530.41.03-0ubuntu0.22.04.2_all.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/libnvidia-cfg1-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/nvidia-kernel-source-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/nvidia-kernel-common-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/xserver-xorg-video-nvidia-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/nvidia-utils-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/nvidia-driver-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/libnvidia-gl-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/nvidia-dkms-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/nvidia-compute-utils-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/libnvidia-fbc1-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/libnvidia-extra-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/libnvidia-compute-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/libnvidia-encode-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/libnvidia-decode-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/libnvidia-common-530_530.41.03-0ubuntu0.22.04.2_all.deb’ ‘/home/ken/Desktop/nvidia 530.41.03 drivers for ubuntu 22.04/libnvidia-cfg1-530_530.41.03-0ubuntu0.22.04.2_amd64.deb’

I found these files here: amd64 build of nvidia-graphics-drivers-530 530.41.03-0ubuntu0.22... : PPA for Canonical Kernel Team : “Canonical Kernel Team” team and i386 build of nvidia-graphics-drivers-530 530.41.03-0ubuntu0.22.... : PPA for Canonical Kernel Team : “Canonical Kernel Team” team

Everything is now working fully as expected, on Ubuntu 22.04 with my RTX 4070 and 530.41.03 drivers.

I still hope that some day NVIDIA updates their CUDA repos to have the 530.41.03 drivers, who knows, maybe they will in May or June.

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