<div dir="ltr">
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="gmail-s1" style="font-kerning:none">Hi Zongli,</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica;min-height:13px"><span class="gmail-s1" style="font-kerning:none"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="gmail-s1" style="font-kerning:none">As Colin mentioned, this error is likely due to GLX indirect rendering and XQuartz on the Mac client.<span class="gmail-Apple-converted-space"> </span>We had this problem a few months ago when Mac users updated their operating system to macOS Catalina (version 10.15.7) or later, and/or upgraded to the most recent version of XQuartz (version 2.8.1 at the time), and suddenly had trouble displaying remotely-rendered graphics on their local terminal.</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica;min-height:13px"><span class="gmail-s1" style="font-kerning:none"></span><br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="gmail-s1" style="font-kerning:none">The following instructions are what I sent to my colleagues on this issue back then (May 2021), hopefully they are still valid now:</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="gmail-s1" style="font-kerning:none"> </span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="gmail-s1" style="font-kerning:none">1. In a terminal on your Mac, enter the following command:</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="gmail-s1" style="font-kerning:none"> </span></p>
<p class="gmail-p3" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo">defaults write org.xquartz.X11 enable_iglx -bool true<br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="gmail-s1" style="font-kerning:none"> </span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="gmail-s1" style="font-kerning:none">2. If you don’t have the most recent XQuartz on your system, go to <a href="https://www.xquartz.org/"><span class="gmail-s4" style="font-kerning:none;color:rgb(0,0,255)">https://www.xquartz.org</span></a>/ and download version 2.8.1 (you may also be able to update it when prompted by your system). If you downloaded the package, mount the disk image and install the package to your computer. Then log out and log back in again.</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="gmail-s1" style="font-kerning:none"> </span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="gmail-s1" style="font-kerning:none">3. On your Mac, open a terminal and connect to the remote Linux system using the ssh command such as below:</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="gmail-s1" style="font-kerning:none"> </span></p>
<p class="gmail-p3" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:8px;line-height:normal;font-family:Menlo">ssh -X [user]@[remote-computer] or ssh -Y [user]@[remote-computer]<br></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="gmail-s1" style="font-kerning:none"> </span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="gmail-s1" style="font-kerning:none">4. Source SBGrid if necessary, then try to open an image using </span><span style="font-family:Menlo;font-size:8px">3dmod</span><span class="gmail-s1" style="font-kerning:none"> or </span><span style="font-family:Menlo;font-size:8px">e2display.py</span><span class="gmail-s1" style="font-kerning:none">. Alternatively, you can enter the commands </span><span style="font-family:Menlo;font-size:8px">glxinfo</span><span class="gmail-s1" style="font-kerning:none"> </span><span class="gmail-s1" style="font-kerning:none">or </span><span style="font-family:Menlo;font-size:8px">glxgears</span> to test and make sure you have no errors.</p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="gmail-s1" style="font-kerning:none"> </span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="gmail-s1" style="font-kerning:none">Hope that helps!</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="gmail-s1" style="font-kerning:none"> </span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="gmail-s1" style="font-kerning:none">Best,</span></p>
<p class="gmail-p1" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica"><span class="gmail-s1" style="font-kerning:none">--Jason</span></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica;min-height:13px"><span class="gmail-s1" style="font-kerning:none"></span><br></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica;min-height:13px"><span class="gmail-s1" style="font-kerning:none"></span><br></p>
<p class="gmail-p2" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:11px;line-height:normal;font-family:Helvetica;min-height:13px"><span class="gmail-s1" style="font-kerning:none"></span><br></p>
<p class="gmail-p4" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Arial;color:rgb(26,26,26)"><span class="gmail-s8" style="font-kerning:none">On Thu, Sep 30, 2021 at 3:15 PM Colin Gauvin <<a href="mailto:colin@gauvin.id">colin@gauvin.id</a>> wrote:</span></p>
<p class="gmail-p4" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Arial;color:rgb(26,26,26)"><span class="gmail-s8" style="font-kerning:none">It sounds like you need to enable indirect GLX (iGLX) on the client machine.</span></p>
<p class="gmail-p4" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Arial;color:rgb(26,26,26)"><span class="gmail-s8" style="font-kerning:none">If you are using XQuartz, iGLX is disabled by default.</span></p>
<p class="gmail-p5" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Arial;color:rgb(26,26,26);min-height:11px"><span class="gmail-s1" style="font-kerning:none"></span><br></p>
<p class="gmail-p4" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Arial;color:rgb(26,26,26)"><span class="gmail-s8" style="font-kerning:none">--</span></p>
<p class="gmail-p4" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Arial;color:rgb(26,26,26)"><span class="gmail-s8" style="font-kerning:none">Best Regards,</span></p>
<p class="gmail-p5" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Arial;color:rgb(26,26,26);min-height:11px"><span class="gmail-s1" style="font-kerning:none"></span><br></p>
<p class="gmail-p4" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Arial;color:rgb(26,26,26)"><span class="gmail-s8" style="font-kerning:none">Colin Gauvin</span></p>
<p class="gmail-p6" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Arial;color:rgb(16,60,192)"><span class="gmail-s9" style="text-decoration-line:underline;font-kerning:none"><a href="mailto:colin@gauvin.id">colin@gauvin.id<span class="gmail-s10" style="font-kerning:none"></span></a></span></p>
<p class="gmail-p4" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Arial;color:rgb(26,26,26)"><span class="gmail-s8" style="font-kerning:none">Lawrence Laboratory, Montana State University</span></p>
<p class="gmail-p7" style="margin:0px;font-variant-numeric:normal;font-variant-east-asian:normal;font-stretch:normal;font-size:10px;line-height:normal;font-family:Arial;color:rgb(26,26,26)"><span class="gmail-s1" style="font-kerning:none">(401) 263-0343</span></p></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Sep 30, 2021 at 1:57 PM Zongli Li <<a href="mailto:zongli.li@gmail.com">zongli.li@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear listers,<div><br></div><div>I ssh with "-Y" from my Mac desktop to a GPU computer and process my data there. Quite often I need to look at the 3D volumes with chimera. This had been working nicely for long time. But all suddenly it stopped working and game the error 3:</div><div><br></div><div><p style="margin:0px;font-stretch:normal;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures">X Error of failed request:<span> </span>GLXBadCurrentWindow</span></p>
<p style="margin:0px;font-stretch:normal;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><span> </span>Major opcode of failed request:<span> </span>149 (GLX)</span></p>
<p style="margin:0px;font-stretch:normal;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><span> </span>Minor opcode of failed request:<span> </span>5 (X_GLXMakeCurrent)</span></p>
<p style="margin:0px;font-stretch:normal;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><span> </span>Serial number of failed request:<span> </span>1400</span></p>
<p style="margin:0px;font-stretch:normal;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><span> </span>Current serial number in output stream:<span> </span>1400</span></p><p style="margin:0px;font-stretch:normal;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></p><p style="margin:0px;font-stretch:normal;font-size:18px;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><span style="font-variant-ligatures:no-common-ligatures"><br></span></p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">Did anyone encounter the same error<font size="1">? </font>Any suggestions or tips to overcome this problem would be appreciated. </p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><br></p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">Thanks,</p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)"><br></p><p style="margin:0px;font-stretch:normal;line-height:normal;font-family:Menlo;color:rgb(0,0,0)">Zongli</p></div></div>
_______________________________________________<br>
3dem mailing list<br>
<a href="mailto:3dem@ncmir.ucsd.edu" target="_blank">3dem@ncmir.ucsd.edu</a><br>
<a href="https://mail.ncmir.ucsd.edu/mailman/listinfo/3dem" rel="noreferrer" target="_blank">https://mail.ncmir.ucsd.edu/mailman/listinfo/3dem</a><br>
</blockquote></div>