Bug 409874 - Rendering speed is much faster when kdenlive window is minimized
Summary: Rendering speed is much faster when kdenlive window is minimized
Status: RESOLVED WORKSFORME
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (show other bugs)
Version: 18.12.1
Platform: Other Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-07-16 21:16 UTC by sithscout80
Modified: 2021-03-07 20:17 UTC (History)
4 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:
fritzibaby: timeline_corruption+


Attachments
kdenlive project file which demonstrates difference in rendering speed (2.07 MB, application/x-zip-compressed)
2019-07-16 21:16 UTC, sithscout80
Details
Image showing rendering speed difference of the same project when kdenlive window is minimized/not minimized (14.76 KB, image/png)
2019-07-16 21:17 UTC, sithscout80
Details

Note You need to log in before you can comment on or make changes to this bug.
Description sithscout80 2019-07-16 21:16:52 UTC
Created attachment 121562 [details]
kdenlive project file which demonstrates difference in rendering speed

SUMMARY
Rendering speed is much faster when the kdenlive window is minimized (which means rendering is slower when the window is not minimized). It is >=2x faster when minimized.

Render time:
  kdenlive minimized: 1 minute,  10 seconds
  kdenlive maximized: 3 minutes, 54 seconds

STEPS TO REPRODUCE
1. Create a project from some pictures, apply some complex effects to the pictures (Wave/Dust/Blur/Pixelize)
2. Render project using H.264 in the Lossless/HQ section. Click "Render to File"
3. After clicking "Render to File" minimize the kdenlive window
4. Repeat the same process (with a unique output filename) while keeping the kdenlive window open

OBSERVED RESULT
Render time is much longer when kdenlive window is not minimized.
Lower CPU utilization of the rendering can also be observed in Windows' Task Manager.

EXPECTED RESULT
Render time would be similar when kdenlive window is open or minimized.

SOFTWARE/OS VERSIONS
Windows: Windows 10 (version 1709), OS Build 16299.1217
KDE Frameworks Version: 5.52.0
Qt Version: 5.11.3 (built against 5.11.2)

ADDITIONAL INFORMATION
The difference in render speed between minimized/not minimized has been seen in other projects as well.
Comment 1 sithscout80 2019-07-16 21:17:56 UTC
Created attachment 121563 [details]
Image showing rendering speed difference of the same project when kdenlive window is minimized/not minimized
Comment 2 emohr 2019-09-18 15:41:25 UTC
Thanks for reporting. Version 18.12.1 is not maintained anymore. 

I tested with 19.08.1. It takes 45sec to render: with or without minimizing the Kdenlive window and switch of "parallel processing" set threads to 0 (zero). 

Could you test with 19.08.1 as well?
Which type of CPU do you have?
How much memory installed?
Comment 3 farid 2021-03-07 20:17:52 UTC
As suggested, this seems to be working in latest versions. Please test and reopen if you encounter the issue.