Bug 463876 - QT_XCB_GL_INTEGRATION=xcb_egl causes continuous crashes in plasmashell and krunner
Summary: QT_XCB_GL_INTEGRATION=xcb_egl causes continuous crashes in plasmashell and kr...
Status: RESOLVED UPSTREAM
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-05 11:41 UTC by Guido
Modified: 2023-01-05 21:43 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.