System Information
OS: Gentoo Linux (kernel version: 3.0), Graphics Card: Nvidia GeForce GT 640, Cuda version: 5.5
Blender Version
Broken: 2.70, c24c343
Worked: 2.70, unknown hash (downloaded as source code from blender website for 2.70 release rather than using git)
Short description of error
When rendering using Cuda for the first time it needed to compile the kernels. It failed at this step with the following error message:
CUDA version 5.5 detected, build may succeed but only CUDA 5.0 is officially supported.
Compiling CUDA kernel ...
"nvcc" -arch=sm_30 -m32 --cubin "/root/blender-versions/mycopy/build/bin/2.70/scripts/addons/cycles/kernel/kernel.cu" -o "/root/.config/blender/2.70/cache/cycles_kernel_sm30_95088DA6C7DFF4F1EA0DD66BE94D2583.cubin" --ptxas-options="-v" --maxrregcount=32 --use_fast_math -I"/root/blender-versions/mycopy/build/bin/2.70/scripts/addons/cycles/kernel" -DNVCC -DKERNEL_CUDA_VERSION=55
nvcc error : 'ptxas' died due to signal 11 (Invalid memory reference)
CUDA kernel compilation failed, see console for details.
Refer to the Cycles GPU rendering documentation for possible solutions:
ht
I do not think that this is actually a problem with Cuda 5.5 because it worked on the other build using the same Cuda version. I noticed two unusual problems here: the error message is not a compiler error but an assembler error, and it is actually an internal error in ptxas itself. I found a single reference to this problem but it was on the Nvidia forums (which have been down for multiple years and force a redirection loop with Midori) :http://devtalk.nvidia.com/default/topic/395921/cuda-programming-and-performance/-ptxas-died/
Exact steps for others to reproduce the error
Press f12.