Bug 473771 - Kdenlive 23.08.0 (flatpak) raises ffmpeg crash in Fedora 38
Summary: Kdenlive 23.08.0 (flatpak) raises ffmpeg crash in Fedora 38
Status: RESOLVED WORKSFORME
Alias: None
Product: kdenlive
Classification: Applications
Component: Setup & Installation (other bugs)
Version First Reported In: 23.08.0
Platform: Flatpak Linux
: NOR crash
Target Milestone: ---
Assignee: Jean-Baptiste Mardelle
URL:
Keywords: triaged
Depends on:
Blocks:
 
Reported: 2023-08-26 09:38 UTC by LeoD
Modified: 2025-03-20 03:47 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
ffmpeg error details (98.01 KB, image/png)
2023-08-26 09:38 UTC, LeoD
Details

Note You need to log in before you can comment on or make changes to this bug.
Description LeoD 2023-08-26 09:38:01 UTC
Created attachment 161192 [details]
ffmpeg error details

SUMMARY
***
I use Fedora 38 and I have Kdenlive 23.08.0 installed via flatpak. I use Gnome with Wayland.
When I open the application I see a notification popping up at the top of the screen, saying:

"Oops! We're sorry, it looks like ffmpeg crashed"

Kdenlive application remains running, but that notification is shown again from time to time. For example, when I go to "Run config wizard", the notification is raised again.
***


STEPS TO REPRODUCE
1. Install Kdenlive 23.08.0 from Flatpak in Fedora 38 with Gnome 
2. Open Kdenlive, you'll see the ffmpeg crash report at the top
3. Alternatively, open "Run config wizard" option in Kdenlive, it will show the ffmpeg crash notification at the top.

OBSERVED RESULT
It's raising a ffmpeg crash notification at the top.

EXPECTED RESULT
No error notifications.

SOFTWARE/OS VERSIONS
Fedora 38 with Gnome

ADDITIONAL INFORMATION

When I go to view the details of the ffmpeg error, I can see:

ffmpeg killed by SIGSEGV
cmdline: /app/bin/ffmpeg -hide_banner -f lavfi -i color=s=640x360 -frames 1 -an -c:v av1_nvenc -f rawvideo pipe:

When I do:

flatpak run --command=sh --devel org.kde.kdenlive

Then:

/app/bin/ffmpeg -hide_banner -f lavfi -i color=s=640x360 -frames 1 -an -c:v av1_nvenc -f rawvideo pipe:

I can see this output:

[๐Ÿ“ฆ org.kde.kdenlive bin]$ /app/bin/ffmpeg -hide_banner -f lavfi -i color=s=640x360 -frames 1 -an -c:v av1_nvenc -f rawvideo pipe:
Input #0, lavfi, from 'color=s=640x360':
  Duration: N/A, start: 0.000000, bitrate: N/A
  Stream #0:0: Video: wrapped_avframe, yuv420p, 640x360 [SAR 1:1 DAR 16:9], 25 fps, 25 tbr, 25 tbn
Stream mapping:
  Stream #0:0 -> #0:0 (wrapped_avframe (native) -> av1 (av1_nvenc))
Press [q] to stop, [?] for help
[av1_nvenc @ 0x559ec50e8000] Cannot load libcuda.so.1
Segmentation fault (core dumped)
[๐Ÿ“ฆ org.kde.kdenlive bin]$ 


I have 2 GPUs here:

00:02.0 VGA compatible controller: Intel Corporation Raptor Lake-S GT1 [UHD Graphics 770] (rev 04)
03:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Navi 23 [Radeon RX 6600/6600 XT/6600M] (rev c7)

As you can see above I don't have Nvidia on my system.  But it appears to be looking for a cuda library?
Comment 1 emohr 2025-02-18 08:12:04 UTC
Do you have used the official Kdenlive flatpak from flathub https://flathub.org/apps/org.kde.kdenlive? If not please install Kdenlive from flathub and try again.
Comment 2 Bug Janitor Service 2025-03-05 03:47:16 UTC
๐Ÿ›๐Ÿงน โš ๏ธ This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information, then set the bug status to REPORTED. If there is no change for at least 30 days, it will be automatically closed as RESOLVED WORKSFORME.

For more information about our bug triaging procedures, please read https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging.

Thank you for helping us make KDE software even better for everyone!
Comment 3 Bug Janitor Service 2025-03-20 03:47:16 UTC
๐Ÿ›๐Ÿงน This bug has been in NEEDSINFO status with no change for at least 30 days. Closing as RESOLVED WORKSFORME.