[Bf-cycles] cycles compilation error on linux

Brecht Van Lommel brechtvanlommel at pandora.be
Wed Apr 2 17:24:13 CEST 2014


A solution for this is being worked on, increasing the register count
for the branched path kernel:
https://developer.blender.org/D442

I expect this to be committed in a couple of days.

On Tue, Apr 1, 2014 at 10:30 PM, Thomas Beck
<software at plasmasolutions.de> wrote:
> Hi Thomas, Hi inS,
>
> I have a fairly similar problem with cycles in trunk since Brecht committed
> the fire stuff. As I'm under Linux, the kernel gets compiled when I hit F12,
> but it's the same error - segmentation fault while compiling the kernel.
> The (temporary) solution for me is atm to compile it by hand with a bigger
> amount of registers: 40 instead 32. That works perfectly in my case. I got 2
> GTX 560 ti oc here.
>
> The complete command line:
>
> "nvcc" -arch=sm_21 -m64 --cubin
> "/home/neo/blender-git/official/build/bin/2.70/scripts/addons/cycles/kernel/kernel.cu"
> -o
> "/home/neo/.config/blender/2.70/cache/cycles_kernel_sm21_B018C3AD80E620A16AE2F993E1CBAE9F.cubin"
> --ptxas-options="-v" --maxrregcount=40 --use_fast_math
> -I"/home/neo/blender-git/official/build/bin/2.70/scripts/addons/cycles/kernel"
> -DNVCC -D__KERNEL_CUDA_VERSION__=50
>
> Maybe you could try to compile it manually and tell us if increasing the
> register size fixed your issue too.
>
> Greetings, Thomas
>
>
> 2014-04-01 19:51 GMT+02:00 INTERLICHTSPIELHAUS
> <interlichtspielhaus at gmail.com>:
>>
>> i just compile the way i always did:
>>
>> cmake ../blender -DWITH_CYCLES_CUDA_BINARIES=ON -DCYCLES_OSL=/opt/lib/osl
>> -DWITH_CYCLES_OSL=ON -DWITH_INTERNATIONAL=OFF -DLLVM_VERSION=3.1
>> -DWITH_CODEC_FFMPEG=ON -DFFMPEG=/opt/lib/ffmpeg
>> -DFFMPEG_LIBRARIES='avformat;avcodec;avutil;avdevice;swscale;rt;theoradec;theoraenc;theora;vorbisenc;vorbisfile;vorbis;x264;openjpeg'
>>
>>
>> thanks
>>
>> Thomas Dinges wrote:
>>
>> > Hi,
>> > I can compile the sm_21 kernel on Windows here, no issues.
>> > Do you compile the vanilla kernel, no experimental features enabled
>> > (SSS, Volume..)?
>>
>> > CUDA 5.0 is still the official Toolkit we support.
>>
>> >
>>
>> >
>>
>> > Best regards,
>> >
>> Thomas
>>
>> Am 01.04.2014 19:36, schrieb INTERLICHTSPIELHAUS:
>> > hi
>> >
>> > cycles/blender compilation broke a couple of days ago
>> >
>> > /usr/local/cuda-5.0/
>> > linux 64bit
>> > gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1)
>> >
>> > unfortunately this all the info i get while compiling:
>> >
>> > /Linking CXX executable ../../bin/blender/
>> > /now run: "make install" to copy runtime files and scripts to
>> > /home/homeDir/build/bin/2.70/
>> > /[100%] Built target blender/
>> > /Segmentation fault (core dumped)/
>> > /make[2]: *** [intern/cycles/kernel/kernel_sm_21.cubin] Error 139/
>> > /make[1]: ***
>> > [intern/cycles/kernel/CMakeFiles/cycles_kernel_cuda.dir/all] Error 2/
>> > /make: *** [all] Error 2/
>> >
>> >
>> > do i need to update cuda version ?
>> >
>> > thanks
>> > regards
>> > inS
>>
>>
>>
>>
>> On Tue, Apr 1, 2014 at 7:36 PM, INTERLICHTSPIELHAUS
>> <interlichtspielhaus at gmail.com> wrote:
>>>
>>> hi
>>>
>>> cycles/blender compilation broke a couple of days ago
>>>
>>> /usr/local/cuda-5.0/
>>> linux 64bit
>>> gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1)
>>>
>>> unfortunately this all the info i get while compiling:
>>>
>>> Linking CXX executable ../../bin/blender
>>> now run: "make install" to copy runtime files and scripts to
>>> /home/homeDir/build/bin/2.70
>>> [100%] Built target blender
>>> Segmentation fault (core dumped)
>>> make[2]: *** [intern/cycles/kernel/kernel_sm_21.cubin] Error 139
>>> make[1]: *** [intern/cycles/kernel/CMakeFiles/cycles_kernel_cuda.dir/all]
>>> Error 2
>>> make: *** [all] Error 2
>>>
>>>
>>> do i need to update cuda version ?
>>>
>>> thanks
>>> regards
>>> inS
>>>
>>
>>
>>
>> _______________________________________________
>> Bf-cycles mailing list
>> Bf-cycles at blender.org
>> http://lists.blender.org/mailman/listinfo/bf-cycles
>>
>
>
>
> --
>
> ------
> Plasmasolutions
> Design | Development | Training
>
> Website: Http://www.plasmasolutions.de
> Blog: Http://blog.plasmasolutions.de
>
> Telefon: 0176 2017 9565
>
>
> _______________________________________________
> Bf-cycles mailing list
> Bf-cycles at blender.org
> http://lists.blender.org/mailman/listinfo/bf-cycles
>


More information about the Bf-cycles mailing list