Bug 434524 - x11perf -shmputxy10 caused xwayland exit when XWAYLAND_NO_GLAMOR=1
Summary: x11perf -shmputxy10 caused xwayland exit when XWAYLAND_NO_GLAMOR=1
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.21.3
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-17 02:55 UTC by Stone
Modified: 2021-06-23 14:41 UTC (History)
2 users (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 Stone 2021-03-17 02:55:40 UTC
SUMMARY
I am using KDE neon(testing).

In wayland mode, x11perf -shmputxy10 caused xwayland exit,
if I disabled glamor accleration by XWAYLAND_NO_GLAMOR=1.

STEPS TO REPRODUCE
1. Add XWAYLAND_NO_GLAMOR=1 in /etc/environment, then reboot
2. Enter plasma with wayland mode
3. run x11perf -shmputxy10 in konsole

OBSERVED RESULT
xwayland exit


SOFTWARE/OS VERSIONS
Linux/KDE Plasma: kde neon testing
KDE Plasma Version: 5.21.3
KDE Frameworks Version: 5.80.0
Qt Version: 5.15.2
Comment 1 David Edmundson 2021-05-10 11:54:18 UTC
What makes you suggest this is a kwin issue rather than an xwayland issue?
Comment 2 Stone 2021-05-22 02:01:43 UTC
(In reply to David Edmundson from comment #1)
> What makes you suggest this is a kwin issue rather than an xwayland issue?

I have tested this issue in different wayland compositor like mutter and sway,
only kwin has this issue.

Here are some of my findings:

In kwin, wl_connection_flush is failed with EAGAIN as socket buffer is full,
then connetion to xwayland will be closed.
In xwayland, sending requset is failed as connetion was closed then exit is called.
Comment 3 Vlad Zahorodnii 2021-05-24 07:40:51 UTC
I can also reproduce this issue when running weston, not only kwin.
Comment 4 Bug Janitor Service 2021-06-08 04:33:32 UTC
Dear Bug Submitter,

This bug has been in NEEDSINFO status with no change for at least
15 days. Please provide the requested information as soon as
possible and set the bug status as REPORTED. Due to regular bug
tracker maintenance, if the bug is still in NEEDSINFO status with
no change in 30 days the bug will be closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

If you have already provided the requested information, please
mark the bug as REPORTED so that the KDE team knows that the bug is
ready to be confirmed.

Thank you for helping us make KDE software even better for everyone!
Comment 5 Bug Janitor Service 2021-06-23 04:33:50 UTC
This bug has been in NEEDSINFO status with no change for at least
30 days. The bug is now closed as RESOLVED > WORKSFORME
due to lack of needed information.

For more information about our bug triaging procedures please read the
wiki located here:
https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging

Thank you for helping us make KDE software even better for everyone!
Comment 6 Vlad Zahorodnii 2021-06-23 14:41:21 UTC
(In reply to Vlad Zahorodnii from comment #3)
> I can also reproduce this issue when running weston, not only kwin.

I also can reproduce this bug with sway.

---

Please report this issue to Xwayland developers. If it's need a kwin bug, please re-open this bug report.