您尚未登录。

#1 2020-07-11 19:56:06

yw662
大会员
所在地: localhost
注册时间: 2018-10-10
帖子: 375

linux 5.7.7在r5 4500U上疑似无法suspend to ram

linux 5.7.7-arch-1-1,asus zenbook q407iq,r5 4500U

相关日志

Jul 11 04:36:47 yw662 systemd[1]: Reached target Sleep.
Jul 11 04:36:47 yw662 systemd[1]: Starting Suspend...
Jul 11 04:36:47 yw662 systemd-sleep[1302]: Suspending system...
Jul 11 04:36:47 yw662 kernel: PM: suspend entry (s2idle)
# power button pressed to force shutdown, no log from 36:47 to 38:26
Jul 11 04:38:26 yw662 kernel: Filesystems sync: 0.005 seconds
Jul 11 04:38:26 yw662 kernel: Freezing user space processes ... (elapsed 0.001 seconds) done.
Jul 11 04:38:26 yw662 kernel: OOM killer disabled.
Jul 11 04:38:26 yw662 kernel: Freezing remaining freezable tasks ... (elapsed 0.001 seconds) done.
Jul 11 04:38:26 yw662 kernel: printk: Suspending console(s) (use no_console_suspend to debug)
Jul 11 04:38:26 yw662 kernel: wlp2s0: deauthenticating from 6c:ae:f6:0e:ba:08 by local choice (Reason: 3=DEAUTH_LEAVING)
Jul 11 04:38:26 yw662 kernel: [drm] [Link 0] WARNING MOD_HDCP_STATUS_DISPLAY_NOT_FOUND IN STATE HDCP_UNINITIALIZED STAY COUNT 0
Jul 11 04:38:26 yw662 kernel: ACPI: EC: interrupt blocked
Jul 11 04:38:26 yw662 kernel: xhci_hcd 0000:04:00.4: refused to change power state from D0 to D3hot
Jul 11 04:38:26 yw662 kernel: ACPI: EC: interrupt unblocked
Jul 11 04:38:26 yw662 kernel: ------------[ cut here ]------------
Jul 11 04:38:26 yw662 kernel: WARNING: CPU: 3 PID: 1302 at kernel/irq/chip.c:210 irq_startup+0xe1/0xf0
Jul 11 04:38:26 yw662 kernel: Modules linked in: cmac ccm joydev rtsx_usb_sdmmc rtsx_usb_ms mousedev mmc_core memstick asus_nb_wmi edac_mce_amd hid_multitouch asus_wmi hid_generic sparse_keymap kvm_amd wmi_bmof kvm rtsx_usb irqbypass crct10dif_pclmul crc32c_intel ghash_clmulni_intel aesni_intel crypto_simd cryptd glue_helper input_leds amdgpu snd_hda_codec_realtek iwlmvm snd_hda_codec_generic ledtrig_audio snd_hda_codec_hdmi mac80211 k10temp sp5100_tco snd_hda_intel libarc4 i2c_piix4 snd_intel_dspcfg snd_hda_codec snd_hda_core gpu_sched i2c_algo_bit snd_hwdep uvcvideo ttm iwlwifi snd_pcm videobuf2_vmalloc btusb drm_kms_helper btrtl videobuf2_memops videobuf2_v4l2 btbcm btintel videobuf2_common bluetooth cec snd_timer videodev rc_core syscopyarea snd cfg80211 sysfillrect mc sysimgblt ecdh_generic ecc snd_pci_acp3x tpm_crb crc16 soundcore ccp fb_sys_fops tpm_tis rfkill wmi ac tpm_tis_core evdev tpm i2c_hid hid battery mac_hid rng_core acpi_cpufreq pinctrl_amd nls_iso8859_1 nls_cp437 vfat fat drm agpgart
Jul 11 04:38:26 yw662 kernel:  ip_tables x_tables serio_raw atkbd libps2 crc32_pclmul xhci_pci xhci_hcd i8042 serio f2fs
Jul 11 04:38:26 yw662 kernel: CPU: 3 PID: 1302 Comm: systemd-sleep Not tainted 5.7.7-arch1-1 #1
Jul 11 04:38:26 yw662 kernel: Hardware name: ASUSTeK COMPUTER INC. ZenBook UX434IQ_Q407IQ/UX434IQ, BIOS UX434IQ_Q407IQ.300 04/14/2020
Jul 11 04:38:26 yw662 kernel: RIP: 0010:irq_startup+0xe1/0xf0
Jul 11 04:38:26 yw662 kernel: Code: f6 4c 89 e7 e8 00 45 00 00 85 c0 75 21 4c 89 e7 31 d2 4c 89 ee e8 bf c8 ff ff 48 89 ef e8 b7 fe ff ff 41 89 c4 e9 51 ff ff ff <0f> 0b eb b6 0f 0b eb b2 0f 1f 80 00 00 00 00 0f 1f 44 00 00 55 48
Jul 11 04:38:26 yw662 kernel: RSP: 0018:ffffa52586a4fd90 EFLAGS: 00010002
Jul 11 04:38:26 yw662 kernel: RAX: 0000000000000140 RBX: 0000000000000001 RCX: 0000000000000140
Jul 11 04:38:26 yw662 kernel: RDX: 0000000000000004 RSI: ffffffffad364b60 RDI: ffff8e87a5800418
Jul 11 04:38:26 yw662 kernel: RBP: ffff8e87a5800400 R08: 0000000000000000 R09: 0000000000000140
Jul 11 04:38:26 yw662 kernel: R10: 0000000000000000 R11: ffffffffad2546c8 R12: 0000000000000001
Jul 11 04:38:26 yw662 kernel: R13: ffff8e87a5800418 R14: ffff8e87a58004e4 R15: 0000000000000000
Jul 11 04:38:26 yw662 kernel: FS:  00007f82a36e1a80(0000) GS:ffff8e87a76c0000(0000) knlGS:0000000000000000
Jul 11 04:38:26 yw662 kernel: CS:  0010 DS: 0000 ES: 0000 CR0: 0000000080050033
Jul 11 04:38:26 yw662 kernel: CR2: 0000558867693f88 CR3: 00000001caf58000 CR4: 0000000000340ee0
Jul 11 04:38:26 yw662 kernel: Call Trace:
Jul 11 04:38:26 yw662 kernel:  resume_irqs+0xb6/0xf0
Jul 11 04:38:26 yw662 kernel:  dpm_resume_noirq+0xf/0x20
Jul 11 04:38:26 yw662 kernel:  suspend_devices_and_enter+0x338/0x8a0
Jul 11 04:38:26 yw662 kernel:  pm_suspend.cold+0x333/0x387
Jul 11 04:38:26 yw662 kernel:  state_store+x42/0x90
Jul 11 04:38:26 yw662 kernel:  kernfs_fop_write+0xce/0x1b0
Jul 11 04:38:26 yw662 kernel:  vfs_write+0xb6/0x1a0
Jul 11 04:38:26 yw662 kernel:  ksys_write+0x67/0xe0
Jul 11 04:38:26 yw662 kernel:  do_syscall_64+0x49/0x90
Jul 11 04:38:26 yw662 kernel:  entry_SYSCALL_64_after_hwframe+0x44/0xa9
Jul 11 04:38:26 yw662 kernel: RIP: 0033:0x7f82a4647b57
Jul 11 04:38:26 yw662 kernel: Code: 0c 00 f7 d8 64 89 02 48 c7 c0 ff ff ff ff eb b7 0f 1f 00 f3 0f 1e fa 64 8b 04 25 18 00 00 00 85 c0 75 10 b8 01 00 00 00 0f 05 <48> 3d 00 f0 ff ff 77 51 c3 48 83 ec 28 48 89 54 24 18 48 89 74 24
Jul 11 04:38:26 yw662 kernel: RSP: 002b:00007ffe8870b658 EFLAGS: 00000246 ORIG_RAX: 0000000000000001
Jul 11 04:38:26 yw662 kernel: RAX: ffffffffffffffda RBX: 0000000000000004 RCX: 00007f82a4647b57
Jul 11 04:38:26 yw662 kernel: RDX: 0000000000000004 RSI: 00007ffe8870b740 RDI: 0000000000000004
Jul 11 04:38:26 yw662 kernel: RBP: 00007ffe8870b740 R08: 000055886768da90 R09: 000000000000000d
Jul 11 04:38:26 yw662 kernel: R10: 0000558867689c00 R11: 0000000000000246 R12: 0000000000000004
Jul 11 04:38:26 yw662 kernel: R13: 00005588676893c0 R14: 0000000000000004 R15: 00007f82a4718700
Jul 11 04:38:26 yw662 kernel: ---[ end trace 61adf69b75a7cc3f ]---
Jul 11 04:38:26 yw662 kernel: [drm] PCIE GART of 1024M enabled (table at 0x000000F400900000).
Jul 11 04:38:26 yw662 kernel: [drm] PSP is resuming...
Jul 11 04:38:26 yw662 kernel: sos fw version = 0x11003f.
Jul 11 04:38:26 yw662 kernel: [drm] reserve 0x400000 from 0xf41f800000 for PSP TMR
Jul 11 04:38:26 yw662 kernel: SMU is resuming...
Jul 11 04:38:26 yw662 kernel: dpm has been disabled
Jul 11 04:38:26 yw662 kernel: SMU is resumed successfully!
Jul 11 04:38:26 yw662 kernel: ata2: SATA link down (SStatus 0 SControl 300)
Jul 11 04:38:26 yw662 kernel: ata1: SATA link down (SStatus 0 SControl 300)
Jul 11 04:38:26 yw662 kernel: [drm] kiq ring mec 2 pipe 1 q 0
Jul 11 04:38:26 yw662 kernel: [drm] DMUB hardware initialized: version=0x01000000
Jul 11 04:38:26 yw662 kernel: [drm] [Link 0] WARNING MOD_HDCP_STATUS_DISPLAY_NOT_FOUND IN STATE HDCP_UNINITIALIZED STAY COUNT 0
Jul 11 04:38:26 yw662 kernel: [drm] VCN decode and encode initialized successfully(under DPG Mode).
Jul 11 04:38:26 yw662 kernel: [drm] JPEG decode initialized successfully.
Jul 11 04:38:26 yw662 kernel: amdgpu 0000:04:00.0: ring gfx uses VM inv eng 0 on hub 0
Jul 11 04:38:26 yw662 kernel: amdgpu 0000:04:00.0: ring comp_1.0.0 uses VM inv eng 1 on hub 0
Jul 11 04:38:26 yw662 kernel: amdgpu 0000:04:00.0: ring comp_1.1.0 uses VM inv eng 4 on hub 0
Jul 11 04:38:26 yw662 kernel: amdgpu 0000:04:00.0: ring comp_1.2.0 uses VM inv eng 5 on hub 0
Jul 11 04:38:26 yw662 kernel: amdgpu 0000:04:00.0: ring comp_1.3.0 uses VM inv eng 6 on hub 0
Jul 11 04:38:26 yw662 kernel: amdgpu 0000:04:00.0: ring comp_1.0.1 uses VM inv eng 7 on hub 0
Jul 11 04:38:26 yw662 kernel: amdgpu 0000:04:00.0: ring comp_1.1.1 uses VM inv eng 8 on hub 0
Jul 11 04:38:26 yw662 kernel: amdgpu 0000:04:00.0: ring comp_1.2.1 uses VM inv eng 9 on hub 0
Jul 11 04:38:26 yw662 kernel: amdgpu 0000:04:00.0: ring comp_1.3.1 uses VM inv eng 10 on hub 0
Jul 11 04:38:26 yw662 kernel: amdgpu 0000:04:00.0: ring kiq_2.1.0 uses VM inv eng 11 on hub 0
Jul 11 04:38:26 yw662 kernel: amdgpu 0000:04:00.0: ring sdma0 uses VM inv eng 0 on hub 1
Jul 11 04:38:26 yw662 kernel: amdgpu 0000:04:00.0: ring vcn_dec uses VM inv eng 1 on hub 1
Jul 11 04:38:26 yw662 kernel: amdgpu 0000:04:00.0: ring vcn_enc0 uses VM inv eng 4 on hub 1
Jul 11 04:38:26 yw662 kernel: amdgpu 0000:04:00.0: ring vcn_enc1 uses VM inv eng 5 on hub 1
Jul 11 04:38:26 yw662 kernel: amdgpu 0000:04:00.0: ring jpeg_dec uses VM inv eng 6 on hub 1
Jul 11 04:38:26 yw662 kernel: OOM killer enabled.
Jul 11 04:38:26 yw662 kernel: Restarting tasks ... done.
Jul 11 04:38:26 yw662 systemd-logind[320]: Power key pressed.
# irrelevant after that

