Hi Józef,

  OpenGL provides no mechanism for an applications to choose among multiple GPUs, or even know that multiple GPUs are available.  It is up to your operating system to choose the GPU.

Tom


On Jun 15, 2020, at 10:59 AM, Lewandowski, Jozef <J.R.Lewandowski@warwick.ac.uk> wrote:

Hi Tom,

Thanks. This is weird because I have recently updated to the latest NVidia drivers, which should have fixed this (and it didn't). I have been searching around based on your pointers and I suspect that Windows somehow tells ChimeraX to use the integrated graphics rather than one of the four NVidia GPUs (I guess Intel graphics is the GPU default in the Win installation) I have never checked or tried to update the driver for the integrated graphics so it might be that it is using some ancient generic driver (I just assumed that Windows would automatically directed ChimeraX to the more powerful GPU options). 
I have found some instructions to force ChimeraX to use NVidia GPUs so I will try this (when I can access my workstation again).

Best,
Józef

From: Tom Goddard <goddard@sonic.net>
Sent: Monday, June 15, 2020 5:46 PM
To: Lewandowski, Jozef <J.R.Lewandowski@warwick.ac.uk>
Cc: ChimeraX Users Help <chimerax-users@cgl.ucsf.edu>
Subject: Re: [chimerax-users] ChimeraX does not start after installation
 
Hi Józef,

  The reason ChimeraX does not start on hour Windows computer is given in the middle of this error message:

ERROR: ChimeraX requires OpenGL graphics version 3.3.
Your computer graphics driver provided version 1.1
  
Your OpenGL graphics driver is not working.  Version 1.1 is from the 1990s and is what Windows gives you when you have no working graphics driver.  So the fix will be to install a working graphics driver.

  When ChimeraX does not get a usable graphics driver it is supposed to still start and present a message explaining this.  I am not sure why it crashed in your case.  But I see in your error message

Windows fatal exception: code 0x80000003

and searching online this says you have misconfigured Windows system files.  All the top hits when searching for that error look like scams telling you how to use their special utility to "fix" your system.  Be cautious -- I would not suggest running any spacial "cleaner" tools as they are usually malware.


  Tom

On Jun 14, 2020, at 9:54 AM, Lewandowski, Jozef <J.R.Lewandowski@warwick.ac.uk> wrote:

Hi Tom, 

I finally got to run ChimeraX-console with --debug (did not have access to the machine during lockdown) to see why ChimeraX does not start on my system. I am pasting the output below message. Can you give me any pointers on how to make my ChimeraX installation to work. From a cursory look it seems there is a problem with OpenGL implementation.
Any tips would be welcome. I had latest Nvidia studio drivers, now I updated to the latest Nvidia gaming drivers and the problem with starting ChimeraX persists.

Thanks,
Józef

Starting main interface
[15380:7256:0608/122433.144:ERROR:gl_surface_wgl.cc(391)] wglCreatePbufferARB not available.
[15380:7256:0608/122433.144:ERROR:gl_surface_qt.cpp(200)] Requested OpenGL implementation is not supported. Implementation: 1
Windows fatal exception: code 0x80000003

Thread 0x000010d4 (most recent call first):
  File "C:\Program Files\ChimeraX 1.0\bin\lib\ssl.py", line 1139 in do_handshake
  File "C:\Program Files\ChimeraX 1.0\bin\lib\ssl.py", line 870 in _create
  File "C:\Program Files\ChimeraX 1.0\bin\lib\ssl.py", line 423 in wrap_socket
  File "C:\Program Files\ChimeraX 1.0\bin\lib\http\client.py", line 1422 in connect
  File "C:\Program Files\ChimeraX 1.0\bin\lib\http\client.py", line 966 in send
  File "C:\Program Files\ChimeraX 1.0\bin\lib\http\client.py", line 1026 in _send_output
  File "C:\Program Files\ChimeraX 1.0\bin\lib\http\client.py", line 1247 in endheaders
  File "C:\Program Files\ChimeraX 1.0\bin\lib\http\client.py", line 1298 in _send_request
  File "C:\Program Files\ChimeraX 1.0\bin\lib\http\client.py", line 1252 in request
  File "C:\Program Files\ChimeraX 1.0\bin\lib\urllib\request.py", line 1319 in do_open
  File "C:\Program Files\ChimeraX 1.0\bin\lib\urllib\request.py", line 1362 in https_open
  File "C:\Program Files\ChimeraX 1.0\bin\lib\urllib\request.py", line 503 in _call_chain
  File "C:\Program Files\ChimeraX 1.0\bin\lib\urllib\request.py", line 543 in _open
  File "C:\Program Files\ChimeraX 1.0\bin\lib\urllib\request.py", line 525 in open
  File "C:\Program Files\ChimeraX 1.0\bin\lib\urllib\request.py", line 222 in urlopen
  File "C:\Program Files\ChimeraX 1.0\bin\lib\site-packages\chimerax\core\toolshed\available.py", line 37 in load
  File "C:\Program Files\ChimeraX 1.0\bin\lib\site-packages\chimerax\core\toolshed\__init__.py", line 444 in reload_available
  File "C:\Program Files\ChimeraX 1.0\bin\lib\threading.py", line 870 in run
  File "C:\Program Files\ChimeraX 1.0\bin\lib\threading.py", line 926 in _bootstrap_inner
  File "C:\Program Files\ChimeraX 1.0\bin\lib\threading.py", line 890 in _bootstrap

Thread 0x00001c4c (most recent call first):
  File "C:\Program Files\ChimeraX 1.0\bin\lib\site-packages\chimerax\ui\gui.py", line 879 in _populate_menus
  File "C:\Program Files\ChimeraX 1.0\bin\lib\site-packages\chimerax\ui\gui.py", line 458 in __init__
  File "C:\Program Files\ChimeraX 1.0\bin\lib\site-packages\chimerax\ui\gui.py", line 196 in build
  File "C:\Program Files\ChimeraX 1.0\bin\lib\site-packages\ChimeraX_main.py", line 617 in init
  File "C:\Program Files\ChimeraX 1.0\bin\lib\site-packages\ChimeraX_main.py", line 895 in <module>
  File "C:\Program Files\ChimeraX 1.0\bin\lib\runpy.py", line 85 in _run_code
  File "C:\Program Files\ChimeraX 1.0\bin\lib\runpy.py", line 193 in _run_module_as_main
ERROR: ChimeraX requires OpenGL graphics version 3.3.
Your computer graphics driver provided version 1.1
Try updating your graphics driver.
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,)
)
Windows fatal exception: access violation

