﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	blockedby	blocking	notify_on_close	platform	project
3972	ChimeraX OpenGL startup issue after updating system to Ubuntu 20.04	luca.jovine@…	Greg Couch	"{{{
Hello,

This is Luca Jovine from Karolinska Institutet in Stockholm. I recently updated one of our main machines from ubuntu 16.04 LTS to 20.04 LTS, and after this I can no longer run either Chimera (1.14) or ChimeraX (1.1). Clearly, in both cases there is an issue with OpenGL:

> chimera
X Error of failed request:  GLXBadCurrentWindow
  Major opcode of failed request:  148 (GLX)
  Minor opcode of failed request:  5 (X_GLXMakeCurrent)
  Serial number of failed request:  1545
  Current serial number in output stream:  1545
>

>chimerax
NOTE: available bundle cache has not been initialized yet
ERROR: ChimeraX requires OpenGL graphics version 3.3.
Your computer graphics driver provided version 1.4
Try updating your graphics driver.
WARNING: No statusbar messages will be shown due to inadequate OpenGL
WARNING: QOpenGLShader::compile(Vertex): failed
WARNING: QOpenGLShader::compile(Fragment): failed
WARNING: Could not link shader program:
 """"
Fatal Python error: Segmentation fault

Current thread 0x00007fe188bf5740 (most recent call first):
  File ""/usr/lib/ucsf-chimerax/lib/python3.7/site-packages/chimerax/ui/gui.py"", line 204 in build
  File ""/usr/lib/ucsf-chimerax/lib/python3.7/site-packages/ChimeraX_main.py"", line 626 in init
  File ""/usr/lib/ucsf-chimerax/lib/python3.7/site-packages/ChimeraX_main.py"", line 919 in <module>
  File ""/usr/lib/ucsf-chimerax/lib/python3.7/runpy.py"", line 85 in _run_code
  File ""/usr/lib/ucsf-chimerax/lib/python3.7/runpy.py"", line 193 in _run_module_as_main
Segmentation fault (core dumped)
>

However, looking at the above, I do not understand why my graphics drivers should be outdated, because on this machine (which has 2 x NVIDIA GTX 1080 Ti GPUs, and CUDA 10.2) I have installed the last (long-lived) driver version:

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 450.80.02    Driver Version: 450.80.02    CUDA Version: 11.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce GTX 108...  Off  | 00000000:0A:00.0 Off |                  N/A |
| 21%   55C    P2    60W / 250W |    183MiB / 11178MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
|   1  GeForce GTX 108...  Off  | 00000000:42:00.0 Off |                  N/A |
| 20%   31C    P8     8W / 250W |    162MiB / 11175MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

I must be doing something wrong, but what? Any help would be very appreciated!

Thanks and best regards,

Luca

----------------------------------------------------------------------
Luca Jovine, Ph.D.
Professor of Structural Biology, Member of EMBO and the Nobel Assembly
Karolinska Institutet
Department of Biosciences and Nutrition
Medicinaren 25 Neo
Blickagången 16, SE-141 83 Huddinge, Sweden
E-mail: luca.jovine@ki.se<mailto:luca.jovine@ki.se>
W3: http://jovinelab.org
----------------------------------------------------------------------






När du skickar e-post till Karolinska Institutet (KI) innebär detta att KI kommer att behandla dina personuppgifter. Här finns information om hur KI behandlar personuppgifter<https://ki.se/medarbetare/integritetsskyddspolicy>.


Sending email to Karolinska Institutet (KI) will result in KI processing your personal data. You can read more about KI’s processing of personal data here<https://ki.se/en/staff/data-protection-policy>.

}}}
"	defect	closed	normal		Graphics		nonchimerax		Tom Goddard				all	ChimeraX
