**In the Device Driver Manager I have these as options (Nvidia) - 384,387,390,410,415,440,390,435 and xorg video nouveau.
**I do 3D modeling and Game Design. I’m trying to enable CUDA GPU, so I can use it for renders.
**I’m using Blender 2.82, but the option to use CUDA GPU is greyed out. :(
**Can somebody help me get this to work? I’m new to Linux so I need a step-by-step instructions. I tried multiple times, but I cant seam to get it to work correctly. I dont mind starting over from scratch! But Please, I want to avoid login/loops or boot issues etc…
Have the 440 driver installed, then please check if libcuda is installed:
if not install it
sudo apt install libnvidia-compute-440
check if nvidia-modprobe is installed:
if not, install it: https://community.linuxmint.com/software/view/nvidia-modprobe
Now it’s important to know which Blender package you installed, whether it has cuda support enabled and if it is bundling the cuda runtime. How did you install Blender?
Also, please post the output of nvidia-smi
So when I run " /usr/lib/x86_64-linux-gnu/libcuda*" This is the result: /usr/lib/x86_64-linux-gnu/libcudart.so.9.1.85 /usr/lib/x86_64-linux-gnu/libcuda.so /usr/lib/x86_64-linux-gnu/libcuda.so.1 /usr/lib/x86_64-linux-gnu/libcuda.so.440.33.01
I manually used FILE SYSTEM explore and it doesnt come up with anything by that name. However, if i type in "libcuda* this is whats displayed:
So in the TERMINAL, I copy and pasted: sudo apt install libnvidia-compute-440
This is what the output was:
Reading package lists… Done
Building dependency tree
Reading state information… Done
libnvidia-compute-440 is already the newest version (440.33.01-0ubuntu1).
libnvidia-compute-440 set to manually installed.
You might want to run ‘apt --fix-broken install’ to correct these.
The following packages have unmet dependencies:
nvidia-cuda-toolkit : Depends: nvidia-cuda-dev (= 9.1.85-3ubuntu1) but it is not going to be installed
E: Unmet dependencies. Try ‘apt --fix-broken install’ with no packages (or specify a solution).
I do have that in the file system
I copy and pasted nvidia-smi .This was the result.
NVIDIA-SMI has failed because it couldn’t communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.
I downloaded the Blender-2.82a-linux64.tar.xz from the website. Extracted it etc.
Looks like the driver isn’t loading. Please run nvidia-bug-report.sh as root and attach the resulting nvidia-bug-report.log.gz file to your post. You will have to rename the file ending to something else since the forum software doesn’t accept .gz files (nifty!).
So I tried to remove stray blacklist files, this was the result:
rm: cannot remove ‘/lib/modprobe.d/blacklist-nvidia.conf’: No such file or directory
rm: cannot remove ‘/etc/modprobe.d/blacklist-nvidia.conf’: No such file or directory
So I tried this:( sudo update-initramfs -u ) This was the result
update-initramfs: Generating /boot/initrd.img-5.3.0-51-generic
cryptsetup: WARNING: Invalid source device /swapfile
cryptsetup: WARNING: target cryptswap1 has a random key, skipped
Weird thing happen. So while I was using Blender the CUDA became grayed out again. The update manager Prompted me to update nvidia-cuda-dev In this case I would repeat the steps, but tell the update manager to ignore this?
So i repeated the steps, then did a reboot. Seams to be working. The nvidia icon on the task bar, indicates that the nvidia GPU is the active graphics card. So all good on that front. So the best thing to do would be to disable updates for nvidia on the update manager I guess??