Bug 2153647

Summary: Keyboard/Gnome Brightness Controls Non-Functioning on Lenovo Legion 5 (2020) Laptop
Product: [Fedora] Fedora Reporter: 02coopbloop
Component: waylandAssignee: Adam Jackson <ajax>
Status: NEW --- QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 37CC: ajax, mijninternet2016, ofourdan
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: ---
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description 02coopbloop 2022-12-15 02:49:15 UTC
Description of problem:
Multiple users of the Lenovo Legion 5 (2020) laptop (15arh05h) have noticed brightness controls being completely broken for the built-in display. The laptop supports hybrid and discrete graphics mode, and in either case, moving the brightness slider with designated keys or in software to not cause the built-in display to dim/brighten.

Attempted Fixes:
Adding "acpi_osi=linux acpi_backlight=vendor" to the GRUB kernel parameters
- Brightness control doesn't change with or without these.

Version-Release number of selected component (if applicable):
Fedora 37 (Workstation)
GNOME 43.2
Wayland windowing system

How reproducible:
Works 100% of the time for mine and another Legion 5 user's machines.

Steps to Reproduce:
1. Run/install Fedora 37 on a Lenovo Legion 5 (2020) laptop
2. Install proprietary NVIDIA drivers and reboot
3. Attempt to use gnome software brightness controls or brightness keys

Actual results:
Display backlight is locked to maximum brightness.

Expected results:
Built-in display should change illumination level in accordance with the brightness slider when it is moved.

Additional info:

Comment 1 DeMus 2023-07-08 19:35:11 UTC
I can confirm this. I also own a Lenovo Legion5 Pro laptop and brightness control doesn't work for me as well.I use the KDE spin, btw. 
I tried both in X11 and in Wayland, this doesn't make a difference: the notification slider in the center of the screen moves from 0 to 100% when using the mouse-wheel over the battery symbol in the panel, or by using the function keys on the built in keyboard, but brightness does not change.
I have just tried KDE Neon in a live version on a USB drive and there it works, also when using openSUSE I have no problems with that.
It is just in Fedora that things work differently.

Version-Release number of selected component (if applicable):
Fedora 38 (KDE spin)
KDE Plasma 5.27.6
Kernel 6.3.11-200.fc38.x86_64
Wayland and X11 windowing system

How reproducible:
Works 100% of the time for my Legion 5 user's machines.

Steps to Reproduce:
1. Run/install Fedora 38 on a Lenovo Legion 5 (2023) laptop
2. Install proprietary NVIDIA drivers and reboot
2a Using the AMD GPU gives the same result
3. Attempt to use KDE software brightness controls or brightness keys

Actual results:
Display backlight is locked to maximum brightness.

Expected results:
Built-in display should change illumination level in accordance with the brightness slider when it is moved.