Opened 7 years ago
Closed 7 years ago
#1695 closed defect (fixed)
Switching to stereo camera crashes
| Reported by: | Tom Goddard | Owned by: | Tom Goddard |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Graphics | Version: | |
| Keywords: | Cc: | ||
| Blocked By: | Blocking: | ||
| Notify when closed: | Platform: | all | |
| Project: | ChimeraX |
Description
The following bug report has been submitted: Platform: Windows-10-10.0.17763 ChimeraX Version: 0.9 (2019-02-04) Description camera stereo Log: UCSF ChimeraX version: 0.9 (2019-02-04) © 2016-2019 Regents of the University of California. All rights reserved. How to cite UCSF ChimeraX > open 6bb5 6bb5 title: Human Oxy-Hemoglobin [more info...] Chain information for 6bb5 #1 --- Chain | Description A | Hemoglobin subunit α B | Hemoglobin subunit β Non-standard residues in 6bb5 #1 --- HEM — protoporphyrin IX containing Fe (HEME) OXY — oxygen molecule 6bb5 mmCIF Assemblies --- 1| author_and_software_defined_assembly > camera stereo An error occurred in drawing the scene. Redrawing graphics is now stopped to avoid a continuous stream of error messages. To restart graphics use the command "graphics restart" after changing the settings that caused the error. Traceback (most recent call last): File "C:\Program Files\ChimeraX-Feb-4-2019\bin\lib\site- packages\chimerax\core\updateloop.py", line 72, in draw_new_frame view.draw(check_for_changes = False) File "C:\Program Files\ChimeraX-Feb-4-2019\bin\lib\site- packages\chimerax\core\graphics\view.py", line 159, in draw self._draw_scene(camera, drawings) File "C:\Program Files\ChimeraX-Feb-4-2019\bin\lib\site- packages\chimerax\core\graphics\view.py", line 218, in _draw_scene draw_opaque(r, opaque_drawings) File "C:\Program Files\ChimeraX-Feb-4-2019\bin\lib\site- packages\chimerax\core\graphics\drawing.py", line 1367, in draw_opaque _draw_multiple(drawings, renderer, Drawing.OPAQUE_DRAW_PASS) File "C:\Program Files\ChimeraX-Feb-4-2019\bin\lib\site- packages\chimerax\core\graphics\drawing.py", line 1378, in _draw_multiple d.draw(renderer, draw_pass) File "C:\Program Files\ChimeraX-Feb-4-2019\bin\lib\site- packages\chimerax\core\graphics\drawing.py", line 688, in draw self.draw_self(renderer, draw_pass) File "C:\Program Files\ChimeraX-Feb-4-2019\bin\lib\site- packages\chimerax\core\graphics\drawing.py", line 695, in draw_self self._draw_geometry(renderer, opaque_only = any_transp) File "C:\Program Files\ChimeraX-Feb-4-2019\bin\lib\site- packages\chimerax\core\graphics\drawing.py", line 753, in _draw_geometry ds.draw(self.display_style) File "C:\Program Files\ChimeraX-Feb-4-2019\bin\lib\site- packages\chimerax\core\graphics\drawing.py", line 1548, in draw eb.draw_elements(etype, ni) File "C:\Program Files\ChimeraX-Feb-4-2019\bin\lib\site- packages\chimerax\core\graphics\opengl.py", line 2266, in draw_elements GL.glDrawElementsInstanced(element_type, ne, GL.GL_UNSIGNED_INT, eo, ninst) File "src\latebind.pyx", line 32, in OpenGL_accelerate.latebind.LateBind.__call__ File "src\wrapper.pyx", line 311, in OpenGL_accelerate.wrapper.Wrapper.__call__ OSError: exception: access violation reading 0x0000000000000000 OpenGL version: 3.3.0 NVIDIA 391.58 OpenGL renderer: Quadro P6000/PCIe/SSE2 OpenGL vendor: NVIDIA Corporation
Change History (4)
comment:1 by , 7 years ago
| Component: | Unassigned → Graphics |
|---|---|
| Owner: | set to |
| Platform: | → all |
| Project: | → ChimeraX |
| Status: | new → assigned |
| Summary: | ChimeraX bug report submission → Switching to stereo camera crashes |
comment:2 by , 7 years ago
comment:3 by , 7 years ago
Switching to stereo camera works before any model is opened. So probably the error is related to sharing OpenGL state between the mono context and stereo context and rebuilding framebuffers and vertex array objects., ....
comment:4 by , 7 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Fixed.
When OpenGL context was switched to stereo, VAO (vertex array object) binding of element buffer was not restored. This bug was introduced 6 months ago in July 2018. Apparently no one is trying to use stereo.
Note:
See TracTickets
for help on using tickets.
Tests show July 23, 2018 and later versions give same error on camera stereo. July 17, 2018 version gives no error but does not show molecule. June 27, 2018 works correctly.