使用 Intel 显卡的 Macbook 睡眠/休眠后 Debian 的屏幕亮度

使用 Intel 显卡的 Macbook 睡眠/休眠后 Debian 的屏幕亮度

我的 Macbook 上的屏幕亮度出现问​​题。

(重新)启动后,它工作正常,但关闭并重新打开盖子后,屏幕要么非常亮(使用亮度键调整时位于前 3 个亮度设置),要么全黑(前 3 个亮度设置下的任何内容)设置)。

我有一个英特尔显卡。

我知道这个帖子Linux Debian 的 MacBook Air 屏幕亮度一直居高不下,但是那里提出的解决方案似乎根本没有效果。在我的例子中,建议的内核选项应该发生的结果似乎是默认行为。 (似乎有一个内核更新影响了此问题。)

当我systemctl suspend立即运行并唤醒笔记本电脑时,问题行为并未出现。然而,有时,它会在黑屏上停留较长时间,因此它可能不仅仅执行挂起模式(休眠?),之后问题行为开始并且在我重新启动之前不会停止。

(编辑:更多信息)

我进入 /sys/class/backlight/intel_backlight 并尝试将值回显为“亮度”:

  • 使用 2228 或更高似乎可以提供完整的亮度。
  • 使用 2227 会产生奇怪的闪烁效果。
  • 使用 2226 也能产生闪烁效果,但暗得多。
  • 最后,2225 及更低的温度会带来完全的黑暗。

我有什么选择?

编辑:在 dmesg 中发现这些可疑消息:

编辑2:这些消息可能不相关,我现在的行为没有这些消息。我还安装了内核的向后移植版本(我认为是 4.1),但我启动回到 3.16,因为 wifi 在那里不起作用。

    ------------[ cut here ]------------
