Kdenlive random freeze issues

I’m having issues where kdenlive will randomly freeze. If I go into the project’s settings and try to adjust the framerate for the project, it will sometimes work, and then sometimes kdenlive freezes solid.

If I can get past that phase sometimes I’m able to import media just fine, other times it’s frozen. Lately it’s a minor miracle if I’m able to finish a video editing project. Somedays it works fine, most of the time it’s freezing constantly.

I’m current running Plasma on Fedora 39, but I have had the exact same issues under Kubuntu.

  • Kdenlive version?

  • Kdenlive Flatpak, AppImage or installed from your distribution’s repositories?

Makes me think it could be harware related.

To add further to what @schwarzerkater requested, please also provide output from inxi -Fazy (or something similar)

kdenlive version is 23.08.5. This is installed from the Fedora repos. It actually is worse under Flatpak.

Here is your output,

System:
  Kernel: 6.7.7-200.fc39.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.40-14.fc39 clocksource: tsc avail: hpet,acpi_pm
    parameters: BOOT_IMAGE=(hd4,gpt2)/vmlinuz-6.7.7-200.fc39.x86_64
    root=UUID=9d517849-d38c-4a21-b7ad-a799ae96cf6d ro rootflags=subvol=root
    rhgb quiet
  Desktop: KDE Plasma v: 5.27.10 tk: Qt v: 5.15.12 info: frameworks
    v: 5.115.0 wm: kwin_x11 vt: 2 dm: SDDM Distro: Fedora Linux 39 (KDE Plasma)
Machine:
  Type: Desktop Mobo: System76 model: Thelio Mira v: thelio-mira-b4.1
    serial: <superuser required> uuid: <superuser required> UEFI: System76
    v: FH Z5 date: 01/25/2024
CPU:
  Info: model: 13th Gen Intel Core i9-13900K bits: 64 type: MST AMCP
    arch: Raptor Lake gen: core 13 level: v3 note: check built: 2022+
    process: Intel 7 (10nm) family: 6 model-id: 0xB7 (183) stepping: 1
    microcode: 0x11D
  Topology: cpus: 1x cores: 24 mt: 8 tpc: 2 st: 16 threads: 32 smt: enabled
    cache: L1: 2.1 MiB desc: d-16x32 KiB, 8x48 KiB; i-8x32 KiB, 16x64 KiB
    L2: 32 MiB desc: 8x2 MiB, 4x4 MiB L3: 36 MiB desc: 1x36 MiB
  Speed (MHz): avg: 824 high: 1100 min/max: 800/5500:5800:4300 scaling:
    driver: intel_pstate governor: powersave cores: 1: 800 2: 800 3: 800 4: 800
    5: 800 6: 800 7: 800 8: 800 9: 800 10: 1100 11: 800 12: 1076 13: 1001
    14: 800 15: 800 16: 800 17: 800 18: 800 19: 800 20: 800 21: 800 22: 800
    23: 800 24: 800 25: 800 26: 800 27: 800 28: 800 29: 800 30: 800 31: 800
    32: 800 bogomips: 191692
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
  Vulnerabilities:
  Type: gather_data_sampling status: Not affected
  Type: itlb_multihit status: Not affected
  Type: l1tf status: Not affected
  Type: mds status: Not affected
  Type: meltdown status: Not affected
  Type: mmio_stale_data status: Not affected
  Type: retbleed status: Not affected
  Type: spec_rstack_overflow status: Not affected
  Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via
    prctl
  Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer
    sanitization
  Type: spectre_v2 mitigation: Enhanced / Automatic IBRS, IBPB: conditional,
    RSB filling, PBRSB-eIBRS: SW sequence
  Type: srbds status: Not affected
  Type: tsx_async_abort status: Not affected
