Opened 6 years ago

Closed 6 years ago

#2697 closed defect (can't reproduce)

Graphics problem drawing silhouettes

Reported by: chimerax-bug-report@… 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:        Linux-4.4.0-170-generic-x86_64-with-debian-stretch-sid
ChimeraX Version: 0.91 (2019-06-29)
Description
(Describe the actions that caused this problem to occur here)

Log:
UCSF ChimeraX version: 0.91 (2019-06-29)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  

> open /data/disk3/modeling/gp17/Figure4-20191123.cxs format session

opened ChimeraX session  

> hide #!21 models

> open /data/disk3/modeling/Chan-masked-hp.mrc

Opened Chan-masked-hp.mrc, grid size 128,128,128, pixel 5.4, shown at level
0.175, step 1, values float32  

> select #7

2 models selected  

> ui mousemode rightMode "rotate selected models"

> ui mousemode rightMode "translate selected models"

> ui mousemode rightMode "rotate selected models"

> ui mousemode rightMode "translate selected models"

> ui mousemode rightMode "rotate selected models"

> save session /data/disk3/modeling/Figure5-20191217.cxs

> hide #!7 models

> show #!7 models

> hide #!23 models

> show #!23 models

> fitmap #7 inMap #23

Fit map Chan-masked-hp.mrc in map gp12-new.mrc using 20980 points  
correlation = 0.3225, correlation about mean = 0.2001, overlap = 7.571  
steps = 460, shift = 5.15, angle = 3.81 degrees  
  
