Kdenlive either crashes or gives a black screen on Linux Mint 22

Hi,

I’ve been successfully using Kdenlive for years. Now I am trying to run it on my Lenovo Laptop running Linux Mint 22.
When I install from the repositories (it seems to default to version 23), it crashes at startup.
When I try running it from AppImage or Flatpack, I get the following log :

QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled
kf.notifications: Failed to play sound with canberra: No such driver
profilePath from $MLT_PROFILES_PATH: “/tmp/.mount_kdenliHjMkEO/usr/share/mlt-7/profiles/”
meltPath from KdenliveSetting::meltPath: “/tmp/.mount_kdenliHjMkEO/usr/bin/melt”
Starting render server

The program starts, but the screen is completely black, with all the menus apparently available.

I checked a lot of things, here’s my graphic card :

00:02.0 VGA compatible controller: Intel Corporation Raptor Lake-P [Iris Xe Graphics] (rev 04)
Subsystem: Lenovo Raptor Lake-P [Iris Xe Graphics]
Kernel driver in use: i915
Kernel modules: i915, xe

glxgears is working, there are no directly apparent issues with OpenGL. I tried installing drivers directly from intel with no luck either.

I am a bit lost here, does someone have an idea ?

Thanks in advance,

Thierry

Stick to debugging this with the appimage. All bets are off for other builds.

XCB is the X11 C bindings, so first guess is you’re trying to run this under Wayland instead of X11, and/or are missing a bunch of basic system packages from your install.

kf.notifications: Failed to play sound with canberra: No such driver

libcanberra just makes the bling-bling UI sounds for your desktop when you click on stuff or there is an error it wants to play a fun tune to alert you about. If you don’t care about that stuff this one should be safe to ignore. It’s not a functional part of what kdenlive itself does.

Hi, thanks for your answer.

I am definitely running under X11.

I think that it comes from a bug Mint 22/Ubuntu 24.04 + Qt + OpenGL : “Qt applications fail to create OpenGL context on Ubuntu 24.04.”

For example, when running another Qt OpenGL app, like qmlscene, I get the same error message :

QXcbIntegration: Cannot create platform OpenGL context, neither GLX nor EGL are enabled

I will try running it on a VM with another distro/version, but pretty sure it is the problem.

Thanks,

Thierry