Bug 493693

Summary: Kdenlive crashing gnome-wayland with amdgpu driver
Product: [Applications] kdenlive Reporter: Imo "Vortex Acherontic" Hester <vortex>
Component: User Interface & MiscellaneousAssignee: Jean-Baptiste Mardelle <jb>
Status: REPORTED ---    
Severity: crash    
Priority: NOR    
Version First Reported In: 24.08.1   
Target Milestone: ---   
Platform: Flatpak   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: journalctl showing Kdenlive crashing gnome

Description Imo "Vortex Acherontic" Hester 2024-09-26 14:04:09 UTC
Created attachment 174105 [details]
journalctl showing Kdenlive crashing gnome

SUMMARY
Hello there, if Kdenlive (as a flatpak) is launched on gnome using the amdgpu driver it will crash the desktop.
I assume the underlying issue is the same as here in https://bugs.kde.org/show_bug.cgi?id=493691

STEPS TO REPRODUCE
1. Install Kdenlive
2. Run Gnome Desktop on Wayland
3. Open Kdenlive
4. Desktop will crash within the first few secodns

OBSERVED RESULT
Kdenlive crashing the gnome desktop

EXPECTED RESULT
Kdenlive not to crash the desktop

SOFTWARE/OS VERSIONS
Flatpak runntime:  org.kde.Platform/x86_64/6.7
Kernel: 6.10.11
Distro: openSUSE Aeon
Gnome: 46.5
Mesa: 24.1.7

ADDITIONAL INFORMATION
- Kdenlive is installed as a flatpak
- Crash does not happen on X11 using amdgpu driver
- Crash does not happen on Wayland/X11 using nvidia driver
- AMD GPU: Raphael (RDNA 2 iGPU of Ryzen 7000 series)
Comment 1 Imo "Vortex Acherontic" Hester 2024-09-26 14:08:52 UTC
(In reply to vortex from comment #0)
> Created attachment 174105 [details]
> journalctl showing Kdenlive crashing gnome
> 
> SUMMARY
> Hello there, if Kdenlive (as a flatpak) is launched on gnome using the
> amdgpu driver it will crash the desktop.
> I assume the underlying issue is the same as here in
> https://bugs.kde.org/show_bug.cgi?id=493691
> 
> STEPS TO REPRODUCE
> 1. Install Kdenlive
> 2. Run Gnome Desktop on Wayland
> 3. Open Kdenlive
> 4. Desktop will crash within the first few secodns
> 
> OBSERVED RESULT
> Kdenlive crashing the gnome desktop
> 
> EXPECTED RESULT
> Kdenlive not to crash the desktop
> 
> SOFTWARE/OS VERSIONS
> Flatpak runntime:  org.kde.Platform/x86_64/6.7
> Kernel: 6.10.11
> Distro: openSUSE Aeon
> Gnome: 46.5
> Mesa: 24.1.7
> 
> ADDITIONAL INFORMATION
> - Kdenlive is installed as a flatpak
> - Crash does not happen on X11 using amdgpu driver
> - Crash does not happen on Wayland/X11 using nvidia driver
> - AMD GPU: Raphael (RDNA 2 iGPU of Ryzen 7000 series)

Additional additional info: I am using Offloading. Therefore while the entire desktop runs with the AMDGPU Kdenlive itself was offloaded to the nvidia GPU. (Hence why Kdenlive reports nVidia OpenGL). But the crash seems to happen in/because of the amd driver.
Comment 2 Imo "Vortex Acherontic" Hester 2024-09-26 14:09:53 UTC
(In reply to vortex from comment #1)
> (In reply to vortex from comment #0)
> > Created attachment 174105 [details]
> > journalctl showing Kdenlive crashing gnome
> > 
> > SUMMARY
> > Hello there, if Kdenlive (as a flatpak) is launched on gnome using the
> > amdgpu driver it will crash the desktop.
> > I assume the underlying issue is the same as here in
> > https://bugs.kde.org/show_bug.cgi?id=493691
> > 
> > STEPS TO REPRODUCE
> > 1. Install Kdenlive
> > 2. Run Gnome Desktop on Wayland
> > 3. Open Kdenlive
> > 4. Desktop will crash within the first few secodns
> > 
> > OBSERVED RESULT
> > Kdenlive crashing the gnome desktop
> > 
> > EXPECTED RESULT
> > Kdenlive not to crash the desktop
> > 
> > SOFTWARE/OS VERSIONS
> > Flatpak runntime:  org.kde.Platform/x86_64/6.7
> > Kernel: 6.10.11
> > Distro: openSUSE Aeon
> > Gnome: 46.5
> > Mesa: 24.1.7
> > 
> > ADDITIONAL INFORMATION
> > - Kdenlive is installed as a flatpak
> > - Crash does not happen on X11 using amdgpu driver
> > - Crash does not happen on Wayland/X11 using nvidia driver
> > - AMD GPU: Raphael (RDNA 2 iGPU of Ryzen 7000 series)
> 
> Additional additional info: I am using Offloading. Therefore while the
> entire desktop runs with the AMDGPU Kdenlive itself was offloaded to the
> nvidia GPU. (Hence why Kdenlive reports nVidia OpenGL). But the crash seems
> to happen in/because of the amd driver.

Additional Additional Addional info: With Offloading turned off the crash does not happen.