[Bf-cycles] cycles compilation error on linux

INTERLICHTSPIELHAUS interlichtspielhaus at gmail.com
Tue Apr 1 23:00:47 CEST 2014


hi Thomas

i can build that cubin
but when i put that built cubin file into ../scripts/addons/cycles/lib
i still get an error

*RNA_pointer_get: Object.cycles not found.*
*Writing: /tmp/temp4.crash.txt*
*Segmentation fault (core dumped)*


# Blender 2.70 (sub 0), Commit date: 2014-04-01 17:17, Hash bfe29e0

# backtrace
./blender() [0xa24413]
/lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f0165f444a0]
./blender(RNA_struct_iterator_property+0) [0x14c7510]
./blender(RNA_struct_find_property+0x1a) [0x14ccb4a]
./blender(RNA_boolean_get+0x19) [0x14cec29]
./blender() [0x162c9e7]
./blender(_ZN3ccl11BlenderSync11sync_objectEN2BL6ObjectEPiNS1_11DupliObjectERNS_9TransformEjfb+0x82f)
[0x162e35f]
./blender(_ZN3ccl11BlenderSync12sync_objectsEN2BL11SpaceView3DEf+0xcbc)
[0x162f2ec]
./blender(_ZN3ccl11BlenderSync9sync_dataEN2BL11SpaceView3DENS1_6ObjectEPPvPKc+0x175)
[0x1625ed5]
./blender(_ZN3ccl14BlenderSession6renderEv+0xa02) [0x161fe82]
./blender() [0x1618ac0]
/usr/lib/x86_64-linux-gnu/libpython3.3m.so.1.0(PyEval_EvalFrameEx+0x5dce)
[0x7f016a44950e]
/usr/lib/x86_64-linux-gnu/libpython3.3m.so.1.0(PyEval_EvalFrameEx+0x5f62)
[0x7f016a4496a2]
/usr/lib/x86_64-linux-gnu/libpython3.3m.so.1.0(PyEval_EvalCodeEx+0x816)
[0x7f016a44c656]
/usr/lib/x86_64-linux-gnu/libpython3.3m.so.1.0(+0x6a7af) [0x7f016a44c7af]
/usr/lib/x86_64-linux-gnu/libpython3.3m.so.1.0(PyObject_Call+0x7a)
[0x7f016a55f06a]
./blender() [0xdb7784]
./blender() [0x15764ae]
./blender(RE_engine_render+0x32b) [0xd2b6ab]
./blender() [0xd3daf0]
./blender() [0xd3defd]
./blender() [0xd4004f]
./blender(RE_BlenderFrame+0x106) [0xd40ef6]
./blender() [0xc9a437]
./blender() [0xa31aba]
/usr/lib/nvidia-current/libGL.so.1(+0xaa764) [0x7f016b3b9764]


thanks
regards


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 <http://www.plasmasolutions.de/>
> Blog: Http://blog.plasmasolutions.de <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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-cycles/attachments/20140401/23608d1a/attachment.htm 


More information about the Bf-cycles mailing list