Opened 7 years ago

Closed 7 years ago

#1550 closed defect (can't reproduce)

glClear: invalid enumerant

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:        Windows-7-6.1.7601-SP1
ChimeraX Version: 0.7 (2018-08-07)
Description
(Describe the actions that caused this problem to occur here)

Log:
UCSF ChimeraX version: 0.7 (2018-08-07)  
OpenGL version: 3.3.0 - Build 20.19.15.4454  
OpenGL renderer: Intel(R) HD Graphics 520  
OpenGL vendor: Intel  
How to cite UCSF ChimeraX  

open D:/myoA/MyoA-Act1_paper/RealSpaceRefine_66/5x_actin-4xMyoA-
coot-79_real_space_refined.pdb

Summary of feedback from opening D:/myoA/MyoA-
Act1_paper/RealSpaceRefine_66/5x_actin-4xMyoA-coot-79_real_space_refined.pdb  
---  
warnings | Ignored bad PDB record found on line 20  
  
  
Ignored bad PDB record found on line 21  
GEOMETRY RESTRAINTS LIBRARY: CDL v1.2  
  
Ignored bad PDB record found on line 22  
DEVIATIONS FROM IDEAL VALUES.  
  
Ignored bad PDB record found on line 23  
BOND : 0.008 0.348 38617  
  
Ignored bad PDB record found on line 24  
ANGLE : 0.991 18.230 52369  
  
18 messages similar to the above omitted  
  
Opened PDB data containing 37883 atoms and 38598 bonds  
Chain information for 5x_actin-4xMyoA-coot-79_real_space_refined.pdb #1  
---  
Chain | Description  
A B C D E | No description available  
G K L M | No description available  
  
