<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'><div>Hi,&nbsp;</div><div><br></div><div>I was trying to use the cycles_standalone and and got the following error. I am wondering if anyone has seen similar issues?&nbsp;</div><div><div>Error message:</div><div>D:\blenderSVN_2\cmake-build\bin\Debug&gt;cycles --device cuda --samples 10 monkeyte</div><div>st.xml --output this.bmp</div><div>CUDA error: Invalid context in cuGraphicsMapResources(1, &amp;pmem.cuPBOresource, 0)</div><div><br></div><div><br></div><div>Refer to the Cycles GPU rendering documentation for possible solutions:</div><div>http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/GPU_Rendering</div><div><br></div><div>CUDA error: Not mapped in cuGraphicsResourceGetMappedPointer(&amp;buffer, &amp;bytes, pm</div><div>em.cuPBOresource)</div><div>CUDA error: Not mapped in cuGraphicsUnmapResources(1, &amp;pmem.cuPBOresource, 0)</div><div>CUDA error: Launch failed in cuCtxSynchronize()</div></div><div><br></div><div>In the cycles standalone GUI I am able to see the rendering progresses and the scene is actually being rendered fine. No error occurs until tonemap() is called in the</div><div>void Session::update_status_time(bool show_pause, bool show_done) function of session.cpp</div><div><div><span class="Apple-tab-span" style="white-space:pre">        </span>else if(show_done) {</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>status = "Done";</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>tonemap();</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>progress.set_status("Writing Image", params.output_path);</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>display-&gt;write(device, params.output_path);</div><div><span class="Apple-tab-span" style="white-space:pre">        </span>}</div></div><div>If I run it using --device cpu everything works fine.&nbsp;</div><div>Any help is appreciated.&nbsp;</div><div><br></div><div>Thanks a lot,</div><div>Feng</div><style><!--
.ExternalClass BODY, .ExternalClass DIV, .ExternalClass TABLE, .ExternalClass THEAD, .ExternalClass TBODY, .ExternalClass TFOOT, .ExternalClass TR, .ExternalClass TH, .ExternalClass TD, .ExternalClass P {
font-family:"Arial";
font-size:x-small;
}


--></style>                                               </div></body>
</html>