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?
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
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.
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.
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.
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.
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’