ubuntu 16.04 LTS 64bit – 屏幕每15秒变黑一次

我完全不知所措。 在新安装的Ubuntu 16.04 LTS 64bit上,我的笔记本电脑屏幕每15秒开始变黑。 如果我移动鼠标或单击然后显示返回(我不必登录)。 因为这种情况每15秒发生一次,笔记本电脑基本上无法使用 它看起来像屏幕保护程序行为,但它可能是任何东西。

如果我输入sudo lshw -C video | grep product: sudo lshw -C video | grep product:我得到 –

 product: Broadwell-U Integrated Graphics product: GM108M [GeForce 940M] 

如果我输入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) 

如果我输入xset s off这似乎没有效果。

如果我输入gnome screensaver我得到 –

 ** (gnome-screensaver:5014): WARNING **: screensaver already running in this session 

如果我输入xscreensaver我得到 –

 The program 'xscreensaver' is currently not installed. You can install it by typing: sudo apt install xscreensaver 

如果我输入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 

如果我转到设置>系统设置…并更改Brightness and LockPowerScreen Display ,则无需停留,这对问题没有影响。 我不知道该怎么办。 任何帮助,将不胜感激。

我已经解决了这个问题。 我不知道为什么问题被触发了。 我不知道实际上是什么问题。 我不知道我的解决方案为何或如何运作。

我猜测问题是由于显示器电源管理信令或DPMS引起的。 我猜测DPMS已被我安装的东西打开,并且它的默认设置为15秒。 我猜测DPMS在15秒(默认值)为零活动后通过X服务器关闭显示器以“管理电源”。 我打开一个控制台并打字

 xset -dpms 

这将永久关闭DPMS,而不仅仅是会话。 问题很快就消失了。