Position of Chan-masked-hp.mrc (#7) relative to gp12-new.mrc (#23)
coordinates:  
Matrix rotation and translation  
-0.16132834 0.98541505 0.05413202 -296.75005654  
-0.98669783 -0.16216464 0.01140082 396.62874959  
0.02001284 -0.05157267 0.99846867 -291.22590686  
Axis -0.03191095 0.01728943 -0.99934117  
Axis point 22.45242000 317.64939384 0.00000000  
Rotation angle (degrees) 99.35274093  
Shift along axis 307.36109815  
  

Expected a keyword  

Unknown command: dust #7 size 50  

> surface dust #7 size 50

> transparency #7 50

> transparency #7 70

> lighting soft

> lighting simple

> lighting soft

> transparency #7 30

> transparency #7 50

> lighting soft

> lighting simple

> lighting full

> lighting soft

> lighting simple

> hide #!4 models

> hide #!7 models

> show #!7 models

> ~select #7

Nothing selected  

> hide #!7 models

> show #!7 models

> show #!11 models

> surface dust #11 size 50

> hide #!11 models

> show #!11 models

> close #11

> show #!58 models

> surface dust #58 size 50

> show #!27 models

> hide #!58 models

> surface dust #27 size 50

> transparency #7 70

> save session /data/disk3/modeling/Figure5-20191217.cxs

> hide #!7 models

> show #!7 models

> show #!21 models

> hide #!21 models

> save /data/disk3/Paper-use/tail-fiber-20191219-1.tif pixelSize 0.1
supersample 10 transparentBackground true

> open /data/disk3/modeling/fiber-arm-leg.mrc

Opened fiber-arm-leg.mrc, grid size 360,360,360, pixel 1.05, shown at level
0.000124, step 2, values float32  

> lighting flat

> lighting soft

> select #8

2 models selected  

> ui mousemode rightMode "translate selected models"

> ui mousemode rightMode "rotate selected models"

> ui mousemode rightMode "rotate selected models"

> view cofr false

> ~select #8

Nothing selected  

> select #8

2 models selected  

> ui mousemode rightMode "rotate selected models"

> ui mousemode rightMode "translate selected models"

> ui mousemode rightMode "rotate selected models"

> ui mousemode rightMode "rotate selected models"

> ui mousemode rightMode "translate selected models"

> ui mousemode rightMode "translate selected models"

> ui mousemode rightMode "rotate selected models"

> ui mousemode rightMode "translate selected models"

> ui mousemode rightMode "rotate selected models"

> ui mousemode rightMode "translate selected models"

> fitmap #8 inMap #7

Fit map fiber-arm-leg.mrc in map Chan-masked-hp.mrc using 24257 points  
correlation = 0.6018, correlation about mean = 0.05074, overlap = 25.25  
steps = 92, shift = 12.2, angle = 5.16 degrees  
  
Position of fiber-arm-leg.mrc (#8) relative to Chan-masked-hp.mrc (#7)
coordinates:  
Matrix rotation and translation  
-0.02319024 0.07336118 0.99703562 229.84078118  
-0.99588401 0.08570983 -0.02946993 356.01015940  
-0.08761772 -0.99361545 0.07107161 474.62330341  
Axis -0.53486646 0.60171901 -0.59317123  
Axis point 462.19647025 0.00000000 345.85712069  
Rotation angle (degrees) 115.67109568  
Shift along axis -190.24893161  
  

> lighting soft

> lighting simple

> lighting soft

> lighting simple

> lighting soft

> lighting soft

> lighting simple

> lighting flat

> lighting full

> lighting shadows false

> lighting soft

> lighting simple

> select clear

> hide #!8 models

> show #!8 models

> hide #!27 models

> show #!27 models

> hide #!17 models

> show #!17 models

> hide #!7 models

> hide #!8 models

> show #!8 models

> show #!10 models

> hide #!10 models

> show #!10 models

> hide #!10 models

> close #10

> show #!8 models

> hide #!8 models

> show #!8 models

> select #8

2 models selected  

> ui mousemode rightMode "translate selected models"

> ui mousemode rightMode "rotate selected models"

> ui mousemode rightMode "translate selected models"

> ui mousemode rightMode "translate selected models"

> ui mousemode rightMode "rotate selected models"

> ui mousemode rightMode "translate selected models"

> ui mousemode rightMode "rotate selected models"

> ui mousemode rightMode "translate selected models"

> ui mousemode rightMode "rotate selected models"

> ui mousemode rightMode "translate selected models"

> ui mousemode rightMode "rotate selected models"

> ui mousemode rightMode "translate selected models"

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 "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/core/updateloop.py", line 72, in draw_new_frame  
view.draw(check_for_changes = False)  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/core/graphics/view.py", line 164, in draw  
self._draw_scene(camera, drawings)  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/core/graphics/view.py", line 234, in _draw_scene  
silhouette.finish_silhouette_drawing(r)  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/core/graphics/opengl.py", line 1623, in
finish_silhouette_drawing  
fb = r.pop_framebuffer()  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/core/graphics/opengl.py", line 624, in pop_framebuffer  
fb.activate()  
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-
packages/chimerax/core/graphics/opengl.py", line 2077, in activate  
GL.glDrawBuffer(self._draw_buffer)  
File "src/errorchecker.pyx", line 53, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError  
OpenGL.error.GLError: GLError(  
err = 1282,  
description = b'invalid operation',  
baseOperation = glDrawBuffer,  
cArguments = (GL_BACK,)  
)  
  




OpenGL version: 3.3.0 NVIDIA 384.130
OpenGL renderer: Quadro K2200/PCIe/SSE2
OpenGL vendor: NVIDIA Corporation

Change History (2)

comment:1 by Eric Pettersen, 6 years ago

Component: UnassignedGraphics
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionGraphics problem drawing silhouettes

comment:2 by Tom Goddard, 6 years ago

Resolution: can't reproduce
Status: assignedclosed

Appears user was moving and rotating selected model with mouse. They had silhouettes enabled and the error happened when the silhouette framebuffer was popped and the previous framebuffer attempted to activate, setting the draw target to GL_BACK. That this fails suggests that the framebuffer had no GL_BACK target, but this should have been the default framebuffer if it was setting GL_BACK.

Don't have any idea. Using an older June 2019 ChimeraX. I recall fixing a problem where extra framebuffers got pushed onto stack and not popped but could not find that fix in the log.

Note: See TracTickets for help on using tickets.