Bug 417031 - 19.12: unusable: clip/project play very jerky, play head and audio out of sync
Summary: 19.12: unusable: clip/project play very jerky, play head and audio out of sync
Status: RESOLVED FIXED
Alias: None
Product: kdenlive
Classification: Applications
Component: Rendering & Export (show other bugs)
Version: 19.12.1
Platform: Other FreeBSD
: NOR major
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-02-01 17:35 UTC by sjg
Modified: 2021-02-26 07:12 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description sjg 2020-02-01 17:35:47 UTC
SUMMARY
19.12.0 and 19.12.1 cannot play video (any format) well enough to edit.
18.12.3 works fine on same machine

STEPS TO REPRODUCE
1. upgrade kdenlive to 19.12
2. create new project and pull in a clip - .mov,.mts,... makes no difference
3. play
4. observe unusable performace
5. downgrade just kdenlive to 18.12
6. observe reasonable performance

OBSERVED RESULT

video and audio play are extremely erratic, play head stalls for seconds and everything quickly out of sync.

EXPECTED RESULT

obviously smooth play with play-head and audio tracking correctly

NOTE: another machine running same OS version, will similar CPU but better GPU works ok with 19.12 details below


SOFTWARE/OS VERSIONS
FreeBSD: 11.3-RELEASE-p3

(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

Sorry, the above does not map well to FreeBSD packages.
mlt version is 6.18.0_1

Note: only the kdenlive version differs, after 19.12 proved unusable, I downgraded just the kdenlive package to 18.12 - all others remain at the versions suitable for 19.12

ADDITIONAL INFORMATION

The machine with problem has decent cpu: i9-7900X CPU @ 3.30GHz (10 core)
Modest GPU: NVIDIA GPU GeForce GTX 1050 Ti

The machine where 19.12 works - cpu: Xeon(R) CPU E5-2637 v3 @ 3.50GHz
GPU: NVIDIA GPU Quadro K4200

both machines have 32G ram and all OS and support packages at same versions
Comment 1 sjg 2020-02-01 17:48:14 UTC
Ok based on the shared libs and the packages they come from (list below if useful) I'm guessing

KDE version 5.65.0
Qt version: 5.13.2

Packages:

brotli-1.0.7_2,1
dbus-1.12.16
freetype2-2.10.1
gettext-runtime-0.20.1
glib-2.56.3_6,1
graphite2-1.3.13_1
gstreamer1-1.14.4
gstreamer1-plugins-1.14.4_2
harfbuzz-2.6.4
hyphen-2.8.8
icu-65.1,1
jpeg-turbo-2.0.3
kf5-attica-5.65.0
kf5-karchive-5.65.0
kf5-kauth-5.65.0
kf5-kbookmarks-5.65.0
kf5-kcodecs-5.65.0
kf5-kcompletion-5.65.0
kf5-kconfig-5.65.0
kf5-kconfigwidgets-5.65.0
kf5-kcoreaddons-5.65.0
kf5-kcrash-5.65.0
kf5-kdbusaddons-5.65.0
kf5-kdeclarative-5.65.0
kf5-kfilemetadata-5.65.0
kf5-kglobalaccel-5.65.0
kf5-kguiaddons-5.65.0
kf5-ki18n-5.65.0
kf5-kiconthemes-5.65.0
kf5-kio-5.65.0
kf5-kitemviews-5.65.0
kf5-kjobwidgets-5.65.0
kf5-knewstuff-5.65.0
kf5-knotifications-5.65.0
kf5-knotifyconfig-5.65.0
kf5-kpackage-5.65.0
kf5-kservice-5.65.0
kf5-ktextwidgets-5.65.0
kf5-kwidgetsaddons-5.65.0
kf5-kwindowsystem-5.65.0
kf5-kxmlgui-5.65.0
kf5-purpose-5.65.0
kf5-solid-5.65.0
kf5-sonnet-5.65.0
libICE-1.0.10,1
libSM-1.2.3,1
libX11-1.6.9,1
libXau-1.0.9
libXcomposite-0.4.5,1
libXdmcp-1.1.3
libXext-1.3.4,1
libXfixes-5.0.3_2
libXi-1.7.10,1
libXrender-0.9.10_2
libXtst-1.2.3_2
libcanberra-0.30_5
libdbusmenu-qt5-0.9.3.160420160218_10
libffi-3.2.1_3
libiconv-1.14_11
libinotify-20180201_1
libltdl-2.4.6
libogg-1.3.4,4
libunwind-20170615
libv4l-1.6.3_4
libvorbis-1.3.6,3
libxcb-1.13.1
libxml2-2.9.10
libxslt-1.1.34
mlt-6.18.0_1
nvidia-driver-440.31
orc-0.4.28
pcre-8.43_2
pcre2-10.33
phonon-qt5-4.11.1
png-1.6.37
qt5-concurrent-5.13.2
qt5-core-5.13.2
qt5-dbus-5.13.2
qt5-declarative-5.13.2
qt5-gui-5.13.2_2
qt5-location-5.13.2
qt5-multimedia-5.13.2_1
qt5-network-5.13.2
qt5-printsupport-5.13.2
qt5-sensors-5.13.2
qt5-speech-5.13.2
qt5-svg-5.13.2
qt5-webchannel-5.13.2
qt5-webkit-5.212.0.a3_5
qt5-widgets-5.13.2
qt5-x11extras-5.13.2
qt5-xml-5.13.2
rttr-0.9.6.16_1
sqlite3-3.30.1
taglib-1.11.1_3
webp-1.0.3_1
woff2-1.0.2_4
xcb-util-keysyms-0.4.0_1
Comment 2 emohr 2020-02-23 17:03:23 UTC
Please try with the current Kdenlive AppImage version 19.12.2c to see if there are any packaging issues https://files.kde.org/kdenlive/release/ 

Start the project with the correct project settings. Ones you have a clip in the timeline you can lower the project settings i.e. 720p to have a smoother playback. 

Upcoming 20.04 will have this scaling implemented. You can test with the daily build. Monitor -> preview resolution.
Comment 3 sjg 2020-08-23 18:38:56 UTC
FWIW I updated to kdenlive-20.04.2 recently and found it unusable also,
not quite as bad as 19.12 though.
I had to downgrade again to 18.12.3

As I mentioned, another machine with same s/w as this one worked fine
with 19.12, the biggest difference being the GPU
NVIDIA GPU Quadro K4200 (GK104GL) in the machine that works ok
NVIDIA GPU GeForce GTX 1050 Ti (GP107-A) in the machine that struggles.

Wondering if I need to upgrade GPU ?
Comment 4 Julius Künzel 2021-02-25 13:54:43 UTC
Do you use the appimage? If not (and FreeBDS supports it ???) can you please try whether this is happening with the appimage too (Download the latest version here https://kdenlive.org/en/download/)?
Comment 5 sjg 2021-02-25 23:09:48 UTC
(In reply to Julius Künzel from comment #4)
> Do you use the appimage? If not (and FreeBDS supports it ???) can you please
> try whether this is happening with the appimage too (Download the latest
> version here https://kdenlive.org/en/download/)?

I don't sorry, but after recent upgrade to FreeBSD 12.1
kdenlive 20.12 seems to be working ok.