我在一台装有英特尔显卡的富士通 Esprimo 电脑上安装了 Ubuntu 12.04。这台电脑通过 DVI 连接到电视 HDMI(DVI-HDMI 电缆)。电视每天从晚上 7 点到第二天早上 7 点以及周末从周五早上 7 点到周一早上 7 点关闭。
周一电视打开时,屏幕经常是黑屏或空白的。我们一直在尝试解析日志、调试内核,但找不到任何相关内容。
这是我从显卡模块得到的
root@empfang:/# modinfo -p i915
invert_brightness:Invert backlight brightness (-1 force normal, 0 machine defaults, 1 force inversion), please report PCI device ID, subsystem vendor and subsystem device ID to [email protected], if your machine needs it. It will then be included in an upcoming module version. (int)
modeset:Use kernel modesetting [KMS] (0=DRM_I915_KMS from .config, 1=on, -1=force vga console preference [default]) (int)
fbpercrtc: (int)
panel_ignore_lid:Override lid status (0=autodetect [default], 1=lid open, -1=lid closed) (int)
powersave:Enable powersavings, fbc, downclocking, etc. (default: true) (int)
semaphores:Use semaphores for inter-ring sync (default: -1 (use per-chip defaults)) (int)
i915_enable_rc6:Enable power-saving render C-state 6 (default: -1 (use per-chip default) (int)
i915_enable_fbc:Enable frame buffer compression for power savings (default: -1 (use per-chip default)) (int)
lvds_downclock:Use panel (LVDS/eDP) downclocking for power savings (default: false) (int)
lvds_use_ssc:Use Spread Spectrum Clock with panels [LVDS/eDP] (default: auto from VBT) (int)
vbt_sdvo_panel_type:Override selection of SDVO panel mode in the VBT (default: auto) (int)
reset:Attempt GPU resets (default: true) (bool)
enable_hangcheck:Periodically check GPU activity for detecting hangs. WARNING: Disabling this can cause system wide hangs. (default: true) (bool)
disable_pch_pwm:disable PCH_PWM (default: -1 (auto)) (int)
root@empfang:/etc/default# grep -H '' /sys/module/i915/parameters/*
/sys/module/i915/parameters/disable_pch_pwm:-1
/sys/module/i915/parameters/enable_hangcheck:Y
/sys/module/i915/parameters/fbpercrtc:0
/sys/module/i915/parameters/i915_enable_fbc:-1
/sys/module/i915/parameters/i915_enable_rc6:-1
/sys/module/i915/parameters/invert_brightness:0
/sys/module/i915/parameters/lvds_downclock:0
/sys/module/i915/parameters/lvds_use_ssc:-1
/sys/module/i915/parameters/modeset:-1
/sys/module/i915/parameters/panel_ignore_lid:0
/sys/module/i915/parameters/powersave:0
/sys/module/i915/parameters/reset:Y
/sys/module/i915/parameters/semaphores:-1
我们还已关闭 gnome 屏幕保护程序并在其配置中添加了一行 (gnome-screensaver)
另外,在 Xorg Monitor Configuration 上,我尝试强制不设置待机或关机时间。我不是 Linux 专家,我不知道应该在哪里进行更多研究。
10-monitor-conf
Section "ServerLayout"
Identifier "ServerLayout0"
Option "StandbyTime" "0"
Option "SuspendTime" "0"
Option "OffTime" "0"
Option "BlankTime" "0"
EndSection
提前致谢