Opened 6 years ago

Closed 6 years ago

#2309 closed defect (nonchimerax)

Could not create OpenGL context

Reported by: maria.anastasina@… 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.91 (2019-08-10)
Description
(Describe the actions that caused this problem to occur here)

Log:
Startup Errors  
---  
bug | chimerax.core.graphics.opengl.OpenGLError: Could not create OpenGL
context  
  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\graphics\opengl.py", line 162, in _initialize_context  
raise OpenGLError("Could not create OpenGL context")  
  
See log for complete Python traceback.  
  
  
error | Could not create OpenGL context  
warnings | QWindowsEGLContext: ANGLE only partially supports OpenGL ES > 3.0  
QWindowsEGLContext: Failed to create context, eglError: 3005, this:
0x2080b2d9880  
QWindowsEGLContext: ANGLE only partially supports OpenGL ES > 3.0  
QWindowsEGLContext: Failed to create context, eglError: 3005, this:
0x2080ba5a3b0  
note | Traceback (most recent call last):  
  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\ui\statusbar.py", line 76, in _expose_event  
  
self._create_opengl_context()  
  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\ui\statusbar.py", line 91, in _create_opengl_context  
  
if not r.make_current():  
  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\graphics\opengl.py", line 417, in make_current  
  
return self._opengl_context.make_current()  
  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\graphics\opengl.py", line 128, in make_current  
  
qc = self._initialize_context()  
  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\graphics\opengl.py", line 162, in _initialize_context  
  
raise OpenGLError("Could not create OpenGL context")  
  
chimerax.core.graphics.opengl.OpenGLError: Could not create OpenGL context  
  
  
  
  
UCSF ChimeraX version: 0.91 (2019-08-10)  
© 2016-2019 Regents of the University of California. All rights reserved.  
How to cite UCSF ChimeraX  
Traceback (most recent call last):  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\cmd_line\tool.py", line 243, in execute  
logger.status("")  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\logger.py", line 454, 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 755, in status  
self._status_bar.status(msg, color, secondary)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\ui\statusbar.py", line 125, in status  
raise RuntimeError('Failed to make status line opengl context current')  
RuntimeError: Failed to make status line opengl context current  
  
RuntimeError: Failed to make status line opengl context current  
  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\ui\statusbar.py", line 125, in status  
raise RuntimeError('Failed to make status line opengl context current')  
  
See log for complete Python traceback.  
  
Traceback (most recent call last):  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\cmd_line\tool.py", line 243, in execute  
logger.status("")  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\core\logger.py", line 454, 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 755, in status  
self._status_bar.status(msg, color, secondary)  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\ui\statusbar.py", line 125, in status  
raise RuntimeError('Failed to make status line opengl context current')  
RuntimeError: Failed to make status line opengl context current  
  
RuntimeError: Failed to make status line opengl context current  
  
File "C:\Program Files\ChimeraX\bin\lib\site-
packages\chimerax\ui\statusbar.py", line 125, in status  
raise RuntimeError('Failed to make status line opengl context current')  
  
See log for complete Python traceback.  
  




OpenGL version: unknown
Could not make opengl context current

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 submissionCould not create OpenGL context

comment:2 by Tom Goddard, 6 years ago

Resolution: nonchimerax
Status: assignedclosed

This ChimeraX error means computer does not have a graphics driver capable of running ChimeraX. ChimeraX needs OpenGL version 3.3 (circa 2010) or newer. The only way to fix this is to install a newer graphics driver on your computer.

I've improved the ChimeraX error message so it explains this problem.

Note: See TracTickets for help on using tickets.