Kdenlive 21.08.1 crashes on startup (segmentation fault) when gpu acceleration is enabled

When the Configure Kdenlive → Playback → Use GPU processing (Movit library) checkbox is set, Kdenlive crashes (after i restarted it). I’m on latest Manjaro stable release, with mlt installed alongside rtaudio and movit (and these optional deps: sdl2, libsamplerate, sox, ffmpeg, vid.stab, qt5-svg, jack, ladspa, libexif, frei0r-plugins, opencv, rubberband, gdk-pixbuf2, pango, python)

Here’s the logs:

KCrash: crashing... crashRecursionCounter = 2
KCrash: Application Name = kdenlive path = /usr/bin pid = 36536
KCrash: Arguments: /usr/bin/kdenlive --mlt-log verbose
Unable to start Dr. Konqi
Re-raising signal for core dump handling.
zsh: segmentation fault (core dumped)  kdenlive --mlt-log verbose

inxi --admin --verbosity=7 --filter --no-host --width:

  Kernel: 5.13.13-1-MANJARO x86_64 bits: 64 compiler: gcc v: 11.1.0 
  parameters: BOOT_IMAGE=/boot/vmlinuz-5.13-x86_64 
  root=UUID=e3ef0751-3ef0-4bf0-9e00-f22b4046c1cc rw quiet 
  resume=UUID=14f54fd1-28b4-446d-8fa6-1fe669f73644 udev.log_priority=3 
  Desktop: KDE Plasma 5.22.5 tk: Qt 5.15.2 wm: kwin_x11 vt: 1 dm: SDDM 
  Distro: Manjaro Linux base: Arch Linux 
  Type: Laptop System: TOSHIBA product: dynabook R734/M v: PR734MAN147AD73 
  serial: <filter> Chassis: type: 10 v: Version 1.0 serial: <filter> 
  Mobo: TOSHIBA model: dynabook R734/M v: Version A0 serial: <filter> 
  UEFI: TOSHIBA v: Version 4.80 date: 06/23/2015 
  ID-1: BAT1 charge: 37.8 Wh (79.9%) condition: 47.3/66.3 Wh (71.4%) 
  volts: 10.8 min: 10.8 model: G71C000GJ210 type: Li-ion serial: N/A 
  status: Unknown 
  RAM: total: 7.69 GiB used: 3.56 GiB (46.2%) 
  RAM Report: permissions: Unable to run dmidecode. Root privileges required. 
  Info: Dual Core model: Intel Core i5-4310M bits: 64 type: MT MCP 
  arch: Haswell family: 6 model-id: 3C (60) stepping: 3 microcode: 28 cache: 
  L2: 3 MiB bogomips: 21558 
  Speed: 2693 MHz min/max: 800/3400 MHz Core speeds (MHz): 1: 2693 2: 3243 
  3: 2685 4: 2696 
  Flags: abm acpi aes aperfmperf apic arat arch_perfmon avx avx2 bmi1 bmi2 bts 
  clflush cmov constant_tsc cpuid cpuid_fault cx16 cx8 de ds_cpl dtes64 dtherm 
  dts epb ept ept_ad erms est f16c flexpriority flush_l1d fma fpu fsgsbase 
  fxsr ht ibpb ibrs ida invpcid invpcid_single lahf_lm lm mca mce md_clear mmx 
  monitor movbe msr mtrr nonstop_tsc nopl nx pae pat pbe pcid pclmulqdq pdcm 
  pdpe1gb pebs pge pln pni popcnt pse pse36 pti pts rdrand rdtscp rep_good 
  sdbg sep smep smx ss ssbd sse sse2 sse4_1 sse4_2 ssse3 stibp syscall tm tm2 
  tpr_shadow tsc tsc_adjust tsc_deadline_timer vme vmx vnmi vpid x2apic xsave 
  xsaveopt xtopology xtpr 
  Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
  Type: l1tf 
  mitigation: PTE Inversion; VMX: conditional cache flushes, SMT vulnerable 
  Type: mds mitigation: Clear CPU buffers; SMT vulnerable 
  Type: meltdown mitigation: PTI 
  Type: spec_store_bypass 
  mitigation: Speculative Store Bypass disabled via prctl and seccomp 
  Type: spectre_v1 
  mitigation: usercopy/swapgs barriers and __user pointer sanitization 
  Type: spectre_v2 mitigation: Full generic retpoline, IBPB: conditional, 
  IBRS_FW, STIBP: conditional, RSB filling 
  Type: srbds mitigation: Microcode 
  Type: tsx_async_abort status: Not affected 
  Device-1: Intel 4th Gen Core Processor Integrated Graphics vendor: Toshiba 
  driver: i915 v: kernel bus-ID: 00:02.0 chip-ID: 8086:0416 class-ID: 0300 
  Device-2: Chicony TOSHIBA Web Camera - FHD type: USB driver: uvcvideo 
  bus-ID: 1-10:3 chip-ID: 04f2:b3b2 class-ID: 0e02 serial: <filter> 
  Display: x11 server: X.Org 1.20.13 compositor: kwin_x11 driver: 
  loaded: intel display-ID: :0 screens: 1 
  Screen-1: 0 s-res: 1366x768 s-dpi: 96 s-size: 361x203mm (14.2x8.0") 
  s-diag: 414mm (16.3") 
  Monitor-1: eDP1 res: 1366x768 hz: 60 dpi: 120 size: 290x170mm (11.4x6.7") 
  diag: 336mm (13.2") 
  OpenGL: renderer: Mesa DRI Intel HD Graphics 4600 (HSW GT2) 
  v: 4.5 Mesa 21.2.1 compat-v: 3.0 direct render: Yes 
  Device-1: Intel Xeon E3-1200 v3/4th Gen Core Processor HD Audio 
  vendor: Toshiba driver: snd_hda_intel v: kernel bus-ID: 00:03.0 
  chip-ID: 8086:0c0c class-ID: 0403 
  Device-2: Intel 8 Series/C220 Series High Definition Audio vendor: Toshiba 
  driver: snd_hda_intel v: kernel bus-ID: 00:1b.0 chip-ID: 8086:8c20 
  class-ID: 0403 
  Sound Server-1: ALSA v: k5.13.13-1-MANJARO running: yes 
  Sound Server-2: JACK v: 1.9.19 running: no 
  Sound Server-3: PulseAudio v: 15.0 running: yes 
  Sound Server-4: PipeWire v: 0.3.34 running: yes 
  Device-1: Intel Ethernet I217-V vendor: Toshiba driver: e1000e v: kernel 
  port: 4080 bus-ID: 00:19.0 chip-ID: 8086:153b class-ID: 0200 
  IF: enp0s25 state: down mac: <filter> 
  Device-2: Qualcomm Atheros AR9462 Wireless Network Adapter vendor: Lite-On 
  driver: ath9k v: kernel port: 4060 bus-ID: 04:00.0 chip-ID: 168c:0034 
  class-ID: 0280 
  IF: wlan0 state: up mac: <filter> 
  IP v4: <filter> type: dynamic noprefixroute scope: global 
  broadcast: <filter> 
  IP v6: <filter> type: dynamic noprefixroute scope: global 
  IP v6: <filter> type: noprefixroute scope: link 
  WAN IP: <filter> 
  Device-1: Toshiba Atheros AR3012 Bluetooth type: USB driver: btusb v: 0.8 
  bus-ID: 1-4:5 chip-ID: 0930:021c class-ID: e001 
  Report: rfkill ID: hci0 rfk-id: 3 state: up address: see --recommends 
  Message: No logical block device data found. 
  Message: No RAID data found. 
  Local Storage: total: 1.13 TiB used: 100.49 GiB (8.7%) 
  SMART Message: Unable to run smartctl. Root privileges required. 
  ID-1: /dev/sda maj-min: 8:0 vendor: A-Data model: SU630 size: 223.57 GiB 
  block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD 
  serial: <filter> rev: 710b scheme: GPT 
  ID-2: /dev/sdb maj-min: 8:16 type: USB vendor: Western Digital 
  model: WD My Passport 2626 size: 931.48 GiB block-size: physical: 512 B 
  logical: 512 B type: N/A serial: <filter> rev: 1028 scheme: GPT 
  Message: No optical or floppy data found. 
  ID-1: / raw-size: 25 GiB size: 24.48 GiB (97.93%) used: 20.69 GiB (84.5%) 
  fs: ext4 dev: /dev/sda6 maj-min: 8:6 label: N/A 
  uuid: e3ef0751-3ef0-4bf0-9e00-f22b4046c1cc 
  ID-2: /boot/efi raw-size: 100 MiB size: 96 MiB (96.00%) 
  used: 25.3 MiB (26.3%) fs: vfat dev: /dev/sda2 maj-min: 8:2 label: N/A 
  uuid: 60B4-AC88 
  ID-3: /home raw-size: 130 GiB size: 126.96 GiB (97.66%) 
  used: 79.77 GiB (62.8%) fs: ext4 dev: /dev/sda7 maj-min: 8:7 label: N/A 
  uuid: 75aca6c9-e94d-4aef-8c21-2451270df613 
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) 
  ID-1: swap-1 type: partition size: 8 GiB used: 0 KiB (0.0%) priority: -2 
  dev: /dev/sda5 maj-min: 8:5 label: N/A 
  uuid: 14f54fd1-28b4-446d-8fa6-1fe669f73644 
  ID-1: /dev/sda1 maj-min: 8:1 size: 479 MiB fs: ntfs label: System Reserved 
  uuid: 58CE720ACE71E0A4 
  ID-2: /dev/sda3 maj-min: 8:3 size: 59.47 GiB fs: ntfs label: N/A 
  uuid: 4678759578758489 
  ID-3: /dev/sda4 maj-min: 8:4 size: 541 MiB fs: ntfs label: N/A 
  uuid: 88423F18423F0A88 
  ID-4: /dev/sdb1 maj-min: 8:17 size: 931.48 GiB fs: ntfs label: My Passport 
  uuid: 92568C64568C4AC5 
  Hub-1: 1-0:1 info: Full speed (or root) Hub ports: 14 rev: 2.0 
  speed: 480 Mb/s chip-ID: 1d6b:0002 class-ID: 0900 
  Device-1: 1-4:5 info: Toshiba Atheros AR3012 Bluetooth type: Bluetooth 
  driver: btusb interfaces: 2 rev: 1.1 speed: 12 Mb/s power: 100mA 
  chip-ID: 0930:021c class-ID: e001 
  Device-2: 1-5:2 info: Maxxter Wireless Receiver type: Mouse,Keyboard 
  driver: hid-generic,usbhid interfaces: 2 rev: 1.1 speed: 12 Mb/s power: 50mA 
  chip-ID: 248a:8514 class-ID: 0301 
  Device-3: 1-10:3 info: Chicony TOSHIBA Web Camera - FHD type: Video 
  driver: uvcvideo interfaces: 2 rev: 2.0 speed: 480 Mb/s power: 500mA 
  chip-ID: 04f2:b3b2 class-ID: 0e02 serial: <filter> 
  Hub-2: 2-0:1 info: Full speed (or root) Hub ports: 4 rev: 3.0 speed: 5 Gb/s 
  chip-ID: 1d6b:0003 class-ID: 0900 
  Device-1: 2-2:2 info: Western Digital My Passport (WDBPKJ) 
  type: Mass Storage driver: usb-storage interfaces: 1 rev: 3.1 speed: 5 Gb/s 
  power: 896mA chip-ID: 1058:2626 class-ID: 0806 serial: <filter> 
  System Temperatures: cpu: 72.0 C mobo: N/A 
  Fan Speeds (RPM): N/A 
  Processes: 243 Uptime: 54m wakeups: 1 Init: systemd v: 248 tool: systemctl 
  Compilers: gcc: 11.1.0 clang: 12.0.1 Packages: pacman: 1863 lib: 448 
  flatpak: 0 Shell: Zsh v: 5.8 running-in: konsole inxi: 3.3.06 

I’m wondering if i have any options left for troubleshooting. looks pretty unsolvable to me :cry: .

BTW, for anyone facing startup crash problems with kdenlive, locate this file ~/.config/kdenliverc and edit gpu_accel=true entry to gpu_accel=false to disable gpu acceleration (listed as Use GPU processing (Movit library) in kdenlive configurations).

from reddit: https://redd.it/pia8g7

u/f_r_d: You need nvidia cards for movit…

feeling dumb now. at least i know better now.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.