Bug 445679 - graphics hangs after screen unlock
Summary: graphics hangs after screen unlock
Status: RESOLVED WORKSFORME
Alias: None
Product: kwin
Classification: Plasma
Component: wayland-generic (show other bugs)
Version: 5.23.3
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-18 08:47 UTC by Denis Lisov
Modified: 2023-09-16 03:45 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 Denis Lisov 2021-11-18 08:47:21 UTC
SUMMARY
Sometimes, after locking screen and leaving Plasma Wayland running overnight, the screen hangs completely after unlocking the session (not even mouse moving). Switching to a different VC only works after Alt+SysRq+r.
Checking from a different VC showed Xwayland consuming 100% CPU with a perf recording like this:

-   99.95%     0.00%  Xwayland  Xwayland          [.] xwl_present_msc_bump                                                                                                                                                                                                  
   - xwl_present_msc_bump                                                                                                                                                                                                                                                   
        67.11% present_wnmd_event_notify                                                                                                                                                                                                                                    
      - 32.82% present_vblank_destroy                                                                                                                                                                                                                                       
         - 32.81% present_fence_destroy                                                                                                                                                                                                                                     
              SyncDeleteTriggerFromSyncObject                                   

I'm not exactly sure whether this is a Kwin bug or an Xwayland one, so reporting it here. If any additional information is needed, I can try to reproduce it and extract the required information.

SOFTWARE/OS VERSIONS
Gentoo ~amd64 (rolling release)
KDE Plasma Version: 5.23.3
KDE Frameworks Version: 5.88.0
Qt Version: 5.15.2
Comment 1 Zamundaaa 2023-08-17 11:27:32 UTC
Is this still happening with 5.27?
Comment 2 Bug Janitor Service 2023-09-01 03:45:29 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 3 Bug Janitor Service 2023-09-16 03:45:42 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!