Open rbs-sci opened 2 months ago
OK, it runs without the above crash on Ubuntu 24.04 baremetal, but everything is broken. Cryo-EM maps "load" but the screen is blank, PDB files "load" but the screen is blank, PDB files "download" but there is no network activity...
I guess I got my hopes up for linuxbrew. Back to trying to figure out why RDKit tells me gcc can't compile anything (when it's just compiled nearly two dozen other things)...
The complete lack of anything showing up with linuxbrew-Coot appears to be related to which GPU is being used as the primary (24.04 baremetal test system is a hybrid GPU (Intel iGPU with nVidia dGPU, can switch between the two) - with "autodetect" or "Intel" selected, loading maps or models does not display them. With nVidia dGPU selected as primary output, maps and models display correctly.
@rbs-sci This looks very similar to problems I had when I was trying to use a (new) version of GTK4 that I'd compiled myself. So I don't think that it's a Coot problem - it's a GTK installation problem.
I wrote some (cryptic perhaps) notes about compiling schemas in dnotes
- mabye that will be helpful.
Is it possible that Gtk4 is confusing schemas between different Gtk installations?
@rbs-sci BTW, if/when you get this working, I am curious to know if the OpenGL context for the graphics is antialiased. I have a hope that it will be: https://blog.gtk.org/2024/01/28/new-renderers-for-gtk/
@rbs-sci This looks very similar to problems I had when I was trying to use a (new) version of GTK4 that I'd compiled myself. So I don't think that it's a Coot problem - it's a GTK installation problem.
I wrote some (cryptic perhaps) notes about compiling schemas in
dnotes
- mabye that will be helpful.
Cheers, Paul, I'll look at that! I initially hypothesised that Gtk4 had had an update between be installing on the VM I was testing on and real hardware, but that does not appear to be the case.
Is it possible that Gtk4 is confusing schemas between different Gtk installations?
Not sure; I don't think so, it's reproducible across clean installs (24.04 works, 22.04 doesn't) and different desktop environments (Ubuntu Gnome, Linux Mint Cinnamon).
...
I'll see if I can figure out what GTK is doing...
After success with getting Coot 1.1.10 working with @YoshitakaMo's homebrew formula working on an M1 Mac, I thought I'd try it in linuxbrew... since using the build-it-3-3 script always seems to fail during RDKit building with cmake complaining gcc doesn't work (used to work fine with Coot 1.1.03...?). Initial tests in a QEMU KVM were promising; it builds and runs, although I've not tried anything particularly exotic with it yet as the VM is pretty low spec.
As I'm evaluating Ubuntu 24.04 as the new LTS release before shifting our systems to it (probably in October...) the VM was based on that. Also works with Mint 22 Cinnamon (based on Ubuntu 24.04).
However, on baremetal Mint 21 (based on Ubuntu 22.04) I get the following crash (and yes, FileChooser is installed and schemas are set correctly...):
I'm wondering whether it's getting confused picking up the ccp4-8 monomer libraries, but I don't see why that would be confusing it? It seems to be the linuxbrew Glib and gtk4 which is unhappy. I've hauled a decommissioned box out of the cupboard, will install 24.04 baremetal on that and see if it works. If so, I guess I just bring up my upgrade schedule, at least for systems we do model building on.
Nothing useful in kernel logs or dmesg despite the core dump (maybe hiding in a linuxbrew directory?)
If anyone has any thoughts, 'twould be appreciated.