我的 xset 设置不断被重置。这导致我的显示器永远不会休眠。即使当我尝试使用该命令强制显示器进入睡眠状态时,xset dpms force off
显示器也几乎立即重新打开。
我尝试拔掉鼠标以确保它不会导致鼠标事件触发显示。我也没有无线卡,所以我知道这不可能是此线程中讨论的 wifi 事件:
https://ubuntuforums.org/showthread.php?t=1317747
我没有安装 gnome-screensaver(它在上面的线程中被讨论为可能的罪魁祸首)。
我的命令的输出xset -q
如下。我使用的是 Ubuntu 18.04 LTS。
Keyboard Control:
auto repeat: on key click percent: 0 LED mask: 00000000
XKB indicators:
00: Caps Lock: off 01: Num Lock: off 02: Scroll Lock: off
03: Compose: off 04: Kana: off 05: Sleep: off
06: Suspend: off 07: Mute: off 08: Misc: off
09: Mail: off 10: Charging: off 11: Shift Lock: off
12: Group 2: off 13: Mouse Keys: off
auto repeat delay: 500 repeat rate: 33
auto repeating keys: 00ffffffdffffbbf
fadfffefffedffff
9fffffffffffffff
fff7ffffffffffff
bell percent: 50 bell pitch: 400 bell duration: 100
Pointer Control:
acceleration: 2/1 threshold: 4
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 0
Colors:
default colormap: 0x48 BlackPixel: 0x0 WhitePixel: 0xffffff
Font Path:
/usr/share/fonts/X11/misc,/usr/share/fonts/X11/Type1,built-ins
DPMS (Energy Star):
Standby: 0 Suspend: 0 Off: 0
DPMS is Enabled
Monitor is On
我知道这表明我的显示器永远不应进入待机、暂停或关闭状态。然而,这是因为这些值不断被设置回 0。
我想知道这是否与我的 nvidia 驱动程序有关?这是 nvidia-smi 的输出:
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 418.56 Driver Version: 418.56 CUDA Version: 10.1 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
|===============================+======================+======================|
| 0 Quadro P4000 Off | 00000000:01:00.0 On | N/A |
| 48% 46C P0 29W / 105W | 632MiB / 8117MiB | 0% Default |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: GPU Memory |
| GPU PID Type Process name Usage |
|=============================================================================|
| 0 1469 G /usr/lib/xorg/Xorg 77MiB |
| 0 1515 G /usr/bin/gnome-shell 6MiB |
| 0 21106 G /usr/lib/xorg/Xorg 269MiB |
| 0 21198 G /usr/bin/gnome-shell 225MiB |
| 0 21617 G ...quest-channel-token=7833489270476747312 49MiB |
+-----------------------------------------------------------------------------+
如果还有其他可能有帮助的信息,请告诉我。如果有人能帮我解决这个问题,我将不胜感激!