Page MenuHomePhabricator

Efl-git, backlight issue
Closed, InvalidPublic

Description

Conditions:
Arch system
Aur efl-git and enlightenment-git master
Wayland session
intel i915 driver
Since many git versions, i get this backlight issue:
It seems Enlightenment disturbs backlight in all tty.
After 'poweroff' inside enlightenment then i boot again, i get very bright backlight in tty.
If I 'shutdown' in tty, when i reboot i get normal backlight in tty.
This issue doesn't happen in X session.

maderios created this task.Apr 6 2020, 3:18 AM
maderios renamed this task from Enlightenment-git, backlight issue to Efl-git, backlight issue.Apr 6 2020, 3:32 AM
raster closed this task as Invalid.EditedApr 6 2020, 6:25 AM

backlight is not a property of the tty - it's a kernle device (/sys/class/backlight/intel_backlight/brightness for example). so yes - e modifies the backlight. it has to to ensure it works. e will fad the backlight to 0 on shutdown and from 0 to full on startup. it assumes that whatever comes next restores the backlight to the level it wants, just like e does. if it sets backlight to full you will get flickering/flashing of the backlight and that just looks ugly. if you had a proper fbcon handler that handled the fb tty right or a shutdown or startup splash screen that property controlled backlight like e, then it'd all work fine with nice smooth fades between them.

there is a setting to turn e's fading on/off on start/shutdown in composite settings "don't fade backlight". either encourage other parts of the system to be fixed to properly control backlight like e does or enable this option. :)

"don't fade backlight" solved issue. Thanks.
I don't understand why this problem doesn't appear with X session...