Graphics:
  Device-1: Intel Raptor Lake-S GT1 [UHD Graphics 770] vendor: Gigabyte
    driver: i915 v: kernel arch: Gen-13 process: Intel 7 (10nm) built: 2022+
    ports: active: none empty: DP-1,HDMI-A-1,HDMI-A-2 bus-ID: 00:02.0
    chip-ID: 8086:a780 class-ID: 0380
  Device-2: AMD Navi 23 [Radeon RX 6600/6600 XT/6600M] vendor: Sapphire
    driver: amdgpu v: kernel arch: RDNA-2 code: Navi-2x process: TSMC n7 (7nm)
    built: 2020-22 pcie: gen: 4 speed: 16 GT/s lanes: 16 ports:
    active: DP-2,DP-3 empty: DP-4,HDMI-A-3 bus-ID: 03:00.0 chip-ID: 1002:73ff
    class-ID: 0300
  Display: x11 server: X.Org v: 1.20.14 with: Xwayland v: 23.2.4
    compositor: kwin_x11 driver: X: loaded: amdgpu,modesetting
    unloaded: fbdev,radeon,vesa dri: radeonsi gpu: amdgpu display-ID: :0
    screens: 1
  Screen-1: 0 s-res: 5120x2160 s-dpi: 96 s-size: 1354x571mm (53.31x22.48")
    s-diag: 1469mm (57.85")
  Monitor-1: DP-2 mapped: DisplayPort-1 pos: primary,top-right
    model: BenQ PD3200U serial: <filter> built: 2017 res: 3840x2160 hz: 60
    dpi: 138 gamma: 1.2 size: 708x399mm (27.87x15.71") diag: 813mm (32")
    ratio: 16:9 modes: max: 3840x2160 min: 720x400
  Monitor-2: DP-3 mapped: DisplayPort-2 pos: bottom-l model: NEC LCD1970GX
    serial: <filter> built: 2005 res: 1280x1024 hz: 60 dpi: 86 gamma: 1.2
    size: 376x301mm (14.8x11.85") diag: 482mm (19") ratio: 5:4 modes:
    max: 1280x1024 min: 720x400
  API: EGL v: 1.5 hw: drv: intel iris drv: amd radeonsi platforms: device: 0
    drv: iris device: 1 drv: radeonsi device: 2 drv: swrast surfaceless:
    drv: iris x11: drv: radeonsi inactive: gbm,wayland
  API: OpenGL v: 4.6 compat-v: 4.5 vendor: amd mesa v: 23.3.6 glx-v: 1.4
    direct-render: yes renderer: AMD Radeon RX 6600 (radeonsi navi23 LLVM 17.0.6
    DRM 3.57 6.7.7-200.fc39.x86_64) device-ID: 1002:73ff memory: 7.81 GiB
    unified: no
  API: Vulkan v: 1.3.268 layers: 1 device: 0 type: discrete-gpu name: AMD
    Radeon RX 6600 (RADV NAVI23) driver: mesa radv v: 23.3.6
    device-ID: 1002:73ff surfaces: xcb,xlib device: 1 type: integrated-gpu
    name: Intel Graphics (RPL-S) driver: mesa intel v: 23.3.6
    device-ID: 8086:a780 surfaces: xcb,xlib device: 2 type: cpu name: llvmpipe
    (LLVM 17.0.6 256 bits) driver: mesa llvmpipe v: 23.3.6 (LLVM 17.0.6)
    device-ID: 10005:0000 surfaces: xcb,xlib
Audio:
  Device-1: Intel Raptor Lake High Definition Audio vendor: Gigabyte
    driver: snd_hda_intel v: kernel alternate: snd_sof_pci_intel_tgl
    bus-ID: 00:1f.3 chip-ID: 8086:7a50 class-ID: 0403
  Device-2: AMD Navi 21/23 HDMI/DP Audio driver: snd_hda_intel v: kernel
    pcie: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 03:00.1 chip-ID: 1002:ab28
    class-ID: 0403
  Device-3: Cambridge Silicon Radio Audioengine HD3
    driver: hid-generic,snd-usb-audio,usbhid type: USB rev: 2.0 speed: 12 Mb/s
    lanes: 1 mode: 1.1 bus-ID: 1-8:3 chip-ID: 0a12:1243 class-ID: 0300
    serial: <filter>
  API: ALSA v: k6.7.7-200.fc39.x86_64 status: kernel-api
    tools: alsactl,alsamixer,amixer
  Server-1: PipeWire v: 1.0.3 status: active with: 1: pipewire-pulse
    status: active 2: wireplumber status: active 3: pipewire-alsa type: plugin
    4: pw-jack type: plugin tools: pw-cat,pw-cli,wpctl
Network:
  Device-1: Intel Raptor Lake-S PCH CNVi WiFi driver: iwlwifi v: kernel
    bus-ID: 00:14.3 chip-ID: 8086:7a70 class-ID: 0280
  IF: wlo1 state: up mac: <filter>
  Device-2: Realtek RTL8125 2.5GbE vendor: Gigabyte driver: r8169 v: kernel
    pcie: gen: 2 speed: 5 GT/s lanes: 1 port: 3000 bus-ID: 08:00.0
    chip-ID: 10ec:8125 class-ID: 0200
  IF: enp8s0 state: down mac: <filter>
  Info: services: NetworkManager,wpa_supplicant
Bluetooth:
  Device-1: Intel AX211 Bluetooth driver: btusb v: 0.8 type: USB rev: 2.0
    speed: 12 Mb/s lanes: 1 mode: 1.1 bus-ID: 1-14:12 chip-ID: 8087:0033
    class-ID: e001
  Report: btmgmt ID: hci0 rfk-id: 0 state: up address: <filter> bt-v: 5.3
    lmp-v: 12 status: discoverable: no pairing: no class-ID: 7c0104
Drives:
  Local Storage: total: 2.06 TiB used: 1.23 TiB (59.7%)
  SMART Message: Unable to run smartctl. Root privileges required.
  ID-1: /dev/nvme0n1 maj-min: 259:1 vendor: Samsung model: SSD 980 PRO 1TB
    size: 931.51 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 5B2QGXA7 temp: 36.9 C
    scheme: GPT
  ID-2: /dev/nvme1n1 maj-min: 259:0 vendor: solidgm model: SSDPFKKW512H7
    size: 476.94 GiB block-size: physical: 512 B logical: 512 B speed: 63.2 Gb/s
    lanes: 4 tech: SSD serial: <filter> fw-rev: 001C temp: 41.9 C scheme: GPT
  ID-3: /dev/sda maj-min: 8:0 vendor: Samsung model: SSD 850 EVO 500GB
    size: 465.76 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 2B6Q temp: 30 C scheme: GPT
  SMART Message: Unknown smartctl error. Unable to generate data.
  ID-4: /dev/sdb maj-min: 8:16 vendor: Samsung model: SSD 840 PRO Series
    size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 6.0 Gb/s
    tech: SSD serial: <filter> fw-rev: 5B0Q temp: 27 C scheme: MBR
  SMART Message: Unknown smartctl error. Unable to generate data.
Partition:
  ID-1: / raw-size: 475.35 GiB size: 475.35 GiB (100.00%)
    used: 114.7 GiB (24.1%) fs: btrfs block-size: 4096 B dev: /dev/nvme1n1p3
    maj-min: 259:4
  ID-2: /boot raw-size: 1024 MiB size: 973.4 MiB (95.06%)
    used: 369.1 MiB (37.9%) fs: ext4 block-size: 4096 B dev: /dev/nvme1n1p2
    maj-min: 259:3
  ID-3: /boot/efi raw-size: 600 MiB size: 598.8 MiB (99.80%)
    used: 53.6 MiB (9.0%) fs: vfat block-size: 512 B dev: /dev/nvme1n1p1
    maj-min: 259:2
  ID-4: /home raw-size: 475.35 GiB size: 475.35 GiB (100.00%)
    used: 114.7 GiB (24.1%) fs: btrfs block-size: 4096 B dev: /dev/nvme1n1p3
    maj-min: 259:4
Swap:
  Kernel: swappiness: 60 (default) cache-pressure: 100 (default) zswap: no
  ID-1: swap-1 type: zram size: 8 GiB used: 0 KiB (0.0%) priority: 100
    comp: lzo-rle avail: lzo,lz4,lz4hc,842,zstd max-streams: 32 dev: /dev/zram0
Sensors:
  System Temperatures: cpu: 37.0 C mobo: 29.0 C gpu: amdgpu temp: 45.0 C
    mem: 46.0 C
  Fan Speeds (rpm): cpu: 990 gpu: amdgpu fan: 0
Info:
  Memory: total: 128 GiB note: est. available: 125.55 GiB used: 5.21 GiB (4.2%)
  Processes: 655 Power: uptime: 4h 19m states: freeze,mem,disk suspend: deep
    avail: s2idle wakeups: 0 hibernate: platform avail: shutdown, reboot,
    suspend, test_resume image: 50.19 GiB services: org_kde_powerdevil,upowerd
    Init: systemd v: 254 target: graphical (5) default: graphical
    tool: systemctl
  Packages: pm: flatpak pkgs: 55 Compilers: gcc: 13.2.1 Shell: Bash v: 5.2.26
    running-in: konsole inxi: 3.3.33

I changed back to Kubuntu due to other issues, and this problem is still there. The installed version from Ubuntu is 23.08.1. The flatpak version appears to be the newest, but same problems. I try to import media for editing and it freezes, I try to change my project settings and it freezes.