#3478 closed defect (fixed)
Could not get OpenGL vendor string
| Reported by: | 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.18362
ChimeraX Version: 1.0 (2020-06-04 23:15:07 UTC)
Description
Hi Chimerax team,
I attempted to start MRC file, however not with success. I am not sure how add or to find the OpenGL version.
Thanks ahead for your help
Phat
Log:
Startup Errors
---
bug | OpenGL.error.GLError: GLError(
err = 1282,
description = b'invalid operation',
baseOperation = glGetString,
cArguments = (GL_VENDOR,)
)
File "src\errorchecker.pyx", line 58, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError
See log for complete Python traceback.
error | ChimeraX requires OpenGL graphics version 3.3.
Your computer graphics driver provided version 2.1
Try updating your graphics driver.
warning | No statusbar messages will be shown due to inadequate OpenGL
note | Traceback (most recent call last):
File "C:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\ui\graphics.py", line 56, in event
self._check_opengl()
File "C:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\ui\graphics.py", line 76, in _check_opengl
self._check_for_bad_intel_driver()
File "C:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\ui\graphics.py", line 86, in _check_for_bad_intel_driver
if r.opengl_vendor() == 'Intel':
File "C:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\graphics\opengl.py", line 980, in opengl_vendor
return GL.glGetString(GL.GL_VENDOR).decode('utf-8')
File "C:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\OpenGL\platform\baseplatform.py", line 415, in __call__
return self( *args, **named )
File "src\errorchecker.pyx", line 58, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError
OpenGL.error.GLError: GLError(
err = 1282,
description = b'invalid operation',
baseOperation = glGetString,
cArguments = (GL_VENDOR,)
)
UCSF ChimeraX version: 1.0 (2020-06-04)
© 2016-2020 Regents of the University of California. All rights reserved.
How to cite UCSF ChimeraX
> open E:/MIT/Nup82complex/190614/Class3D/run_class001.mrc
Traceback (most recent call last):
File "C:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\ui\graphics.py", line 56, in event
self._check_opengl()
File "C:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\ui\graphics.py", line 76, in _check_opengl
self._check_for_bad_intel_driver()
File "C:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\ui\graphics.py", line 86, in _check_for_bad_intel_driver
if r.opengl_vendor() == 'Intel':
File "C:\Program Files\ChimeraX 1.0\bin\lib\site-
packages\chimerax\graphics\opengl.py", line 980, in opengl_vendor
return GL.glGetString(GL.GL_VENDOR).decode('utf-8')
File "src\errorchecker.pyx", line 58, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError
OpenGL.error.GLError: GLError(
err = 1280,
description = b'invalid enumerant',
baseOperation = glGetString,
cArguments = (GL_VENDOR,),
result = b'Intel'
)
OpenGL.error.GLError: GLError(
err = 1280,
description = b'invalid enumerant',
baseOperation = glGetString,
cArguments = (GL_VENDOR,),
result = b'Intel'
)
File "src\errorchecker.pyx", line 58, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError
See log for complete Python traceback.
Opened run_class001.mrc, grid size 240,240,240, pixel 1.6, shown at level
0.0212, step 1, values float32
OpenGL version: unknown
Could not make opengl context current
Manufacturer: Acer
Model: Aspire 4820TG
OS: Microsoft Windows 10 Pro (Build 18363)
Memory: 3,949,649,920
MaxProcessMemory: 137,438,953,344
CPU: 4 Intel(R) Core(TM) i7 CPU M 640 @ 2.80GHz"
PyQt version: 5.12.3
Compiled Qt version: 5.12.4
Runtime Qt version: 5.12.8
Change History (5)
comment:1 by , 5 years ago
| Component: | Unassigned → Graphics |
|---|---|
| Owner: | set to |
| Platform: | → all |
| Project: | → ChimeraX |
| Status: | new → assigned |
| Summary: | ChimeraX bug report submission → Could not get OpenGL vendor string |
comment:2 by , 5 years ago
comment:3 by , 5 years ago
Code should just give clear error message about inadequate OpenGL without traceback. Need to fix that.
comment:4 by , 5 years ago
| Resolution: | → fixed |
|---|---|
| Status: | assigned → closed |
Made OpenGL code not give further errors after reporting that the OpenGL version is not adequate.
follow-up: 5 comment:5 by , 5 years ago
Thanks, I updated OpenGL and ChimeraX is working.
I did try the VR mode with our headset and it is amazing!
Thanks again
Best
Phat
________________________________________
From: ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu>
Sent: Tuesday, August 4, 2020 12:55 AM
Cc: goddard@cgl.ucsf.edu; Phat Vinh Dip
Subject: Re: [ChimeraX] #3478: Could not get OpenGL vendor string
#3478: Could not get OpenGL vendor string
--------------------------------+-------------------------
Reporter: phatdip@… | Owner: Tom Goddard
Type: defect | Status: closed
Priority: normal | Milestone:
Component: Graphics | Version:
Resolution: fixed | Keywords:
Blocked By: | Blocking:
Notify when closed: | Platform: all
Project: ChimeraX |
--------------------------------+-------------------------
Changes (by Tom Goddard):
* status: assigned => closed
* resolution: => fixed
Comment:
Made OpenGL code not give further errors after reporting that the OpenGL
version is not adequate.
--
Ticket URL: <https://plato.cgl.ucsf.edu/trac/ChimeraX/ticket/3478#comment:4>
ChimeraX <http://www.rbvi.ucsf.edu/chimerax/>
ChimeraX Issue Tracker
Note:
See TracTickets
for help on using tickets.
The error message you got opening a model in ChimeraX says
ChimeraX requires OpenGL graphics version 3.3.
Your computer graphics driver provided version 2.1
Try updating your graphics driver.
As it says, you have to update your graphics driver to fix the problem. Google "update windows graphics driver" if you don't know how.