Opened 7 months ago
Last modified 7 months ago
#17073 feedback defect
QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
Reported by: | Owned by: | Greg Couch | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | Platform | Version: | |
Keywords: | Cc: | Tom Goddard | |
Blocked By: | Blocking: | ||
Notify when closed: | Platform: | all | |
Project: | ChimeraX |
Description
Hello I've installed ChimeraX on Ubuntu 24.04.2 LTS and when I cannot start it, I get a frozen window with the following in the terminal $ chimerax QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled NOTE: available bundle cache has not been initialized yet WARNING: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled WARNING: QRhiGles2: Failed to create temporary context WARNING: QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled WARNING: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled WARNING: QRhiGles2: Failed to create context WARNING: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled WARNING: QRhiGles2: Failed to create temporary context WARNING: QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled WARNING: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled WARNING: QRhiGles2: Failed to create context WARNING: Failed to create QRhi for QBackingStoreRhiSupport WARNING: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled ERROR: Could not create OpenGL context WARNING: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled WARNING: QRhiGles2: Failed to create temporary context WARNING: QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled WARNING: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled WARNING: QRhiGles2: Failed to create context WARNING: Failed to create QRhi for QBackingStoreRhiSupport WARNING: QQuickWidget: Failed to get a QRhi from the top-level widget's window WARNING: QQuickWidget::resizeEvent() no QRhi WARNING: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled WARNING: QRhiGles2: Failed to create temporary context WARNING: QXcbIntegration: Cannot create platform offscreen surface, neither GLX nor EGL are enabled WARNING: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled WARNING: QRhiGles2: Failed to create context WARNING: Failed to create QRhi for QBackingStoreRhiSupport WARNING: QQuickWidget: Failed to get a QRhi from the top-level widget's window When I search the errors, I seem to have all the necessary libraries. Any idea? Cheers Mohamad
Change History (5)
comment:1 by , 7 months ago
Cc: | added |
---|---|
Component: | Unassigned → Platform |
Owner: | set to |
Platform: | → all |
Project: | → ChimeraX |
Status: | new → assigned |
comment:2 by , 7 months ago
Status: | assigned → feedback |
---|
comment:3 by , 7 months ago
Thanks for the reply. Here's what you asked for: lspci | grep VGA 01:00.0 VGA compatible controller: NVIDIA Corporation AD104GL [RTX 4500 Ada Generation] (rev a1) 2b:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 41) 2f:00.0 VGA compatible controller: NVIDIA Corporation AD104GL [RTX 4500 Ada Generation] (rev a1) 41:00.0 VGA compatible controller: NVIDIA Corporation AD104GL [RTX 4500 Ada Generation] (rev a1) 61:00.0 VGA compatible controller: NVIDIA Corporation AD104GL [RTX 4500 Ada Generation] (rev a1) ________________________________ From: ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu> Sent: Wednesday, March 12, 2025 6:41:44 PM To: gregc@cgl.ucsf.edu; Mohamad HARASTANI Cc: goddard@cgl.ucsf.edu Subject: Re: [ChimeraX] #17073: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled #17073: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled ------------------------------------------+------------------------ Reporter: mohamad.harastani@… | Owner: Greg Couch Type: defect | Status: feedback Priority: normal | Milestone: Component: Platform | Version: Resolution: | Keywords: Blocked By: | Blocking: Notify when closed: | Platform: all Project: ChimeraX | ------------------------------------------+------------------------ Changes (by Greg Couch): * status: assigned => feedback Comment: It seems like you are missing the appropriate graphics driver. Please run "lspci | grep VGA" (without the quotes) in a terminal window, and send us the output. -- Ticket URL: <https://urldefense.com/v3/__https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/17073*comment:2__;Iw!!JFdNOqOXpB6UZW0!oeskZV6fM7CIpNwuxzg8o7P1OcperVSB19YQI-47p_2Z2ZPXJifCNjXK9zD14i5kPuz_ObL8x3w9rK0AHKhlEYRpCAg6t1JRaYqrd60p$ > ChimeraX <https://urldefense.com/v3/__https://www.rbvi.ucsf.edu/chimerax/__;!!JFdNOqOXpB6UZW0!oeskZV6fM7CIpNwuxzg8o7P1OcperVSB19YQI-47p_2Z2ZPXJifCNjXK9zD14i5kPuz_ObL8x3w9rK0AHKhlEYRpCAg6t1JRaS6W9hxo$ > ChimeraX Issue Tracker
comment:4 by , 7 months ago
Hello I found that the problem was that chimerax is very sensitive to what was in the path. I removed conda from the path and chimerax worked. Thanks anyways Mohamad ________________________________ From: ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu> Sent: Thursday, March 13, 2025 1:44:54 PM To: gregc@cgl.ucsf.edu; Mohamad HARASTANI Cc: goddard@cgl.ucsf.edu Subject: Re: [ChimeraX] #17073: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled #17073: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled ------------------------------------------+------------------------ Reporter: mohamad.harastani@… | Owner: Greg Couch Type: defect | Status: feedback Priority: normal | Milestone: Component: Platform | Version: Resolution: | Keywords: Blocked By: | Blocking: Notify when closed: | Platform: all Project: ChimeraX | ------------------------------------------+------------------------ Comment (by mohamad.harastani@…): {{{ Thanks for the reply. Here's what you asked for: lspci | grep VGA 01:00.0 VGA compatible controller: NVIDIA Corporation AD104GL [RTX 4500 Ada Generation] (rev a1) 2b:00.0 VGA compatible controller: ASPEED Technology, Inc. ASPEED Graphics Family (rev 41) 2f:00.0 VGA compatible controller: NVIDIA Corporation AD104GL [RTX 4500 Ada Generation] (rev a1) 41:00.0 VGA compatible controller: NVIDIA Corporation AD104GL [RTX 4500 Ada Generation] (rev a1) 61:00.0 VGA compatible controller: NVIDIA Corporation AD104GL [RTX 4500 Ada Generation] (rev a1) ________________________________ From: ChimeraX <ChimeraX-bugs-admin@cgl.ucsf.edu> Sent: Wednesday, March 12, 2025 6:41:44 PM To: gregc@cgl.ucsf.edu; Mohamad HARASTANI Cc: goddard@cgl.ucsf.edu Subject: Re: [ChimeraX] #17073: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled #17073: QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled ------------------------------------------+------------------------ Reporter: mohamad.harastani@… | Owner: Greg Couch Type: defect | Status: feedback Priority: normal | Milestone: Component: Platform | Version: Resolution: | Keywords: Blocked By: | Blocking: Notify when closed: | Platform: all Project: ChimeraX | ------------------------------------------+------------------------ Changes (by Greg Couch): * status: assigned => feedback Comment: It seems like you are missing the appropriate graphics driver. Please run "lspci | grep VGA" (without the quotes) in a terminal window, and send us the output. -- Ticket URL: <https://urldefense.com/v3/__https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/17073*comment:2__;Iw!!JFdNOqOXpB6UZW0 !oeskZV6fM7CIpNwuxzg8o7P1OcperVSB19YQI- 47p_2Z2ZPXJifCNjXK9zD14i5kPuz_ObL8x3w9rK0AHKhlEYRpCAg6t1JRaYqrd60p$ > ChimeraX <https://urldefense.com/v3/__https://www.rbvi.ucsf.edu/chimerax/__;!!JFdNOqOXpB6UZW0 !oeskZV6fM7CIpNwuxzg8o7P1OcperVSB19YQI- 47p_2Z2ZPXJifCNjXK9zD14i5kPuz_ObL8x3w9rK0AHKhlEYRpCAg6t1JRaS6W9hxo$ > ChimeraX Issue Tracker }}} -- Ticket URL: <https://urldefense.com/v3/__https://www.rbvi.ucsf.edu/trac/ChimeraX/ticket/17073*comment:3__;Iw!!JFdNOqOXpB6UZW0!rX-jKasLp6-hNNtKZcBkWm0dKjPhHjJW8HmYyFo4I6U3IbpLo3n_AvOLAye77J-38PHxUTg7hwAOEjH96u_o61wjWlNE9x7xOAaKdwrK$ > ChimeraX <https://urldefense.com/v3/__https://www.rbvi.ucsf.edu/chimerax/__;!!JFdNOqOXpB6UZW0!rX-jKasLp6-hNNtKZcBkWm0dKjPhHjJW8HmYyFo4I6U3IbpLo3n_AvOLAye77J-38PHxUTg7hwAOEjH96u_o61wjWlNE9x7xOAc7yR9p$ > ChimeraX Issue Tracker
comment:5 by , 7 months ago
Thank you for the update. Can you help us figure out what in your conda setup broke ChimeraX? I would expect that if ChimeraX broke, then other programs would break too.
Please share how you set up your conda environment, so I can reproduce the bug. To keep it private, you can email it to me directly at gregc@….
I see on https://stackoverflow.com/questions/41992277/update-conda-conda-breaks: "You must have selected the "Add to PATH" option while installing or updating. This used to be the default but is no longer recommended." Did you do that?
Note:
See TracTickets
for help on using tickets.
It seems like you are missing the appropriate graphics driver. Please run "lspci | grep VGA" (without the quotes) in a terminal window, and send us the output.