Bug 504072 - kdenlive-25.04.1-x86_64.AppImage won't start
Summary: kdenlive-25.04.1-x86_64.AppImage won't start
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Setup & Installation (other bugs)
Version First Reported In: 25.04.1
Platform: Appimage Linux
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2025-05-11 18:32 UTC by Shiba
Modified: 2025-08-24 07:13 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
Gentoo Plasma Wayland (9.95 KB, text/plain)
2025-05-16 12:22 UTC, Shiba
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Shiba 2025-05-11 18:32:14 UTC
SUMMARY
Trying to start kdenlive-25.04.1-x86_64.AppImage (and 25.04.0 as well) fails with: Could not initialize GLX.

STEPS TO REPRODUCE
1. chmod +x kdenlive-25.04.1-x86_64.AppImage
2. ./kdenlive-25.04.1-x86_64.AppImage

OBSERVED RESULT
shiba > ./kdenlive-25.04.1-x86_64.AppImage
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::NoProfile)
qt.glx: qglx_findConfig: Failed to finding matching FBConfig for QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize -1, redBufferSize 1, greenBufferSize 1, blueBufferSize 1, alphaBufferSize -1, stencilBufferSize -1, samples -1, swapBehavior QSurfaceFormat::SingleBuffer, swapInterval 1, colorSpace QColorSpace(), profile  QSurfaceFormat::NoProfile)
Could not initialize GLX
fish: Job 1, './kdenlive-25.04.1-x86_64.AppIm…' terminated by signal SIGABRT (Abort)

EXPECTED RESULT
Kdenlive starting.

SOFTWARE/OS VERSIONS
Linux:  6.6.88-gentoo-dist
Qt Version: what's in the AppImage (6.8.3 locally, but I don't think it matters)

ADDITIONAL INFORMATION
kdenlive-24.12.2-x86_64.AppImage still works as expected.
Comment 1 Bernd 2025-05-12 13:53:00 UTC
Latest appimage works for me on Pop!_OS 22.04LTS
Comment 2 Shiba 2025-05-15 23:13:53 UTC
Observation:
1) ./kdenlive-25.04.1-x86_64.AppImage --appimage-extract
2) cd squashfs-root/
3) LD_LIBRARY_PATH=usr/lib/ ./AppRun

It runs when doing this, so is maybe something from my system leaking in?
Comment 3 Jean-Baptiste Mardelle 2025-05-16 04:36:08 UTC
Do you have the AppImageLauncher tool installed on your system? 
It is known to crash type 2 AppImages. Uninstalling it might help..
Comment 4 Shiba 2025-05-16 12:21:53 UTC
(In reply to Jean-Baptiste Mardelle from comment #3)
> Do you have the AppImageLauncher tool installed on your system? 
> It is known to crash type 2 AppImages. Uninstalling it might help..

No, I *may* have tried it in the past as an AppImage itself, but I've always found more convenient to make .desktop files myself.

Adding more context as I keep digging.
I confirm that the AppImage is working correctly in both Ubuntu 22.04 onward and Fedora 42. However I can reproduce the problem using Gentoo LiveGUI (livegui-amd64-20250429T205022Z.iso), with the following results:

  Plasma (X11): same GLX fail and abort as my original post.

  Plasma (Wayland): never crashes, but never shows the GUI either. It can't find EGL apparently (attaching log in my next post).
Comment 5 Shiba 2025-05-16 12:22:39 UTC
Created attachment 181378 [details]
Gentoo Plasma Wayland
Comment 6 Bug Janitor Service 2025-05-31 03:47:44 UTC
🐛🧹 ⚠️ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 7 Shiba 2025-06-04 07:02:05 UTC
At the moment I'm stuck and I don't know what kind of other info to provide, but it still persists. I'm changing the status to REPORTED.
Comment 8 balooii 2025-06-06 12:29:00 UTC
The X11 and the Wayland errors both mention something about OpenGL. As you reported that it works for both Ubuntu/Fedora but not on Gentoo it may be related to your OpenGL/GPU drivers.

You can force Kdenlive/Qt to not use OpenGL if you start the app with QT_QUICK_BACKEND=software ./kdenlive-25.04.1-x86_64.AppImage

If this fixes the crash and the app starts then check your drivers/software, maybe use `glxinfo` to get some debugging info about OpenGL on your system. 

(Note that this workaround will only let you open the app but the Monitors/Players will probably not work, don't think there is a fallback for these if GL is not available.)

Maybe related: There are other bug reports about crashes containing OpenGL related error messages when using the specific combination of kwin+nvidia+wayland+kdenlive. You did not mention your type of GPU you're using but if you also fall into this category then we should open a bug for kwin.
Comment 9 Shiba 2025-06-08 20:08:37 UTC
I'm using an old Mutter (originally based on 3.36) + Xorg + RadeonSI,  but that's not the problem as the Gentoo LiveGUI I tried in QEMU uses Kwin + Wayland + virgl. OpenGL in Gentoo is fully working, both for system applications and for Kdenlive AppImages prior to 25.04. As I said in #c2 if I extract it and force it to load the bundled libraries with LD_LIBRARY_PATH it works, OpenGL and everything, so I suspect something isn't properly rpathed in this round of AppImages. I will eventually test the bundled libraries one by one, I just need to have the time to do it.
Comment 10 Shiba 2025-08-24 07:13:20 UTC
I'm closing because as of now I can no longer reproduce this. I'm not sure if it was fixed by 25.08 or by Gentoo updating Qt to 6.9 a couple of months ago. In any case, thank you for your time.