您尚未登录。

#1 2021-03-26 09:30:01

bleedingfight
会员
注册时间: 2017-08-31
帖子: 14

manjaro kde休眠无法唤醒

系统:

Linux bleedingfight-alienware17r3 5.10.18-1-MANJARO #1 SMP PREEMPT Tue Feb 23 18:07:15 UTC 2021 x86_64 GNU/Linux

网上说是电源管理的问题也说是配置的问题;https://www.dazhuanlan.com/2019/12/18/5df9af8754512/
按照这里说我,我按装得电源管理tlp的这个工具,配置了,tlp的状态如下:

(base) ➜  ~ systemctl status laptop-mode.service
● laptop-mode.service - Laptop Mode Tools
     Loaded: loaded (/usr/lib/systemd/system/laptop-mode.service; disabled; vendor preset: disabled)
     Active: active (exited) since Fri 2021-03-26 09:01:24 CST; 22min ago
       Docs: man:laptop_mode(8)
             man:laptop-mode.conf(8)
             http://github.com/rickysarraf/laptop-mode-tools
    Process: 380 ExecStartPre=/bin/rm -f /var/run/laptop-mode-tools/enabled (code=exited, status=0/SUCCESS)
    Process: 390 ExecStartPre=/bin/rm -f /var/run/laptop-mode-tools/state (code=exited, status=0/SUCCESS)
    Process: 392 ExecStart=/usr/bin/laptop_mode init force (code=exited, status=0/SUCCESS)
   Main PID: 392 (code=exited, status=0/SUCCESS)

3月 26 09:01:19 bleedingfight-alienware17r3 systemd[1]: Starting Laptop Mode Tools...
3月 26 09:01:19 bleedingfight-alienware17r3 laptop-mode[469]: enabled, active
3月 26 09:01:19 bleedingfight-alienware17r3 laptop_mode[392]: enabled, active
3月 26 09:01:19 bleedingfight-alienware17r3 laptop_mode[649]: Cannot find device "eth0"
3月 26 09:01:24 bleedingfight-alienware17r3 systemd[1]: Finished Laptop Mode Tools.

配置文件设置了ac:

(base) ➜  ~ cat /etc/laptop-mode/laptop-mode.conf|grep ENABLE_LAPTOP
ENABLE_LAPTOP_MODE_TOOLS=1
ENABLE_LAPTOP_MODE_ON_BATTERY=1
ENABLE_LAPTOP_MODE_ON_AC=1
ENABLE_LAPTOP_MODE_WHEN_LID_CLOSED=0

设置了grub:

(base) ➜  ~ cat /sys/power/mem_sleep                                
s2idle [deep]

有说是nvidia驱动的bug,但是我在我的服务器上没有遇到这种问题,无论多久就可以正常唤醒,但是还是升级了一下驱动,依旧一样。驱动版本:

(base) ➜  ~ nvidia-smi
Fri Mar 26 09:27:11 2021       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.67       Driver Version: 460.67       CUDA Version: 11.2     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce GTX 980M    Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   38C    P0    28W /  N/A |      0MiB /  8126MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

最近编辑记录 bleedingfight (2021-03-26 09:30:47)

离线

页脚