Thread 0x000010d4 (most recent call first):
  File "C:\Program Files\ChimeraX 1.0\bin\lib\ssl.py", line 929 in read
  File "C:\Program Files\ChimeraX 1.0\bin\lib\ssl.py", line 1071 in recv_into
  File "C:\Program Files\ChimeraX 1.0\bin\lib\socket.py", line 589 in readinto
  File "C:\Program Files\ChimeraX 1.0\bin\lib\http\client.py", line 267 in _read_status
  File "C:\Program Files\ChimeraX 1.0\bin\lib\http\client.py", line 306 in begin
  File "C:\Program Files\ChimeraX 1.0\bin\lib\http\client.py", line 1344 in getresponse
  File "C:\Program Files\ChimeraX 1.0\bin\lib\urllib\request.py", line 1322 in do_open
  File "C:\Program Files\ChimeraX 1.0\bin\lib\urllib\request.py", line 1362 in https_open
  File "C:\Program Files\ChimeraX 1.0\bin\lib\urllib\request.py", line 503 in _call_chain
  File "C:\Program Files\ChimeraX 1.0\bin\lib\urllib\request.py", line 543 in _open
  File "C:\Program Files\ChimeraX 1.0\bin\lib\urllib\request.py", line 525 in open
  File "C:\Program Files\ChimeraX 1.0\bin\lib\urllib\request.py", line 222 in urlopen
  File "C:\Program Files\ChimeraX 1.0\bin\lib\site-packages\chimerax\core\toolshed\available.py", line 37 in load
  File "C:\Program Files\ChimeraX 1.0\bin\lib\site-packages\chimerax\core\toolshed\__init__.py", line 444 in reload_available
  File "C:\Program Files\ChimeraX 1.0\bin\lib\threading.py", line 870 in run
  File "C:\Program Files\ChimeraX 1.0\bin\lib\threading.py", line 926 in _bootstrap_inner
  File "C:\Program Files\ChimeraX 1.0\bin\lib\threading.py", line 890 in _bootstrap

Current thread 0x00001c4c (most recent call first):
  File "C:\Program Files\ChimeraX 1.0\bin\lib\site-packages\chimerax\ui\gui.py", line 702 in rapid_access_shown
  File "C:\Program Files\ChimeraX 1.0\bin\lib\site-packages\chimerax\ui\gui.py", line 203 in build
  File "C:\Program Files\ChimeraX 1.0\bin\lib\site-packages\ChimeraX_main.py", line 617 in init
  File "C:\Program Files\ChimeraX 1.0\bin\lib\site-packages\ChimeraX_main.py", line 895 in <module>
  File "C:\Program Files\ChimeraX 1.0\bin\lib\runpy.py", line 85 in _run_code
  File "C:\Program Files\ChimeraX 1.0\bin\lib\runpy.py", line 193 in _run_module_as_main

  
From: Tom Goddard <goddard@sonic.net>
Sent: Thursday, March 12, 2020 9:37 PM
To: Lewandowski, Jozef <J.R.Lewandowski@warwick.ac.uk>
Cc: chimerax-users@cgl.ucsf.edu <chimerax-users@cgl.ucsf.edu>
Subject: Re: [chimerax-users] ChimeraX does not start after installation
 
Hi Józef,

  Try starting ChimeraX from a Windows Command Prompt with the debug option

"c:\Program Files\ChimeraX\bin\ChimeraX-console.exe" --debug

and you will probably get a Python traceback which will give some clue as to what is going wrong.  If your graphics driver is not functioning ChimeraX is supposed to show you a window with an error message, but perhaps this has not been tested on Windows.

Tom



On Mar 12, 2020, at 3:17 AM, Lewandowski, Jozef <J.R.Lewandowski@warwick.ac.uk> wrote:

Hi, 

I am trying to get ChimeraX on a Windows 10 installation on a workstation with 4 GPUs (RTX 2080Ti).
The program installs just fine but when I start it, it shows the splash screen up to Loading main interface and then quits. I have tried both with the 0.92 release and the daily_build.
Any chance you could help with with getting it to work?
Browsing archives I learned that this may be down to some incompatibilities with drivers.
The onboard graphics is ASPEED Graphics Family  with driver version 9.0.10.102
The four Nvidia GeForce RTX2080Ti have driver 26.21.14.4219 installed (I updated to the latest drivers hoping it fixes it - it doesn't).
Any ideas or suggestions?

Thanks,
Józef
_______________________________________________
ChimeraX-users mailing list
ChimeraX-users@cgl.ucsf.edu
Manage subscription:
http://www.rbvi.ucsf.edu/mailman/listinfo/chimerax-users