0

When I render my animation in the Bleder using CUDA I got:

Compiling CUDA kernel ...
"/usr/local/cuda/bin/nvcc" -arch=sm_86 --cubin "/usr/share/blender/scripts/addons/cycles/source/kernel/kernels/cuda/kernel.cu" -o "/home/name/.cache/cycles/kernels/cycles_kernel_sm86_673C3180FADE8EDF0E80E61994C4DC92.cubin" -m64 --ptxas-options="-v" --use_fast_math -DNVCC -I"/usr/share/blender/scripts/addons/cycles/source" 
In file included from /usr/share/blender/scripts/addons/cycles/source/kernel/kernels/cuda/kernel.cu:22:
/usr/share/blender/scripts/addons/cycles/source/kernel/kernels/cuda/kernel_config.h:87:4: error: #error "Unknown or unsupported CUDA architecture, can't determine launch bounds"
   87 | #  error "Unknown or unsupported CUDA architecture, can't determine launch bounds"
      |    ^~~~~
/usr/share/blender/scripts/addons/cycles/source/kernel/kernels/cuda/kernel_config.h:110:62: error: division by zero in #if
  110 |         (CUDA_THREADS_BLOCK_WIDTH * CUDA_THREADS_BLOCK_WIDTH * CUDA_KERNEL_MAX_REGISTERS) > \
      |                                                              ^
CUDA kernel compilation failed, see console for details.

Refer to the Cycles GPU rendering documentation for possible solutions: https://docs.blender.org/manual/en/latest/render/cycles/gpu_rendering.html

When I run nvidia-smi, I got:

+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 570.124.04             Driver Version: 570.124.04     CUDA Version: 12.8     |
|-----------------------------------------+------------------------+----------------------+
| GPU  Name                 Persistence-M | Bus-Id          Disp.A | Volatile Uncorr. ECC |
| Fan  Temp   Perf          Pwr:Usage/Cap |           Memory-Usage | GPU-Util  Compute M. |
|                                         |                        |               MIG M. |
|=========================================+========================+======================|
|   0  NVIDIA GeForce RTX 3050 ...    Off |   00000000:01:00.0 Off |                  N/A |
| N/A   55C    P0            749W /   80W |      24MiB /   4096MiB |      9%      Default |
|                                         |                        |                  N/A |
+-----------------------------------------+------------------------+----------------------+

+-----------------------------------------------------------------------------------------+ | Processes: | | GPU GI CI PID Type Process name GPU Memory | | ID ID Usage | |=========================================================================================| | 0 N/A N/A 1517 G /usr/lib/xorg/Xorg 4MiB | | 0 N/A N/A 1982 G /usr/lib/xorg/Xorg 4MiB | +-----------------------------------------------------------------------------------------+

Why CUDA is not working? How to solve it?

I am using Ubuntu 20.04.6 LTS

0 Answers0