<div dir="ltr">hi Thomas<div><br></div><div>i can build that cubin</div><div>but when i put that built cubin file into ../scripts/addons/cycles/lib</div><div>i still get an error</div><div><br></div><div><div><i>RNA_pointer_get: Object.cycles not found.</i></div>
<div><i>Writing: /tmp/temp4.crash.txt</i></div><div><i>Segmentation fault (core dumped)</i></div></div><div><br></div><div><br></div><div><div># Blender 2.70 (sub 0), Commit date: 2014-04-01 17:17, Hash bfe29e0</div><div>
<br></div><div># backtrace</div><div>./blender() [0xa24413]</div><div>/lib/x86_64-linux-gnu/libc.so.6(+0x364a0) [0x7f0165f444a0]</div><div>./blender(RNA_struct_iterator_property+0) [0x14c7510]</div><div>./blender(RNA_struct_find_property+0x1a) [0x14ccb4a]</div>
<div>./blender(RNA_boolean_get+0x19) [0x14cec29]</div><div>./blender() [0x162c9e7]</div><div>./blender(_ZN3ccl11BlenderSync11sync_objectEN2BL6ObjectEPiNS1_11DupliObjectERNS_9TransformEjfb+0x82f) [0x162e35f]</div><div>./blender(_ZN3ccl11BlenderSync12sync_objectsEN2BL11SpaceView3DEf+0xcbc) [0x162f2ec]</div>
<div>./blender(_ZN3ccl11BlenderSync9sync_dataEN2BL11SpaceView3DENS1_6ObjectEPPvPKc+0x175) [0x1625ed5]</div><div>./blender(_ZN3ccl14BlenderSession6renderEv+0xa02) [0x161fe82]</div><div>./blender() [0x1618ac0]</div><div>/usr/lib/x86_64-linux-gnu/libpython3.3m.so.1.0(PyEval_EvalFrameEx+0x5dce) [0x7f016a44950e]</div>
<div>/usr/lib/x86_64-linux-gnu/libpython3.3m.so.1.0(PyEval_EvalFrameEx+0x5f62) [0x7f016a4496a2]</div><div>/usr/lib/x86_64-linux-gnu/libpython3.3m.so.1.0(PyEval_EvalCodeEx+0x816) [0x7f016a44c656]</div><div>/usr/lib/x86_64-linux-gnu/libpython3.3m.so.1.0(+0x6a7af) [0x7f016a44c7af]</div>
<div>/usr/lib/x86_64-linux-gnu/libpython3.3m.so.1.0(PyObject_Call+0x7a) [0x7f016a55f06a]</div><div>./blender() [0xdb7784]</div><div>./blender() [0x15764ae]</div><div>./blender(RE_engine_render+0x32b) [0xd2b6ab]</div><div>
./blender() [0xd3daf0]</div><div>./blender() [0xd3defd]</div><div>./blender() [0xd4004f]</div><div>./blender(RE_BlenderFrame+0x106) [0xd40ef6]</div><div>./blender() [0xc9a437]</div><div>./blender() [0xa31aba]</div><div>/usr/lib/nvidia-current/libGL.so.1(+0xaa764) [0x7f016b3b9764]</div>
</div><div><br></div><div><br></div><div>thanks</div><div>regards</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 1, 2014 at 10:30 PM, Thomas Beck <span dir="ltr">&lt;<a href="mailto:software@plasmasolutions.de" target="_blank">software@plasmasolutions.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi Thomas, Hi inS,<br><br></div>I have a fairly similar problem with cycles in trunk since Brecht committed the fire stuff. As I&#39;m under Linux, the kernel gets compiled when I hit F12, but it&#39;s the same error - segmentation fault while compiling the kernel.<br>

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.<br><br></div>The complete command line:<br><div>
<br>
&quot;nvcc&quot; -arch=sm_21 -m64 --cubin &quot;/home/neo/blender-git/official/build/bin/2.70/scripts/addons/cycles/kernel/<a href="http://kernel.cu" target="_blank">kernel.cu</a>&quot; -o &quot;/home/neo/.config/blender/2.70/cache/cycles_kernel_sm21_B018C3AD80E620A16AE2F993E1CBAE9F.cubin&quot; --ptxas-options=&quot;-v&quot; --maxrregcount=40 --use_fast_math -I&quot;/home/neo/blender-git/official/build/bin/2.70/scripts/addons/cycles/kernel&quot; -DNVCC -D__KERNEL_CUDA_VERSION__=50<br>

<br></div><div>Maybe you could try to compile it manually and tell us if increasing the register size fixed your issue too.<br><br></div><div>Greetings, Thomas<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">

2014-04-01 19:51 GMT+02:00 INTERLICHTSPIELHAUS <span dir="ltr">&lt;<a href="mailto:interlichtspielhaus@gmail.com" target="_blank">interlichtspielhaus@gmail.com</a>&gt;</span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div><div class="h5">
<div dir="ltr">i just compile the way i always did:<div><br><div>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=&#39;avformat;avcodec;avutil;avdevice;swscale;rt;theoradec;theoraenc;theora;vorbisenc;vorbisfile;vorbis;x264;openjpeg&#39;<br>


