Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 689156

Summary: kde-apps/kdenlive: various issues
Product: Gentoo Linux Reporter: Chris <cjdl01>
Component: Current packagesAssignee: Gentoo KDE team <kde>
Severity: normal Keywords: UPSTREAM
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard: fixed in 19.04.3
Package list:
Runtime testing required: ---
Bug Depends on: 688912    
Bug Blocks:    

Description Chris 2019-07-02 14:09:20 UTC

I updated recently (probably a couple weeks ago), and ever since, Kdenlive stopped working properly. The version (which is still current in portage) is 18.12.3 has problems, that are already noted on namely that it is produces output consisting of all black frames.

To get around this, I decided to go with the other version in the portage tree: 19.04.2. But this has a major problem as well... it adds several minutes of black frames to the end of the rendered video.  In my example, a 10 second video had 16 minutes of black frames added to the rendered product.  A 2 Minute video added 20 minutes of black frames.

The appimage from kde demonstrates that this has been resolved.

To produce the problems:


1) Add a clip to the library
2) Place that clip on the timeline.
3) Click on that clip -- this crashes kdenlive.
4) Restart kdenlive 
5) turn off GL in the Preferences
6) Restart kdenlive
7) Add a clip to the library
8) Drag that clip to the timeline
9) Render the file 
10) View the file - you will see it is all black.


1) Add a 10 second clip to the library
2) Drag it to the timeline
3) Render it - you will see it wants a crazy amount of time to render... for me, it was 45 minutes to one hour and 5 minutes.  I tried render to webm, mp4 and mpg.
4) View the rendered product.  The 10 second clip renders fine, but there is 16 minutes of black footage immediately following.

My system:
Portage 2.3.66 (python 3.6.5-final-0, default/linux/amd64/17.1/desktop/plasma, gcc-8.3.0, glibc-2.29-r2, 4.19.44-gentoo x86_64)
System uname: Linux-4.19.44-gentoo-x86_64-Intel-R-_Xeon-R-_CPU_W3670_@_3.20GHz-with-gentoo-2.6
KiB Mem:    24673424 total,   3345440 free
KiB Swap:   22906876 total,  22906620 free
Timestamp of repository gentoo: Wed, 19 Jun 2019 17:00:01 +0000
Head commit of repository gentoo: 4cc586297443499fe697ec84acd382df86a81ed2
sh bash 4.4_p23-r1
ld GNU ld (Gentoo 2.31.1 p7) 2.31.1
app-shells/bash:          4.4_p23-r1::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.28.2-r1::gentoo
dev-lang/python:          2.7.15::gentoo, 3.6.5::gentoo
dev-util/cmake:           3.14.3::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.6-r1::gentoo
sys-apps/openrc:          0.41.2::gentoo
sys-apps/sandbox:         2.13::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r3::gentoo, 1.13.4-r2::gentoo, 1.16.1-r1::gentoo
sys-devel/binutils:       2.31.1-r6::gentoo
sys-devel/gcc:            8.3.0-r1::gentoo
sys-devel/gcc-config:     2.0::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1-r4::gentoo
sys-kernel/linux-headers: 4.14-r1::gentoo (virtual/os-headers)
sys-libs/glibc:           2.29-r2::gentoo

    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://
    priority: -1000
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-metamanifest: yes

CFLAGS="-march=native -mtune=native -O2 -pipe"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -mtune=native -O2 -pipe"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en_US en"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
USE="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth bluray branding bzip2 cairo cdda cdr cleartype cli consolekit corefonts crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam ffmpeg flac fmpeg fortran frei0r fuse gdbm gif glamor gpm gtk iconv java jpeg kde kipi kvm kwallet lcms ldap libnotify libtirpc mad mmx mng mp3 mp4 mpeg ncurses nls nptl nvidia ogg opengl openmp pam pango pcre pdf phonon plasma png policykit ppds pulse pulseaudio qml qt3support qt5 quicktime readline samba sdl seccomp semantic-desktop sftp spell sse sse2 ssl startup-notification svg tcpd threads tiff truetype type1 udev udf udisks unicode upower usb vdpau vorbis vpx widgets wxwidgets x264 x265 xattr xcb xcomposite xine xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby24" USERLAND="GNU" VIDEO_CARDS="nvidia vga" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"

More information:
Comment 1 Andreas Sturmlechner gentoo-dev 2019-07-02 14:21:57 UTC
It sounds to me as if you do not have user rights to your GL driver.

I'm not sure what library you are talking about, but I added a clip to a new project, started playback, added effects back and forth, and no crash of kdenlive-19.04.2 at all.
Comment 2 Chris 2019-07-02 14:55:23 UTC
I most certainly do have access to the video card.

The library I'm referring to is the window in the upper left of the interface (by default) where all your imported clips reside.  You can drag these clips onto the timeline for editing.

I never said that kde 19.04.2 crashed. I said it is adding several black frames to the end of the rendered clip.
Comment 3 Andreas Sturmlechner gentoo-dev 2019-07-02 15:53:35 UTC
(In reply to Chris from comment #2)
> I never said that kde 19.04.2 crashed. I said it is adding several black
> frames to the end of the rendered clip.
But you said it about 18.12.3.
Comment 4 Chris 2019-07-02 19:11:34 UTC
That is correct.  

You had stated: "... I added a clip to a new project, started playback, added effects back and forth, and no crash of kdenlive-19.04.2 at all."

So I was just clarifying that I never had a problem with 19.04.2 crashing.

However, it is worth mentioning at this point that, after adding the kde overlay and installing kdenlive-, the problems did abate. Similarly the latest appimage from kde does not have either of these problems.

So the bad news is that there are issues in the two versions in portage... but the good news is that the next release should fix them.  Hopefully that will manifest in the next few days.
Comment 5 Andreas Sturmlechner gentoo-dev 2019-07-15 06:08:09 UTC
It's why you file one bug per issue.

19.04.3 is in gentoo ebuild repo.