Screen brigfhtness ichanges when opening wayland screen (wayfire) - Yoga slim7 Gen8 7840S API
Acvtually the issu happen when
- Login to a system to console mode, set brightness to 5% (light -S 5 or direct in sysfs) run compositor from command line. Screen brightness go up.
- Turn brigtness down to 5% in wayfire screen, switch to text console and back to wayfire - again screen brightness goes up.
- Turn brightness to 5% in wayfire and then screen blanks at idle. Touch key or mouse - screen again runs on the much higher brightness.
In all cases in the /sys/class/backlight/amdgpu_bl0 directory brightness keep the value I set (5%) - but the actual brightness is different. So system somehpw ignores the value in brightness and not setting actual brightness the same but fill it with some default.
So seems that when screen in wayland activates the driver is doing something automatically that it should not - ideally if I set the brigtness I want to keep it at my preference not to be set by some default. I've also opened the bug on wayfire git - but that seems to be amdgpu issue, because I've tried exactly same setup on other laptop based on Intel Ultra 185H and there the same actions with switching between wayfire and text console or blanking screen on idle timeout keep the brightness exactly same as it was set up by me.