ubuntustudio-bugs team mailing list archive
-
ubuntustudio-bugs team
-
Mailing list archive
-
Message #05444
[Bug 1667874] Re: Ubuntu 17.04: blender cycles error: CUDA kernel compilation failed
According to
http://docs.nvidia.com/cuda/cuda-installation-guide-linux/#system-requirements
the nvcc does not support g++-6 at all!? :-(
After installing g++-5 by
sudo apt install g++-5
the nvcc started to work again.
** Changed in: blender (Ubuntu)
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Studio Bugs, which is subscribed to blender in Ubuntu.
Matching subscriptions: ubuntustudio-bugs: blender
https://bugs.launchpad.net/bugs/1667874
Title:
Ubuntu 17.04: blender cycles error: CUDA kernel compilation failed
Status in blender package in Ubuntu:
Invalid
Bug description:
Upgrade to ubuntu 17.04
Running blender with cycles engine and GPU device.
Error: CUDA kernel compilation failed, see console for details.
Versions:
mike@workstation:~$ lsb_release -rd
Description: Ubuntu Zesty Zapus (development branch)
Release: 17.04
mike@workstation:~$ blender --version
Blender 2.78 (sub 0)
mike@workstation:~$ gcc --version
gcc (Ubuntu 6.3.0-2ubuntu1) 6.3.0 20161229
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
mike@workstation:~$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2016 NVIDIA Corporation
Built on Sun_Sep__4_22:14:01_CDT_2016
Cuda compilation tools, release 8.0, V8.0.44
Error messages:
Compiling CUDA kernel ...
"nvcc" -arch=sm_61 --cubin "/usr/share/blender/scripts/addons/cycles/kernel/kernels/cuda/kernel.cu" -o "/home/mike/.config/blender/2.78/cache/cycles_kernel_sm61_A0A61E36E31F7DEB1BE59DAAA463B5A5.cubin" -m64 --ptxas-options="-v" --use_fast_math -DNVCC -D__KERNEL_CUDA_VERSION__=80 -I"/usr/share/blender/scripts/addons/cycles/kernel"
ERROR: No supported gcc/g++ host compiler found, but clang-3.8 is available.
Use 'nvcc -ccbin clang-3.8' to use that instead.
CUDA kernel compilation failed, see console for details.
Refer to the Cycles GPU rendering documentation for possible solutions:
http://www.blender.org/manual/render/cycles/gpu_rendering.html
Error: CUDA kernel compilation failed, see console for details.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/blender/+bug/1667874/+subscriptions
References