最近编辑记录 yw662 (2020-07-11 20:13:26)


ecmascript是世界上最好的语言

离线

#2 2020-07-11 20:10:46

yw662
大会员
所在地: localhost
注册时间: 2018-10-10
帖子: 375

Re: linux 5.7.7在r5 4500U上疑似无法suspend to ram

补充

suspend不到1秒内就会黑屏(灯管也的确关掉了),但电源指示灯和键盘灯都不熄灭。(所以这个状态并不像suspend to ram,但也可能是阿苏斯的锅)

此后任何键盘和鼠标输入都不会让屏幕重新点亮(所以其实是睡了?)

打开盖子可能能够唤醒(虽然并不知道是不是真睡了),但并不一定能唤醒,唤醒机制不详(正在研究)。

没有功率计所以……但是既然灯管也关掉了,kernel连日志都记不下来了,那么……大概可能真的可以当做suspend用吧(就是不知道能省多少电了)。


ecmascript是世界上最好的语言

离线

#3 2020-07-11 20:16:21

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 6,218
个人网站

Re: linux 5.7.7在r5 4500U上疑似无法suspend to ram

好像是浅睡眠。cat /sys/power/mem_sleep 看看。
键鼠无法唤醒,检查 /proc/acpi/wakeup。

离线

#4 2020-07-11 20:20:29

