Bug 1878433 - Maximum screen brightness only since kernel 5.8
Summary: Maximum screen brightness only since kernel 5.8
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: kernel
Version: 32
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
Assignee: Kernel Maintainer List
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-09-12 21:17 UTC by nodded_antiquarianize
Modified: 2021-05-25 17:48 UTC (History)
22 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-05-25 17:48:29 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description nodded_antiquarianize 2020-09-12 21:17:34 UTC
User-Agent:       Mozilla/5.0 (X11; Fedora; Linux x86_64; rv:80.0) Gecko/20100101 Firefox/80.0
Build Identifier: 

When booting any 5.8 kernel so far, screen brightness is always at the absolute maximum, and no method of controlling the brightness has any effect.  
All still works properly when booting to last kernel prior to 5.8, 5.7.17.

Reproducible: Always

Steps to Reproduce:
1. Boot system using one of the 5.8 kernels
Actual Results:  
during boot screen brightness goes to maximum, and no method of controlling brightness has any effect.

Expected Results:  
screen brightness remains at previously set level, and can be successfully adjusted with various methods, whether in the GUI or CLI.

System is a late 2012 iMac.  Graphics controller info from lspci:  
VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 640M Mac Edition] (rev a1) (prog-if 00 [VGA controller])
Using nouveau driver, but also tried proprietary NVIDIA driver and the problem remained.

Comment 1 nodded_antiquarianize 2020-10-24 16:31:47 UTC
I've learned that if I suspend system, then bring it out of suspend, brightness control works as expected until the next reboot.

Comment 2 Pete Goodall 2021-01-19 20:35:39 UTC
I'm not sure if I should comment on this bug, or file a new one. I'm using Intel Iris Graphics G7, and could not control the brightness. The brightness was always set to the maximum. I could use the function keys on my laptop (identified below), but - while the OSD came up to show it was supposed to be turning the brightness up or down - nothing happened.

I fixed the situation by adding "i915.enable_dpcd_backlight=1" to the end of GRUB_COMMANDLINE_LINUX in /etc/default/grub. This line is (I'm assuming) specific to Intel graphics, so I don't think it would help the OP. However, if this is the fix for any graphics card, perhaps this should be added to the logic when constructing that line during install.

Comment 3 Pete Goodall 2021-01-19 20:42:35 UTC
Sorry! Forgot to add my system details.

HP Spector x360 13-aw0xxx

$ lspci | grep VGA
00:02.0 VGA compatible controller: Intel Corporation Iris Plus Graphics G7 (rev 07)

$ uname -a
Linux rhesus 5.10.7-200.fc33.x86_64 #1 SMP Tue Jan 12 20:20:11 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

$ cat /etc/fedora-release 
Fedora release 33 (Thirty Three)

System is up to date.

Comment 4 le.poittevin.laurent 2021-02-02 13:08:56 UTC
Same problem for me.
I'm on a fresh installation of fedora 33 on a 27" late2013 Imac.
The problem is the same, it is impossible for me to adjust the screen brightness using the slider in the Gnome menu, nor in the energy settings. Screen brightness is always at the absolute maximum.
Setting the automatic brightness to 1 doesn't change anything.

After adjust the brightness directly on /sys/class/backlight/acpi_video0 with the command :
echo 7 > /sys/class/backlight/acpi_video0/brightness
Nothing changes, even with other values.

In the /sys/class/backlight folder, I only have acpi_video0.

However, I have tried to change the settings at Grub startup :
acpi_backlight=vendor, acpi_backlight=video,acpi_backlight=none, and acpi_backlight=native, but without success, the slider in the gnome menu disappears for (vendor, native and none).

The problem is the same with nvidia or nouveau.

[laurent@localhost ~]$ uname -a
Linux localhost.localdomain 5.10.11-200.fc33.x86_64 #1 SMP Wed Jan 27 20:21:22 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux


I have the same problem with an install Ubuntu 20.04.2 with the kernel 5.8.0-41-generic (HWE). When I come back to kernel 5.4.0-65-generic, I can change the brightness again.

[laurent@localhost ~]$ lspci
00:00.0 Host bridge: Intel Corporation 4th Gen Core Processor DRAM Controller (rev 06)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v3/4th Gen Core Processor PCI Express x16 Controller (rev 06)
00:14.0 USB controller: Intel Corporation 8 Series/C220 Series Chipset Family USB xHCI (rev 05)
00:16.0 Communication controller: Intel Corporation 8 Series/C220 Series Chipset Family MEI Controller #1 (rev 04)
00:1b.0 Audio device: Intel Corporation 8 Series/C220 Series Chipset High Definition Audio Controller (rev 05)
00:1c.0 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #1 (rev d5)
00:1c.2 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #3 (rev d5)
00:1c.3 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #4 (rev d5)
00:1c.4 PCI bridge: Intel Corporation 8 Series/C220 Series Chipset Family PCI Express Root Port #5 (rev d5)
00:1f.0 ISA bridge: Intel Corporation Z87 Express LPC Controller (rev 05)
00:1f.2 SATA controller: Intel Corporation 8 Series/C220 Series Chipset Family 6-port SATA Controller 1 [AHCI mode] (rev 05)
00:1f.3 SMBus: Intel Corporation 8 Series/C220 Series Chipset Family SMBus Controller (rev 05)
01:00.0 VGA compatible controller: NVIDIA Corporation GK107M [GeForce GT 755M Mac Edition] (rev a1)
01:00.1 Audio device: NVIDIA Corporation GK107 HDMI Audio Controller (rev a1)
03:00.0 Network controller: Broadcom Inc. and subsidiaries BCM4360 802.11ac Wireless Network Adapter (rev 03)
04:00.0 Ethernet controller: Broadcom Inc. and subsidiaries NetXtreme BCM57766 Gigabit Ethernet PCIe (rev 01)
04:00.1 SD Host controller: Broadcom Inc. and subsidiaries BCM57765/57785 SDXC/MMC Card Reader (rev 01)
05:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
06:00.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
06:03.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
06:04.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
06:05.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
06:06.0 PCI bridge: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)
07:00.0 System peripheral: Intel Corporation DSL3510 Thunderbolt Controller [Cactus Ridge 4C 2012] (rev 03)

