Estou com problemas com o brilho da tela no meu Macbook.
Após a inicialização, funciona bem, mas depois de fechar e reabrir a tampa, a tela fica realmente brilhante (nas 3 principais configurações de brilho ao ajustar usando as teclas de brilho), ou completamente preta (qualquer coisa abaixo as 3 principais configurações).
Eu tenho uma placa gráfica Intel.
Eu sei sobre esta postagem Linux O brilho da tela do Debian ficou no topo do macbook air , mas a solução proposta ali parece não ter efeito algum. O resultado que deveria acontecer a partir da opção de kernel proposta parece ser o comportamento padrão no meu caso. (Parece ter havido uma atualização do kernel afetando esse problema.)
Quando executo systemctl suspend
e acordo o laptop imediatamente, o comportamento do problema não é exibido. No entanto, às vezes, ele fica preso na tela escura por mais tempo, então provavelmente está fazendo algo mais do que apenas suspender o modo (hibernação?), E depois disso o problema começa e não pára até que eu reinicie.
(Editar: mais informações)
Eu entrei em / sys / class / backlight / intel_backlight e tentei passar os valores para "brilho":
Quais são minhas opções?
EDIT: Encontrou estas mensagens suspeitas no dmesg:
EDIT 2: Essas mensagens podem não estar relacionadas, agora eu tenho o comportamento sem essas mensagens. Eu também instalei uma versão backport do kernel (4.1 eu acho), mas eu inicializei de volta para o 3.16 já que o wifi não funcionava lá.
------------[ 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 ]---
Essas mensagens aparecem toda vez que eu clico nos botões de brilho, vou reiniciar e ver se elas acontecem.