Opened 7 years ago

Closed 7 years ago

#1497 closed defect (nonchimerax)

OpenGL graphics error while starting up + glGenVertexArrays error

Reported by: elvis.marti@… Owned by: Tom Goddard
Priority: normal Milestone:
Component: Graphics Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: Windows 7
Project: ChimeraX

Description

The following bug report has been submitted:
Platform:        Windows-7-6.1.7601-SP1
ChimeraX Version: 0.8 (2018-11-30)
Description
(Describe the actions that caused this problem to occur here)

Log:
UCSF ChimeraX version: 0.8 (2018-11-30)  

There was an OpenGL graphics error while starting up. This is usually a
problem with the system graphics driver, and the only way to remedy it is to
update the graphics driver. ChimeraX will probably not function correctly with
the current graphics driver.  
  
"OpenGL error invalid enumerant"  

How to cite UCSF ChimeraX  

> open
D:\ongoing_collaborations\old_archives\Sarayu_docking\SARAYU\BEST_POSE.pdb

BEST_POSE.pdb title:  
Best_pose [more info...]  
  
Chain information for BEST_POSE.pdb #1  
---  
Chain | Description  
A | No description available  
  

> color selAtoms bychain

Traceback (most recent call last):  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\shortcuts\tool.py", line 50, in button_press_cb  
ks.run_shortcut(keys)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py", line 375, in run_shortcut  
sc.run(self.session, status = self._enabled)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py", line 272, in run  
commands.run(s, f)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\commands\run.py", line 31, in run  
results = command.run(text, log=log)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\commands\cli.py", line 2581, in run  
result = ci.function(session, **kw_args)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\std_commands\color.py", line 165, in color  
session.logger.status('Colored %s' % commas(items, ' and'))  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\logger.py", line 452, in status  
StatusLogger.status(self, msg, **kw)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\logger.py", line 196, in status  
if l.status(msg, color, secondary) and getattr(l, "excludes_other_logs",
True):  
File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\ui\gui.py",
line 683, in status  
self._status_bar.status(msg, color, secondary)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\ui\statusbar.py", line 116, in status  
if not self._create_opengl_context():  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\ui\statusbar.py", line 98, in _create_opengl_context  
r.initialize_opengl(lw, lh)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\graphics\opengl.py", line 921, in initialize_opengl  
vao = GL.glGenVertexArrays(1)  
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 = glGenVertexArrays,  
pyArgs = (  
1,  
<object object at 0x0000000001BAC690>,  
),  
cArgs = (1, array([1], dtype=uint32)),  
cArguments = (1, array([1], dtype=uint32))  
)  
  
OpenGL.error.GLError: GLError(  
err = 1280,  
description = b'invalid enumerant',  
baseOperation = glGenVertexArrays,  
pyArgs = (  
1,  
,  
),  
cArgs = (1, array([1], dtype=uint32)),  
cArguments = (1, array([1], dtype=uint32))  
)  
  
File "zr\accelerate\src\errorchecker.pyx", line 53, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError
(src\errorchecker.c:1270)  
  
See log for complete Python traceback.  
  

> color selAtoms byhetero

Traceback (most recent call last):  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\shortcuts\tool.py", line 50, in button_press_cb  
ks.run_shortcut(keys)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py", line 375, in run_shortcut  
sc.run(self.session, status = self._enabled)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\shortcuts\shortcuts.py", line 272, in run  
commands.run(s, f)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\commands\run.py", line 31, in run  
results = command.run(text, log=log)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\commands\cli.py", line 2581, in run  
result = ci.function(session, **kw_args)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\std_commands\color.py", line 165, in color  
session.logger.status('Colored %s' % commas(items, ' and'))  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\logger.py", line 452, in status  
StatusLogger.status(self, msg, **kw)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\logger.py", line 196, in status  
if l.status(msg, color, secondary) and getattr(l, "excludes_other_logs",
True):  
File "C:\Program Files\ChimeraX\bin\lib\site-packages\chimerax\ui\gui.py",
line 683, in status  
self._status_bar.status(msg, color, secondary)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\ui\statusbar.py", line 127, in status  
self._draw_text(msg, color, secondary)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\ui\statusbar.py", line 133, in _draw_text  
self._update_texture(msg, color, secondary)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\ui\statusbar.py", line 148, in _update_texture  
lw, lh = self._renderer.render_size()  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\graphics\opengl.py", line 475, in render_size  
x, y, w, h = fb.viewport  
TypeError: 'NoneType' object is not iterable  
  
TypeError: 'NoneType' object is not iterable  
  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\graphics\opengl.py", line 475, in render_size  
x, y, w, h = fb.viewport  
  
See log for complete Python traceback.  
  




OpenGL version: 3.3.0 - Build 9.17.10.2849
OpenGL renderer: Intel(R) HD Graphics 4000
OpenGL vendor: Intel

Change History (2)

comment:1 by pett, 7 years ago

Component: UnassignedGraphics
Owner: set to Tom Goddard
Platform: Windows 7
Project: ChimeraX
Status: newassigned
Summary: ChimeraX bug report submissionOpenGL graphics error while starting up + glGenVertexArrays error

comment:2 by Tom Goddard, 7 years ago

Resolution: nonchimerax
Status: assignedclosed

As the ChimeraX error said, update your graphics driver if possible:

"There was an OpenGL graphics error while starting up. This is usually a
problem with the system graphics driver, and the only way to remedy it is to
update the graphics driver. ChimeraX will probably not function correctly with
the current graphics driver."

Your graphics driver is from 2013. We recommend on the ChimeraX download page that you use a computer no older than 3-years old because we use modern graphics capabilities. For older computers you should use our older program Chimera. Also ChimeraX is compiled for Windows 10 and you are running Windows 7. While it may work on Windows 7 we have not tested that.

Note: See TracTickets for help on using tickets.