I have LM 19.3 I have many nVidia drivers available to choose LM19 recommends using Driver-435. So I have that selected. I have nVidia GM204 GeForce GTX970m. I want to enable CUDA so I can use my GPU to render faster in Blender. So could someone give me the steps to do this correctly? Whatever the easiest method is. I’m still new to LM. Thank you for your time! I really want to avoid any issues with booting lol
in linux mint you have “additional drivers” programm select nvidia driver from there. if its no driver version you want do in therminal this "
sudo add-apt-repository ppa:graphics-drivers/ppa"
and “sudo apt update” after that you will get newer version of nvidia driver in “Additional drivers”
Could you execute this order from the terminal and show me the result?: cat /proc/driver/nvidia/version
In order to use GPU render with CUDA, you only need to have the nvidia driver installed and use official Blender downloaded from Blender website:
Then you uncompress the tar.xz file to a new folder, you enter that folder and there you execute (double click) “blender” file.
This does not need you to install CUDA toolkit because official build contains precompiled CUDA kernels (Blender installed from repositories does not contain those CUDA kernels)
That indicates that nvidia driver is not in use.
I know that in Mint you had to follow some extra steps, such as nouveau driver blacklisting. Being based on Ubuntu, I don’t think those steps are still necessary in Mint either.
Give me the output of these commands to see if I can help with nvidia driver installation, but it would be best to ask in Mint forum: lspci | grep -iE 'vga|3D'
sudo dpkg -l | grep -i nvidia
Please do not try to install nvidia driver downloaded from nvidia site. You always install nvidia driver from the distro repositories.
I’m confused I have Blender 2.80 from the blender official website. And I have fresh LinuxMInt 19.3 install already have nvidia drivers installed and updated:
I have, nvida drivers 387, 390, 410, 415, 440, 435… According to my Driver Manager it recommends 435. So Its selected! However Blender still says "“No compatible GPUs found for path tracing Cycles will render on the CPU?:
ii cuda-nsight-compute-10-2 10.2.89-1 amd64 NVIDIA Nsight Compute
ii cuda-nsight-systems-10-2 10.2.89-1 amd64 NVIDIA Nsight Systems
ii cuda-nvtx-10-2 10.2.89-1 amd64 NVIDIA Tools Extension
ii libnvidia-cfg1-440:amd64 440.33.01-0ubuntu1 amd64 NVIDIA binary OpenGL/GLX configuration library
ii libnvidia-common-435 435.21-0ubuntu0.18.04.2 all Shared files used by the NVIDIA libraries
ii libnvidia-common-440 440.33.01-0ubuntu1 all Shared files used by the NVIDIA libraries
rc libnvidia-compute-435:amd64 435.21-0ubuntu0.18.04.2 amd64 NVIDIA libcompute package
ii libnvidia-compute-440:amd64 440.33.01-0ubuntu1 amd64 NVIDIA libcompute package
ii libnvidia-decode-440:amd64 440.33.01-0ubuntu1 amd64 NVIDIA Video Decoding runtime libraries
ii libnvidia-encode-440:amd64 440.33.01-0ubuntu1 amd64 NVENC Video Encoding runtime library
ii libnvidia-fbc1-440:amd64 440.33.01-0ubuntu1 amd64 NVIDIA OpenGL-based Framebuffer Capture runtime library
ii libnvidia-gl-440:amd64 440.33.01-0ubuntu1 amd64 NVIDIA OpenGL/GLX/EGL/GLES GLVND libraries and Vulkan ICD
ii libnvidia-ifr1-440:amd64 440.33.01-0ubuntu1 amd64 NVIDIA OpenGL-based Inband Frame Readback runtime library
ii nsight-compute-2019.5.0 2019.5.0.14-1 amd64 NVIDIA Nsight Compute
ii nsight-systems-2019.5.2 2019.5.2.16-b54ef97 amd64 NVIDIA Nsight Systems is a statistical sampling profiler with tracing features.
rc nvidia-compute-utils-435 435.21-0ubuntu0.18.04.2 amd64 NVIDIA compute utilities
ii nvidia-compute-utils-440 440.33.01-0ubuntu1 amd64 NVIDIA compute utilities
rc nvidia-dkms-435 435.21-0ubuntu0.18.04.2 amd64 NVIDIA DKMS package
ii nvidia-dkms-440 440.33.01-0ubuntu1 amd64 NVIDIA DKMS package
ii nvidia-driver-440 440.33.01-0ubuntu1 amd64 NVIDIA driver metapackage
rc nvidia-kernel-common-435 435.21-0ubuntu0.18.04.2 amd64 Shared files used with the kernel module
ii nvidia-kernel-common-440 440.33.01-0ubuntu1 amd64 Shared files used with the kernel module
ii nvidia-kernel-source-440 440.33.01-0ubuntu1 amd64 NVIDIA kernel source package
ii nvidia-modprobe 440.33.01-0ubuntu1 amd64 Load the NVIDIA kernel driver and create device files
ii nvidia-prime 0.8.8.2 all Tools to enable NVIDIA’s Prime
ii nvidia-prime-applet 1.0.8 all An applet for NVIDIA Prime
ii nvidia-settings 440.44-0ubuntu0.18.04.1 amd64 Tool for configuring the NVIDIA graphics driver
ii nvidia-utils-440 440.33.01-0ubuntu1 amd64 NVIDIA driver support binaries
ii xserver-xorg-video-nvidia-440 440.33.01-0ubuntu1 amd64 NVIDIA binary Xorg driver
Apparently you have an Optimus laptop. Do you use it on Windows with intel iGPU as primary card?
I need to see which card / driver is in use, share the output of the following: sudo lshw -c video
Also, you look in the application launcher menu for Nvidia X Server Settings, then open it and show me a screenshot to see how it looks.
Edit:
Well, the information in your first message seems to indicate that intel iGPU is being used. Anyway you share the information that I have requested.
The downside of all this is that nvidia PRIME (like Optimus for Windows) is not easy to configure for versions of distros that do not include the very new xserver packages. In addition to that in not new versions of Linux distros, the use of PRIME is limited. You may be able to run CUDA while intel is a primary GPU, but applications will not use nvidia OpenGL.
The easiest thing you can do is from the BIOS of your machine configure nvidia Discrete card/PCIe as primary display and disable any option referred to multiple display/multi gpu. This will also disable Optimus on Windows.
The other more difficult option, follow a tutorial to install the latest version of xserver and try to configure PRIME with the latest nvidia drivers.
You see here the second message of the following thread: https://forums.linuxmint.com/viewtopic.php?t=301410
The steps also require that you create/edit xorg.conf system file as indicated there.
Edit 2:
According to the previous tutorial, Mint 19.3 has the required version of xserver, so that step where “Add the aplattner PPA” is not necessary. You also have compatible drivers already installed. So in theory, you just need to do what is referred to xorg.conf and then after restart the system, configure PRIME profile from Nvidia X Server Settings
Have you done what is explained in the tutorial from above link about “Create an xorg.conf file” with the content explained there, and then reboot the system?
Hello, random Mint user barging into the conversation.
I’m leaving a note here for others who might be looking at this thread for a solution for the same issue with laptops that have integrated graphics + Nvidia graphics cards, and do not want to necessarily install the nVidia driver 435:
It was not necessary for me to install xorg-server but only to follow this step from that tutorial:
Add the graphics-drivers PPA :
sudo apt-add-repository ppa:graphics-drivers/ppa
followed by apt update
after that, Open Driver Manager and install the latest available nvidia driver in the list
restart your computer and this problem should be solved.
Previously, the nvidia driver installation failed with an error that said it had missing dependencies, which fixed itself only after I reinstalled mint. (Any less drastic solutions would definitely be appreciated here)
My suggestion is that at the same time you ask for support in this forum, you do the same in Mint forum by providing the same information there with the output of the orders that I have requested. So Mint maintainers have a feedback and they see how to make the installation of nvidia driver on computers with Optimus technology easier and automatic when iGPU is selected as the main card from BIOS.