Dear all,

I am currently testing coot built from the refinement branch (revision
9786) on Gentoo linux. I would like to display maps and models using
hardware stereo. Stereo is working fine if I use an older version of
coot (e.g. coot-0.8.9.2 EL as shipped with CCP4). Unfortunately, with
coot built from the refinement branch, maps are hidden upon switching
from mono to hardware stereo. When switching back to mono, maps are
shown again. These messages are generated upon switching to hw stereo
and back to mono:

(stereo-mode-state)
(stereo-mode-state)
(stereo-mode-state)
(stereo-mode-state)
(stereo-mode-state)
INFO:: Hardware stereo widget opened successfully
ERROR:: using display list 0 when main_or_secondary is 1
ERROR:: using display list 0 when main_or_secondary is 1
ERROR:: using display list 0 when main_or_secondary is 1
ERROR:: using display list 0 when main_or_secondary is 1
(hardware-stereo-mode)
(stereo-mode-state)
ERROR:: using display list 0 when main_or_secondary is 1
ERROR:: using display list 0 when main_or_secondary is 1
ERROR:: using display list 0 when main_or_secondary is 1
ERROR:: using display list 0 when main_or_secondary is 1
ERROR:: using display list 0 when main_or_secondary is 1
ERROR:: using display list 0 when main_or_secondary is 1
ERROR:: using display list 0 when main_or_secondary is 1
ERROR:: using display list 0 when main_or_secondary is 1
ERROR:: using display list 0 when main_or_secondary is 1
ERROR:: using display list 0 when main_or_secondary is 1
ERROR:: using display list 0 when main_or_secondary is 1
ERROR:: using display list 0 when main_or_secondary is 1
ERROR:: using display list 0 when main_or_secondary is 1
ERROR:: using display list 0 when main_or_secondary is 1
ERROR:: using display list 0 when main_or_secondary is 1
ERROR:: using display list 0 when main_or_secondary is 1
ERROR:: using display list 0 when main_or_secondary is 1
ERROR:: using display list 0 when main_or_secondary is 1
ERROR:: using display list 0 when main_or_secondary is 1
ERROR:: using display list 0 when main_or_secondary is 1
INFO:: switch to mono_mode succeeded
Elapsed time for map contouring: 311ms
(mono-mode)

There is also something strange about the stereo display of the model -
possibly a different stereo angle than in the previous versions? I can't
really tell what it is, but it definitely looks different. I had a quick
glance at the source code, trying to spot related differences between
the refinement and master branches, but there were quite a few code
changes and I did not dive in deep enough to track down the code path.
Any ideas what might be causing these issues?

Another, probably unrelated, issue I am facing are random crashes during
startup. Messages look like scheme plugins try to access GUI code that
has not been initialized, yet (see below). If I restart coot several
times, it will eventually startup successfully after a couple of tries,
so I suspect some kind of race condition. I applied some patches to
build coot against guile-2.0 (guile-1.8 is not available on Gentoo
anymore), maybe this is causing problems? I would appreciate some help
with debugging this.

Best wishes,

Christian

$ coot

(coot-bin:31335): GLib-GObject-WARNING **: 11:55:46.060:
g_object_set_is_valid_property: object class 'GtkSettings' has no
property named 'gtk-application-prefer-dark-theme'
There are 130 data in /usr/share//data/monomers/list/mon_lib_list.cif
There are 2 data in /usr/share//data/monomers/a/ALA.cif
There are 2 data in /usr/share//data/monomers/a/ASP.cif
There are 2 data in /usr/share//data/monomers/a/ASN.cif
There are 2 data in /usr/share//data/monomers/c/CYS.cif
There are 2 data in /usr/share//data/monomers/g/GLN.cif
There are 2 data in /usr/share//data/monomers/g/GLY.cif
There are 2 data in /usr/share//data/monomers/g/GLU.cif
There are 2 data in /usr/share//data/monomers/p/PHE.cif
There are 2 data in /usr/share//data/monomers/h/HIS.cif
There are 2 data in /usr/share//data/monomers/i/ILE.cif
There are 2 data in /usr/share//data/monomers/l/LYS.cif
There are 2 data in /usr/share//data/monomers/l/LEU.cif
There are 2 data in /usr/share//data/monomers/m/MET.cif
There are 2 data in /usr/share//data/monomers/m/MSE.cif
There are 2 data in /usr/share//data/monomers/p/PRO.cif
There are 2 data in /usr/share//data/monomers/a/ARG.cif
There are 2 data in /usr/share//data/monomers/s/SER.cif
There are 2 data in /usr/share//data/monomers/t/THR.cif
There are 2 data in /usr/share//data/monomers/v/VAL.cif
There are 2 data in /usr/share//data/monomers/t/TRP.cif
There are 2 data in /usr/share//data/monomers/t/TYR.cif
There are 2 data in /usr/share//data/monomers/p/PO4.cif
There are 2 data in /usr/share//data/monomers/s/SO4.cif
There are 2 data in /usr/share//data/monomers/g/GOL.cif
There are 2 data in /usr/share//data/monomers/c/CIT.cif
There are 2 data in /usr/share//data/monomers/e/EDO.cif
There are 2 data in /usr/share//data/monomers/a/A.cif
There are 2 data in /usr/share//data/monomers/c/C.cif
There are 2 data in /usr/share//data/monomers/g/G.cif
There are 2 data in /usr/share//data/monomers/u/U.cif
There are 2 data in /usr/share//data/monomers/d/DA.cif
There are 2 data in /usr/share//data/monomers/d/DC.cif
There are 2 data in /usr/share//data/monomers/d/DG.cif
There are 2 data in /usr/share//data/monomers/d/DT.cif
There are 2 data in /usr/share//data/monomers/h/HOH.cif
There are 2 data in /usr/share//data/monomers/n/NA.cif
INFO:: Reading coordinate file: /usr/share/coot/standard-residues.pdb
 PDBINFO:: file /usr/share/coot/standard-residues.pdb has been read.
