You are not logged in.

#1 2020-10-09 21:45:10

Maniaxx
Member
Registered: 2014-05-14
Posts: 761

[Solved]Blender cuda nvidia - nvcc compiler not found

Hallo,
i want to use CUDA acceleration in blender 2.90.1. When i enable cycles i just get empty renderings and the error: "CUDA nvcc compiler not found. Install CUDA toolkit in default location.".

Screenshot: https://abload.de/img/blender-cudamxj32.png

Any idea what's wrong? I think it worked before.

GTX770

$ pacman -F nvcc
community/cuda 11.1.0-2 [installed]
    opt/cuda/bin/nvcc
$ pacman -Qs nvidia
local/cuda 11.1.0-2
    NVIDIA's GPU programming toolkit
local/egl-wayland 1.1.5-1
    EGLStream-based Wayland external platform
local/ffnvcodec-headers 10.0.26.1-1
    FFmpeg version of headers required to interface with Nvidias codec APIs
local/lib32-nvidia-utils 455.28-1
    NVIDIA drivers utilities (32-bit)
local/libvdpau 1.4-1
    Nvidia VDPAU library
local/libxnvctrl 455.28-1
    NVIDIA NV-CONTROL X extension
local/nouveau-fw 325.15-1
    This package provides video & pgraph firmwares for all NVIDIA chipsets that need them
local/nvclock 0.8b4-3
    A small utility which allows users to overclock NVIDIA based video cards.
local/nvidia 455.28-4
    NVIDIA drivers for linux
local/nvidia-settings 455.28-1
    Tool for configuring the NVIDIA graphics driver
local/nvidia-utils 455.28-1
    NVIDIA drivers utilities
local/opencl-nvidia 455.28-1
    OpenCL implemention for NVIDIA
local/xfce4-sensors-plugin-nvidia 1.3.92-1 (xfce4-goodies)
    A lm_sensors plugin for the Xfce panel with nvidia gpu support

Edit: When i put 'nvcc' into PATH it tries to compile the CUDA "kernel" but fails with 'nvcc fatal: Value 'sm_30' is not defined for option 'gpu-architecture''.
If i understand it correctly CUDA kernels are usually precompiled into blender. I guess blender package is just outdated (not yet prepared for the recently updated nvidia driver).

Last edited by Maniaxx (2020-10-10 18:42:39)


sys2064

Offline

#2 2020-10-10 15:54:31

jean_no
Member
Registered: 2007-09-18
Posts: 48

Re: [Solved]Blender cuda nvidia - nvcc compiler not found

Hi

CUDA 11.1 support for compute capability 3.5.
GTX770 support only 3.0.
You can download Blender here https://builder.blender.org/download/, which still supports your card.(Compiled with CUDA 10.0 – 10.2).

A+

Offline

#3 2020-10-10 16:23:46

Maniaxx
Member
Registered: 2014-05-14
Posts: 761

Re: [Solved]Blender cuda nvidia - nvcc compiler not found

Thanks. I will give AUR/CUDA10.2 a try first on stable blender as i think i have some addons that are not yet prepared for 2.91.

I hope CUDA compiling is not all too complex/time consuming. Looks like i have to do it every time from now on.

Will report back.


sys2064

Offline

#4 2020-10-10 18:45:25

Maniaxx
Member
Registered: 2014-05-14
Posts: 761

Re: [Solved]Blender cuda nvidia - nvcc compiler not found

AUR/CUDA10.2 works. Its a 2.5GB/4.02GB package but its quickly created. The in-blender nvcc compilation is a one-time shot of maybe 2-3 minutes.
I can live with that.

Thank you very much.


sys2064

Offline

Board footer

Powered by FluxBB