yw662
大会员
所在地: localhost
注册时间: 2018-10-10
帖子: 375

Re: linux 5.7.7在r5 4500U上疑似无法suspend to ram

日志里面有这条
Jul 11 04:36:47 yw662 kernel: PM: suspend entry (s2idle)
mem_sleep的确写的也是s2idle。
那所以说的确是软睡……

但是不关键盘灯和开盖子唤不醒不是很过分……


ecmascript是世界上最好的语言

离线

#5 2020-07-11 20:30:29

yw662
大会员
所在地: localhost
注册时间: 2018-10-10
帖子: 375

Re: linux 5.7.7在r5 4500U上疑似无法suspend to ram

suspend to idle的话岂不是等于睡不睡没啥太大区别……
但是总不可能是cpu本身就不支持suspend to ram吧……这是说我是要等新bios,或者等内核更新的节奏吗……

行吧反正yes厂这尿性也不是一次两次了


ecmascript是世界上最好的语言

离线

#6 2020-07-11 20:37:33

依云
会员
所在地: a.k.a. 百合仙子
注册时间: 2011-08-21
帖子: 6,218
个人网站

Re: linux 5.7.7在r5 4500U上疑似无法suspend to ram

没有 deep 选项吗?那确实有点惨。

离线

#7 2020-07-11 20:38:42

yw662
大会员
所在地: localhost
注册时间: 2018-10-10
帖子: 375

Re: linux 5.7.7在r5 4500U上疑似无法suspend to ram

https://www.reddit.com/r/laptops/commen … n_opening/

看来windows也这样,那就是阿苏斯或者yes厂的锅了。


ecmascript是世界上最好的语言

离线

#8 2020-07-11 20:39:31

yw662
大会员
所在地: localhost
注册时间: 2018-10-10
帖子: 375

Re: linux 5.7.7在r5 4500U上疑似无法suspend to ram

是的没有deep选项,很惨,但是大概率睡死才是最惨的……


ecmascript是世界上最好的语言

离线

#9 2020-07-11 20:47:53

yw662
大会员
所在地: localhost
注册时间: 2018-10-10
帖子: 375

Re: linux 5.7.7在r5 4500U上疑似无法suspend to ram

emmm说个不怎么相关的事……我如果想要合盖关键盘灯之类的话,好像是必须acpid来着……?


ecmascript是世界上最好的语言

离线

页脚