﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
1246	'Update your driver' should be modal	Greg Couch	Tom Goddard	"{{{
The following bug report has been submitted:
Platform:        Linux-3.10.0-862.el7.x86_64-x86_64-with-centos-7.5.1804-Core
ChimeraX Version: 0.7 (2018-08-01)
Description
When the OpenGL version is too low, when the dialog goes away, you are still in ChimeraX, so if you continue to use ChimeraX, there are many tracebacks.  The update your graphics driver dialog should be modal, and then exit ChimeraX

Log:
Startup Messages  
---  
note | available bundle cache has not been initialized yet  
  
UCSF ChimeraX version: 0.7 (2018-08-01)  

ChimeraX requires OpenGL graphics version 3.3.  
Your computer graphics driver provided version 2.1  
Try updating your graphics driver.  

Traceback (most recent call last):  
  File ""/home/gregc/chimerax-centos7-test2/lib/python3.6/site-
packages/chimerax/ui/gui.py"", line 504, in customEvent  
    func(*args, **kw)  
  File ""/home/gregc/chimerax-centos7-test2/lib/python3.6/site-
packages/chimerax/ui/widgets/htmlview.py"", line 278, in defer  
    cxcmd(session, topic)  
  File ""/home/gregc/chimerax-centos7-test2/lib/python3.6/site-
packages/chimerax/ui/widgets/htmlview.py"", line 377, in cxcmd  
    ti.execute()  
  File ""/home/gregc/chimerax-centos7-test2/lib/python3.6/site-
packages/chimerax/cmd_line/tool.py"", line 195, in execute  
    logger.status("""")  
  File ""/home/gregc/chimerax-centos7-test2/lib/python3.6/site-
packages/chimerax/core/logger.py"", line 430, in status  
    StatusLogger.status(self, msg, **kw)  
  File ""/home/gregc/chimerax-centos7-test2/lib/python3.6/site-
packages/chimerax/core/logger.py"", line 194, in status  
    if l.status(msg, color, secondary) and getattr(l, ""excludes_other_logs"",
True):  
  File ""/home/gregc/chimerax-centos7-test2/lib/python3.6/site-
packages/chimerax/ui/gui.py"", line 651, in status  
    self._status_bar.status(msg, color, secondary)  
  File ""/home/gregc/chimerax-centos7-test2/lib/python3.6/site-
packages/chimerax/ui/statusbar.py"", line 109, in status  
    self._create_opengl_context()  
  File ""/home/gregc/chimerax-centos7-test2/lib/python3.6/site-
packages/chimerax/ui/statusbar.py"", line 89, in _create_opengl_context  
    if not r.make_current():  
  File ""/home/gregc/chimerax-centos7-test2/lib/python3.6/site-
packages/chimerax/core/graphics/opengl.py"", line 377, in make_current  
    return self._opengl_context.make_current()  
  File ""/home/gregc/chimerax-centos7-test2/lib/python3.6/site-
packages/chimerax/core/graphics/opengl.py"", line 116, in make_current  
    qc = self._initialize_context()  
  File ""/home/gregc/chimerax-centos7-test2/lib/python3.6/site-
packages/chimerax/core/graphics/opengl.py"", line 159, in _initialize_context  
    self._check_context_version(qc.format())  
  File ""/home/gregc/chimerax-centos7-test2/lib/python3.6/site-
packages/chimerax/core/graphics/opengl.py"", line 196, in
_check_context_version  
    'Try updating your graphics driver.')  
chimerax.core.graphics.opengl.OpenGLVersionError: ChimeraX requires OpenGL
graphics version 3.3.  
Your computer graphics driver provided version 2.1  
Try updating your graphics driver.  
  

chimerax.core.graphics.opengl.OpenGLVersionError: ChimeraX requires OpenGL
graphics version 3.3.  
Your computer graphics driver provided version 2.1  
Try updating your graphics driver.  
  
File ""/home/gregc/chimerax-centos7-test2/lib/python3.6/site-
packages/chimerax/core/graphics/opengl.py"", line 196, in
_check_context_version  
'Try updating your graphics driver.')  
  
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: unknown
Could not make opengl context current

}}}
"	enhancement	closed	normal	0.7	Graphics		fixed						all	ChimeraX
