Bug 440975

Summary: Kdenlive crash when gpu_accel=true
Product: [Applications] kdenlive Reporter: Julien Delquié <julien.dlq>
Component: Rendering & ExportAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED LATER    
Severity: crash CC: 677ee1vp, fritzibaby, guido.iodice, julius.kuenzel, laurent.pointecouteau
Priority: NOR Flags: fritzibaby: MOVIT+
Version First Reported In: 21.08.0   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Julien Delquié 2021-08-14 15:16:44 UTC
SUMMARY

Kdenlive only works fine when gpu_accel=false.
With previous version, gpu_accel=true did not make Kdenlive crash.

STEPS TO REPRODUCE
1. Start Kdenlive
2. Set gpu_accel to true
3. Restart Kdenlive

OBSERVED RESULT

Kdenlive does not start, and crash.

EXPECTED RESULT

Kdenlive starts without crash.

SOFTWARE/OS VERSIONS
Operating System: Gentoo Linux
KDE Plasma Version: 5.22.4
KDE Frameworks Version: 5.84.0
Qt Version: 5.15.2
Kernel Version: 5.13.10-gentoo-x86_64 (64-bit)
Graphics Platform: X11

ADDITIONAL INFORMATION

KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kdenlive path = /usr/bin pid = 7216
KCrash: Arguments: /usr/bin/kdenlive 
The X11 connection broke: I/O error (code 1)
XIO:  fatal IO error 9 (Mauvais descripteur de fichier) on X server ":0"
      after 1332 requests (1332 known processed) with 0 events remaining.
QSocketNotifier: Socket notifiers cannot be enabled or disabled from another thread
KCrash: Attempting to start /usr/lib64/libexec/drkonqi
[1]  + 7216 suspended (signal)  kdenlive
Comment 1 Julius Künzel 2021-09-28 22:44:54 UTC
*** Bug 442609 has been marked as a duplicate of this bug. ***
Comment 2 Julius Künzel 2021-09-28 22:48:16 UTC
Thanks for your report! Unfortunately the movit(gpu) is not very stable at all and it is not really well maintained atm. I am not sure if this will get fixed soon (probably not), but it is definitely some where down the road on our road map!
Comment 3 Guido 2023-01-16 10:17:06 UTC
Perhaps, in agreement with the mlt developers, you could find another well-maintained library that implements the same functions
Comment 4 Julius Künzel 2024-08-09 00:01:58 UTC
Hi!

Please note that MOVIT has been experimental so far and was not well maintained. Due to lots of issue we recently disabled it. See https://invent.kde.org/multimedia/kdenlive/-/commit/41b74bd282e8a96be3b75f423f8101fa506d858d

In the long run there are plans to add a GPU again either with enhanced MOVIT or a new system, there is no eta yet.

Thanks again for your report!