Rendering Job Queue shows Starting... but never shows progress or completion

First time using Kdenlive on Linux, week old install on Bazzite. Installed Kdenlive as a Flatpak using Bazzar.

When I render my project, it just sits at Starting…

When I tail the log, I never see the newline progress. The progress lines above are not from the active render, this was from the last render I ran.

In System Monitor I can see melt is running and after a couple of minutes the render is complete and then all the progress lines appear, However Kdenlive still says Starting… and never completes.

smerkin@GAMING:~$ tail -f '/home/smerkin/W11/Video Output/Mk.2 Power Pole.mp4.log'
Started render process: /app/bin/melt -loglevel error -progress2 /var/tmp/kdenlive-xvNiWP-1.mlt
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
qt.gui.imageio: libpng warning: iCCP: known incorrect sRGB profile
3	27	1
4	54	2
5	81	3
7	107	4
8	134	5
9	161	6
10	188	7
12	214	8
14	241	9
15	268	10
17	295	11
19	321	12
21	348	13
22	375	14
24	402	15
26	428	16
28	455	17
29	482	18
31	509	19
33	535	20
36	562	21
39	589	22
41	616	23
44	642	24
47	669	25
49	696	26
52	722	27
55	749	28
58	776	29
60	803	30
63	829	31
66	856	32
69	883	33
72	910	34
75	936	35
78	963	36
81	990	37
84	1017	38
87	1043	39
90	1070	40
93	1097	41
96	1124	42
99	1150	43
102	1177	44
105	1204	45
108	1231	46
111	1257	47
114	1284	48
117	1311	49
121	1337	50
124	1364	51
127	1391	52
131	1418	53
134	1444	54
137	1471	55
140	1498	56
144	1525	57
147	1551	58
151	1578	59
154	1605	60
158	1632	61
161	1658	62
164	1685	63
168	1712	64
171	1739	65
175	1765	66
178	1792	67
182	1819	68
185	1846	69
189	1872	70
192	1899	71
195	1926	72
198	1953	73
200	1979	74
203	2006	75
206	2033	76
209	2059	77
212	2086	78
214	2113	79
216	2140	80
218	2166	81
221	2193	82
223	2220	83
225	2247	84
227	2273	85
229	2300	86
231	2327	87
234	2354	88
236	2380	89
238	2407	90
240	2434	91
242	2461	92
244	2487	93
246	2514	94
249	2541	95
251	2568	96
253	2594	97
255	2621	98
257	2648	99

QThreadStorage: entry 8 destroyed before end of thread 0x56483fa88d30 QThreadStorage: entry 2 destroyed before end of thread 0x56483fa88d30 QThreadStorage: entry 1 destroyed before end of thread 0x56483fa88d30
Rendering of /home/smerkin/W11/Video Output/Mk.2 Power Pole.mp4 finished

Kdenlive 25.0.8.

I’ve used Kdenlive heaps on Windows, not sure why it’s not getting progress on Linux.

Just to re-iterate, the render does actually work, it’s just Kdenlive is not getting any status updates.

Anyone else seen this?

Not for many releases now, but I have seen that sort of thing intermittently in the past with a few releases.

Same thing over here, same distro, same bazaar flatpak. If it does not freeze at “starting” it just stops later. I’m trying to render a 20 minute video and my CPU starts at 50% but after a couple of seconds later it just goes down to 15-20% and while kdenlive still eats almost 7 gigs of RAM it barely writes with 1.2-2.0 MiB/s and progress bar doesn’t do anything.

In the past I edited 4 hours of footage into 1 and it barely took 40 ish minutes to render, now I’m sitting here trying to render a 20 minute video with very little cuts and no effect, and the bar is barely 1/5th the way and says there’s 35 minutes remaining, and it’s been like that for over 20 minutes.
Something definitely feels wrong.

Please try the official appimage

Great, the appimage downloaded from the website works as expected.