Spacegroup: P 1
initalize graphics molecules...done.
(filter-fileselection-filenames-state)
(get-active-map-drag-flag)
(use-graphics-interface-state)
INFO:: coot.py imported
INFO:: coot_python initialized
Running python script
/usr/lib64/python2.7/site-packages/coot/coot_load_modules.py
Good Morning Person with no name, Welcome to Coot version 0.9-pre
(set-display-intro-string "Good Morning Person with no name, Welcome to
Coot version 0.9-pre")
Coot Python Scripting GUI code found and loaded.
Coot Python Scripting GUI code found and loaded.
(use-graphics-interface-state)
Running python script /home/chris/.coot-preferences/coot_toolbuttons.py
Running python script
/home/chris/.coot-preferences/curlew_long_residues_refine.py
(filter-fileselection-filenames-state)
(get-active-map-drag-flag)
(use-graphics-interface-state)
Coot Scheme Scripting GUI code found and loaded.
Good morning . Welcome to Coot 0.9-pre.
(set-display-intro-string "Good morning . Welcome to Coot 0.9-pre")
(set-display-lists-for-maps 1)
;;; note: source file /usr/share/coot/scheme/find-baddies.scm
;;;       newer than compiled
/home/chris/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/coot/scheme/find-baddies.scm.go
;;; note: auto-compilation is enabled, set GUILE_AUTO_COMPILE=0
;;;       or pass the --no-auto-compile argument to disable.
;;; compiling /usr/share/coot/scheme/find-baddies.scm
;;; compiled
/home/chris/.cache/guile/ccache/2.0-LE-8-2.0/usr/share/coot/scheme/find-baddies.scm.go
load /home/chris/.coot-preferences/coot-preferences.scm
(set-filter-fileselection-filenames 0)
(unset-sticky-sort-by-date)
(set-colour-map-rotation-on-read-pdb 21.00)
(set-colour-map-rotation-on-read-pdb-c-only-flag 1)
(set-density-size 30.00)
(set-swap-difference-map-colours 0)
(set-colour-map-rotation-for-map 14.00)
(set-active-map-drag-flag 1)
(set-idle-function-rotate-angle  1.00)
load /home/chris/.coot-preferences/curlew-black-box-morph-and-fit.scm
load /home/chris/.coot-preferences/curlew-morph-march.scm
Backtrace:
In ice-9/boot-9.scm:
 160: 4 [catch #t #<catch-closure 7f8f8d98c820> ...]
In unknown file:
   ?: 3 [apply-smob/1 #<catch-closure 7f8f8d98c820>]
In ice-9/eval.scm:
 411: 2 [eval # ()]
In coot-gui.scm:
1054: 1 [coot-menubar-menu "Morph"]
In unknown file:
   ?: 0 [gtk-container-children (#{score-1 1459}# . #f)]

ERROR: In procedure gtk-container-children:
ERROR: In procedure gtk-container-children: Wrong type argument in
position 1: (#{score-1 1459}# . #f)
guile (GNU Guile) 2.0.14
Copyright (C) 2016 Free Software Foundation, Inc.

License LGPLv3+: GNU LGPL 3 or later <http://gnu.org/licenses/lgpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
catching the crash log:
coot-exe: "/usr/libexec/coot-bin"
/bin/ls
coot-version:
/usr/libexec/coot-bin
platform:
/usr/bin/uname
core: #f
No core file found.  No debugging

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

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