Error processing trigger "frame drawn"  
Traceback (most recent call last):  
File "D:\Program Files\ChimeraX-0.7\bin\lib\site-
packages\chimerax\core\triggerset.py", line 126, in invoke  
return self._func(self._name, data)  
File "D:\Program Files\ChimeraX-0.7\bin\lib\site-
packages\chimerax\core\filehistory.py", line 69, in <lambda>  
t.add_handler('frame drawn', lambda *args, s=self: s.capture_thumbnails_cb())  
File "D:\Program Files\ChimeraX-0.7\bin\lib\site-
packages\chimerax\core\filehistory.py", line 81, in capture_thumbnails_cb  
fs.capture_image(models, ses)  
File "D:\Program Files\ChimeraX-0.7\bin\lib\site-
packages\chimerax\core\filehistory.py", line 152, in capture_image  
self.image = models_image(session, models, size)  
File "D:\Program Files\ChimeraX-0.7\bin\lib\site-
packages\chimerax\core\filehistory.py", line 209, in models_image  
image = v.image(width, height, camera = c, drawings = models)  
File "D:\Program Files\ChimeraX-0.7\bin\lib\site-
packages\chimerax\core\graphics\view.py", line 357, in image  
if not fb.activate():  
File "D:\Program Files\ChimeraX-0.7\bin\lib\site-
packages\chimerax\core\graphics\opengl.py", line 1566, in activate  
fbo = self.framebuffer_id  
File "D:\Program Files\ChimeraX-0.7\bin\lib\site-
packages\chimerax\core\graphics\opengl.py", line 1562, in framebuffer_id  
self._fbo = fbo = self._create_framebuffer()  
File "D:\Program Files\ChimeraX-0.7\bin\lib\site-
packages\chimerax\core\graphics\opengl.py", line 1436, in _create_framebuffer  
elif not self.valid_size(w, h):  
File "D:\Program Files\ChimeraX-0.7\bin\lib\site-
packages\chimerax\core\graphics\opengl.py", line 1524, in valid_size  
max_rb_size = GL.glGetInteger(GL.GL_MAX_RENDERBUFFER_SIZE)  
File "zr\accelerate\src\latebind.pyx", line 32, in
OpenGL_accelerate.latebind.LateBind.__call__ (src\latebind.c:1015)  
File "zr\accelerate\src\wrapper.pyx", line 318, in
OpenGL_accelerate.wrapper.Wrapper.__call__ (src\wrapper.c:6905)  
File "zr\accelerate\src\wrapper.pyx", line 311, in
OpenGL_accelerate.wrapper.Wrapper.__call__ (src\wrapper.c:6777)  
File "zr\accelerate\src\errorchecker.pyx", line 53, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError
(src\errorchecker.c:1270)  
OpenGL.error.GLError: GLError(  
err = 1280,  
description = b'invalid enumerant',  
baseOperation = glGetIntegerv,  
pyArgs = (  
GL_MAX_RENDERBUFFER_SIZE,  
<object object at 0x0000000001F3D690>,  
),  
cArgs = (  
GL_MAX_RENDERBUFFER_SIZE,  
array([16384], dtype=int32),  
),  
cArguments = (  
GL_MAX_RENDERBUFFER_SIZE,  
array([16384], dtype=int32),  
)  
)  
Exception ignored in: <bound method Framebuffer.__del__ of
<chimerax.core.graphics.opengl.Framebuffer object at 0x000000000B9B99B0>>  
Traceback (most recent call last):  
File "D:\Program Files\ChimeraX-0.7\bin\lib\site-
packages\chimerax\core\graphics\opengl.py", line 1489, in __del__  
raise RuntimeError('OpenGL framebuffer was not deleted before
core.graphics.Framebuffer destroyed')  
RuntimeError: OpenGL framebuffer was not deleted before
core.graphics.Framebuffer destroyed  
Traceback (most recent call last):  
  File "D:\Program Files\ChimeraX-0.7\bin\lib\site-
packages\chimerax\ui\statusbar.py", line 77, in _expose_event  
    self.status('', 'black', False)  
  File "D:\Program Files\ChimeraX-0.7\bin\lib\site-
packages\chimerax\ui\statusbar.py", line 115, in status  
    r.draw_background()  
  File "D:\Program Files\ChimeraX-0.7\bin\lib\site-
packages\chimerax\core\graphics\opengl.py", line 1013, in draw_background  
    GL.glClear(flags)  
  File "zr\accelerate\src\errorchecker.pyx", line 53, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError
(src\errorchecker.c:1270)  
OpenGL.error.GLError: GLError(  
 err = 1280,  
 description = b'invalid enumerant',  
 baseOperation = glClear,  
 cArguments = (16640,)  
)  
  

OpenGL.error.GLError: GLError(  
err = 1280,  
description = b'invalid enumerant',  
baseOperation = glClear,  
cArguments = (16640,)  
)  
  
File "zr\accelerate\src\errorchecker.pyx", line 53, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError
(src\errorchecker.c:1270)  
  
See log for complete Python traceback.  
  
If you wish to report this error, send mail to chimerax-bugs@cgl.ucsf.edu and
describe what you were doing and include a copy of the contents of the log.
Don't include any data you wish to remain private since a publicly viewable
bug report will be created.  




OpenGL version: 3.3.0 - Build 20.19.15.4454
OpenGL renderer: Intel(R) HD Graphics 520
OpenGL vendor: Intel

Change History (2)

comment:1 by Eric Pettersen, 7 years ago

Component: UnassignedGraphics
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionglClear: invalid enumerant

comment:2 by Tom Goddard, 7 years ago

Resolution: can't reproduce
Status: assignedclosed

Appears to be inadequate OpenGL 3.3 producing an error on glGetIntegerv(GL_MAX_RENDERBUFFER_SIZE). This may be an Intel graphics bug since the context is OpenGL 3.3 and this call is supported from OpenGL 3.0 on. Or it may be that some previous OpenGL error was not detected until this call and the error is misleading. Another possible problem is that this is Windows 7 which we do not officially support or test on. Also this is an old ChimeraX 0.7 version.

Since we do not support Windows 7 I will not try to test on a similar machine. I suspect it is driver related so in any case.

Note: See TracTickets for help on using tickets.