You are not logged in.
Pages: 1
I installed Blender through official repo, everything else works fine, but when i try to use cuda i get this message:
CUDA version 11.6 detected, build may succeed but only CUDA 10.1 to 11.4 are officially supported.
Compiling CUDA kernel ...
"nvcc" -arch=sm_30 --cubin "/usr/share/blender/3.0/scripts/addons/cycles/source/kernel/device/cuda/kernel.cu" -o "/home/kostas/.cache/cycles/kernels/cycles_kernel_sm_30_9DA438F0C68CFA9FF74D0171D16715DF.cubin" -m64 --ptxas-options="-v" --use_fast_math -DNVCC -I"/usr/share/blender/3.0/scripts/addons/cycles/source"
nvcc fatal : Value 'sm_30' is not defined for option 'gpu-architecture'
Failed to execute compilation command, 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*output is from terminal when i run blender from there just to get these info.
I suppose it has something to do with cuda, but i need help to figure out what to do.
The thing also is that when i download blender from their site and run it from the downloaded folder, then cuda is working as expected.
That is the second reason i'm posting this, in case it has something to do with the package since the problem is only with repos blender.
pacman -Q | grep nvidia
nvidia-470xx-dkms 470.103.01-1
nvidia-470xx-settings 470.103.01-1
nvidia-470xx-utils 470.103.01-1
opencl-nvidia-470xx 470.103.01-1pacman -Q | grep cuda
cuda 11.6.0-1
cuda-tools 11.6.0-1
python-pycuda 2021.1-8My card is nvidia GTX 650
I will happily provide any further system info, I thought not to fill this post with unnecessary ones and post relevant and requested.
---edited---
I am editing this post just to clarify couple of things:
1. I am on a months installation with no customization
2. The same problem is present about a year now, everytime with official repo's version
3. Sometimes in the past with AUR version (beta) cuda worked
4. I assume that since it works with their site version then it should work too with repo's
5. Maybe the maintainer should somehow get informed about that?
Last edited by s0lid7 (2022-02-07 17:29:09)
Do a pacman -Syu to your brain regularly
Offline
Which Blender version are we talking about?
Offline
Your card has 'compute capability 3.0' that is not supported anymore by CUDA 11. Try 10.2 from AUR.
https://en.wikipedia.org/wiki/CUDA#GPUs_supported
sys2064
Offline
@d_fajardo Version 3.0.1 which is currently at the official repo. Though i hadthe same issue with older version of blender from the official repo too.
@Maniaxx I think i need to go even lower than 10. I recall it was 8 needed to match my card capability. But those older versions of cuda have deps which also require older versions and the mess begins ![]()
Furthermore, the actual reason I am posting this is cause cuda works with blender from their site, but not from repo, so I think it might not be a matter of cuda version.
Last edited by s0lid7 (2022-02-07 20:17:46)
Do a pacman -Syu to your brain regularly
Offline
Why not just use the downloaded version directly from blender.org. It doesn't cause any problems. The only reason I have the repo version installed is to maintain dependencies.
Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Fractal Design Define 7 XL, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703
/ is the root of all problems.
Offline
I think i need to go even lower than 10.
10.2 officially supports 3.0 cards.
The official blender version might be shipped with precompiled cuda kernels.
Last edited by Maniaxx (2022-02-08 09:29:01)
sys2064
Offline
@Roken, that's what I am doing, so I can have cuda. But, as I said, one of the main reasons I am posting is to see/ask if it is appropriate to let the maintainer know about this issue or maybe it is a matter of (miss)configuration by my side.
@Maniaxx, I will try to find some time to install 10.2 to check if that solves the issue, but that means that I will have to deal with an AUR package when that is not really needed by blender itself since it works just fine with 11.6 from their site version.
I do not know if and what changes are made with official blender version, but some of them might not really needed, especially when causing these kind of issues to some people who want cuda just for blender use.
Also it was weird when AUR's version of blender worked and official arch repo's didn't.
Last edited by s0lid7 (2022-02-08 12:36:54)
Do a pacman -Syu to your brain regularly
Offline
Pages: 1