You are not logged in.

#1 2022-12-13 12:44:26

A-Fellow-Human
Member
Registered: 2022-10-15
Posts: 35

Can't wake from sleep

For some reason, I can't wake my PC from sleep. When I press on my keyboard or click on my mouse, the LEDs on my keyboard and PC turn on as expected, and my monitors appears as if it will display something (as indicated by the indicator light going from blinking to represent "no signal" to permanently on like when there is signal), but inevitably my monitor will eventually display "no signal". My computer will wake normally from sleep when booting in Windows.

I'm using an NVidia 3070 Ti, Ryzen 5800X, Xiaomi 34" monitor, the latest Zen kernel, Xorg, and the latest nvidia-open-dkms driver.

Things I've tried to fix the situation:
- Switch to LTS or base kernel
- Reinstall amd-ucode
- Try SSHing from another computer (can't connect, though then again I can't connect if my PC is in the login screen)
- Switching to regular Nvidia drivers
- Ctrl+Alt+F2
- Disabling Fast Boot

Any thoughts on what else I should do to try to fix the problem?

Last edited by A-Fellow-Human (2022-12-13 13:00:13)

Offline

#2 2022-12-13 16:04:57

seth
Member
Registered: 2012-09-03
Posts: 51,055

Re: Can't wake from sleep

wake normally from sleep when booting in Windows

Disabling Fast Boot

"Fast start" - fast boot (BIOS setting) is sth. different; make sure you did this correctly (3rd link below) and reboot windows and linux twice afterwards for voodoo reasons

though then again I can't connect if my PC is in the login screen

systemctl status sshd

