Bug 503162

Summary: Kdenlive crashes on startup when KDE desktop uses Vulkan rendering (Qt 6.9, NVIDIA)
Product: [Applications] kdenlive Reporter: lolkek202k
Component: User Interface & MiscellaneousAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED FIXED    
Severity: crash CC: berndmj, grekerplayyt, sprotask
Priority: NOR Keywords: triaged
Version First Reported In: 25.04.1   
Target Milestone: ---   
Platform: Arch Linux   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 25.08.0
Sentry Crash Report:
Attachments: Backtrace

Description lolkek202k 2025-04-22 11:41:34 UTC
Created attachment 180520 [details]
Backtrace

Kdenlive fails to start when Vulkan is used as the rendering backend in KDE Plasma 6 (Wayland). The application crashes immediately after launch with a segmentation fault.
When the rendering mode is set to "Automatic" or QT_QUICK_BACKEND=software, Kdenlive starts correctly.

Tested on Arch Linux with NVIDIA proprietary driver and Qt 6.9.

✅ Works:
QT_QUICK_BACKEND=software
KDE rendering mode: Automatic

❌ Crashes:
KDE rendering mode: Vulkan (without additional environment variables)

Info:
GPU: NVIDIA GeForce RTX 3070 Ti
Driver: 570.144-1 (proprietary)

Qt version: 6.9.0
Kdenlive: 25.04.0-1 (from Arch repo)
Comment 1 Egor Tkachev 2025-05-12 23:41:01 UTC
I can confirm this issue.

On my system, Kdenlive crashes with a segmentation fault when Plasma is running with the Vulkan renderer.
However, Kdenlive works fine if I either:
Set QT_QUICK_BACKEND=software, or
Switch Plasma to the OpenGL renderer instead of Vulkan.
QT_QUICK_BACKEND=opengl kdenlive still crashing when plasma renderer set to vulkan

Operating System: Arch Linux
KDE Plasma Version: 6.3.5
KDE Frameworks Version: 6.14.0
Qt Version: 6.9.0
Kernel Version: 6.14.6-2cachyos (64-bit)
Graphics Platform: Wayland
Processors: 16 × Intel® Core™ i7-10700K
Memory: 31.3 GiB
Graphics Processor: NVIDIA GeForce RTX 3060 Ti (proprietary driver)
Comment 2 sprotask 2025-06-17 09:25:36 UTC
*** Bug 505664 has been marked as a duplicate of this bug. ***
Comment 3 Jean-Baptiste Mardelle 2025-07-27 14:02:10 UTC
Git commit 15a47dacdc31f60ef71a501fc23d5557b3268411 by Jean-Baptiste Mardelle.
Committed on 27/07/2025 at 14:01.
Pushed by mardelle into branch 'release/25.08'.

Fix startup crash when QML Graphics API is set to Vulkan
FIXED-IN: 25.08.0

M  +4    -0    src/monitor/monitor.cpp

https://invent.kde.org/multimedia/kdenlive/-/commit/15a47dacdc31f60ef71a501fc23d5557b3268411