[3dem] Error to run chimera remotely on a GPU computer from Mac computer

M. Jason de la Cruz mdelacr at gmail.com
Thu Sep 30 12:49:32 PDT 2021


Hi Zongli,


As Colin mentioned, this error is likely due to GLX indirect rendering and
XQuartz on the Mac client.  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.


The following instructions are what I sent to my colleagues on this issue
back then (May 2021), hopefully they are still valid now:



1.  In a terminal on your Mac, enter the following command:



defaults write org.xquartz.X11 enable_iglx -bool true



2.  If you don’t have the most recent XQuartz on your system, go to
https://urldefense.proofpoint.com/v2/url?u=https-3A__www.xquartz.org_&d=DwIFaQ&c=-35OiAkTchMrZOngvJPOeA&r=L7-zyQ-04fFCMRqzLIOnx7H0exGZHwIQe_wMPuY600I&m=AcV0vx8pVkfhGsmyIoemLBac0cgMCXZqm14r5_Zuc4s&s=Edl7sawDWheY3rGtgL0m3js2KfYQ5WZJfz2-oHtbV_8&e=  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.



3.  On your Mac, open a terminal and connect to the remote Linux system
using the ssh command such as below:



ssh -X [user]@[remote-computer] or ssh -Y [user]@[remote-computer]



4.  Source SBGrid if necessary, then try to open an image using 3dmod or
e2display.py.  Alternatively, you can enter the commands glxinfo or glxgears to
test and make sure you have no errors.



Hope that helps!



Best,

--Jason




On Thu, Sep 30, 2021 at 3:15 PM Colin Gauvin <colin at gauvin.id> wrote:

It sounds like you need to enable indirect GLX (iGLX) on the client machine.

If you are using XQuartz, iGLX is disabled by default.


--

Best Regards,


Colin Gauvin

colin at gauvin.id

Lawrence Laboratory, Montana State University

(401) 263-0343

On Thu, Sep 30, 2021 at 1:57 PM Zongli Li <zongli.li at gmail.com> wrote:

> Dear listers,
>
> 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:
>
> X Error of failed request:  GLXBadCurrentWindow
>
>   Major opcode of failed request:  149 (GLX)
>
>   Minor opcode of failed request:  5 (X_GLXMakeCurrent)
>
>   Serial number of failed request:  1400
>
>   Current serial number in output stream:  1400
>
>
>
> Did anyone encounter the same error? Any suggestions or tips to overcome
> this problem would be appreciated.
>
>
> Thanks,
>
>
> Zongli
> _______________________________________________
> 3dem mailing list
> 3dem at ncmir.ucsd.edu
> https://mail.ncmir.ucsd.edu/mailman/listinfo/3dem
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.ncmir.ucsd.edu/pipermail/3dem/attachments/20210930/259292c6/attachment.html>


More information about the 3dem mailing list