hello,
i have been having trouble getting a macbook pro 5,5 with a GeForce 9400M GPU (MCP79/ion) to resume from systemctl suspend
.
i initially came across the issue testing garuda sway with both linux-zen
and linux-lts
kernels. i then installed garuda xfce and the same issue appeared to occur.
i initially posted to the arch forums at https://bbs.archlinux.org/viewtopic.php?pid=2008259 . however after testing systemctl suspend
with a vanilla arch install (kernel 5.15.7 and nouveau drivers) and finding that resume worked correctly i thought it might make sense to move to the garuda forums (in fact the other thread was just closed as i was writing this post).
further details and testing are overviewed in the above arch forum link - happy to repost the info here as well but wasn’t sure if that was appropriate. to summarize:
immediately after entering systemctl suspend in a terminal within sway the lockscreen (swaylock) appears. a few seconds later the screen goes black. the following issue seems to be the same after entering systemctl suspend in a virtual console except swaylock doesn’t appear first.
pressing any key, the mouse, or the power button, has no effect. can’t switch to a virtual console with fn+ctrl+alt+f2. the brightness keys have no effect. the caps lock status light does not turn on or off.
if the fans are audibly spinning when suspending they continue to run for a bit. after suspending, closing the laptop lid result in the front power led lighting up (normally this is off). opening the lid the front power led turns back off, but nothing else occurs.
the only thing that seems to function is forcing a shutdown by holding down the power button for ~5 seconds. closing the lid no longer results in the power led lighting up. the computer then boots when pressing the power button again.
the only visible difference when suspending on the vanilla arch install is that the power led began to blink slowly. which makes me wonder if the machine never fully suspends when initiated on the garuda installs.
thanks as always for any help. some logs below:
journalctl after `systemctl suspend` up to reboot
Dec 05 21:29:21 [hostname] polkitd[434]: Registered Authentication Agent for unix-process:4983:26606 (system bus name :1.66 [/usr/bin/pkttyagent --notify-fd 7 --fallback], object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8)
Dec 05 21:29:21 [hostname] ModemManager[468]: <info> [sleep-monitor] system is about to suspend
Dec 05 21:29:21 [hostname] NetworkManager[425]: <info> [1638768561.4128] manager: sleep: sleep requested (sleeping: no enabled: yes)
Dec 05 21:29:21 [hostname] NetworkManager[425]: <info> [1638768561.4129] device (enp0s10): state change: unavailable -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Dec 05 21:29:21 [hostname] NetworkManager[425]: <info> [1638768561.4162] manager: NetworkManager state is now ASLEEP
Dec 05 21:29:21 [hostname] NetworkManager[425]: <info> [1638768561.4168] device (wlp3s0): state change: activated -> deactivating (reason 'sleeping', sys-iface-state: 'managed')
Dec 05 21:29:21 [hostname] polkitd[434]: Unregistered Authentication Agent for unix-process:4983:26606 (system bus name :1.66, object path /org/freedesktop/PolicyKit1/AuthenticationAgent, locale en_US.UTF-8) (disconnected from bus)
Dec 05 21:29:21 [hostname] dbus-daemon[423]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.10' (uid=0 pid=425 comm="/usr/bin/NetworkManager --no-daemon ")
Dec 05 21:29:21 [hostname] systemd[1]: Starting Network Manager Script Dispatcher Service...
Dec 05 21:29:21 [hostname] dbus-daemon[423]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
Dec 05 21:29:21 [hostname] audit[1]: SERVICE_START pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 05 21:29:21 [hostname] systemd[1]: Started Network Manager Script Dispatcher Service.
Dec 05 21:29:21 [hostname] kernel: audit: type=1130 audit(1638768561.446:121): pid=1 uid=0 auid=4294967295 ses=4294967295 msg='unit=NetworkManager-dispatcher comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
Dec 05 21:29:21 [hostname] wpa_supplicant[487]: wlp3s0: CTRL-EVENT-DISCONNECTED bssid=3c:37:86:6f:51:ee reason=3 locally_generated=1
Dec 05 21:29:21 [hostname] wpa_supplicant[487]: nl80211: Was expecting local disconnect but got another disconnect event first
Dec 05 21:29:21 [hostname] wpa_supplicant[487]: wlp3s0: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Dec 05 21:29:21 [hostname] NetworkManager[425]: <info> [1638768561.4591] device (wlp3s0): supplicant interface state: completed -> disconnected
Dec 05 21:29:21 [hostname] NetworkManager[425]: <info> [1638768561.4592] device (wlp3s0): state change: deactivating -> disconnected (reason 'sleeping', sys-iface-state: 'managed')
Dec 05 21:29:21 [hostname] avahi-daemon[422]: Withdrawing address record for fe80::5fe2:fb16:2f18:2aeb on wlp3s0.
Dec 05 21:29:21 [hostname] avahi-daemon[422]: Leaving mDNS multicast group on interface wlp3s0.IPv6 with address fe80::5fe2:fb16:2f18:2aeb.
Dec 05 21:29:21 [hostname] avahi-daemon[422]: Interface wlp3s0.IPv6 no longer relevant for mDNS.
Dec 05 21:29:21 [hostname] NetworkManager[425]: <info> [1638768561.4649] dhcp4 (wlp3s0): canceled DHCP transaction
Dec 05 21:29:21 [hostname] NetworkManager[425]: <info> [1638768561.4650] dhcp4 (wlp3s0): state changed bound -> terminated
Dec 05 21:29:21 [hostname] avahi-daemon[422]: Interface wlp3s0.IPv4 no longer relevant for mDNS.
Dec 05 21:29:21 [hostname] avahi-daemon[422]: Leaving mDNS multicast group on interface wlp3s0.IPv4 with address 192.168.1.47.
Dec 05 21:29:21 [hostname] avahi-daemon[422]: Withdrawing address record for 192.168.1.47 on wlp3s0.
Dec 05 21:29:21 [hostname] NetworkManager[425]: <info> [1638768561.4830] device (wlp3s0): set-hw-addr: set MAC address to B6:B6:1A:72:10:98 (scanning)
Dec 05 21:29:21 [hostname] avahi-daemon[422]: Joining mDNS multicast group on interface wlp3s0.IPv4 with address 192.168.1.47.
Dec 05 21:29:21 [hostname] avahi-daemon[422]: New relevant interface wlp3s0.IPv4 for mDNS.
Dec 05 21:29:21 [hostname] avahi-daemon[422]: Registering new address record for 192.168.1.47 on wlp3s0.IPv4.
Dec 05 21:29:21 [hostname] avahi-daemon[422]: Withdrawing address record for 192.168.1.47 on wlp3s0.
Dec 05 21:29:21 [hostname] avahi-daemon[422]: Leaving mDNS multicast group on interface wlp3s0.IPv4 with address 192.168.1.47.
Dec 05 21:29:21 [hostname] avahi-daemon[422]: Interface wlp3s0.IPv4 no longer relevant for mDNS.
Dec 05 21:29:21 [hostname] NetworkManager[425]: <info> [1638768561.5548] device (wlp3s0): supplicant interface state: disconnected -> interface_disabled
Dec 05 21:29:21 [hostname] NetworkManager[425]: <info> [1638768561.5579] device (wlp3s0): supplicant interface state: interface_disabled -> disconnected
Dec 05 21:29:21 [hostname] NetworkManager[425]: <info> [1638768561.5583] device (wlp3s0): state change: disconnected -> unmanaged (reason 'sleeping', sys-iface-state: 'managed')
Dec 05 21:29:21 [hostname] NetworkManager[425]: <info> [1638768561.5628] device (wlp3s0): set-hw-addr: reset MAC address to F8:1E:DF:DE:E7:C9 (unmanage)
Dec 05 21:29:21 [hostname] wpa_supplicant[487]: nl80211: deinit ifname=wlp3s0 disabled_11b_rates=0
Dec 05 21:29:21 [hostname] kernel: IPv6: ADDRCONF(NETDEV_CHANGE): wlp3s0: link becomes ready
Dec 05 21:29:22 [hostname] avahi-daemon[422]: Joining mDNS multicast group on interface wlp3s0.IPv6 with address fe80::fa1e:dfff:fede:e7c9.
Dec 05 21:29:22 [hostname] avahi-daemon[422]: New relevant interface wlp3s0.IPv6 for mDNS.
Dec 05 21:29:22 [hostname] avahi-daemon[422]: Registering new address record for fe80::fa1e:dfff:fede:e7c9 on wlp3s0.*.
Dec 05 21:29:26 [hostname] systemd-logind[442]: Delay lock is active (UID 1000/[username], PID 1485/swayidle) but inhibitor timeout is reached.
Dec 05 21:29:26 [hostname] systemd[1]: Reached target Sleep.
Dec 05 21:29:26 [hostname] systemd[1]: Starting System Suspend...
Dec 05 21:29:26 [hostname] systemd-sleep[5013]: Entering sleep state 'suspend'...
Dec 05 21:29:26 [hostname] kernel: PM: suspend entry (deep)
-- Boot 44f675f2bbd446a384ff9dadbf41e45e --
Dec 05 21:30:44 [hostname] kernel: microcode: microcode updated early to revision 0xa0b, date = 2010-09-28
inxi -Fza
System: Kernel: 5.15.6-zen2-1-zen x86_64 bits: 64 compiler: gcc v: 11.1.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen root=UUID=cfa5868d-1e7f-4b83-9f00-667b6c1ab025 rw
rootflags=subvol=@ quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
systemd.unified_cgroup_hierarchy=1 loglevel=3
Desktop: sway 1.6.1 dm: N/A Distro: Garuda Linux base: Arch Linux
Machine: Type: Laptop System: Apple product: MacBookPro5,5 v: 1.0 serial: <filter> Chassis: type: 10 v: Mac-F2268AC8
serial: <filter>
Mobo: Apple model: Mac-F2268AC8 serial: N/A UEFI: Apple v: MBP55.88Z.00AC.B03.0906151708 date: 06/15/09
Battery: ID-1: BAT0 charge: 64.1 Wh (97.6%) condition: 65.7/64.8 Wh (101.4%) volts: 11.5 min: 10.8
model: EGOWAY A1322 type: Li-ion serial: N/A status: Discharging cycles: 35
CPU: Info: Dual Core model: Intel Core2 Duo P8700 socket: U2E1 bits: 64 type: MCP arch: Penryn family: 6
model-id: 17 (23) stepping: A (10) microcode: A0B cache: L1: 128 KiB L2: 6 MiB
flags: ht lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx bogomips: 10082
Speed: 2472 MHz min/max: 798/2527 MHz base/boost: 2530/2530 volts: 1.6 V ext-clock: 266 MHz
Core speeds (MHz): 1: 2521 2: 2512
Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled
Type: l1tf mitigation: PTE Inversion; VMX: EPT disabled
Type: mds status: Vulnerable: Clear CPU buffers attempted, no microcode; SMT disabled
Type: meltdown mitigation: PTI
Type: spec_store_bypass status: Vulnerable
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Full generic retpoline, STIBP: disabled, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics: Device-1: NVIDIA C79 [GeForce 9400M] vendor: Apple driver: nouveau v: kernel bus-ID: 02:00.0
chip-ID: 10de:0863 class-ID: 0300
Device-2: Apple Built-in iSight type: USB driver: uvcvideo bus-ID: 1-4:2 chip-ID: 05ac:8507 class-ID: 0e02
serial: <filter>
Display: server: No display server data found. Headless machine? resolution: <missing: xdpyinfo>
Message: Unable to show advanced data. Required tool glxinfo missing.
Audio: Device-1: NVIDIA MCP79 High Definition Audio driver: snd_hda_intel v: kernel bus-ID: 00:08.0
chip-ID: 10de:0ac0 class-ID: 0403
Sound Server-1: ALSA v: k5.15.6-zen2-1-zen running: yes
Sound Server-2: sndio v: N/A running: no
Sound Server-3: JACK v: 1.9.19 running: no
Sound Server-4: PulseAudio v: 15.0 running: no
Sound Server-5: PipeWire v: 0.3.40 running: yes
Network: Device-1: NVIDIA MCP79 Ethernet driver: forcedeth v: kernel port: 21e0 bus-ID: 00:0a.0 chip-ID: 10de:0ab0
class-ID: 0200
IF: enp0s10 state: down mac: <filter>
Device-2: Broadcom BCM4322 802.11a/b/g/n Wireless LAN vendor: Apple AirPort Extreme driver: wl v: kernel
modules: ssb bus-ID: 03:00.0 chip-ID: 14e4:432b class-ID: 0280
IF: wlp3s0 state: up mac: <filter>
Bluetooth: Device-1: Apple Bluetooth Host Controller type: USB driver: btusb v: 0.8 bus-ID: 4-1.1:3 chip-ID: 05ac:8213
class-ID: fe01 serial: <filter>
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives: Local Storage: total: 462.59 GiB used: 10.82 GiB (2.3%)
SMART Message: Required tool smartctl not installed. Check --recommends
ID-1: /dev/sda maj-min: 8:0 vendor: Corsair model: Corsair Force GT size: 223.57 GiB block-size:
physical: 512 B logical: 512 B speed: 1.5 Gb/s type: SSD serial: <filter> rev: 5.07 scheme: GPT
ID-2: /dev/sdc maj-min: 8:32 type: USB vendor: Samsung model: Flash Drive size: 239.02 GiB block-size:
physical: 512 B logical: 512 B type: SSD serial: <filter> rev: 1100 scheme: MBR
Partition: ID-1: / raw-size: 110.35 GiB size: 110.35 GiB (100.00%) used: 10.66 GiB (9.7%) fs: btrfs block-size: 4096 B
dev: /dev/sda5 maj-min: 8:5
ID-2: /boot/efi raw-size: 600 MiB size: 598.8 MiB (99.80%) used: 576 KiB (0.1%) fs: vfat block-size: 512 B
dev: /dev/sda4 maj-min: 8:4
ID-3: /home raw-size: 110.35 GiB size: 110.35 GiB (100.00%) used: 10.66 GiB (9.7%) fs: btrfs
block-size: 4096 B dev: /dev/sda5 maj-min: 8:5
ID-4: /var/log raw-size: 110.35 GiB size: 110.35 GiB (100.00%) used: 10.66 GiB (9.7%) fs: btrfs
block-size: 4096 B dev: /dev/sda5 maj-min: 8:5
ID-5: /var/tmp raw-size: 110.35 GiB size: 110.35 GiB (100.00%) used: 10.66 GiB (9.7%) fs: btrfs
block-size: 4096 B dev: /dev/sda5 maj-min: 8:5
Swap: Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: zram size: 7.51 GiB used: 0 KiB (0.0%) priority: 100 dev: /dev/zram0
Sensors: System Temperatures: cpu: 29.3 C mobo: N/A gpu: nouveau temp: 48.0 C
Fan Speeds (RPM): N/A
Info: Processes: 202 Uptime: 3m wakeups: 2 Memory: 7.51 GiB used: 1.12 GiB (14.9%) Init: systemd v: 249
tool: systemctl Compilers: gcc: 11.1.0 clang: 13.0.0 Packages: pacman: 1176 lib: 298 Shell: sh (sudo)
default: Bash v: 5.1.12 running-in: alacritty inxi: 3.3.09