[ 1390.187272] WARNING: CPU: 0 PID: 2922 at /build/linux-lqALYs/linux-3.16.7-ckt25/drivers/gpu/drm/i915/intel_pm.c:5992 intel_display_power_put+0x127/0x150 [i915]()
[ 1390.187276] Modules linked in: xt_addrtype xt_conntrack ipt_MASQUERADE iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 iptable_filter ip_tables x_tables binfmt_misc nf_nat nf_conntrack bridge stp llc aufs(C) bnep pci_stub vboxpci(O) vboxnetadp(O) cpufreq_conservative vboxnetflt(O) cpufreq_powersave cpufreq_userspace cpufreq_stats vboxdrv(O) nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc ecb btusb snd_hda_codec_hdmi bluetooth 6lowpan_iphc hid_generic efi_pstore usb_storage hid_apple joydev usbhid hid bcm5974 iTCO_wdt iTCO_vendor_support x86_pkg_temp_thermal intel_powerclamp intel_rapl coretemp kvm_intel kvm crc32_pclmul evdev applesmc input_polldev aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd snd_hda_codec_cirrus snd_hda_codec_generic efivars pcspkr i915
[ 1390.187367]  i2c_i801 lpc_ich drm_kms_helper mfd_core snd_hda_intel drm snd_hda_controller snd_hda_codec i2c_algo_bit snd_hwdep i2c_core snd_pcm snd_timer mei_me apple_bl snd shpchp mei soundcore sbs sbshc battery video ac button processor thermal_sys wl(PO) cfg80211 rfkill fuse parport_pc ppdev lp parport autofs4 ext4 crc16 mbcache jbd2 sg sd_mod crc_t10dif crct10dif_generic crct10dif_pclmul crct10dif_common ahci libahci libata xhci_hcd crc32c_intel scsi_mod usbcore usb_common
[ 1390.187448] CPU: 0 PID: 2922 Comm: Xorg Tainted: P        WC O  3.16.0-4-amd64 #1 Debian 3.16.7-ckt25-2
[ 1390.187452] Hardware name: Apple Inc. MacBookAir6,2/Mac-7DF21CB3ED6977E5, BIOS MBA61.88Z.0099.B22.1602221559 02/22/2016
[ 1390.187456]  0000000000000000 ffffffff8150e835 0000000000000000 0000000000000009
[ 1390.187464]  ffffffff810677f7 ffff8802657e002c ffff8802657e0000 ffff8802657e0000
[ 1390.187471]  000000000000000b ffff8802657e8520 ffffffffa09c7067 ffff880264d44800
[ 1390.187478] Call Trace:
[ 1390.187493]  [<ffffffff8150e835>] ? dump_stack+0x5d/0x78
[ 1390.187502]  [<ffffffff810677f7>] ? warn_slowpath_common+0x77/0x90
[ 1390.187531]  [<ffffffffa09c7067>] ? intel_display_power_put+0x127/0x150 [i915]
[ 1390.187555]  [<ffffffffa0a29713>] ? intel_dp_detect+0xa3/0x310 [i915]
[ 1390.187568]  [<ffffffffa094a952>] ? drm_helper_probe_single_connector_modes_merge_bits+0x272/0x370 [drm_kms_helper]
[ 1390.187584]  [<ffffffffa098cd7d>] ? drm_mode_getconnector+0x3dd/0x450 [drm]
[ 1390.187590]  [<ffffffff8109fa40>] ? check_preempt_wakeup+0x120/0x1d0
[ 1390.187603]  [<ffffffffa097e8b7>] ? drm_ioctl+0x1c7/0x5b0 [drm]
[ 1390.187612]  [<ffffffff811bacdf>] ? do_vfs_ioctl+0x2cf/0x4b0
[ 1390.187618]  [<ffffffff814076de>] ? __sys_recvmsg+0x3e/0x80
[ 1390.187622]  [<ffffffff811baf41>] ? SyS_ioctl+0x81/0xa0
[ 1390.187628]  [<ffffffff81514a0d>] ? system_call_fast_compare_end+0x10/0x15
[ 1390.187631] ---[ end trace 93ce5c17abaf8e25 ]---
[ 1390.187647] ------------[ cut here ]------------
[ 1390.187664] WARNING: CPU: 0 PID: 2922 at /build/linux-lqALYs/linux-3.16.7-ckt25/drivers/gpu/drm/i915/intel_pm.c:5992 intel_display_power_put+0x127/0x150 [i915]()
[ 1390.187666] Modules linked in: xt_addrtype xt_conntrack ipt_MASQUERADE iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 iptable_filter ip_tables x_tables binfmt_misc nf_nat nf_conntrack bridge stp llc aufs(C) bnep pci_stub vboxpci(O) vboxnetadp(O) cpufreq_conservative vboxnetflt(O) cpufreq_powersave cpufreq_userspace cpufreq_stats vboxdrv(O) nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc ecb btusb snd_hda_codec_hdmi bluetooth 6lowpan_iphc hid_generic efi_pstore usb_storage hid_apple joydev usbhid hid bcm5974 iTCO_wdt iTCO_vendor_support x86_pkg_temp_thermal intel_powerclamp intel_rapl coretemp kvm_intel kvm crc32_pclmul evdev applesmc input_polldev aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd snd_hda_codec_cirrus snd_hda_codec_generic efivars pcspkr i915
[ 1390.187717]  i2c_i801 lpc_ich drm_kms_helper mfd_core snd_hda_intel drm snd_hda_controller snd_hda_codec i2c_algo_bit snd_hwdep i2c_core snd_pcm snd_timer mei_me apple_bl snd shpchp mei soundcore sbs sbshc battery video ac button processor thermal_sys wl(PO) cfg80211 rfkill fuse parport_pc ppdev lp parport autofs4 ext4 crc16 mbcache jbd2 sg sd_mod crc_t10dif crct10dif_generic crct10dif_pclmul crct10dif_common ahci libahci libata xhci_hcd crc32c_intel scsi_mod usbcore usb_common
[ 1390.187758] CPU: 0 PID: 2922 Comm: Xorg Tainted: P        WC O  3.16.0-4-amd64 #1 Debian 3.16.7-ckt25-2
[ 1390.187761] Hardware name: Apple Inc. MacBookAir6,2/Mac-7DF21CB3ED6977E5, BIOS MBA61.88Z.0099.B22.1602221559 02/22/2016
[ 1390.187762]  0000000000000000 ffffffff8150e835 0000000000000000 0000000000000009
[ 1390.187766]  ffffffff810677f7 ffff8802657e002c ffff8802655ffc00 ffff8802657e0000
[ 1390.187770]  000000000000000b ffff8802657e8520 ffffffffa09c7067 ffff8802655ffc00
[ 1390.187774] Call Trace:
[ 1390.187780]  [<ffffffff8150e835>] ? dump_stack+0x5d/0x78
[ 1390.187785]  [<ffffffff810677f7>] ? warn_slowpath_common+0x77/0x90
[ 1390.187803]  [<ffffffffa09c7067>] ? intel_display_power_put+0x127/0x150 [i915]
[ 1390.187825]  [<ffffffffa0a2575c>] ? intel_dp_get_modes+0x6c/0x100 [i915]
[ 1390.187837]  [<ffffffffa094a966>] ? drm_helper_probe_single_connector_modes_merge_bits+0x286/0x370 [drm_kms_helper]
[ 1390.187851]  [<ffffffffa098cd7d>] ? drm_mode_getconnector+0x3dd/0x450 [drm]
[ 1390.187856]  [<ffffffff8109fa40>] ? check_preempt_wakeup+0x120/0x1d0
[ 1390.187868]  [<ffffffffa097e8b7>] ? drm_ioctl+0x1c7/0x5b0 [drm]
[ 1390.187875]  [<ffffffff811bacdf>] ? do_vfs_ioctl+0x2cf/0x4b0
[ 1390.187880]  [<ffffffff814076de>] ? __sys_recvmsg+0x3e/0x80
[ 1390.187884]  [<ffffffff811baf41>] ? SyS_ioctl+0x81/0xa0
[ 1390.187889]  [<ffffffff81514a0d>] ? system_call_fast_compare_end+0x10/0x15
[ 1390.187892] ---[ end trace 93ce5c17abaf8e26 ]---
[ 1390.733474] ------------[ cut here ]------------
[ 1390.733537] WARNING: CPU: 0 PID: 2922 at /build/linux-lqALYs/linux-3.16.7-ckt25/drivers/gpu/drm/i915/intel_pm.c:5992 intel_display_power_put+0x127/0x150 [i915]()
[ 1390.733542] Modules linked in: xt_addrtype xt_conntrack ipt_MASQUERADE iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 iptable_filter ip_tables x_tables binfmt_misc nf_nat nf_conntrack bridge stp llc aufs(C) bnep pci_stub vboxpci(O) vboxnetadp(O) cpufreq_conservative vboxnetflt(O) cpufreq_powersave cpufreq_userspace cpufreq_stats vboxdrv(O) nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc ecb btusb snd_hda_codec_hdmi bluetooth 6lowpan_iphc hid_generic efi_pstore usb_storage hid_apple joydev usbhid hid bcm5974 iTCO_wdt iTCO_vendor_support x86_pkg_temp_thermal intel_powerclamp intel_rapl coretemp kvm_intel kvm crc32_pclmul evdev applesmc input_polldev aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd snd_hda_codec_cirrus snd_hda_codec_generic efivars pcspkr i915
[ 1390.733653]  i2c_i801 lpc_ich drm_kms_helper mfd_core snd_hda_intel drm snd_hda_controller snd_hda_codec i2c_algo_bit snd_hwdep i2c_core snd_pcm snd_timer mei_me apple_bl snd shpchp mei soundcore sbs sbshc battery video ac button processor thermal_sys wl(PO) cfg80211 rfkill fuse parport_pc ppdev lp parport autofs4 ext4 crc16 mbcache jbd2 sg sd_mod crc_t10dif crct10dif_generic crct10dif_pclmul crct10dif_common ahci libahci libata xhci_hcd crc32c_intel scsi_mod usbcore usb_common
[ 1390.733749] CPU: 0 PID: 2922 Comm: Xorg Tainted: P        WC O  3.16.0-4-amd64 #1 Debian 3.16.7-ckt25-2
[ 1390.733754] Hardware name: Apple Inc. MacBookAir6,2/Mac-7DF21CB3ED6977E5, BIOS MBA61.88Z.0099.B22.1602221559 02/22/2016
[ 1390.733759]  0000000000000000 ffffffff8150e835 0000000000000000 0000000000000009
[ 1390.733768]  ffffffff810677f7 ffff8802657e002c ffff8802657e0000 ffff8802657e0000
[ 1390.733776]  000000000000000b ffff8802657e8520 ffffffffa09c7067 ffff880264d44800
[ 1390.733785] Call Trace:
[ 1390.733802]  [<ffffffff8150e835>] ? dump_stack+0x5d/0x78
[ 1390.733813]  [<ffffffff810677f7>] ? warn_slowpath_common+0x77/0x90
[ 1390.733846]  [<ffffffffa09c7067>] ? intel_display_power_put+0x127/0x150 [i915]
[ 1390.733884]  [<ffffffffa0a29713>] ? intel_dp_detect+0xa3/0x310 [i915]
[ 1390.733904]  [<ffffffffa094a952>] ? drm_helper_probe_single_connector_modes_merge_bits+0x272/0x370 [drm_kms_helper]
[ 1390.733930]  [<ffffffffa098cd7d>] ? drm_mode_getconnector+0x3dd/0x450 [drm]
[ 1390.733940]  [<ffffffff811bb8e0>] ? poll_select_copy_remaining+0x140/0x140
[ 1390.733962]  [<ffffffffa097e8b7>] ? drm_ioctl+0x1c7/0x5b0 [drm]
[ 1390.733974]  [<ffffffff8108ae2d>] ? __hrtimer_start_range_ns+0x1cd/0x390
[ 1390.733982]  [<ffffffff811bacdf>] ? do_vfs_ioctl+0x2cf/0x4b0
[ 1390.733993]  [<ffffffff814076de>] ? __sys_recvmsg+0x3e/0x80
[ 1390.734000]  [<ffffffff811baf41>] ? SyS_ioctl+0x81/0xa0
[ 1390.734010]  [<ffffffff81514a0d>] ? system_call_fast_compare_end+0x10/0x15
[ 1390.734016] ---[ end trace 93ce5c17abaf8e27 ]---
[ 1390.734040] ------------[ cut here ]------------
[ 1390.734070] WARNING: CPU: 0 PID: 2922 at /build/linux-lqALYs/linux-3.16.7-ckt25/drivers/gpu/drm/i915/intel_pm.c:5992 intel_display_power_put+0x127/0x150 [i915]()
[ 1390.734073] Modules linked in: xt_addrtype xt_conntrack ipt_MASQUERADE iptable_nat nf_conntrack_ipv4 nf_defrag_ipv4 nf_nat_ipv4 iptable_filter ip_tables x_tables binfmt_misc nf_nat nf_conntrack bridge stp llc aufs(C) bnep pci_stub vboxpci(O) vboxnetadp(O) cpufreq_conservative vboxnetflt(O) cpufreq_powersave cpufreq_userspace cpufreq_stats vboxdrv(O) nfsd auth_rpcgss oid_registry nfs_acl nfs lockd fscache sunrpc ecb btusb snd_hda_codec_hdmi bluetooth 6lowpan_iphc hid_generic efi_pstore usb_storage hid_apple joydev usbhid hid bcm5974 iTCO_wdt iTCO_vendor_support x86_pkg_temp_thermal intel_powerclamp intel_rapl coretemp kvm_intel kvm crc32_pclmul evdev applesmc input_polldev aesni_intel aes_x86_64 lrw gf128mul glue_helper ablk_helper cryptd snd_hda_codec_cirrus snd_hda_codec_generic efivars pcspkr i915
[ 1390.734180]  i2c_i801 lpc_ich drm_kms_helper mfd_core snd_hda_intel drm snd_hda_controller snd_hda_codec i2c_algo_bit snd_hwdep i2c_core snd_pcm snd_timer mei_me apple_bl snd shpchp mei soundcore sbs sbshc battery video ac button processor thermal_sys wl(PO) cfg80211 rfkill fuse parport_pc ppdev lp parport autofs4 ext4 crc16 mbcache jbd2 sg sd_mod crc_t10dif crct10dif_generic crct10dif_pclmul crct10dif_common ahci libahci libata xhci_hcd crc32c_intel scsi_mod usbcore usb_common
[ 1390.734262] CPU: 0 PID: 2922 Comm: Xorg Tainted: P        WC O  3.16.0-4-amd64 #1 Debian 3.16.7-ckt25-2
[ 1390.734267] Hardware name: Apple Inc. MacBookAir6,2/Mac-7DF21CB3ED6977E5, BIOS MBA61.88Z.0099.B22.1602221559 02/22/2016
[ 1390.734270]  0000000000000000 ffffffff8150e835 0000000000000000 0000000000000009
[ 1390.734278]  ffffffff810677f7 ffff8802657e002c ffff8802655ffc00 ffff8802657e0000
[ 1390.734287]  000000000000000b ffff8802657e8520 ffffffffa09c7067 ffff8802655ffc00
[ 1390.734295] Call Trace:
[ 1390.734305]  [<ffffffff8150e835>] ? dump_stack+0x5d/0x78
[ 1390.734314]  [<ffffffff810677f7>] ? warn_slowpath_common+0x77/0x90
[ 1390.734344]  [<ffffffffa09c7067>] ? intel_display_power_put+0x127/0x150 [i915]
[ 1390.734381]  [<ffffffffa0a2575c>] ? intel_dp_get_modes+0x6c/0x100 [i915]
[ 1390.734399]  [<ffffffffa094a966>] ? drm_helper_probe_single_connector_modes_merge_bits+0x286/0x370 [drm_kms_helper]
[ 1390.734423]  [<ffffffffa098cd7d>] ? drm_mode_getconnector+0x3dd/0x450 [drm]
[ 1390.734432]  [<ffffffff811bb8e0>] ? poll_select_copy_remaining+0x140/0x140
[ 1390.734453]  [<ffffffffa097e8b7>] ? drm_ioctl+0x1c7/0x5b0 [drm]
[ 1390.734465]  [<ffffffff8108ae2d>] ? __hrtimer_start_range_ns+0x1cd/0x390
[ 1390.734473]  [<ffffffff811bacdf>] ? do_vfs_ioctl+0x2cf/0x4b0
[ 1390.734482]  [<ffffffff814076de>] ? __sys_recvmsg+0x3e/0x80
[ 1390.734489]  [<ffffffff811baf41>] ? SyS_ioctl+0x81/0xa0
[ 1390.734499]  [<ffffffff81514a0d>] ? system_call_fast_compare_end+0x10/0x15
[ 1390.734504] ---[ end trace 93ce5c17abaf8e28 ]---

每次我点击亮度按钮时都会出现这些消息,我会重新启动并查看它们是否会发生。

相关内容