我完全不知所措。在 Ubuntu 16.04 LTS 64bit 的新安装中,我的笔记本电脑屏幕开始每 15 秒变黑一次。如果我移动鼠标或单击,则显示返回(我不必登录)。因为这种情况每 15 秒发生一次,笔记本电脑基本上无法使用。它看起来像屏幕保护程序行为,但它可以是任何东西。
如果我输入sudo lshw -C video | grep product:我得到 -
product: Broadwell-U Integrated Graphics
product: GM108M [GeForce 940M]
Run Code Online (Sandbox Code Playgroud)
如果我输入sudo lshw -C video我得到 -
*-display
description: VGA compatible controller
product: Broadwell-U Integrated Graphics
vendor: Intel Corporation
physical id: 2
bus info: pci@0000:00:02.0
version: 09
width: 64 bits
clock: 33MHz
capabilities: msi pm vga_controller bus_master cap_list rom
configuration: driver=i915 latency=0
resources: irq:44 memory:f0000000-f0ffffff memory:e0000000-efffffff ioport:4000(size=64)
*-display UNCLAIMED
description: 3D controller
product: GM108M [GeForce 940M]
vendor: NVIDIA Corporation
physical id: 0
bus info: pci@0000:08:00.0
version: a2
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress cap_list
configuration: latency=0
resources: memory:f1000000-f1ffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:3000(size=128)
Run Code Online (Sandbox Code Playgroud)
如果我输入xset s off这似乎没有效果。
如果我输入gnome screensaver我得到 -
** (gnome-screensaver:5014): WARNING **: screensaver already running in this session
Run Code Online (Sandbox Code Playgroud)
如果我输入xscreensaver我得到 -
The program 'xscreensaver' is currently not installed. You can install it by typing: sudo apt install xscreensaver
Run Code Online (Sandbox Code Playgroud)
如果我输入xset -q我得到 -
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: 5/1 threshold: 5
Screen Saver:
prefer blanking: yes allow exposures: yes
timeout: 0 cycle: 0
Colors:
default colormap: 0x22 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
Run Code Online (Sandbox Code Playgroud)
如果我转到“设置”>“系统设置...”并对 进行更改Brightness and Lock,则无需停留,Power否则Screen Display这对问题没有影响。我不知道该怎么办。任何帮助,将不胜感激。
use*_*707 58
我已经解决了这个问题。我不知道为什么会触发这个问题。我不知道问题实际上是什么。我不知道我的解决方案为什么或如何工作。
我猜测问题是由于显示电源管理信号或 DPMS 引起的。我猜想 DPMS 是由我安装的某些东西打开的,并且它以 15 秒的默认设置运行。我猜想 DPMS 在零活动 15 秒(默认值)后通过 X 服务器关闭显示,以便“管理电源”。我打开一个控制台并输入
xset -dpms
Run Code Online (Sandbox Code Playgroud)
这将永久关闭 DPMS,而不仅仅是针对会话。问题很快就迎刃而解了。