</div></div><div><br></div><div><br></div><div>thanks</div><div><br></div><div>Thomas Dinges wrote:</div><div><div><pre><span style="font-family:arial">&gt;</span><i style="font-family:arial"> </i>Hi,
<span style="font-family:arial">&gt;</span><i style="font-family:arial"> </i>I can compile the sm_21 kernel on Windows here, no issues.
<span style="font-family:arial">&gt;</span><i style="font-family:arial"> </i>Do you compile the vanilla kernel, no experimental features enabled 
<span style="font-family:arial">&gt;</span><i style="font-family:arial"> </i>(SSS, Volume..)?</pre></div><pre><div><span style="font-family:arial">&gt;</span><i style="font-family:arial"> </i>CUDA 5.0 is still the official Toolkit we support.
<pre>&gt;<i> </i></pre><pre>&gt;<i> </i></pre><span style="font-family:arial">&gt;</span><i style="font-family:arial"> </i>Best regards,
<span style="font-family:arial">&gt;</span><i style="font-family:arial"> </i></div>Thomas

Am 01.04.2014 19:36, schrieb INTERLICHTSPIELHAUS:
&gt;<i> hi
</i><div>&gt;<i>
</i>&gt;<i> cycles/blender compilation broke a couple of days ago
</i>&gt;<i>
</i>&gt;<i> /usr/local/cuda-5.0/
</i>&gt;<i> linux 64bit
</i>&gt;<i> gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1)
</i>&gt;<i>
</i>&gt;<i> unfortunately this all the info i get while compiling:
</i>&gt;<i>
</i></div>&gt;<i> /Linking CXX executable ../../bin/blender/
</i>&gt;<i> /now run: &quot;make install&quot; to copy runtime files and scripts to 
</i>&gt;<i> /home/homeDir/build/bin/2.70/
</i>&gt;<i> /[100%] Built target blender/
</i>&gt;<i> /Segmentation fault (core dumped)/
</i>&gt;<i> /make[2]: *** [intern/cycles/kernel/kernel_sm_21.cubin] Error 139/
</i>&gt;<i> /make[1]: *** 
</i>&gt;<i> [intern/cycles/kernel/CMakeFiles/cycles_kernel_cuda.dir/all] Error 2/
</i>&gt;<i> /make: *** [all] Error 2/
</i><div>&gt;<i>
</i>&gt;<i>
</i>&gt;<i> do i need to update cuda version ?
</i>&gt;<i>
</i>&gt;<i> thanks
</i>&gt;<i> regards
</i>&gt;<i> inS</i></div></pre></div><div><br></div></div><div><div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Apr 1, 2014 at 7:36 PM, INTERLICHTSPIELHAUS <span dir="ltr">&lt;<a href="mailto:interlichtspielhaus@gmail.com" target="_blank">interlichtspielhaus@gmail.com</a>&gt;</span> wrote:<br>


<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>hi</div><div><br></div><div>cycles/blender compilation broke a couple of days ago</div><div><br></div>


/usr/local/cuda-5.0/<br><div>linux 64bit</div><div><div>gcc version 4.7.2 (Ubuntu/Linaro 4.7.2-2ubuntu1) </div>
</div><div><br></div><div>unfortunately this all the info i get while compiling:</div><div><br></div><div><div><i>Linking CXX executable ../../bin/blender</i></div><div><i>now run: &quot;make install&quot; to copy runtime files and scripts to /home/homeDir/build/bin/2.70</i></div>



<div><i>[100%] Built target blender</i></div><div><i>Segmentation fault (core dumped)</i></div><div><i>make[2]: *** [intern/cycles/kernel/kernel_sm_21.cubin] Error 139</i></div><div><i>make[1]: *** [intern/cycles/kernel/CMakeFiles/cycles_kernel_cuda.dir/all] Error 2</i></div>



<div><i>make: *** [all] Error 2</i></div></div><div><br></div><div><br></div><div>do i need to update cuda version ?</div><div><br></div><div>thanks</div><div>regards</div><div>inS</div><div> </div></div>
</blockquote></div><br></div>
</div></div><br></div></div>_______________________________________________<br>
Bf-cycles mailing list<br>
<a href="mailto:Bf-cycles@blender.org" target="_blank">Bf-cycles@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-cycles" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
<br></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><br>-- <br><p>------<br>
Plasmasolutions<br>
Design | Development | Training</p>


<p>Website: <a href="http://www.plasmasolutions.de/" target="_blank">Http://www.plasmasolutions.de</a><br>
Blog: <a href="http://blog.plasmasolutions.de/" target="_blank">Http://blog.plasmasolutions.de</a></p>


<p>Telefon: <a value="+4917620179565">0176 2017 9565</a></p>

</font></span></div>
<br>_______________________________________________<br>
Bf-cycles mailing list<br>
<a href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a><br>
<a href="http://lists.blender.org/mailman/listinfo/bf-cycles" target="_blank">http://lists.blender.org/mailman/listinfo/bf-cycles</a><br>
<br></blockquote></div><br></div>