[laurent@localhost ~]$ lsmod
Module                  Size  Used by
rfcomm                 90112  4
nft_objref             16384  1
nf_conntrack_netbios_ns    16384  1
nf_conntrack_broadcast    16384  1 nf_conntrack_netbios_ns
nft_fib_inet           16384  1
nft_fib_ipv4           16384  1 nft_fib_inet
nft_fib_ipv6           16384  1 nft_fib_inet
nft_fib                16384  3 nft_fib_ipv6,nft_fib_ipv4,nft_fib_inet
nft_reject_inet        16384  4
nf_reject_ipv4         16384  1 nft_reject_inet
nf_reject_ipv6         20480  1 nft_reject_inet
nft_reject             16384  1 nft_reject_inet
nft_ct                 20480  15
nft_chain_nat          16384  4
ip6table_nat           16384  0
ip6table_mangle        16384  0
ip6table_raw           16384  0
ip6table_security      16384  0
iptable_nat            16384  0
nf_nat                 49152  3 ip6table_nat,nft_chain_nat,iptable_nat
nf_conntrack          163840  4 nf_nat,nft_ct,nf_conntrack_netbios_ns,nf_conntrack_broadcast
nf_defrag_ipv6         24576  1 nf_conntrack
nf_defrag_ipv4         16384  1 nf_conntrack
iptable_mangle         16384  0
iptable_raw            16384  0
iptable_security       16384  0
ip_set                 57344  0
nf_tables             241664  214 nft_ct,nft_reject_inet,nft_fib_ipv6,nft_objref,nft_fib_ipv4,nft_chain_nat,nft_reject,nft_fib,nft_fib_inet
nfnetlink              16384  3 nf_tables,ip_set
ip6table_filter        16384  0
ip6_tables             32768  5 ip6table_filter,ip6table_raw,ip6table_nat,ip6table_mangle,ip6table_security
iptable_filter         16384  0
cmac                   16384  3
bnep                   28672  2
sunrpc                655360  1
nvidia_drm             65536  3
nvidia_modeset       1232896  5 nvidia_drm
nls_utf8               16384  1
hfsplus               122880  1
snd_hda_codec_cirrus    24576  1
snd_hda_codec_generic    98304  1 snd_hda_codec_cirrus
uvcvideo              114688  0
ledtrig_audio          16384  1 snd_hda_codec_generic
videobuf2_vmalloc      20480  1 uvcvideo
btusb                  65536  0
btrtl                  24576  1 btusb
snd_hda_codec_hdmi     73728  1
btbcm                  20480  1 btusb
btintel                32768  1 btusb
intel_rapl_msr         20480  0
intel_rapl_common      28672  1 intel_rapl_msr
bluetooth             692224  33 btrtl,btintel,btbcm,bnep,btusb,rfcomm
snd_hda_intel          57344  6
snd_intel_dspcfg       24576  1 snd_hda_intel
soundwire_intel        45056  1 snd_intel_dspcfg
videobuf2_memops       20480  1 videobuf2_vmalloc
videobuf2_v4l2         36864  1 uvcvideo
videobuf2_common       65536  2 videobuf2_v4l2,uvcvideo
iTCO_wdt               16384  0
soundwire_generic_allocation    16384  1 soundwire_intel
x86_pkg_temp_thermal    20480  0
intel_powerclamp       20480  0
videodev              294912  3 videobuf2_v4l2,uvcvideo,videobuf2_common
mc                     61440  4 videodev,videobuf2_v4l2,uvcvideo,videobuf2_common
snd_soc_core          323584  1 soundwire_intel
intel_pmc_bxt          16384  1 iTCO_wdt
coretemp               20480  0
iTCO_vendor_support    16384  1 iTCO_wdt
mei_hdcp               24576  0
ecdh_generic           16384  2 bluetooth
at24                   24576  0
snd_compress           32768  1 snd_soc_core
kvm_intel             327680  0
ecc                    36864  1 ecdh_generic
snd_pcm_dmaengine      16384  1 snd_soc_core
soundwire_cadence      36864  1 soundwire_intel
snd_hda_codec         172032  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_cirrus
kvm                   909312  1 kvm_intel
apple_mfi_fastcharge    20480  0
snd_hda_core          110592  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_cirrus
ac97_bus               16384  1 snd_soc_core
wl                   6471680  0
irqbypass              16384  1 kvm
joydev                 28672  0
nvidia              34136064  184 nvidia_modeset
rapl                   20480  0
snd_hwdep              16384  1 snd_hda_codec
snd_seq                86016  0
applesmc               24576  0
snd_seq_device         16384  1 snd_seq
snd_pcm               131072  8 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_compress,snd_soc_core,snd_hda_core,snd_pcm_dmaengine
snd_timer              49152  2 snd_seq,snd_pcm
intel_cstate           20480  0
cfg80211              954368  1 wl
intel_uncore          176128  0
snd                   110592  23 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_timer,snd_compress,snd_soc_core,snd_pcm
usblp                  28672  0
drm_kms_helper        274432  1 nvidia_drm
soundcore              16384  1 snd
rfkill                 28672  6 bluetooth,cfg80211
thunderbolt           290816  0
i2c_i801               32768  0
mei_me                 45056  1
mei                   139264  3 mei_hdcp,mei_me
acpi_als               20480  0
apple_bl               20480  0
kfifo_buf              16384  1 acpi_als
i2c_smbus              20480  1 i2c_i801
lpc_ich                28672  0
industrialio           94208  2 acpi_als,kfifo_buf
pcspkr                 16384  0
cec                    61440  1 drm_kms_helper
drm                   618496  6 drm_kms_helper,nvidia_drm
zram                   28672  1
ip_tables              28672  5 iptable_filter,iptable_security,iptable_raw,iptable_nat,iptable_mangle
crct10dif_pclmul       16384  1
crc32_pclmul           16384  0
crc32c_intel           24576  5
sdhci_pci              65536  0
ghash_clmulni_intel    16384  0
cqhci                  32768  1 sdhci_pci
tg3                   188416  0
sdhci                  77824  1 sdhci_pci
mmc_core              188416  3 sdhci,cqhci,sdhci_pci
uas                    32768  3
usb_storage            81920  2 uas
video                  53248  0
fuse                  163840  3