screenshot during

screenshot finished

Same log behaviour was observed, no progress is shown until the render completes. However Kdenlive outputs the status just fine.

Should I create a bug report for this?

Personally … I would just use the appimage … it’s the best tested and least fundamentally troublesome build, and you get to easily keep older versions always available if you need them for older projects that you want to open later without updating them ‘irreversibly’ (without restoring from backup) to the current kdenlive way of doing things.

The flatpak ‘sandboxing’ makes some things impossible that could be done with the appimage or a native package install, even when it is otherwise working correctly, without actually adding any real ‘security’ for you (if we’re actually untrustworthy or you accidentally download a malicious copy from somewhere, the ‘sandboxing’ won’t save you).

I don’t know anything about Bazzite … if it’s widely reproducible with our ‘official’ flatpak on all (or several) distros, that might be a bug we should know about - but it’s been a while since I’ve seen anyone talk about this problem or seen it myself - so right now I’d be a little suspicious that it’s something Bazzite is doing which doesn’t let the UI process monitor the progress log file - and if so, there might not be anything we can do about that at all.

So it would be good to confirm whether this is only happening on Bazzite to know where a bug report should actually go.

Well it seems as though the problem is no longer occurring. I thought the fix was related to something the appimage did to the environment so I spun up a clean VM of Bazzite and I can’t re-produce the problem in the clean build.

If it happens again and I spot a pattern I’ll return with more info. Thanks for the help.

That’s kind of like how I’ve seen it in the past, there’s no particular logic it when it starts, but it seems somewhat persistent until it isn’t again.

Are you one of those people (like me) who tends to accumulate crazy numbers of things open all at once? And would that have been the state of your machine when you saw this?

The problem smells like the UI failing to watch the rendering log file, but I’ve never had evidence of any reason why it should - but in the light of your “a reboot fixed it”, I now wonder if its happening after you hit the system inotify watch limit for your user, and it’s just not (clearly) reporting that root failure?

What DE are you using? I’m currently trialing Plasma on my bare metal, and a couple of days ago it warned me that I’d “hit 90% of my current limit” with the number of things I had open (but to put that in context - on MATE more than once I’d hit the limit of the number of terminals it would allow me to open without first closing some - I multitask pretty heavily sometimes :wink:

Possibly, being the first video I edited in Linux I had copied an existing Kdenlive project I created in Windows and was adjusting all the paths to match Linux, setting up SMB mounts and a few other tasks. It’s something for me to observe if the behaviour happens again.

I’m using KDE Plasma that comes as part of Bazzite. I’ve not had any warning appear but will keep an eye out in the future. I’m dual booting with Windows 11 so I’m still working towards using Bazzite more and Windows less, just figuring out how to move my workflow across. I am enjoying it though, very impressed with the overall experience Bazzite delivers.

So I’ve found the root cause of the issue, it happens when you open another instance of Kdenlive. It resolves itself when you close down all instances and open a fresh one.

For me, I’m editing a video and I need to reference another video to see how I did something, so I find the .kdenlive file in Dolphin and then double click it and it opens it in another instance. At this point the render status in the original instance will no longer work, but the rendering job will actually run. Even after closing the second instance and running a render job it won’t show the output, you need to close all instances.

Not sure if I should file this as a bug, I would be interested in seeing if you can reproduce it @ron. This never happened to me on Windows but thats probably because I’m running it as a flatpak (on Linux).

Can you reproduce it with the appimage? I couldn’t with a simple first test with 25.08.0.

I opened it, imported a few clips to the timeline, started a render to confirm the progress meter worked, opened a new instance, imported a clip - confirmed the render progress still worked in the first one. Closed the second instance - confirmed that the progress still worked again.

If it’s flatpak only, it could be something with the sandboxing permissions - if it’s not, then there’s something more needed than what I did to trigger it.

I cannot reproduce this behaviour using appimage, only with flatpak.