tomsom / yoga-linux

Run Linux on the Lenovo Yoga 7 14 (14ARB7) with AMD Ryzen 6800U (Rembrand).
https://github.com/tomsom/yoga-linux/wiki
56 stars 2 forks source link

Brightness resetting issue #34

Open asen23 opened 1 year ago

asen23 commented 1 year ago

I don't know if my yoga is faulty or something else is broken, but every time after the screen is blanked either caused by idle/restart/shutdown, the brightness reset to default (around 50%) but if I change the brightness it suddenly changed to previous brightness. I can't seem to find any fix other than some old thread mentioning adding acpi_backlight=vendor to kernel args, but it doesn't solve the problem for me either. Anyone having same issue or know the fix?

My system is Yoga 7 Gen 7 14ARB7 (AMD Ryzen 6600U)

GregorKopka commented 1 year ago

I can reproduce this issue with Mint 21 Cinnamon.

Likely the Window manager should restore the value it has stored on resume, but does not. But hey, Gnome based desktops are a massive garbage fire when it comes to such things.

stuarthayhurst commented 1 year ago

Mine occasionally forgets the brightness set after a reboot, but suspend always works and reboots are fine 99% of the time.

asen23 commented 1 year ago

I can reproduce this issue with Mint 21 Cinnamon.

Likely the Window manager should restore the value it has stored on resume, but does not. But hey, Gnome based desktops are a massive garbage fire when it comes to such things.

I just realized that all distro that i already tried is gnome based (zorin, popos, ubuntu, fedora) and like gave up, then i just remembered that fedora has spin and tried kde version. The brightness actually stayed for the first time in my machine running linux.

soupglasses commented 1 year ago

NixOS 23.05 here. After sleep on GNOME, it will pick a default brightness "fit for the room" (it might always be 50% i have not tested this idea thoroughly). The jumpiness in brightness change seems realted to that for me, GNOME expected it to still be at the old value, say "35%", instantly sets it to that, and then does a normal transition to "40%" lets say.