Opened 6 years ago

Closed 5 years ago

#2566 closed defect (can't reproduce)

Can't start ChimeraX

Reported by: yw9et@… Owned by: Tom Goddard
Priority: normal Milestone:
Component: Graphics Version:
Keywords: Cc: Greg Couch
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Hi, I would like to ask for help to start ChimeraX. Two of my workstations
with Windows 10 or Windows 7 can't open ChimeraX. The error messages are
the same and listed below.

Startup Errors
bug OpenGL.error.GLError: GLError(
err = 1282,
description = b'invalid operation',
baseOperation = glGetString,
cArguments = (GL_VENDOR,)
)

File "src\errorchecker.pyx", line 53, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError

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:
0x15422635050
QWindowsEGLContext: ANGLE only partially supports OpenGL ES > 3.0
QWindowsEGLContext: Failed to create context, eglError: 3005, this:
0x15422766090
No statusbar messages will be shown due to inadequate OpenGL
note Traceback (most recent call last):

  File "C:\Program
Files\ChimeraX\bin\lib\site-packages\chimerax\ui\graphics.py", line 56, in
event

    self._check_opengl()

  File "C:\Program
Files\ChimeraX\bin\lib\site-packages\chimerax\ui\graphics.py", line 76, in
_check_opengl

    self._check_for_bad_intel_driver()

  File "C:\Program
Files\ChimeraX\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\bin\lib\site-packages\chimerax\core\graphics\opengl.py",
line 969, in opengl_vendor

    return GL.glGetString(GL.GL_VENDOR).decode('utf-8')

  File "C:\Program
Files\ChimeraX\bin\lib\site-packages\OpenGL\platform\baseplatform.py", line
409, in __call__

    return self( *args, **named )

  File "src\errorchecker.pyx", line 53, in
OpenGL_accelerate.errorchecker._ErrorChecker.glCheckError

OpenGL.error.GLError: GLError(

 err = 1282,

 description = b'invalid operation',

 baseOperation = glGetString,

 cArguments = (GL_VENDOR,)

)

We have updated the graphic drivers(AMD Radeon 5450, or Nvidia Geforce 970
) to the most up-to-date version with openGL 4.4. However, my other
computers run windows 10 can work just fine. I would really appreciate your
help!
-- 
Yibo Wang
Graduate Student
Gahlmann Lab, Department of Chemistry (Chem 135)
University of Virginia
yw9et@Virginia.edu

Change History (8)

comment:1 by Eric Pettersen, 6 years ago

Cc: Greg Couch added
Component: UnassignedGraphics
Owner: set to Tom Goddard
Platform: all
Project: ChimeraX
Status: newassigned

comment:2 by Greg Couch, 6 years ago

Status: assignedfeedback

By any chance do you have the QT_OPENGL environment variable set to "angle"? If so, that would explain this problem.

comment:3 by Greg Couch, 6 years ago

Another environment variable that can cause problems is QT_OPENGL_BUGLIST.

comment:4 by Tom Goddard, 6 years ago

These errors mean the Qt window toolkit did not find a working OpenGL driver so it tried using some fallback emulation of OpenGL using D3D via an adapter called ANGLE. That was inadequate to run ChimeraX.

So the problem is your system OpenGL graphics driver is not working. I don't know why, the error gives no clues about that.

Also ChimeraX is only supported on Windows 10, not Windows 7.

in reply to:  5 ; comment:5 by yw9et@…, 6 years ago

I suspect that is the case but I am not sure how to test it. Do I need to
download additional QT software, or how do I check the
environmental variable and change it? Many thanks.

On Wed, Nov 13, 2019 at 4:47 PM ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu>
wrote:


comment:6 by Tom Goddard, 6 years ago

It is unlikely you set any environment variable. By far the most likely problem is the OpenGL driver is not working. I'm not sure how you test OpenGL on Windows -- most Windows 3D graphics is done with D3D, a different graphics API.

You could try our older Chimera program. It does not use Qt but uses older OpenGL. If Chimera can start then its menu entry Help / Report a Bug... will list the OpenGL graphics driver it is using.

comment:7 by Greg Couch, 6 years ago

An easy way to see the environment variables, is to start a Command Prompt window, and give the "set" command. The output includes all of the enviroment variables.

To see the environment variables graphically, follow the instructions in https://www.nextofwindows.com/how-to-addedit-environment-variables-in-windows-7

comment:8 by Tom Goddard, 5 years ago

Resolution: can't reproduce
Status: feedbackclosed

Some kind of OpenGL / graphics driver problem on reporter's computer. Reporter did not respond.

Note: See TracTickets for help on using tickets.