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

            Bug ID: 490632
           Summary: PC sometimes won't sleep
    Classification: Plasma
           Product: kwin
           Version: 6.1.2
          Platform: Neon
                OS: Linux
            Status: REPORTED
          Severity: normal
          Priority: NOR
         Component: wayland-generic
          Assignee: kwin-bugs-n...@kde.org
          Reporter: techxga...@outlook.com
  Target Milestone: ---

SUMMARY
I sometimes find the computer not sleeping at all.

It's either: 
1. It sleeps for few seconds, then wakes up
2. Or it tries to sleep, but I would see my mobo and fans still running


STEPS TO REPRODUCE
1. Press the power button

OBSERVED RESULT
With the latter
```
> sudo journalctl -r -b -2 --no-hostname
Jul 21 17:37:16 kwin_wayland[7842]: kwin_wayland_drm: Pageflip timed out! This
is a kernel bug
Jul 21 17:37:11 kscreenlocker_greet[602667]: kf.svg: The theme
"breeze-alphablack" uses the legacy metadata.desktop. Consider contacting the
author and asking them update it to use the newer JSON format.
Jul 21 17:37:10 plasmashell[8036]: qt.accessibility.atspi: ValueChanged event
and no ValueInterface or ComboBox:  QAccessibleInterface(0x61701f2cbcd0 name=""
role=Client childc=2
obj=LegendDelegate_QMLTYPE_179_QML_186(0x617026829300)"invisible")
Jul 21 17:37:10 plasmashell[8036]: qt.accessibility.atspi: ValueChanged event
and no ValueInterface or ComboBox:  QAccessibleInterface(0x617024d8cf50 name=""
role=Client childc=2
obj=LegendDelegate_QMLTYPE_179_QML_186(0x6170217a0940)rect=QRect(3716,1087
225x15))
Jul 21 17:37:10 plasmashell[8036]: qt.accessibility.atspi: ValueChanged event
and no ValueInterface or ComboBox:  QAccessibleInterface(0x617024c33ff0 name=""
role=Client childc=2
obj=LegendDelegate_QMLTYPE_179_QML_186(0x617024d0cf30)rect=QRect(5684,1343
137x15))
Jul 21 17:37:10 plasmashell[8036]: qt.accessibility.atspi: ValueChanged event
and no ValueInterface or ComboBox:  QAccessibleInterface(0x617024d00e70 name=""
role=Client childc=2
obj=LegendDelegate_QMLTYPE_179_QML_186(0x617024cf81c0)rect=QRect(5540,1343
136x15))
Jul 21 17:37:10 plasmashell[8036]: qt.accessibility.atspi: ValueChanged event
and no ValueInterface or ComboBox:  QAccessibleInterface(0x617024bcd8a0 name=""
role=Client childc=2
obj=LegendDelegate_QMLTYPE_179_QML_186(0x617024cf6a10)rect=QRect(5395,1343
137x15))
Jul 21 17:37:10 plasmashell[8036]: qt.accessibility.atspi: ValueChanged event
and no ValueInterface or ComboBox:  QAccessibleInterface(0x617024bc4970 name=""
role=Client childc=2
obj=LegendDelegate_QMLTYPE_179_QML_186(0x617024bced40)rect=QRect(5250,1343
137x15))
Jul 21 17:37:10 plasmashell[8036]: qt.accessibility.atspi: ValueChanged event
and no ValueInterface or ComboBox:  QAccessibleInterface(0x617024bc14b0 name=""
role=Client childc=2
obj=LegendDelegate_QMLTYPE_179_QML_186(0x617024bc69e0)rect=QRect(5829,1251
137x15))
Jul 21 17:37:10 plasmashell[8036]: qt.accessibility.atspi: ValueChanged event
and no ValueInterface or ComboBox:  QAccessibleInterface(0x617024cc7ea0 name=""
role=Client childc=2
obj=LegendDelegate_QMLTYPE_179_QML_186(0x617024bb59b0)rect=QRect(5684,1251
137x15))
... (this gets repeated so I cut it out)
Jul 21 17:37:10 kscreenlocker_greet[602667]: kf.plasma.core: The theme
"breeze-alphablack" uses the legacy metadata.desktop. Consider contacting the
author and asking them update it to use the newer JSON format.
Jul 21 17:37:10 kscreenlocker_greet[602667]: kf.plasma.core: The theme
"breeze-alphablack" uses the legacy metadata.desktop. Consider contacting the
author and asking them update it to use the newer JSON format.
Jul 21 17:37:10 kscreenlocker_greet[602667]: kf.svg: The theme
"breeze-alphablack" uses the legacy metadata.desktop. Consider contacting the
author and asking them update it to use the newer JSON format.
Jul 21 17:37:10 kscreenlocker_greet[602667]: kf.svg: The theme
"breeze-alphablack" uses the legacy metadata.desktop. Consider contacting the
author and asking them update it to use the newer JSON format.
Jul 21 17:37:10 kscreenlocker_greet[602667]: PAM adding faulty module:
pam_sss.so
Jul 21 17:37:10 kscreenlocker_greet[602667]: PAM unable to dlopen(pam_sss.so):
/lib/security/pam_sss.so: cannot open shared object file: No such file or
directory
Jul 21 17:37:10 kscreenlocker_greet[602667]: PAM adding faulty module:
pam_fprintd.so
Jul 21 17:37:10 kscreenlocker_greet[602667]: PAM unable to
dlopen(pam_fprintd.so): /lib/security/pam_fprintd.so: cannot open shared object
file: No such file or directory
Jul 21 17:37:10 kded6[8023]: org.kde.plasma.nm.kded: Unhandled active
connection state change:  3
Jul 21 17:37:10 plasmashell[8036]: qt.accessibility.atspi: ValueChanged event
and no ValueInterface or ComboBox:  QAccessibleInterface(0x617024ccc390 name=""
role=Client childc=2
obj=LegendDelegate_QMLTYPE_179_QML_186(0x617020f7ce50)rect=QRect(5395,1251
137x15))
Jul 21 17:37:10 plasmashell[8036]: qt.accessibility.atspi: ValueChanged event
and no ValueInterface or ComboBox:  QAccessibleInterface(0x617024a36970 name=""
role=Client childc=2
obj=LegendDelegate_QMLTYPE_179_QML_186(0x617020cc4460)rect=QRect(5829,1160
137x15))
Jul 21 17:37:10 plasmashell[8036]: qt.accessibility.atspi: ValueChanged event
and no ValueInterface or ComboBox:  QAccessibleInterface(0x61702073d9d0 name=""
role=Client childc=2
obj=LegendDelegate_QMLTYPE_179_QML_186(0x617024d67ef0)rect=QRect(5684,1160
137x15))
Jul 21 17:37:10 plasmashell[8036]: qt.accessibility.atspi: ValueChanged event
and no ValueInterface or ComboBox:  QAccessibleInterface(0x617024781a00 name=""
role=Client childc=2
obj=LegendDelegate_QMLTYPE_179_QML_186(0x6170245935f0)rect=QRect(5395,1160
137x15))
Jul 21 17:37:10 plasmashell[8036]: qt.accessibility.atspi: ValueChanged event
and no ValueInterface or ComboBox:  QAccessibleInterface(0x617020185210 name=""
role=Client childc=2
obj=LegendDelegate_QMLTYPE_179_QML_186(0x617024566a70)rect=QRect(5395,977
137x15))
... (this gets repeated so I cut it out)
Jul 21 17:35:03 plasmashell[8036]: qt.accessibility.atspi: ValueChanged event
and no ValueInterface or ComboBox:  QAccessibleInterface(0x617020fa6050 name=""
role=Client childc=2
obj=LegendDelegate_QMLTYPE_179_QML_186(0x61701f739f00)rect=QRect(3474,778
148x15))
Jul 21 17:35:03 kioworker[602099]: kf.kio.core: An error occurred during write.
The worker terminates now.
Jul 21 17:35:03 kioworker[602159]: kf.kio.core: An error occurred during write.
The worker terminates now.
Jul 21 17:35:02 plasmashell[8036]: qt.accessibility.atspi: ValueChanged event
and no ValueInterface or ComboBox:  QAccessibleInterface(0x617024a36970 name=""
role=Client childc=2
obj=LegendDelegate_QMLTYPE_179_QML_186(0x617020cc4460)rect=QRect(5829,1160
137x15))
Jul 21 17:35:02 plasmashell[8036]: qt.accessibility.atspi: ValueChanged event
and no ValueInterface or ComboBox:  QAccessibleInterface(0x617024c94cd0 name=""
role=Client childc=2
obj=LegendDelegate_QMLTYPE_179_QML_186(0x617024b1d590)rect=QRect(5540,977
136x15))
... (this gets repeated so I cut it out)
```

