Re: [COOT] Hardware stereo mode in recent Coot versions

2020-12-29 Thread Paul Emsley


On 24/12/2020 14:41, Jean-Christophe HAESSIG wrote:

Hi,

I'm packaging Coot for our users which are keen on stereo mode (namely,
using 3D Vision hardware).

I have it working in 0.8.2, but starting from 0.8.9.1, it displays a
black screen when stereo mode is selected. Getting back to mono
displays correctly.

I have found a thread in the mailing list dating back from Feb'20 which
seemingly states the same problem with console messages like

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

However the suggested fix :


(set-display-lists-for-maps 0) ;; or maybe 1

does not seem to do anything, it just turns stereo mode off.

I tested this in 0.9.3.

I have a programming background so if required I can have a look but I
would be glad to have some pointers about where all that stuff happens
in the code.

Thank you,
J.C. Haessig
Systems administrator -- IGBMC


This (if this is the same issue (and I think that it is)) was discussed on the 
CCP4BB a little while ago:


Hi Paul,

Am 25.11.20 um 17:14 schrieb Paul Emsley:
I have committed 30ec64cc9906a5f19142a87d88b522f6f65409fa which I 
think/hope should fix the problem (undoing the breaking). Just to be 
clear, this commit doesn't require that you have backed out 
5043f6adbbbc5725149e6c53bbbc6a85f3c5e8af.



30ec64cc9906a5f19142a87d88b522f6f65409fa fixes the problems 
introduced by 5043f6adbbbc5725149e6c53bbbc6a85f3c5e8af. Or so I hope.


with commit 30ec64 hardware stereo works again for me, thank you for 
the quick fix!


Christian



So there is a fix in the repo, but 0.9.4 has not been released yet.


Paul.





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

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/


Re: [COOT] Hardware stereo mode in recent Coot versions

2020-12-29 Thread Pedro Matias

Hi Jean-Christophe,

Is this in a Windows or Linux environment?

In Linux, the problem you describe happens when maps are displayed in 
stereo.


You can fix this by adding the line you mention to a .coot file in your 
user's root directory. I'm pasting below my .coot contents:



(allow-duplicate-sequence-numbers)
(set-nomenclature-errors-on-read "ignore")
(set-hardware-stereo-angle-factor 0.4 )
(set-display-lists-for-maps 0)


This works fine in 0.9.3 distributed with CCP4 (quad-buffered stereo was 
broken in 0.9.2 and may still be in the standalone 0.9.3 version).


Hope this is of help to you.

Regards,

Pedro

Às 14:41 de 24/12/2020, Jean-Christophe HAESSIG escreveu:

Hi,

I'm packaging Coot for our users which are keen on stereo mode (namely,
using 3D Vision hardware).

I have it working in 0.8.2, but starting from 0.8.9.1, it displays a
black screen when stereo mode is selected. Getting back to mono
displays correctly.

I have found a thread in the mailing list dating back from Feb'20 which
seemingly states the same problem with console messages like

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

However the suggested fix :


(set-display-lists-for-maps 0) ;; or maybe 1

does not seem to do anything, it just turns stereo mode off.

I tested this in 0.9.3.

I have a programming background so if required I can have a look but I
would be glad to have some pointers about where all that stuff happens
in the code.

Thank you,
J.C. Haessig
Systems administrator -- IGBMC




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

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/


--

Industry and Medicine Applied Crystallography
Macromolecular Crystallography Unit
___
Phones : (351-21) 446-9100 Ext. 1669
 (351-21) 446-9669 (direct)
 Fax   : (351-21) 441-1277 or 443-3644

email : mat...@itqb.unl.pt

http://www.itqb.unl.pt/research/biological-chemistry/industry-and-medicine-applied-crystallography
http://www.itqb.unl.pt/labs/macromolecular-crystallography-unit

Mailing address :
Instituto de Tecnologia Quimica e Biologica António Xavier
Universidade Nova de Lisboa
Av. da República
2780-157 Oeiras
PORTUGAL

ITQB NOVA, a great choice for your PhD
https://youtu.be/de6j-aaTWNQ

Master Programme in Biochemistry for Health
https://youtu.be/UKstDCFjYI8



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

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/


[COOT] Hardware stereo mode in recent Coot versions

2020-12-24 Thread Jean-Christophe HAESSIG
Hi,

I'm packaging Coot for our users which are keen on stereo mode (namely,
using 3D Vision hardware).

I have it working in 0.8.2, but starting from 0.8.9.1, it displays a
black screen when stereo mode is selected. Getting back to mono
displays correctly.

I have found a thread in the mailing list dating back from Feb'20 which
seemingly states the same problem with console messages like

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

However the suggested fix :

> (set-display-lists-for-maps 0) ;; or maybe 1

does not seem to do anything, it just turns stereo mode off.

I tested this in 0.9.3.

I have a programming background so if required I can have a look but I
would be glad to have some pointers about where all that stuff happens
in the code.

Thank you,
J.C. Haessig
Systems administrator -- IGBMC




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

This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list 
hosted by www.jiscmail.ac.uk, terms & conditions are available at 
https://www.jiscmail.ac.uk/policyandsecurity/