Bug 463876

Summary: QT_XCB_GL_INTEGRATION=xcb_egl causes continuous crashes in plasmashell and krunner
Product: [I don't know] kde Reporter: Guido <guido.iodice>
Component: generalAssignee: Unassigned bugs mailing-list <unassigned-bugs>
Status: RESOLVED UPSTREAM    
Severity: crash CC: qydwhotmail
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

Description Guido 2023-01-05 11:41:12 UTC
SUMMARY
***
Trying to use kwin_x11 this EGL (KWIN_OPENGL_INTERFACE=egl) I noticed that without
QT_XCB_GL_INTEGRATION=xcb_egl kwin_x11 fails to activate compositing. So I added both env vars to script in ~/.config/plasma-workspace/env/

On reboot, kwin correctly activates compositing and egl, m plasmashell and krunner are suffering from continuous crashes. Konsole and yakuake also have problems: often opening them does not display the prompt and the two applications freeze.

I therefore suspected that the problem was a general one related to transparencies, but using a decoration with transparency, kwin does not crash.

Starting only kwin and not all plasma with those 2 variables, kwin has no stability problems and works correctly (compositing with EGL)

***
Operating System: Manjaro Linux
KDE Plasma Version: 5.26.5
KDE Frameworks Version: 5.101.0
Qt Version: 5.15.7
Kernel Version: 6.1.3-1-MANJARO (64-bit)
Graphics Platform: X11
Processors: 8 × 11th Gen Intel® Core™ i5-1135G7 @ 2.40GHz
Memory: 15.4 GiB of RAM
Graphics Processor: Mesa Intel® Xe Graphics
Manufacturer: Dell Inc.
Product Name: Inspiron 5502
Comment 2 Guido 2023-01-05 21:43:49 UTC
(In reply to Fushan Wen from comment #1)
> Fixed by
> https://gitlab.freedesktop.org/mesa/mesa/-/commit/
> b111e8aa4940e8b155f38b5ef238c295ded8a6b4

I compiled mesa with that patch and it seems to work. 
Thank you.