Bug 436159

Summary: Kdenlive crash on startup / OpenGL related
Product: [Applications] kdenlive Reporter: Olivier AJ <olivieraj>
Component: User Interface & MiscellaneousAssignee: Jean-Baptiste Mardelle <jb>
Status: RESOLVED NOT A BUG    
Severity: crash    
Priority: NOR    
Version First Reported In: 20.12.3   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:
Attachments: Trace log

Description Olivier AJ 2021-04-25 10:06:21 UTC
Created attachment 137899 [details]
Trace log

SUMMARY
Issue occur on Kdenlive startup.
Graphical interface was not open, but it's look like he start to draw it.
The GUI and fail immediatelly after
I guess that issue is related on OpenGL window drawing, because crash trace show:
    QOpenGLContext::makeCurrent
Computer use NVIDIA proprietary drivers (legacy / 390.141-3).
Linux distribution is Debian Testing (Bullseye).


STEPS TO REPRODUCE
Open Kdenlive

OBSERVED RESULT
Crash


EXPECTED RESULT
No crash


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
Système d’exploitation : Debian GNU/Linux bullseye/sid
Architecture de l’unité centrale : x86_64
Noyau : linux 5.10.0-6-amd64
KDE Plasma Version: 4:5.20.5-4
KDE Frameworks Version: 5.78.0
Qt Version: 5.15.2

ADDITIONAL INFORMATION
Comment 1 Olivier AJ 2021-04-27 18:49:03 UTC
Issue fixed.

Root cause was not Kdenlive, but Xorg, who load the free libglx.so, instead of NVIDIA proprietary driver 

Extract from /var/log/Xorg.0.log with issue:
[     8.701] (II) LoadModule: "glx"
[     8.724] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     8.805] (II) Module glx: vendor="X.Org Foundation"

Extract from /var/log/Xorg.0.log with issue fixed:
[   870.828] (II) LoadModule: "glx"
[   870.828] (II) Loading /usr/lib/xorg/modules/linux/libglx.so
[   870.833] (II) Module glx: vendor="NVIDIA Corporation"

Best regards