[laurent@localhost ~]$ inxi -Fxz
12System:    12Kernel 5.10.11-200.fc33.x86_64 x86_64 12bits 64 12compiler gcc 12v 2.35-18.fc33) 
           12Desktop GNOME 3.38.3 12Distro Fedora release 33 (Thirty Three) 
12Machine:   12Type Desktop 12System Apple 12product iMac14,2 12v 1.0 12serial <filter> 
           12Mobo Apple 12model Mac-27ADBB7B4CEE8E61 12v iMac14,2 12serial <filter> 12UEFI Apple 
           12v 143.0.0.0.0 12date 04/12/2020 
12CPU:       12Info Quad Core 12model Intel Core i5-4570 12bits 64 12type MCP 12arch Haswell 12rev 3 
           12L2 cache 6144 KiB 
           12flags avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx 12bogomips 25542 
           12Speed 1023 MHz 12min/max 800/3600 MHz 12Core speeds (MHz) 121 1193 122 1196 123 857 124 1720 
12Graphics:  12Device-1 NVIDIA GK107M [GeForce GT 755M Mac Edition] 12vendor Apple 12driver nvidia 
           12v 460.39 12bus ID 01:00.0 
           12Device-2 Apple FaceTime HD Camera (Built-in) 12type USB 12driver uvcvideo 12bus ID 1-7:4 
           12Display x11 12server Fedora Project X.org 1.20.10 12driver nvidia 
           12unloaded fbdev,modesetting,nouveau,vesa 12resolution 2560x1440~60Hz 
           12OpenGL 12renderer GeForce GT 755M/PCIe/SSE2 12v 4.6.0 NVIDIA 460.39 12direct render Yes 

[laurent@localhost ~]$ cat /etc/X11/xorg.conf
cat: /etc/X11/xorg.conf: Aucun fichier ou dossier de ce type

Comment 5 le.poittevin.laurent 2021-02-02 19:41:21 UTC
same things after upgrade to  5.10.12-200.fc33.x86_64 (testing).

But i confirm that I can adjust the brightness again after a sleep mode.

Comment 6 Fedora Program Management 2021-04-29 17:06:17 UTC
This message is a reminder that Fedora 32 is nearing its end of life.
Fedora will stop maintaining and issuing updates for Fedora 32 on 2021-05-25.
It is Fedora's policy to close all bug reports from releases that are no longer
maintained. At that time this bug will be closed as EOL if it remains open with a
Fedora 'version' of '32'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 32 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 7 Ben Cotton 2021-05-25 17:48:29 UTC
Fedora 32 changed to end-of-life (EOL) status on 2021-05-25. Fedora 32 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.