https://bugs.kde.org/show_bug.cgi?id=508859

TraceyC <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|P14s-amd does not wake up   |P14s-amd does not show
                   |after sleep by closing the  |login screen after sleep by
                   |laptop-lid                  |closing the laptop-lid

--- Comment #4 from TraceyC <[email protected]> ---
Thanks for the logs, those are helpful. They do show there are two things
happening, as you said. They are unrelated from what I see.

1. systemd-logind is getting the lid open and close events. I see where the lid
opened and the system suspends. I see later, the lid closed and there was a
wake event. These are all being handled by systemd-logind / the kernel, and as
such, are outside of anything KDE controls. I recommend contacting the Fedora
folks about that, or Lenovo support (if the laptop came with Fedora installed).

This, at the end of the log, might be pertinent:
```
Aug 27 23:49:36 p14s kernel: ACPI: button: The lid device is not compliant to
SW_LID.
```

2. When the lid opens and the display remains blank - I do see some logs that
indicate a possible problem with kwin, that we can look into.

During the wake event, this is where KDE is affected, and what is actionable
for us:

```
Aug 27 23:48:49 p14s audit[12406]: USER_AUTH pid=12406 uid=10001 auid=10001
ses=3 subj=unconfined_u:unconfined_r:chkpwd_t:s0-s0:c0.c1023
msg='op=PAM:unix_chkpwd acct="claus" exe="/usr/bin/unix_chkpwd" hostname=?
addr=? terminal=? res=success'
Aug 27 23:48:49 p14s kscreenlocker_greet[12282]: qt.qpa.wayland: Could not
create EGL surface (EGL error 0x3000)
Aug 27 23:48:49 p14s kscreenlocker_greet[12282]: Failed to write to the pipe:
Bad file descriptor.
```

All the log lines involving kwin and kscreenlocker

```
❯ rg -N "kwin_|kscreen" lenovo_logs.txt
Aug 27 23:21:22 p14s kwin_wayland[4685]: kwin_core: Cannot grant a token to
KWin::XdgToplevelWindow(0x564d9bc965c0,
surface=KWin::SurfaceInterface(0x564d9be1e610), caption="Krusader")
Aug 27 23:24:36 p14s kwin_wayland[4685]: kwin_core: Cannot grant a token to
Window(0x0)
Aug 27 23:26:22 p14s kwin_wayland[4685]: kwin_core: Cannot grant a token to
Window(0x0)
Aug 27 23:28:59 p14s kwin_wayland[4685]: kwin_core: Cannot grant a token to
Window(0x0)
Aug 27 23:38:25 p14s kwin_wayland_wrapper[4797]: Key repeat discarded, Wayland
compositor doesn't seem to be processing events fast enough!
Aug 27 23:38:25 p14s kwin_wayland_wrapper[4797]: Key repeat discarded, Wayland
compositor doesn't seem to be processing events fast enough!
Aug 27 23:38:28 p14s kwin_wayland_wrapper[4797]: Key repeat discarded, Wayland
compositor doesn't seem to be processing events fast enough!
Aug 27 23:38:58 p14s kwin_wayland[4685]: qt.dbus.integration: QDBusConnection:
couldn't handle call to Teardown, no slot matched
Aug 27 23:38:58 p14s kwin_wayland[4685]: qt.dbus.integration: QDBusConnection:
couldn't handle call to Teardown, no slot matched
Aug 27 23:38:58 p14s kwin_wayland[4685]: qt.dbus.integration: Could not find
slot Krunner1Adaptor::Teardown
Aug 27 23:39:02 p14s kwin_wayland[4685]: kwin_core: Cannot grant a token to
Window(0x0)
Aug 27 23:39:02 p14s kwin_wayland[4685]: kwin_core: Cannot grant a token to
Window(0x0)
Aug 27 23:47:22 p14s kwin_wayland[4685]: kwin_core: Failed to delay sleep:
Sender is not authorized to send message
Aug 27 23:47:39 p14s kwin_wayland[4685]: kwin_core: Failed to delay sleep:
Sender is not authorized to send message
Aug 27 23:47:58 p14s kscreenlocker_greet[11940]: qt.qpa.wayland: Could not
create EGL surface (EGL error 0x3000)
Aug 27 23:47:58 p14s kscreenlocker_greet[11940]: pam_unix(kde:auth):
authentication failure; logname=claus uid=10001 euid=10001 tty= ruser= rhost= 
user=claus
Aug 27 23:47:58 p14s kscreenlocker_greet[11940]: QEventLoop: Cannot be used
without QCoreApplication
Aug 27 23:48:00 p14s kscreenlocker_greet[11940]: Failed to write to the pipe:
Bad file descriptor.
Aug 27 23:48:09 p14s kwin_wayland[4685]: kwin_core: Failed to delay sleep:
Sender is not authorized to send message
Aug 27 23:48:26 p14s kwin_wayland[4685]: kwin_libinput: Libinput: event1  - Lid
Switch: client bug: event processing lagging behind by 1980ms, your system is
too slow
Aug 27 23:48:26 p14s kwin_wayland[4685]: kwin_libinput: Libinput: event0  -
Power Button: client bug: event processing lagging behind by 693ms, your system
is too slow
Aug 27 23:48:49 p14s kscreenlocker_greet[12282]: qt.qpa.wayland: Could not
create EGL surface (EGL error 0x3000)
Aug 27 23:48:49 p14s kscreenlocker_greet[12282]: Failed to write to the pipe:
Bad file descriptor.
Aug 27 23:48:54 p14s kwin_wayland[4685]: kwin_core: Cannot grant a token to
KWin::XdgToplevelWindow(0x564d9a6fa0b0,
surface=KWin::SurfaceInterface(0x564d9c12c4b0), caption="Quick Settings —
System Settings")
```

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to