We would like to know when the nvidia drivers for 5060Ti on Ubuntu will be released. I recently planned to use cuda in ubuntu24.04 system, but I didn’t find the nvidia driver
1 Like
sudo apt update
sudo apt install gcc
sudo apt install make
Then download the drivers form this website: Driver Details | NVIDIA
init 3
sudo su
chmod u+x NVIDIA-Linux-x86_64-575.51.02.run
sh ./NVIDIA-Linux-x86_64-575.51.02.run --glvnd-egl-config-path=/etc/glvnd/egl_vendor.d --compat32-libdir=/usr/lib32
Then choose MIT/GPL
instead of NVIDIA Propetiary
Continue installation
For the step: Install NVIDIA 32-bit compatibility libraries? choose YES
And if the installer asks you if it should generate the X11 config choose YES
sudo reboot
Worked for me, however in my case after I installed the drivers I also had to blacklist nouveau and force X11 to use nvidia drivers.
This does not work on Ubuntu Server
I get the error
ERROR: Unable to load the kernel module 'nvidia.ko'. This happens most frequently when
this kernel module was built against the wrong or improperly configured kernel
sources, with a version of gcc that differs from the one used to build the target
kernel, or if another driver, such as nouveau, is present and prevents the NVIDIA
kernel module from obtaining ownership of the NVIDIA device(s), or no NVIDIA device
installed in this system is supported by this NVIDIA Linux graphics driver release.
Please see the log entries 'Kernel module load error' and 'Kernel messages' at the
end of the file '/var/log/nvidia-installer.log' for more information.
The logs suggest that there arlready are Nvidia drivers in my server so I ran
sudo apt purge '*nvidia*'
sudo apt purge '*nouveau*'
and rebooted just to be sure and it didn’t work with either the Prop or MIT
This is on a fresh install of Ubunutu server
What am I missing?