Skip to main content
Associate II
December 15, 2025
Question

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

  • December 15, 2025
  • 3 replies
  • 1413 views

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?

3 replies

Ghofrane GSOURI
Technical Moderator
December 15, 2025

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
December 15, 2025

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
Technical Moderator
December 16, 2025

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
December 19, 2025

Any updates on this issue?

dsorberAuthor
Associate II
January 9, 2026

Any updates on this issue?

Ghofrane GSOURI
Technical Moderator
January 29, 2026

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.