Finally, try to boot the multi-user.target (only; 2nd link below), perhaps along "nomodeset" and try to suspend and wake from there (nvidia is notorious for VRAM decay, https://download.nvidia.com/XFree86/Lin … ement.html )

Online

#3 2022-12-14 10:34:46

A-Fellow-Human
Member
Registered: 2022-10-15
Posts: 35

Re: Can't wake from sleep

seth wrote:

"Fast start" - fast boot (BIOS setting) is sth. different; make sure you did this correctly (3rd link below) and reboot windows and linux twice afterwards for voodoo reasons

I checked and fast start was already disabled.

seth wrote:
systemctl status sshd
● sshd.service - OpenSSH Daemon
     Loaded: loaded (/usr/lib/systemd/system/sshd.service; enabled; preset: disabled)
     Active: active (running) since Wed 2022-12-14 17:56:04 HKT; 1min 37s ago
   Main PID: 700 (sshd)
      Tasks: 1 (limit: 38289)
     Memory: 3.9M
        CPU: 20ms
     CGroup: /system.slice/sshd.service
             └─700 "sshd: /usr/bin/sshd -D [listener] 0 of 10-100 startups"

Dec 14 17:56:04 pc systemd[1]: Started OpenSSH Daemon.
Dec 14 17:56:04 pc sshd[700]: Server listening on 0.0.0.0 port 22.
Dec 14 17:56:04 pc sshd[700]: Server listening on :: port 22.
Dec 14 17:57:28 pc sshd[2070]: pam_systemd_home(sshd:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Dec 14 17:57:28 pc sshd[2070]: Accepted password for fellow-human from 192.168.1.108 port 62787 ssh2
Dec 14 17:57:28 pc sshd[2070]: pam_unix(sshd:session): session opened for user fellow-human(uid=1000) by (uid=0)

When I was booting through multi-user.target, I realised that the PC wasn't connecting to WiFi on boot, but rather after login via KDE. I tried following these instructions to get WiFi to auto-connect but that just ended up preventing me from connecting to WiFi at all for some reason, so I disabled wpa_supplicant@wlan0.service.

seth wrote:

Finally, try to boot the multi-user.target (only; 2nd link below), perhaps along "nomodeset" and try to suspend and wake from there (nvidia is notorious for VRAM decay, https://download.nvidia.com/XFree86/Lin … ement.html )

Tried booting to multi-user.target and it didn't work. Not sure how "nomodeset" works because I couldn't put two options.

Offline

#4 2022-12-14 13:44:39

seth
Member
Registered: 2012-09-03
Posts: 51,055

Re: Can't wake from sleep

because I couldn't put two options

???
https://wiki.archlinux.org/title/Kernel_parameters

But wrt ssh, the daemon is running - waking from suspend should™ not impact an active network connection (the lockscreen you might see is not the same as the login screen - even if they visually align)

In that case the network stack doesn't come up either (and it's not only a visual thing)
=> https://01.org/blogs/rzhang/2015/best-p … ate-issues

Online

#5 2022-12-19 13:18:59

A-Fellow-Human
Member
Registered: 2022-10-15
Posts: 35

Re: Can't wake from sleep

Sorry, I've been away for a bit and couldn't do any debugging.

https://wiki.archlinux.org/title/Kernel_parameters[/quote=seth]
Oops, didn't realise it was meant to be

In that case the network stack doesn't come up either (and it's not only a visual thing)

Following debugging steps from 4.3.2:
- serial console: confused on how to set this up, since the PC isn't connecting to anything on wakeup.
- contents of /var/log/kern.log: empty.
- pm_test: failed at "platform".
- pm_async: didn't work
- rtc trace: the magic number didn't correspond to any ACPI device (if it matters, it was 2:78:886).
What next?

Offline

#6 2022-12-19 16:16:24

seth
Member
Registered: 2012-09-03
Posts: 51,055

Re: Can't wake from sleep

pm_test: failed at "platform".

https://www.kernel.org/doc/Documentation/power/basic-pm-debugging.txt wrote:

If the "platform" test fails, there is a problem with the handling of the
platform (eg. ACPI) firmware on your system.  In that case the "platform" mode
of hibernation is not likely to work.  You can try the "shutdown" mode, but that
is rather a poor man's workaround.

To make sure the kernel doesn't come back at all, enable and attempt to reboot using https://wiki.archlinux.org/title/Keyboa … el_(SysRq) after the failed resume.
See whether there're updated firmware versions for your motherboard and record its vendor/model.

Online

#7 2023-02-05 01:44:15

A-Fellow-Human
Member
Registered: 2022-10-15
Posts: 35

Re: Can't wake from sleep

Hi, sorry for the long wait. My PC's motherboard got shorted and it took me a while to get it replaced.

After the replacement, waking from sleep still doesn't work. I did try updating the motherboard firmware too, and using the SysRq shortcut to reboot. It's also worth noting that my CPU fan colours go from green (preset from OpenRGB) to rainbow (preset from BIOS).

Interestingly, waking from sleep works completely fine on my Arch live install, dating from around June 2022. So clearly this is a software or firmware issue, not a hardware one.

How can I fix this, other than wiping my Arch install?

Last edited by A-Fellow-Human (2023-02-05 02:07:29)

Offline

#8 2023-02-05 08:47:21

seth
Member
Registered: 2012-09-03
Posts: 51,055

Re: Can't wake from sleep

I did try […] using the SysRq shortcut to reboot.

And?

Interestingly, waking from sleep works completely fine on my Arch live install, dating from around June 2022.

nvidia or nouveau? Or do you mean the installation iso? (Cause then it's nouveau)

Online

#9 2023-02-05 12:16:41

A-Fellow-Human
Member
Registered: 2022-10-15
Posts: 35

Re: Can't wake from sleep

And?

Nothing happened.

nvidia or nouveau? Or do you mean the installation iso? (Cause then it's nouveau)

I've been using the Arco Linux live boot for debugging purposes (the GUI can be useful) so it's using the proprietary driver.

Offline

#10 2023-02-05 13:18:54

seth
Member
Registered: 2012-09-03
Posts: 51,055

Re: Can't wake from sleep

Do you have a journal from such boot (incl. suspend/resume)?

Online

#11 2023-02-05 13:31:24

A-Fellow-Human
Member
Registered: 2022-10-15
Posts: 35

Re: Can't wake from sleep

Sorry but I'm currently at my boarding school and therefore don't have access to my PC. I'll try and have a look at systemd journals after I get back.

Last edited by A-Fellow-Human (2023-02-05 13:31:32)

Offline

#12 2023-02-10 11:59:53

A-Fellow-Human
Member
Registered: 2022-10-15
Posts: 35

Re: Can't wake from sleep

Right, I'm back.

Logs from my Arch Live ISO:

Feb 10 11:08:46 archlinuxgui NetworkManager[593]: <info>  [1676027326.4236] manager: sleep: sleep requested (sleeping: no  enabled: yes)
Feb 10 11:08:46 archlinuxgui NetworkManager[593]: <info>  [1676027326.4236] device (enp7s0): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Feb 10 11:08:46 archlinuxgui systemd-networkd[580]: enp7s0: Link DOWN
Feb 10 11:08:46 archlinuxgui NetworkManager[593]: <info>  [1676027326.4309] device (wlan0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Feb 10 11:08:46 archlinuxgui systemd-networkd[580]: wlan0: Link DOWN
Feb 10 11:08:46 archlinuxgui NetworkManager[593]: <info>  [1676027326.4478] device (wlan0): set-hw-addr: reset MAC address to 00:E9:3A:EF:95:01 (unmanage)
Feb 10 11:08:46 archlinuxgui kscreenlocker_greet[1870]: Qt: Session management error: networkIdsList argument is NULL
Feb 10 11:08:46 archlinuxgui plasmashell[999]: file:///usr/share/plasma/plasmoids/org.kde.plasma.kickoff/contents/ui/ApplicationsPage.qml:118: TypeError: Cannot call method 'forceActiveFocus' of null
Feb 10 11:08:46 archlinuxgui systemd-networkd[580]: wlan0: Link UP
Feb 10 11:08:46 archlinuxgui NetworkManager[593]: <info>  [1676027326.9274] manager: NetworkManager state is now ASLEEP
Feb 10 11:08:47 archlinuxgui kscreenlocker_greet[1870]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/VirtualKeyboard.qml:8:1: module "QtQuick.VirtualKeyboard" is not installed
Feb 10 11:08:47 archlinuxgui kscreenlocker_greet[1870]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/UserList.qml:43:9: Unable to assign [undefined] to bool
Feb 10 11:08:47 archlinuxgui systemd[1]: Reached target Sleep.
Feb 10 11:08:47 archlinuxgui systemd[1]: Starting System Suspend...
Feb 10 11:08:47 archlinuxgui systemd-sleep[1900]: Entering sleep state 'suspend'...
Feb 10 11:08:47 archlinuxgui kernel: PM: suspend entry (deep)
Feb 10 11:08:47 archlinuxgui kernel: Filesystems sync: 0.000 seconds
Feb 10 11:08:47 archlinuxgui iwd[589]: Could not register frame watch type 00d0: -114
Feb 10 11:08:47 archlinuxgui wpa_supplicant[742]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Feb 10 11:08:47 archlinuxgui wpa_supplicant[742]: wlan0: CTRL-EVENT-DSCP-POLICY clear_all
Feb 10 11:08:47 archlinuxgui wpa_supplicant[742]: nl80211: deinit ifname=wlan0 disabled_11b_rates=0
Feb 10 11:08:53 archlinuxgui kernel: Freezing user space processes ... (elapsed 0.001 seconds) done.
Feb 10 11:08:53 archlinuxgui kernel: OOM killer disabled.
Feb 10 11:08:53 archlinuxgui kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Feb 10 11:08:53 archlinuxgui kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Feb 10 11:08:53 archlinuxgui kernel: serial 00:04: disabled
Feb 10 11:08:53 archlinuxgui kernel: ACPI: PM: Preparing to enter system sleep state S3
Feb 10 11:08:53 archlinuxgui kernel: ACPI: PM: Saving platform NVS memory
Feb 10 11:08:53 archlinuxgui kernel: Disabling non-boot CPUs ...
Feb 10 11:08:53 archlinuxgui kernel: smpboot: CPU 1 is now offline
Feb 10 11:08:53 archlinuxgui kernel: smpboot: CPU 2 is now offline
Feb 10 11:08:53 archlinuxgui kernel: smpboot: CPU 3 is now offline
Feb 10 11:08:53 archlinuxgui kernel: smpboot: CPU 4 is now offline
Feb 10 11:08:53 archlinuxgui kernel: smpboot: CPU 5 is now offline
Feb 10 11:08:53 archlinuxgui kernel: smpboot: CPU 6 is now offline
Feb 10 11:08:53 archlinuxgui kernel: smpboot: CPU 7 is now offline
Feb 10 11:08:53 archlinuxgui kernel: smpboot: CPU 8 is now offline
Feb 10 11:08:53 archlinuxgui kernel: Spectre V2 : Update user space SMT mitigation: STIBP off
Feb 10 11:08:53 archlinuxgui kernel: smpboot: CPU 9 is now offline
Feb 10 11:08:53 archlinuxgui kernel: smpboot: CPU 10 is now offline
Feb 10 11:08:53 archlinuxgui kernel: smpboot: CPU 11 is now offline
Feb 10 11:08:53 archlinuxgui kernel: smpboot: CPU 12 is now offline
Feb 10 11:08:53 archlinuxgui kernel: smpboot: CPU 13 is now offline
Feb 10 11:08:53 archlinuxgui kernel: smpboot: CPU 14 is now offline
Feb 10 11:08:53 archlinuxgui kernel: smpboot: CPU 15 is now offline
Feb 10 11:08:53 archlinuxgui kernel: ACPI: PM: Low-level resume complete
Feb 10 11:08:53 archlinuxgui kernel: ACPI: PM: Restoring platform NVS memory
Feb 10 11:08:53 archlinuxgui kernel: LVT offset 0 assigned for vector 0x400
Feb 10 11:08:53 archlinuxgui kernel: Enabling non-boot CPUs ...
Feb 10 11:08:53 archlinuxgui kernel: x86: Booting SMP configuration:
Feb 10 11:08:53 archlinuxgui kernel: smpboot: Booting Node 0 Processor 1 APIC 0x2
Feb 10 11:08:53 archlinuxgui kernel: microcode: CPU1: patch_level=0x0a201016
Feb 10 11:08:53 archlinuxgui kernel: ACPI: \_SB_.PLTF.C002: Found 2 idle states
Feb 10 11:08:53 archlinuxgui kernel: CPU1 is up
Feb 10 11:08:53 archlinuxgui kernel: smpboot: Booting Node 0 Processor 2 APIC 0x4
Feb 10 11:08:53 archlinuxgui kernel: microcode: CPU2: patch_level=0x0a201016
Feb 10 11:08:53 archlinuxgui kernel: ACPI: \_SB_.PLTF.C004: Found 2 idle states
Feb 10 11:08:53 archlinuxgui kernel: CPU2 is up
Feb 10 11:08:53 archlinuxgui kernel: smpboot: Booting Node 0 Processor 3 APIC 0x6
Feb 10 11:08:53 archlinuxgui kernel: microcode: CPU3: patch_level=0x0a201016
Feb 10 11:08:53 archlinuxgui kernel: ACPI: \_SB_.PLTF.C006: Found 2 idle states
Feb 10 11:08:53 archlinuxgui kernel: CPU3 is up
Feb 10 11:08:53 archlinuxgui kernel: smpboot: Booting Node 0 Processor 4 APIC 0x8
Feb 10 11:08:53 archlinuxgui kernel: microcode: CPU4: patch_level=0x0a201016
Feb 10 11:08:53 archlinuxgui kernel: ACPI: \_SB_.PLTF.C008: Found 2 idle states
Feb 10 11:08:53 archlinuxgui kernel: CPU4 is up
Feb 10 11:08:53 archlinuxgui kernel: smpboot: Booting Node 0 Processor 5 APIC 0xa
Feb 10 11:08:53 archlinuxgui kernel: microcode: CPU5: patch_level=0x0a201016
Feb 10 11:08:53 archlinuxgui kernel: ACPI: \_SB_.PLTF.C00A: Found 2 idle states
Feb 10 11:08:53 archlinuxgui kernel: CPU5 is up
Feb 10 11:08:53 archlinuxgui kernel: smpboot: Booting Node 0 Processor 6 APIC 0xc
Feb 10 11:08:53 archlinuxgui kernel: microcode: CPU6: patch_level=0x0a201016
Feb 10 11:08:53 archlinuxgui kernel: ACPI: \_SB_.PLTF.C00C: Found 2 idle states
Feb 10 11:08:53 archlinuxgui kernel: CPU6 is up
Feb 10 11:08:53 archlinuxgui kernel: smpboot: Booting Node 0 Processor 7 APIC 0xe
Feb 10 11:08:53 archlinuxgui kernel: microcode: CPU7: patch_level=0x0a201016
Feb 10 11:08:53 archlinuxgui kernel: ACPI: \_SB_.PLTF.C00E: Found 2 idle states
Feb 10 11:08:53 archlinuxgui kernel: CPU7 is up
Feb 10 11:08:53 archlinuxgui kernel: smpboot: Booting Node 0 Processor 8 APIC 0x1
Feb 10 11:08:53 archlinuxgui kernel: microcode: CPU8: patch_level=0x0a201016
Feb 10 11:08:53 archlinuxgui kernel: ACPI: \_SB_.PLTF.C001: Found 2 idle states
Feb 10 11:08:53 archlinuxgui kernel: Spectre V2 : Update user space SMT mitigation: STIBP always-on
Feb 10 11:08:53 archlinuxgui kernel: CPU8 is up
Feb 10 11:08:53 archlinuxgui kernel: smpboot: Booting Node 0 Processor 9 APIC 0x3
Feb 10 11:08:53 archlinuxgui kernel: microcode: CPU9: patch_level=0x0a201016
Feb 10 11:08:53 archlinuxgui kernel: ACPI: \_SB_.PLTF.C003: Found 2 idle states
Feb 10 11:08:53 archlinuxgui kernel: CPU9 is up
Feb 10 11:08:53 archlinuxgui kernel: smpboot: Booting Node 0 Processor 10 APIC 0x5
Feb 10 11:08:53 archlinuxgui kernel: microcode: CPU10: patch_level=0x0a201016
Feb 10 11:08:53 archlinuxgui kernel: ACPI: \_SB_.PLTF.C005: Found 2 idle states
Feb 10 11:08:53 archlinuxgui kernel: CPU10 is up
Feb 10 11:08:53 archlinuxgui kernel: smpboot: Booting Node 0 Processor 11 APIC 0x7
Feb 10 11:08:53 archlinuxgui kernel: microcode: CPU11: patch_level=0x0a201016
Feb 10 11:08:53 archlinuxgui kernel: ACPI: \_SB_.PLTF.C007: Found 2 idle states
Feb 10 11:08:53 archlinuxgui kernel: CPU11 is up
Feb 10 11:08:53 archlinuxgui kernel: smpboot: Booting Node 0 Processor 12 APIC 0x9
Feb 10 11:08:53 archlinuxgui kernel: microcode: CPU12: patch_level=0x0a201016
Feb 10 11:08:53 archlinuxgui kernel: ACPI: \_SB_.PLTF.C009: Found 2 idle states
Feb 10 11:08:53 archlinuxgui kernel: CPU12 is up
Feb 10 11:08:53 archlinuxgui kernel: smpboot: Booting Node 0 Processor 13 APIC 0xb
Feb 10 11:08:53 archlinuxgui kernel: microcode: CPU13: patch_level=0x0a201016
Feb 10 11:08:53 archlinuxgui kernel: ACPI: \_SB_.PLTF.C00B: Found 2 idle states
Feb 10 11:08:53 archlinuxgui kernel: CPU13 is up
Feb 10 11:08:53 archlinuxgui kernel: smpboot: Booting Node 0 Processor 14 APIC 0xd
Feb 10 11:08:53 archlinuxgui kernel: microcode: CPU14: patch_level=0x0a201016
Feb 10 11:08:53 archlinuxgui kernel: ACPI: \_SB_.PLTF.C00D: Found 2 idle states
Feb 10 11:08:53 archlinuxgui kernel: CPU14 is up
Feb 10 11:08:53 archlinuxgui kernel: smpboot: Booting Node 0 Processor 15 APIC 0xf
Feb 10 11:08:53 archlinuxgui kernel: microcode: CPU15: patch_level=0x0a201016
Feb 10 11:08:53 archlinuxgui kernel: ACPI: \_SB_.PLTF.C00F: Found 2 idle states
Feb 10 11:08:53 archlinuxgui kernel: CPU15 is up
Feb 10 11:08:53 archlinuxgui kernel: ACPI: PM: Waking up from system sleep state S3
Feb 10 11:08:53 archlinuxgui kernel: xhci_hcd 0000:02:00.0: xHC error in resume, USBSTS 0x401, Reinit
Feb 10 11:08:53 archlinuxgui kernel: usb usb1: root hub lost power or was reset
Feb 10 11:08:53 archlinuxgui kernel: usb usb2: root hub lost power or was reset
Feb 10 11:08:53 archlinuxgui kernel: serial 00:04: activated
Feb 10 11:08:53 archlinuxgui kernel: nvme nvme0: 8/0/0 default/read/poll queues
Feb 10 11:08:53 archlinuxgui kernel: ata6: SATA link down (SStatus 0 SControl 330)
Feb 10 11:08:53 archlinuxgui kernel: ata2: SATA link down (SStatus 0 SControl 330)
Feb 10 11:08:53 archlinuxgui kernel: ata1: SATA link down (SStatus 0 SControl 330)
Feb 10 11:08:53 archlinuxgui kernel: ata5: SATA link down (SStatus 0 SControl 330)
Feb 10 11:08:53 archlinuxgui kernel: usb 1-5: reset full-speed USB device number 3 using xhci_hcd
Feb 10 11:08:53 archlinuxgui kernel: usb 1-8: reset full-speed USB device number 4 using xhci_hcd
Feb 10 11:08:53 archlinuxgui kernel: usb 1-1: reset full-speed USB device number 2 using xhci_hcd
Feb 10 11:08:53 archlinuxgui kernel: usb 2-3: reset SuperSpeed USB device number 2 using xhci_hcd
Feb 10 11:08:53 archlinuxgui kernel: OOM killer enabled.
Feb 10 11:08:53 archlinuxgui kernel: Restarting tasks ... done.
Feb 10 11:08:53 archlinuxgui kernel: PM: suspend exit
Feb 10 11:08:53 archlinuxgui systemd-resolved[482]: Clock change detected. Flushing caches.
Feb 10 11:08:53 archlinuxgui bluetoothd[587]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSink/sbc
Feb 10 11:08:53 archlinuxgui systemd-sleep[1900]: System returned from sleep state.
Feb 10 11:08:53 archlinuxgui bluetoothd[587]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSource/sbc
Feb 10 11:08:53 archlinuxgui systemd[1]: Starting Load/Save RF Kill Switch Status...
Feb 10 11:08:53 archlinuxgui bluetoothd[587]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSink/sbc_xq_453
Feb 10 11:08:53 archlinuxgui bluetoothd[587]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSource/sbc_xq_453
Feb 10 11:08:53 archlinuxgui bluetoothd[587]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSink/sbc_xq_512
Feb 10 11:08:53 archlinuxgui bluetoothd[587]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSource/sbc_xq_512
Feb 10 11:08:53 archlinuxgui bluetoothd[587]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSink/sbc_xq_552
Feb 10 11:08:53 archlinuxgui bluetoothd[587]: Endpoint unregistered: sender=:1.52 path=/MediaEndpoint/A2DPSource/sbc_xq_552
Feb 10 11:08:53 archlinuxgui systemd[1]: Stopped target Bluetooth Support.
Feb 10 11:08:53 archlinuxgui systemd[1]: Started Load/Save RF Kill Switch Status.
Feb 10 11:08:53 archlinuxgui audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 10 11:08:53 archlinuxgui systemd[1]: Reached target Bluetooth Support.
Feb 10 11:08:53 archlinuxgui systemd[760]: Reached target Bluetooth.
Feb 10 11:08:53 archlinuxgui kernel: audit: type=1130 audit(1676027333.906:74): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 10 11:08:53 archlinuxgui systemd[1]: systemd-suspend.service: Deactivated successfully.
Feb 10 11:08:53 archlinuxgui systemd[1]: Finished System Suspend.
Feb 10 11:08:53 archlinuxgui audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 10 11:08:53 archlinuxgui audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 10 11:08:53 archlinuxgui rtkit-daemon[1324]: Supervising 2 threads of 1 processes of 1 users.
Feb 10 11:08:53 archlinuxgui systemd[1]: Stopped target Sleep.
Feb 10 11:08:53 archlinuxgui systemd[1]: Reached target Suspend.
Feb 10 11:08:53 archlinuxgui systemd[1]: Stopped target Suspend.
Feb 10 11:08:53 archlinuxgui systemd-logind[592]: Operation 'sleep' finished.
Feb 10 11:08:53 archlinuxgui systemd-networkd[580]: wlan0: found matching network '/etc/systemd/network/20-wireless.network', based on potentially unpredictable interface name.
Feb 10 11:08:53 archlinuxgui systemd-networkd[580]: wlan0: DHCPv6 lease lost
Feb 10 11:08:53 archlinuxgui NetworkManager[593]: <info>  [1676027333.9275] manager: sleep: wake requested (sleeping: yes  enabled: yes)
Feb 10 11:08:53 archlinuxgui NetworkManager[593]: <info>  [1676027333.9276] device (enp7s0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Feb 10 11:08:53 archlinuxgui kernel: audit: type=1130 audit(1676027333.923:75): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 10 11:08:53 archlinuxgui kernel: audit: type=1131 audit(1676027333.923:76): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-suspend comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 10 11:08:53 archlinuxgui rtkit-daemon[1324]: Successfully made thread 2019 of process 1320 owned by '1000' RT at priority 5.
Feb 10 11:08:53 archlinuxgui rtkit-daemon[1324]: Supervising 3 threads of 1 processes of 1 users.
Feb 10 11:08:53 archlinuxgui kernel: Generic FE-GE Realtek PHY r8169-0-700:00: attached PHY driver (mii_bus:phy_addr=r8169-0-700:00, irq=MAC)
Feb 10 11:08:53 archlinuxgui systemd-networkd[580]: enp7s0: DHCPv6 lease lost
Feb 10 11:08:54 archlinuxgui pulseaudio[1320]: Could not find org.bluez.BatteryProviderManager1.RegisterBatteryProvider(), is bluetoothd started with experimental features enabled (-E flag)?
Feb 10 11:08:54 archlinuxgui bluetoothd[587]: Endpoint registered: sender=:1.52 path=/MediaEndpoint/A2DPSink/sbc
Feb 10 11:08:54 archlinuxgui bluetoothd[587]: Endpoint registered: sender=:1.52 path=/MediaEndpoint/A2DPSource/sbc
Feb 10 11:08:54 archlinuxgui bluetoothd[587]: Endpoint registered: sender=:1.52 path=/MediaEndpoint/A2DPSink/sbc_xq_453
Feb 10 11:08:54 archlinuxgui bluetoothd[587]: Endpoint registered: sender=:1.52 path=/MediaEndpoint/A2DPSource/sbc_xq_453
Feb 10 11:08:54 archlinuxgui bluetoothd[587]: Endpoint registered: sender=:1.52 path=/MediaEndpoint/A2DPSink/sbc_xq_512
Feb 10 11:08:54 archlinuxgui bluetoothd[587]: Endpoint registered: sender=:1.52 path=/MediaEndpoint/A2DPSource/sbc_xq_512
Feb 10 11:08:54 archlinuxgui bluetoothd[587]: Endpoint registered: sender=:1.52 path=/MediaEndpoint/A2DPSink/sbc_xq_552
Feb 10 11:08:54 archlinuxgui bluetoothd[587]: Endpoint registered: sender=:1.52 path=/MediaEndpoint/A2DPSource/sbc_xq_552
Feb 10 11:08:54 archlinuxgui rtkit-daemon[1324]: Supervising 2 threads of 1 processes of 1 users.
Feb 10 11:08:54 archlinuxgui rtkit-daemon[1324]: Successfully made thread 2021 of process 1320 owned by '1000' RT at priority 5.
Feb 10 11:08:54 archlinuxgui rtkit-daemon[1324]: Supervising 3 threads of 1 processes of 1 users.
Feb 10 11:08:54 archlinuxgui systemd-networkd[580]: enp7s0: Link UP
Feb 10 11:08:54 archlinuxgui NetworkManager[593]: <info>  [1676027334.1428] device (wlan0): state change: unmanaged -> unavailable (reason 'managed', sys-iface-state: 'external')
Feb 10 11:08:54 archlinuxgui NetworkManager[593]: <info>  [1676027334.1431] manager: NetworkManager state is now DISCONNECTED
Feb 10 11:08:54 archlinuxgui wpa_supplicant[742]: nl80211: kernel reports: Match already configured
Feb 10 11:08:54 archlinuxgui wpa_supplicant[742]: nl80211: kernel reports: Match already configured
Feb 10 11:08:54 archlinuxgui wpa_supplicant[742]: nl80211: kernel reports: Match already configured
Feb 10 11:08:54 archlinuxgui wpa_supplicant[742]: nl80211: kernel reports: Match already configured
Feb 10 11:08:54 archlinuxgui wpa_supplicant[742]: nl80211: kernel reports: Match already configured
Feb 10 11:08:54 archlinuxgui wpa_supplicant[742]: nl80211: kernel reports: Match already configured
Feb 10 11:08:54 archlinuxgui wpa_supplicant[742]: nl80211: kernel reports: Match already configured
Feb 10 11:08:54 archlinuxgui wpa_supplicant[742]: nl80211: kernel reports: Match already configured
Feb 10 11:08:54 archlinuxgui wpa_supplicant[742]: nl80211: kernel reports: Match already configured
Feb 10 11:08:54 archlinuxgui kernel: r8169 0000:07:00.0 enp7s0: Link is Down
Feb 10 11:08:54 archlinuxgui wpa_supplicant[742]: dbus: fill_dict_with_properties dbus_interface=fi.w1.wpa_supplicant1.Interface.P2PDevice dbus_property=P2PDeviceConfig getter failed
Feb 10 11:08:54 archlinuxgui NetworkManager[593]: <info>  [1676027334.1941] device (wlan0): supplicant interface state: internal-starting -> disconnected
Feb 10 11:08:54 archlinuxgui NetworkManager[593]: <info>  [1676027334.1942] device (wlan0): state change: unavailable -> disconnected (reason 'supplicant-available', sys-iface-state: 'managed')
Feb 10 11:08:54 archlinuxgui kwin_x11[966]: OpenGL vendor string:                   NVIDIA Corporation
Feb 10 11:08:54 archlinuxgui kwin_x11[966]: OpenGL renderer string:                 NVIDIA GeForce RTX 3070 Ti/PCIe/SSE2
Feb 10 11:08:54 archlinuxgui kwin_x11[966]: OpenGL version string:                  3.1.0 NVIDIA 515.57
Feb 10 11:08:54 archlinuxgui kwin_x11[966]: OpenGL shading language version string: 1.40 NVIDIA via Cg compiler
Feb 10 11:08:54 archlinuxgui kwin_x11[966]: Driver:                                 NVIDIA
Feb 10 11:08:54 archlinuxgui kwin_x11[966]: Driver version:                         515.57
Feb 10 11:08:54 archlinuxgui kwin_x11[966]: GPU class:                              Unknown
Feb 10 11:08:54 archlinuxgui kwin_x11[966]: OpenGL version:                         3.1
Feb 10 11:08:54 archlinuxgui kwin_x11[966]: GLSL version:                           1.40
Feb 10 11:08:54 archlinuxgui kwin_x11[966]: X server version:                       1.21.1
Feb 10 11:08:54 archlinuxgui kwin_x11[966]: Linux kernel version:                   5.18.12
Feb 10 11:08:54 archlinuxgui kwin_x11[966]: Requires strict binding:                no
Feb 10 11:08:54 archlinuxgui kwin_x11[966]: GLSL shaders:                           yes
Feb 10 11:08:54 archlinuxgui kwin_x11[966]: Texture NPOT support:                   yes
Feb 10 11:08:54 archlinuxgui kwin_x11[966]: Virtual Machine:                        no
Feb 10 11:08:54 archlinuxgui kwin_x11[966]: QObject::connect(KWin::InputMethod, KWin::EffectsHandlerImpl): invalid nullptr parameter
Feb 10 11:08:54 archlinuxgui kwin_x11[966]: WobblyWindowsConfig::instance called after the first use - ignoring
Feb 10 11:08:54 archlinuxgui kwin_x11[966]: BlurConfig::instance called after the first use - ignoring
Feb 10 11:08:54 archlinuxgui kwin_x11[966]: ZoomConfig::instance called after the first use - ignoring
Feb 10 11:08:54 archlinuxgui kwin_x11[966]: WindowViewConfig::instance called after the first use - ignoring
Feb 10 11:08:54 archlinuxgui kwin_x11[966]: SlidingPopupsConfig::instance called after the first use - ignoring
Feb 10 11:08:54 archlinuxgui kwin_x11[966]: SlideConfig::instance called after the first use - ignoring
Feb 10 11:08:54 archlinuxgui kwin_x11[966]: OverviewConfig::instance called after the first use - ignoring
Feb 10 11:08:54 archlinuxgui kwin_x11[966]: KscreenConfig::instance called after the first use - ignoring
Feb 10 11:08:54 archlinuxgui kwin_x11[966]: DesktopGridConfig::instance called after the first use - ignoring
Feb 10 11:08:55 archlinuxgui kwin_x11[966]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 12729, resource id: 52428805, major code: 18 (ChangeProperty), minor code: 0
Feb 10 11:08:55 archlinuxgui plasmashell[999]: org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_0a_00.4.analog-stereo.monitor"
Feb 10 11:08:55 archlinuxgui plasmashell[999]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x559179a43420) QQmlContext(0x55917aa17ae0) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
Feb 10 11:08:55 archlinuxgui plasmashell[999]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x559179a43420) QQmlContext(0x55917aa17ae0) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
Feb 10 11:08:55 archlinuxgui plasmashell[999]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:220:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
Feb 10 11:08:55 archlinuxgui plasmashell[999]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:220:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
Feb 10 11:08:55 archlinuxgui plasmashell[999]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:220:21: QML SelectableLabel: Binding loop detected for property "implicitHeight"
Feb 10 11:08:55 archlinuxgui plasmashell[999]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x55917bd05c50) QQmlContext(0x55917aa17ae0) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
Feb 10 11:08:55 archlinuxgui plasmashell[999]: Could not find the Plasmoid for Plasma::FrameSvgItem(0x55917bd05c50) QQmlContext(0x55917aa17ae0) QUrl("file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/global/Globals.qml")
Feb 10 11:08:55 archlinuxgui plasmashell[999]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:220:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
Feb 10 11:08:55 archlinuxgui plasmashell[999]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:220:21: QML SelectableLabel: Binding loop detected for property "implicitWidth"
Feb 10 11:08:55 archlinuxgui plasmashell[999]: file:///usr/share/plasma/plasmoids/org.kde.plasma.notifications/contents/ui/NotificationItem.qml:220:21: QML SelectableLabel: Binding loop detected for property "implicitHeight"
Feb 10 11:08:55 archlinuxgui plasmashell[999]: org.kde.plasma.pulseaudio: No object for name "alsa_output.pci-0000_0a_00.4.analog-stereo.monitor"
Feb 10 11:08:55 archlinuxgui kwin_x11[966]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 13366, resource id: 23068784, major code: 15 (QueryTree), minor code: 0
Feb 10 11:08:58 archlinuxgui systemd[1]: systemd-rfkill.service: Deactivated successfully.
Feb 10 11:08:58 archlinuxgui audit[1]: SERVICE_STOP pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 10 11:08:58 archlinuxgui kernel: audit: type=1131 audit(1676027338.909:77): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=systemd-rfkill comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Feb 10 11:08:59 archlinuxgui dbus-daemon[588]: [system] Activating via systemd: service name='org.freedesktop.home1' unit='dbus-org.freedesktop.home1.service' requested by ':1.58' (uid=1000 pid=1870 comm="/usr/lib/kscreenlocker_greet --immediateLock --gra")
Feb 10 11:08:59 archlinuxgui dbus-daemon[588]: [system] Activation via systemd failed for unit 'dbus-org.freedesktop.home1.service': Unit dbus-org.freedesktop.home1.service not found.
Feb 10 11:08:59 archlinuxgui kscreenlocker_greet[1870]: pam_systemd_home(kde:auth): systemd-homed is not available: Unit dbus-org.freedesktop.home1.service not found.
Feb 10 11:08:59 archlinuxgui audit[2038]: USER_AUTH pid=2038 uid=1000 auid=1000 ses=2 msg='op=PAM:unix_chkpwd acct="liveuser" exe="/usr/bin/unix_chkpwd" hostname=? addr=? terminal=? res=success'
Feb 10 11:08:59 archlinuxgui kscreenlocker_greet[1870]: pam_unix(kde:auth): user [liveuser] has blank password; authenticated without it
Feb 10 11:08:59 archlinuxgui kernel: audit: type=1100 audit(1676027339.346:78): pid=2038 uid=1000 auid=1000 ses=2 msg='op=PAM:unix_chkpwd acct="liveuser" exe="/usr/bin/unix_chkpwd" hostname=? addr=? terminal=? res=success'
Feb 10 11:08:59 archlinuxgui kscreenlocker_greet[1870]: file:///usr/share/plasma/look-and-feel/org.kde.breeze.desktop/contents/components/UserList.qml:43:9: Unable to assign [undefined] to bool
Feb 10 11:09:00 archlinuxgui kwin_x11[966]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 16396, resource id: 23068786, major code: 15 (QueryTree), minor code: 0
Feb 10 11:09:00 archlinuxgui kwin_x11[966]: kwin_core: XCB error: 152 (BadDamage), sequence: 16414, resource id: 16777760, major code: 143 (DAMAGE), minor code: 3 (Subtract)
Feb 10 11:09:01 archlinuxgui kwin_x11[966]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 16740, resource id: 50331675, major code: 18 (ChangeProperty), minor code: 0
Feb 10 11:09:01 archlinuxgui kwin_x11[966]: kwin_core: XCB error: 3 (BadWindow), sequence: 16836, resource id: 12582920, major code: 129 (SHAPE), minor code: 6 (Input)
Feb 10 11:09:01 archlinuxgui kwin_x11[966]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 16837, resource id: 12582920, major code: 2 (ChangeWindowAttributes), minor code: 0

I would include sleeping from my actual Arch installation, but for some reason systemd-journalctl writes to /run/log/journal/a2c8d5f9d2f64a628cefaeb84f3e6664, even after editing the /etc/systemd/journald.conf to have Storage=persistent, flushing the IO, and restarting multiple times.

Last edited by A-Fellow-Human (2023-02-10 12:00:41)

Offline

#13 2023-02-10 12:20:29

seth
Member
Registered: 2012-09-03
Posts: 51,055

Re: Can't wake from sleep

That's just an excerpt from the journal.
Please post your complete system journal for the boot:

sudo journalctl -b | curl -F 'file=@-' 0x0.st
sudo journalctl --flush

but when/if the kernel halts during/after the S3, the remainders of the journal cannot be synced to disk.

Online

#14 2023-02-10 13:15:25

A-Fellow-Human
Member
Registered: 2022-10-15
Posts: 35

Re: Can't wake from sleep

All right, so the journalctl for my main installation is here: http://0x0.st/HrXP.txt
journalctl for live install (incl. sleeping and waking from sleep) available http://0x0.st/HrXc.log

Offline

#15 2023-02-10 13:35:23

seth
Member
Registered: 2012-09-03
Posts: 51,055

Re: Can't wake from sleep

Kernel is newer than the current lts one, nvidia is somewhat older (515.57)

Please disable the folding-at-home service and try again.

Online

#16 2023-02-10 14:06:17

A-Fellow-Human
Member
Registered: 2022-10-15
Posts: 35

Re: Can't wake from sleep

Unfortunately still not working, tried it with LTS too.
Journalctl output at http://0x0.st/HrXg.log for reference.

Offline

#17 2023-02-10 14:10:42

seth
Member
Registered: 2012-09-03
Posts: 51,055

Re: Can't wake from sleep

It's a wild shot, but a misconfiguration anyway: you've networkmanager and systemd-networkd enabled.
Pick one, disable the other.

You could try to use an older nvidia driver from the ALA, nb. that you'll need nvidia-dkms to fit current kernels.
https://wiki.archlinux.org/title/Arch_Linux_Archive

Online

#18 2023-02-17 14:16:26

A-Fellow-Human
Member
Registered: 2022-10-15
Posts: 35

Re: Can't wake from sleep

seth wrote:

It's a wild shot, but a misconfiguration anyway: you've networkmanager and systemd-networkd enabled.
Pick one, disable the other.

Tried disabling systemd-networkd and the problem persists.

seth wrote:

You could try to use an older nvidia driver from the ALA, nb. that you'll need nvidia-dkms to fit current kernels.

Tried using downgrade tool to downgrade nvidia-utils to 515.76 and nvidia-open-dkms to 515.76-5, but when I try to boot I see "Failed to start NVIDIA Persistence Daemon" and get stuck at "A start job is running for Refresh Pacman mirrorlist with Reflector."

Offline

#19 2023-02-17 14:37:50

seth
Member
Registered: 2012-09-03
Posts: 51,055

Re: Can't wake from sleep

Can you boot the multi-user.target and/or along "nomodeset"?
And from there try to "modprobe -v nvidia"?
Were there errors in the dkms build? Did you forget to install the kernel headers?

Online

#20 2023-02-18 04:47:27

A-Fellow-Human
Member
Registered: 2022-10-15
Posts: 35

Re: Can't wake from sleep

Actually, manually running mkinitcpio managed to fix the problem... until I got past the login screen, then the computer went back to the boot sequence.

Nonetheless, the login screen itself had a "Sleep" button, and that didn't work on 515.76 drivers.

Offline

#21 2023-02-18 07:01:48

seth
Member
Registered: 2012-09-03
Posts: 51,055

Re: Can't wake from sleep

until I got past the login screen, then the computer went back to the boot sequence

You logged in and then the system spontanously rebooted?
Do you have the journal for that boot?
Also because

you earlier wrote:

My PC's motherboard got shorted and it took me a while to get it replaced.

Online

#22 2023-02-21 11:06:56

A-Fellow-Human
Member
Registered: 2022-10-15
Posts: 35

Re: Can't wake from sleep

Here's the journalctl log for booting from 515.76: https://0x0.st/HsS2.txt

Offline

#23 2023-02-21 12:40:54

seth
Member
Registered: 2012-09-03
Posts: 51,055

Re: Can't wake from sleep

You're getting a tremendous amount of

xid 45 wrote:

Preemptive cleanup, due to previous errors -- Most likely to see when running multiple cuda applications and hitting a DBE

https://docs.nvidia.com/deploy/xid-errors/index.html

This happens in direct response to a kscreen action, https://bbs.archlinux.org/viewtopic.php … 3#p2085753

kcmshell5 kded

disable kscreen

Online

#24 2023-02-22 08:09:00

A-Fellow-Human
Member
Registered: 2022-10-15
Posts: 35

Re: Can't wake from sleep

Thanks, that let me boot using 515.76. Still can't wake from sleep though.

Edit: RIP, went back to boot screen after about 25 minutes of usage. Didn't save journalctl logs. I'm not sure if Nvidia drivers are the issue anyway if waking from sleep still isn't working? I think it's best to go back to 525 drivers since those are working stably.

Last edited by A-Fellow-Human (2023-02-22 11:53:16)

Offline

#25 2023-02-22 14:28:39

seth
Member
Registered: 2012-09-03
Posts: 51,055

Re: Can't wake from sleep

So it's less likely the nvidia driver.

https://wiki.archlinux.org/title/Solid_ … nd_support

Otherwise:
Cut the multi-user.target.
Only boot the rescue.target, suspend and resume from there.
Also try rtcwake, https://man.archlinux.org/man/core/util … cwake.8.en

And Double and triple check that windows fast-start is indeed still disabled.

Online

Board footer

Powered by FluxBB