Bug 484472 - Overview effect crashes kwin
Summary: Overview effect crashes kwin
Status: RESOLVED DUPLICATE of bug 483912
Alias: None
Product: kwin
Classification: Plasma
Component: egl (other bugs)
Version First Reported In: 6.0.2
Platform: Other Linux
: NOR crash
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-03-25 20:29 UTC by Guido
Modified: 2024-04-08 07:09 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Guido 2024-03-25 20:29:36 UTC
SUMMARY
In the X11 session, activating the overview effect crashes kwin. The same happens with the present windows effect.


SOFTWARE/OS VERSIONS
Operating System: Manjaro Linux 
KDE Plasma Version: 6.0.2
KDE Frameworks Version: 6.0.0
Qt Version: 6.6.2
Kernel Version: 6.8.1-2-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

ADDITIONAL INFORMATION
Comment 1 Guido 2024-03-25 21:04:36 UTC
update: It seems that the problem is the use of egl. 
Using glx for both kwin and qt the problem does not occur.

KWIN_OPENGL_INTERFACE=xcb QT_XCB_GL_INTEGRATION=glx  kwin_x11 --replace

works fine.
Comment 2 David Edmundson 2024-03-26 22:22:03 UTC
How did you end up not using GLX in Qt?
Comment 3 Guido 2024-03-26 22:23:42 UTC
(In reply to David Edmundson from comment #2)
> How did you end up not using GLX in Qt?

GLX is practically deprecated, EGL is the new standard. On Plasma 5 I had been using EGL for years without any problem.
Comment 4 David Edmundson 2024-03-26 22:27:11 UTC
Ok, but how did you set it?
Comment 5 Guido 2024-03-26 22:30:24 UTC
(In reply to David Edmundson from comment #4)
> Ok, but how did you set it?

export KWIN_OPENGL_INTERFACE=egl
export QT_XCB_GL_INTEGRATION=xcb_egl

In my experience, the performance is better (on Plasma 5).
Comment 6 Guido 2024-03-28 15:21:02 UTC
@David(In reply to David Edmundson from comment #4)

Does the bug occur for you as well? Any idea why?
Comment 7 Guido 2024-03-30 18:24:46 UTC
The bug affects also 6.0.3
Comment 8 Guido 2024-03-30 18:25:22 UTC
The bug affects also kwin 6.0.3
Comment 9 Conor Dockry 2024-04-08 07:09:28 UTC

*** This bug has been marked as a duplicate of bug 483912 ***