I can't seem to find any entry of it trying to sleep, and the last time I saw
was around the time I got home today:

```
> sudo journalctl -r -b -2 --no-hostname | grep -ie sleep -ie suspend
Jul 21 16:55:39 cups.cups-browsed[4926]: + sleep 3600
Jul 21 16:51:58 systemd[1]: Stopped TUXEDO Control Center Service
(sleep/resume).
Jul 21 16:51:58 systemd[1]: tccd-sleep.service: Deactivated successfully.
Jul 21 16:51:58 systemd[1]: Stopping TUXEDO Control Center Service
(sleep/resume)...
Jul 21 16:51:58 NetworkManager[3549]: <info>  [1721595118.5156] manager: sleep:
wake requested (sleeping: yes  enabled: yes)
Jul 21 16:51:58 ModemManager[3621]: <info>  [sleep-monitor-systemd] system is
resuming
Jul 21 16:51:58 audit[3548]: USER_AVC pid=3548 uid=103 auid=4294967295
ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" 
bus="system" path="/org/freedesktop/login1"
interface="org.freedesktop.login1.Manager" member="PrepareForSleep"
name=":1.20" mask="receive" pid=560719 label="snap.thunderbird.thunderbird"
peer_pid=3592 peer_label="unconfined"
Jul 21 16:51:58 audit[3548]: USER_AVC pid=3548 uid=103 auid=4294967295
ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" 
bus="system" path="/org/freedesktop/login1"
interface="org.freedesktop.login1.Manager" member="PrepareForSleep"
name=":1.20" mask="receive" pid=8309 label="snap.discord.discord" peer_pid=3592
peer_label="unconfined"
Jul 21 16:51:58 audit[3548]: USER_AVC pid=3548 uid=103 auid=4294967295
ses=4294967295 subj=unconfined msg='apparmor="DENIED" operation="dbus_signal" 
bus="system" path="/org/freedesktop/login1"
interface="org.freedesktop.login1.Manager" member="PrepareForSleep"
name=":1.20" mask="receive" pid=8309 label="snap.discord.discord" peer_pid=3592
peer_label="unconfined"
Jul 21 16:51:58 kernel: audit: type=1107 audit(1721595118.512:2798744):
pid=3548 uid=103 auid=4294967295 ses=4294967295 subj=unconfined
msg='apparmor="DENIED" operation="dbus_signal"  bus="system"
path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager"
member="PrepareForSleep" name=":1.20" mask="receive" pid=560719
label="snap.thunderbird.thunderbird" peer_pid=3592 peer_label="unconfined"
Jul 21 16:51:58 kernel: audit: type=1107 audit(1721595118.512:2798743):
pid=3548 uid=103 auid=4294967295 ses=4294967295 subj=unconfined
msg='apparmor="DENIED" operation="dbus_signal"  bus="system"
path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager"
member="PrepareForSleep" name=":1.20" mask="receive" pid=8309
label="snap.discord.discord" peer_pid=3592 peer_label="unconfined"
Jul 21 16:51:58 kernel: audit: type=1107 audit(1721595118.512:2798742):
pid=3548 uid=103 auid=4294967295 ses=4294967295 subj=unconfined
msg='apparmor="DENIED" operation="dbus_signal"  bus="system"
path="/org/freedesktop/login1" interface="org.freedesktop.login1.Manager"
member="PrepareForSleep" name=":1.20" mask="receive" pid=8309
label="snap.discord.discord" peer_pid=3592 peer_label="unconfined"
Jul 21 16:51:58 systemd-logind[3592]: Operation 'sleep' finished.
Jul 21 16:51:58 systemd[1]: Stopped target Suspend.
Jul 21 16:51:58 systemd[1]: Reached target Suspend.
Jul 21 16:51:58 systemd[1]: Stopped target Sleep.
Jul 21 16:51:58 systemd[1]: Finished System Suspend.
Jul 21 16:51:58 systemd[1]: systemd-suspend.service: Deactivated successfully.
Jul 21 16:51:58 systemd-sleep[595881]:  APM_level        = 254
Jul 21 16:51:58 systemd-sleep[595881]:  setting Advanced Power Management level
to 0xfe (254)
Jul 21 16:51:58 systemd-sleep[595881]: /dev/sdd:
Jul 21 16:51:56 systemd-sleep[595276]:  APM_level        = 254
Jul 21 16:51:56 systemd-sleep[595276]:  setting Advanced Power Management level
to 0xfe (254)
Jul 21 16:51:56 systemd-sleep[595276]: /dev/sdc:
Jul 21 16:51:47 systemd-sleep[595168]:  APM_level        = 254
Jul 21 16:51:47 systemd-sleep[595168]:  setting Advanced Power Management level
to 0xfe (254)
Jul 21 16:51:47 systemd-sleep[595168]: /dev/sdb:
Jul 21 16:51:47 systemd-sleep[594848]: System returned from sleep state.
Jul 21 16:51:47 kernel: PM: suspend exit
```

EXPECTED RESULT
PC should go to sleep and not hang up or wake itself up

SOFTWARE/OS VERSIONS
Operating System: TUXEDO OS 3
KDE Plasma Version: 6.1.2
KDE Frameworks Version: 6.3.0
Qt Version: 6.7.0
Kernel Version: 6.5.0-10043-tuxedo (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 5900X 12-Core Processor
Memory: 62.7 GiB of RAM
Graphics Processor: AMD Radeon RX 6900 XT
Manufacturer: Gigabyte Technology Co., Ltd.
Product Name: X570S AORUS MASTER
System Version: -CF

ADDITIONAL INFORMATION
I'll update this ticket with the former issue

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

Reply via email to