I have a desktop system (bought February 2024) with the following:
- Intel Core i7-12700KF 3600 1700
- MSI PRO B760-P DDR4 II
- I3D 16GB D6 RTX 4060 Ti Twin X2
It used to run fine, using Debian 12 and some Nvidia drivers (can’t see the version anymore I think it was during an upgrade from 525.147.05-7~deb12u1 to 535.183.01-1~deb12u1, the system got unresponsive after an "apt update & apt upgrade, and I’ve been going downhill since :( and I ultimately declared my Debian installation broken beyond repair and decided to do a clean install of something else.
Tried several installs of Ubuntu 24.04 and Ubuntu 22.04 (also Lubuntu and Kubuntu), but none were successful.
The attempts with 24.04 resulted in a system that does not even show a login, and only sporadically allows me to switch to a TTY (Ctrl-Alt-F2 etc. do not respond, and if I get to the tty there is a 3 to 5 second delay for each keypress; once logged in to the tty, gnome process is hogging all of the cpu). Scouring the internet for solutions has not resolved the issues yet.
With 22.04 and 24.04 I tried different drivers (535 and 535-open and 545 from ubuntu-drivers, the .run downloaded from Nvidia with the -m=kernel_open), and tried different kernels (6.5, 6.8, 5.15) (but I am not experienced with that, so may not have tried in the correct ways; ran into gcc issues with version differences 11 or 12 being the default).
To confirm there are no hardware issues, I installed Windows 11 and there Blender works fine, and recognises the GPU with CUDA and OptiX acceleration.
Where can I find clear instructions on how to set up Debian/Ubuntu on my system with GPU acceleration (I am using Blender and need either the OptiX or CUDA or both support)?
What I did most recently:
- download the Ubuntu ISO for 22.04
- create USB boot stick (using balenaEtcher on a Mac)
- run the installer, chosing the option for additional drivers
- for 22.04 this results in a system where the Nvidia driver is not loaded: nvidia-smi returns ‘No devices were found’
I am attaching the nvidia-bug-report that is generated on my latest clean install of Ubuntu 22.04.
nvidia-bug-report.log.gz (117.7 KB)
Before trying again the apt remove --purge "*nvidia*" && apt install linux-headers-generic && apt install nvidia-dkms-NNN && apt install nvidia-driver-NNN
I hope someone can point me to instructions that have worked for my setup.
Looking forward to tips or solutions (it’s been a month of trial-and-error).