<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">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 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 class=""><pre style><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 style><div class=""><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 class="">&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 class="">&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 class="HOEnZb"><div class="h5"><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>_______________________________________________<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><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>

</div>