Skip to main content
Associate II
Dec 15, 2025 3:37 PM UTC
Question

CubeIDE 2.0.0 - "Could not create GBM EGL display: EGL_NOT_INITIALIZED. Aborting..."

I just installed CubeIDE 2.0.0 on Ubuntu 24.04 (finally!).  However I cannot launch it (I do get the initial workspace selection popup, but after selecting "Launch" I get this error):

$ /opt/st/stm32cubeide_2.0.0/stm32cubeide_wayland 
Could not create GBM EGL display: EGL_NOT_INITIALIZED. Aborting...

A little bit of poking around on Google suggests that installing libnvidia-egl-wayland1 should fix this issue, however on my system libnvidia-egl-wayland1 is already installed:

$ dpkg -l | grep libnvidia-egl-wayland1
ii libnvidia-egl-wayland1:amd64 1:1.1.13-1ubuntu0.1 amd64 Wayland EGL External Platform library -- shared library
ii libnvidia-egl-wayland1:i386 1:1.1.13-1ubuntu0.1 i386 Wayland EGL External Platform library -- shared library

 

I have tried rebooting a couple of times but I keep getting the same error.  Does anyone know how to fix this?

7 replies

Ghofrane GSOURI
ST Technical Moderator
Dec 15, 2025 3:42 PM UTC

Hello @dsorber 

I'm currently checking this behavior. I will get back to you asap.

THX

Ghofrane

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
dsorberAuthor
Associate II
Dec 15, 2025 3:53 PM UTC

Thanks. I should also mention that I tried the other version (without the "_wayland") and I get the same error:

$ /opt/st/stm32cubeide_2.0.0/stm32cubeide
Could not create GBM EGL display: EGL_NOT_INITIALIZED. Aborting...

 

Ghofrane GSOURI
ST Technical Moderator
Dec 16, 2025 12:29 PM UTC

Hello @dsorber 

Could you please share your workspace log located at ~/.stm32cubeide_2.0.0/.metadata/.log?

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
dsorberAuthor
Associate II
Dec 19, 2025 12:23 PM UTC

Any updates on this issue?

dsorberAuthor
Associate II
Jan 9, 2026 2:32 PM UTC

Any updates on this issue?

Ghofrane GSOURI
ST Technical Moderator
Jan 29, 2026 10:53 AM UTC

Hello @dsorber 

Sorry for the late reply.

Could you please confirm exactly which STM32CubeIDE installer you downloaded and used ?

In addition, could you try installing STM32CubeIDE under /home/st instead of /opt/st and let me know if the issue persists?

THX

Ghofrane

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.