Skip to contentSkip to conversation

New: amdgpu: [REG 4.20 -> 5.0] Brightness minimum level is too high

Bug 203439 [email protected] 1 participant 7 messages Apr 26, 2019 – Nov 24, 2021

lore
Share & tools
lore
#0 lore raw

https://bugzilla.kernel.org/show_bug.cgi?id=203439

            Bug ID: 203439
           Summary: amdgpu: [REG 4.20 -> 5.0] Brightness minimum level is
                    too high
           Product: Drivers
           Version: 2.5
    Kernel Version: 5.0
          Hardware: All
                OS: Linux
              Tree: Mainline
            Status: NEW
          Severity: normal
          Priority: P1
         Component: Video(DRI - non Intel)
          Assignee: [email protected]
          Reporter: [email protected]
        Regression: No

I have Huawei Matebook D 14 with AMD Ryzen 2500U.

Since kernel 5.0.x the minimum brightness level is too high. It is not possible to dim the display as much as on previous kernel version. Kernel 4.20 also allows to disable the backlight on level 0.

Value of "0" in "/sys/class/backlight/amdgpu_bl0/brightness" currently doesn't disable backlight as in previous version. Value of "1" means the screen is dim, but not as much as in kernel 4.20. Sometimes the screen is still too bright even on level 0 in kernel 5.0.

Since commit 206bbafe00dcacccf40e6f09e624329ec124201b I can see the define:

Quoted 1 line

#define AMDGPU_DM_DEFAULT_MIN_BACKLIGHT 12

Maybe it should be defined to "0" to restore the old behavior? (I haven't tested yet)

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#1 lore raw

[Bug 203439] amdgpu: [REG 4.20 -> 5.0] Brightness minimum level is too high

https://bugzilla.kernel.org/show_bug.cgi?id=203439

--- Comment #1 from Błażej Szczygieł ([email protected]) --- *** Bug 203427 has been marked as a duplicate of this bug. ***

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#2 lore raw

[Bug 203439] amdgpu: [REG 4.20 -> 5.0] Brightness minimum level is too high

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=203439

Nicholas Kazlauskas ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #2 from Nicholas Kazlauskas ([email protected]) --- At some point we started reading the ACPI backlight caps to respect the actual backlight range for the panel. We map the backlight level specified by the user from 0-255 to that range.

In the case where the caps aren't valid we use a default minimum brightness that's non-zero since some panels will flash when the backlight level goes to zero.

While I don't know offhand the reasoning for 12 specifically I also don't think we'll be dropping it back down to zero.

Wouldn't DPMS off give you what you want in this case?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#3 lore raw

[Bug 203439] amdgpu: [REG 4.20 -> 5.0] Brightness minimum level is too high

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=203439

--- Comment #3 from Błażej Szczygieł ([email protected]) --- Thank you for the reply!

In bright room you can quickly disable the backlight (set it to 0) using the Fn+F1 keys. You can save power and the display content doesn't disturb you, but you can still notice that computer is working (the screen content can be still visible). It is more convenient than DPMS, especially if you have duplicated screen with HDMI and you don't want to reconfigure anything, just you want to quickly disable the backlight.

Moreover, the current minimum backlight level is too bright for very dark room. Sometimes I need to set to value of "2" or even "1" in kernel 4.20. Since kernel 5.0 it is not possible and I'm not feeling convenient with too bright display.

On Huawei Matebook D 14 the display doesn't flicker at all even on brightness level 1 on kernel 4.20 (no PWM). Maybe it is a good idea to blacklist or whitelist some devices? Or maybe it is a good idea to add an additional kernel parameter to restore the old behavior and unlock all possible backlight levels for more advanced users?

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#4 lore raw

[Bug 203439] amdgpu: [REG 4.20 -> 5.0] Brightness minimum level is too high

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=203439

[email protected] changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #4 from [email protected] ---
I also need this fix.

As Błażej Szczygieł says, the minimum backlight level is too bright at night for me. That's why I'm staying at 4.19 instead of 5.x.

I hope anyone considers better strategy like based on such device list.

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#5 lore raw

[Bug 203439] amdgpu: [REG 4.20 -> 5.0] Brightness minimum level is too high

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=203439

--- Comment #5 from [email protected] ---
I forgot to mention about my device. I'm using HP Envy 13 x360(ag0000).

Signature · 6 lines
You are receiving this mail because:
You are watching the assignee of the bug.
_______________________________________________
dri-devel mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/dri-devel
#6 lore raw

[Bug 203439] amdgpu: [REG 4.20 -> 5.0] Brightness minimum level is too high

In reply to [email protected]

https://bugzilla.kernel.org/show_bug.cgi?id=203439

Anish Sapkota ([email protected]) changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |[email protected]

--- Comment #6 from Anish Sapkota ([email protected]) --- I am still facing this problem in Acer Aspire 5.
Are there any updates to it?

Signature · 4 lines
You may reply to this email to add a comment.

You are receiving this mail because:
You are watching the assignee of the bug.