https://bugzilla.kernel.org/show_bug.cgi?id=203525
Bug ID: 203525 Summary: brightness with function buttons Acer Aspire A315-41 notebook with AMD Ryzen 5 2500U Product: Drivers Version: 2.5 Kernel Version: 4.19.37 5.0.11 5.1 Hardware: x86-64 OS: Linux Tree: Mainline Status: NEW Severity: normal Priority: P1 Component: Video(DRI - non Intel) Assignee: drivers_video-dri@kernel-bugs.osdl.org Reporter: erikjohansson@flashbox.5july.org Regression: No
I got an Acer Aspire A315-41 notebook with AMD Ryzen 5 2500U and i have had problems with brightness not working out of the box (OTB) if i used function buttons. The thing is that i found that it started to work with linux-4.19.37 (fixed) but it didn't work with linux-4.19.35 (broken).
It works from 4.19.37 but it doesn't work in later kernel series such as linux-5.0.11 or linux-5.1 and i think the fix should also be in newer kernels. I started to bisect but linux-4.19.36 doesn't boot with my hardware and after many bisect skip and compiling i gave up. Do anyone know what commit that could have fixed it? Or why 4.19.36 won't boot on my hardware (if there was some known regression) so i can perform an bisect.
https://bugzilla.kernel.org/show_bug.cgi?id=203525
Alex Deucher (alexdeucher@gmail.com) changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |alexdeucher@gmail.com
--- Comment #1 from Alex Deucher (alexdeucher@gmail.com) --- Can you attach your dmesg outputs for both the working kernels and non-working kernels?
https://bugzilla.kernel.org/show_bug.cgi?id=203525
--- Comment #2 from Erik (erikjohansson@flashbox.5july.org) --- Created attachment 282647 --> https://bugzilla.kernel.org/attachment.cgi?id=282647&action=edit dmesg fixed 4.19.39
https://bugzilla.kernel.org/show_bug.cgi?id=203525
--- Comment #3 from Erik (erikjohansson@flashbox.5july.org) --- Created attachment 282649 --> https://bugzilla.kernel.org/attachment.cgi?id=282649&action=edit dmesg broken 4.19.35
https://bugzilla.kernel.org/show_bug.cgi?id=203525
--- Comment #4 from Erik (erikjohansson@flashbox.5july.org) --- Created attachment 282653 --> https://bugzilla.kernel.org/attachment.cgi?id=282653&action=edit dmesg fixed 4.19.37
https://bugzilla.kernel.org/show_bug.cgi?id=203525
--- Comment #5 from Erik (erikjohansson@flashbox.5july.org) --- By adding commit b59dfdaef173677b0b7e10f375226c0a1114fd20 i was able to boot 4.19.36. I tried 4.19.36 but it was broken. 4.19.36 broken and 4.19.37 fixed. I then ran a bisect but i wasn't able to to find the commit that fixed it. I don't know why the bisect went thru all steps without finding the fix.
https://bugzilla.kernel.org/show_bug.cgi?id=203525
--- Comment #6 from Erik (erikjohansson@flashbox.5july.org) --- The bisect was working i only didn't trust it. What causes the change in behavior wasn't caused by resent fixes, well it was but it wasn't. What makes it work is bumping SUBLEVEL above 36. I tried bumping SUBLEVEL of 5.1 and 5.1.36 was broken while 5.1.37 was working.
https://bugzilla.kernel.org/show_bug.cgi?id=203525
--- Comment #7 from Erik (erikjohansson@flashbox.5july.org) --- Is there anything more i can do to find out what's going on?
https://bugzilla.kernel.org/show_bug.cgi?id=203525
Erik (erikjohansson@flashbox.5july.org) changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |INVALID
--- Comment #8 from Erik (erikjohansson@flashbox.5july.org) --- Since "echo 100 > /sys/class/backlight/amdgpu_bl0/brightness" works it's not a kernel problem but rather userspace.
dri-devel@lists.freedesktop.org