JiscMail Logo
Email discussion lists for the UK Education and Research communities

Help for COOT Archives


COOT Archives

COOT Archives


COOT@JISCMAIL.AC.UK


View:

Message:

[

First

|

Previous

|

Next

|

Last

]

By Topic:

[

First

|

Previous

|

Next

|

Last

]

By Author:

[

First

|

Previous

|

Next

|

Last

]

Font:

Proportional Font

LISTSERV Archives

LISTSERV Archives

COOT Home

COOT Home

COOT  February 2020

COOT February 2020

Options

Subscribe or Unsubscribe

Subscribe or Unsubscribe

Log In

Log In

Get Password

Get Password

Subject:

Re: coot from refinement branch does not display maps with hw stereo

From:

Christian Becke <[log in to unmask]>

Reply-To:

Christian Becke <[log in to unmask]>

Date:

Mon, 10 Feb 2020 18:27:23 +0100

Content-Type:

text/plain

Parts/Attachments:

Parts/Attachments

text/plain (109 lines)

Dear Paul,

Am 10.02.20 um 16:42 schrieb Paul Emsley:
> On 10/02/2020 11:23, Christian Becke wrote:
>> I am currently testing coot built from the refinement branch (revision
>> 9786) on Gentoo linux.
>
> are you using ccpem jhbuild or using the build-it script? Or something else?

Something else. I wrote an "ebuild" for coot, which is essentially a
wrapper script around autotools used by Gentoo's package manager
"portage".  But I also built it for testing using plain ./configure and
make. I had to patch the configure script a bit to get it to pickup some
of the dependencies (glut, gtkglext, guile and python) - the autoconf
macros that come with coot do not work so well on Gentoo, so I had to
patch in pkg-config support for some of these.

>>  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
>
> Oh dear - that look like I left behind some debugging :-(
>
>
> (set-display-lists-for-maps 0) ;; or maybe 1

That was easy! Works like a charm, thank you.

>> There is also something strange about the stereo display of the model -
>> possibly a different stereo angle than in the previous versions?
>
> Yes. First person to mention it (congratulations?). The difference
> between the eyes is now a shear, not a rotation. This means that you 
> don't get part of the structure and map that is in one eye but not the
> other - which should improve (as in reduce) eye-strain. There are still
> weird visual effects if you letterbox the window.

Good to know, I will test if it works for me.

>> 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.
>
> This doesn't ring any bells.  Can you use gdb on the core file?
I don't have a core file around right now. Will try to get a backtrace
next time it happens.
>>  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.
>> 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)
>
>
> Yes, this looks like the sort of thing to expect if one is using the
> wrong/new/modern/supported version of guile-gtk - it looks like
OK, so I am shooting my own foot, here - I was kind of expecting that. :)
> coot-main-menubar isn't returning a value that coot-menubar-menu can
> deal with - I will need to look at the glue between guile and c/c++.

What I still find puzzling is that it does not always crash loading the
same script, last lines of output before the crash are not always the
same. And it doesn't always crash. So sometimes coot-main-menubar is
returning the right value, sometimes not? Still some kind of race
condition during initialisation?

> If needed, you can compile coot without guile and it works pretty good.

That would mean I would have to live without many of the curlew
scripts... :(


Thank you for your help and fast reply,

Christian

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

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

Top of Message | Previous Page | Permalink

JiscMail Tools


RSS Feeds and Sharing


Advanced Options


Archives

October 2021
September 2021
August 2021
July 2021
June 2021
May 2021
April 2021
March 2021
February 2021
January 2021
December 2020
November 2020
October 2020
September 2020
August 2020
July 2020
June 2020
May 2020
April 2020
March 2020
February 2020
January 2020
December 2019
November 2019
October 2019
September 2019
August 2019
July 2019
May 2019
April 2019
March 2019
February 2019
January 2019
December 2018
November 2018
October 2018
September 2018
August 2018
July 2018
June 2018
May 2018
April 2018
March 2018
February 2018
January 2018
December 2017
November 2017
October 2017
September 2017
August 2017
July 2017
June 2017
May 2017
April 2017
March 2017
February 2017
January 2017
December 2016
November 2016
October 2016
September 2016
August 2016
July 2016
June 2016
May 2016
April 2016
March 2016
February 2016
January 2016
December 2015
November 2015
October 2015
September 2015
August 2015
July 2015
June 2015
May 2015
April 2015
March 2015
February 2015
January 2015
December 2014
November 2014
October 2014
September 2014
August 2014
July 2014
June 2014
May 2014
April 2014
March 2014
February 2014
January 2014
December 2013
November 2013
October 2013
September 2013
August 2013
July 2013
June 2013
May 2013
April 2013
March 2013
February 2013
January 2013
December 2012
November 2012
October 2012
September 2012
August 2012
July 2012
June 2012
May 2012
April 2012
March 2012
February 2012
January 2012
December 2011
November 2011
October 2011
September 2011
August 2011
July 2011
June 2011
May 2011
April 2011
March 2011
February 2011
January 2011
December 2010
November 2010
October 2010
September 2010
August 2010
July 2010
June 2010
May 2010
April 2010
March 2010
February 2010
January 2010
December 2009
November 2009
October 2009
September 2009
August 2009
July 2009
June 2009
May 2009
April 2009
March 2009
February 2009
January 2009
December 2008
November 2008
October 2008
September 2008
August 2008
July 2008
June 2008
May 2008
April 2008
March 2008
February 2008
January 2008
December 2007
November 2007
October 2007
September 2007
August 2007
July 2007
June 2007
May 2007
April 2007
March 2007
February 2007
January 2007


JiscMail is a Jisc service.

View our service policies at https://www.jiscmail.ac.uk/policyandsecurity/ and Jisc's privacy policy at https://www.jisc.ac.uk/website/privacy-notice

For help and support help@jisc.ac.uk

Secured by F-Secure Anti-Virus CataList Email List Search Powered by the LISTSERV Email List Manager