On 23/01/2020 01:45, Emilia C. Arturo (Emily) wrote:
This is a follow-up from a thread from May 2018 (https://www.mail-archive.com/coot@jiscmail.ac.uk/msg04199.html )

That thread was mostly about running coot remotely. From the rest of your message, that seems not to be the case for you.


I can no longer open or run the Coot graphics interface, neither through Phenix nor from its separate installation by calling coot from the terminal. The terminal output is

*** Cannot find the double-buffered visual.

*** Trying single-buffered visual.


Indicative of X11/OpenGL failure.

Running glxgears only returns

Error: couldn't get an RGB, Double-buffered visual

Same.

Running coot --no-graphics from the command line returns no errors after running all the python scripts and Welcoming me to Coot.

Interesting but not useful.

This all started after a recent download and installation of CCP-EM (version 
1.4.1 for Mac),

That should not affect your drivers.

which came after updating my XQuartz from 2.7.7 to 2.7.11

that might...

and updating my ccp4 package (to version 7.0)

but that won't.

Perhaps uninstall 2.7.11 and install 2.7.8 - it's a shot in the dark though.


This message is especially directed at MacBook Pro users like myself because I think it's an issue with my gfx card and/or something to do with how OpenGL is implemented. I am using a MBP running mac OS Mojave version 10.14.2. My graphics are supported with NVIDIA GeForce GT 750M 2048 MB Intel Iris Pro 1536 MB. My colleagues who have Macs (not MBPs) that use AMD cards instead of NVIDIA cards do not have this issue. I can't find any Mac-supported updates to this particular NVIDIA gfx card, and I am not eager yet to upgrade the OS to Catalina, but I'll try soon if nothing else seems more rational. Running PyMOL (either through Phenix or separately) or any other graphics program that seems to run OpenGL, works fine.

Maybe relevant:

https://appleinsider.com/articles/19/02/14/video-nvidia-support-was-abandoned-in-macos-mojave-and-heres-why

The Nvidia drivers are for High Sierra:

https://www.nvidia.com/download/driverResults.aspx/153191/


Have any of you managed a workaround or a fix?

This is some of what I tried (all libraries seem installed, no errors about 
that, by the way):
I have edited my startx file to enable +iglx both by running the command 'defaults write org.macosforge.xquartz.X11 enable_iglx -bool true' and by editing the start file directly (defaultclientargs="+iglx"
defaultserverargs="+iglx") .

I don't think that is related - as you are not displaying from a remote client 
onto your laptop X11 server.

Actually running 'defaults read org.macosforge.xquartz.X11 enable_iglx' returned a 1 before I even edited the startx file, even though rumors have it that the newer XQuartz installations disable iglx by default) I followed directions from here https://www.visitusers.org/index.php?title=Re-enabling_INdirect_glx_on_your_X_server  and it's consistent with what I've seen in several forums.

I don't think that this is a remote display problem.

I have restarted my MBP, powered off and on, uninstalled XQuartz and re-installed the newer version.

:-(

Interestingly, installing the older XQuartz version (2.7.7) that had previously supported Coot just fine did not improve or change things - I can't get Coot to run no matter what now. I have deleted the tmp/.Xi-lock files, and tried the circuit again, but I am only losing track of things now.

Before dealing with the weightiness of Coot, I'd suggest getting xterm to work (so that you know XQuartz works at all) then get glxgears to work, then think about Coot.

Normally, the blessed path is to update the OS, then reinstall XQuartz 2.7.8. However, that was before Apple and Nvidia spats and I don't think that I ever tried that on a MacBook Pro with Nvidia graphics.

What I think has most chance of working:

   - Install High Sierra (Mac OS X 10.13)

   - Install Nvidia drivers from above link

   - Install XQuartz 2.7.8 (but maybe 2.7.11 will work just as well now)

   - Install CCP4 7.0

   - Install CCPEM latest nightlies

But I don't know much about Macs so this is quite speculative. Hope it helps?

Paul.

p.s. For those still following, FWIW, at some stage there will be a native version so all this X11/XQuartz business will go away.

########################################################################

To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/webadmin?SUBED1=COOT&A=1

Reply via email to