Bug 2337385

Summary: Update of mesa to 24.3.3-2.fc41 caused several KDE apps fail to start
Product: [Fedora] Fedora Reporter: Stan Trzmiel <xeno>
Component: mesaAssignee: Adam Jackson <ajax>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 41CC: ajax, bskeggs, igor.raits, jexposit, j, lukas+fedora, lyude, marcandre.lureau, ol+redhat, rhughes, rstrode, suraj.ghimire7, tstellar, walter.pete, zane
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2025-01-20 08:06:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Stan Trzmiel 2025-01-13 16:37:02 UTC
KMail/Kontact, Falkon and DigiCam and possibly some other KDE apps started to crash on startup after mesa packages update to 24.3.3-2 release.

In KMail launch log theres a message:
[8922:8954:0113/161346.812512:ERROR:gl_context_egl.cc(396)] eglCreateContext failed with error EGL_BAD_ALLOC
KCrash: Application 'falkon' crashing... crashRecursionCounter = 2



Reproducible: Always

Steps to Reproduce:
1. update mesa packages to 24.3.3-2.fc41
2. start any of affected apps
Actual Results:  
apps fails to start

Expected Results:  
apps launches with no issues

Downgrading mesa packages to 24.3.2-2.fc41 fixes the problem.

System specs:
Hardware: Dell Vostro 3650
CPU: Intel i7-3632QM
GPU: Mesa Intel(R) HD Graphics 4000 (IVB GT2)

Software: 
OS Fedora 41:
kernel: kernel-6.12.9-200.fc41.x86_64
Qt5: 5.15.15
Qt6: 6.8.1
KF6 : 6.10
KDE apps: 24.12.1

kmail crash dump: https://pastebin.com/f0qKSEWD

Comment 1 Lukas Middendorf 2025-01-16 22:19:37 UTC
I can confirm this with kmymoney using an AMD RX 6700 XT.

I found an older forum thread with a similar problem which proposed starting with
QMLSCENE_DEVICE=softwarecontext QT_OPENGL=software kmymoney
and it indeed is a functioning workaround.
QMLSCENE_DEVICE=softwarecontext also seems to work on its own with kmymoney, but there might be programs which need both.

Comment 2 José Expósito 2025-01-17 10:53:14 UTC
Are you using mesa-va-drivers-freeworld? This looks similar to https://bugzilla.redhat.com/show_bug.cgi?id=2338414

Reported to RPMFusion in https://bugzilla.rpmfusion.org/show_bug.cgi?id=7147

Comment 3 Lukas Middendorf 2025-01-17 13:06:15 UTC
This indeed seems to be the caused by mesa-va-drivers-freeworld

Comment 4 Oleg Girko 2025-01-17 21:09:24 UTC
I can confirm that with mesa-va-drivers-freeworld the following apps were crashing: kmail, falkon, akonadiconsole.
The problem went away when I did "dnf swap mesa-va-drivers-freeworld mesa-va-drivers".

Comment 5 José Expósito 2025-01-20 08:06:54 UTC
A new release of RPM Fusion fixing the issue is available:
https://bodhi.fedoraproject.org/updates/FEDORA-2025-6fbd8f368a#comment-3906418

Comment 6 Michel Dänzer 2025-01-20 15:42:58 UTC
*** Bug 2338779 has been marked as a duplicate of this bug. ***

Comment 7 Zane Godden 2025-01-20 16:27:03 UTC
Confirmed duplicate bug report https://bugzilla.redhat.com/show_bug.cgi?id=2338779 has been resolved by this fix.