<div dir="ltr">Greetings from <a href="http://www.renderstorm.com">www.renderstorm.com</a> !<br><br>This is *not* directly related to the viewport, but more related (*we think*) to the new requirement in 2.77a for hardware-accelerated OGL and any potential effect on spawning network rendering jobs in Windows.<br><br>Our render farm queue manager executes blender.exe -b at the command line using Windows &quot;createProcess()&quot; function.<br><br><b>Here&#39;s what we&#39;re passing to the rendernodes :</b><br><br>CreateProcessAsUser( token, NULL, commandToExecute, lpSA, NULL, inheritHandles, CREATE_NEW_CONSOLE, NULL, NULL, &amp;si, pi)<br><br><b>commandToExecute typically looks something like this:</b> <div><br></div><div>[&quot;C:\Program Files\Blender Foundation\Blender\blender.exe&quot; -b &quot;\\DISKSTATION1\farm\SquidNetRenderFolder\sync\521450\87E82C8694\project\BMW1M Mike Pangpu.blend&quot; -x 1 -s 4 -e 4 -j 1 -F EXR --python-text renderstorm_blender_0107.py -E CYCLES  -P &quot;C:\Program Files (x86)\SquidNetSoftware\SquidNet\plugins\\blender\squidnet_blender_gpu_render.py&quot; -o \\Diskstation1\FusionIO_DS1\ProjectData\jobs\521450\6974A4\1AE094A25B\slices\slice-4\broken_277_agtest -a -y]<br><br><br clear="all"><div><b>This works great for 2.76b and previous builds.  But we get the following errors back from all Blender 2.77 network jobs now  :</b></div><div><br><div>&quot;...<br>Fatal Python error: Py_Initialize: can&#39;t initialize sys standard streams</div><div><br></div><div>OSError: [WinError 6] The handle is invalid<br>...<br>&quot;<br><br><b>**Interesting note**  We can paste our full blender command string into the Windows CMD shell on one of the rendernodes and manually run the job in 2.77a with no errors at all! </b><br><br><br>Maybe there&#39;s something else in 2.77 that&#39;s breaking our process, but our best guess is the new OGL implementation... <br><br>Does anybody have any suggestions on how we might troubleshoot/remedy this issue?<br><br>Thanks in Advance!!<br><br>Adam<br><br></div></div><div><br></div>-- <br><div class="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr">Adam Glick, </div><div dir="ltr"><span style="font-size:12.8px">VP, Pipeline Technology</span></div><div dir="ltr"><div>760--818-3668 (cell)<br><div><a href="http://www.RenderStorm.com" target="_blank">www.RenderStorm.com</a></div></div></div></div></div></div></div></div></div></div>
</div></div>