Bug 215417

Summary: setting brightness to 0 permanently turns off screen
Product: Drivers Reporter: Mark (mark.baas)
Component: Video(Other)Assignee: drivers_video-other
Status: RESOLVED MOVED    
Severity: normal CC: aros
Priority: P1    
Hardware: All   
OS: Linux   
Kernel Version: 5.15.7 Subsystem:
Regression: No Bisected commit-id:
Attachments: screen on max
screen off
screen should be on again

Description Mark 2021-12-26 09:56:56 UTC
Created attachment 300159 [details]
screen on max

When setting the brightness to 0, either on kde with the brightness controls or with `brightnessctl s 0` the screen turns off. Then when trying to turn it back on with the brightness controls, it says off. 

The OS didn't get the OFF signal somehow. All the values in /sys/class/backlight/intel_backlight seem to indicate this.

I attached the output of `grep -r . /sys/class/backlight/intel_backlight/` for the three scenarios:
1. Screen max on
2. Screen brightness 0
3. Screen should be on, but still off.

inxi output:
CPU: 8-core 11th Gen Intel Core i9-11900H (-MT MCP-)
speed/min/max: 836/800/4900:4800 MHz Kernel: 5.15.7-1-MANJARO x86_64 Up: 12m
Mem: 3232.2/31829.3 MiB (10.2%) Storage: 953.87 GiB (1.0% used) Procs: 328
Shell: Bash inxi: 3.3.11

Laptop model: Dell XPS 9510 (2021) with OLED screen.

I suspect it is related to OLED. The bug doesn't present itself too much in GNOME as this DE doesn't lower brightness to 0.

Screens can be turned on again by playing with dpms off. Issue presents itself in both wayland as X.
Comment 1 Mark 2021-12-26 09:57:24 UTC
Created attachment 300161 [details]
screen off
Comment 2 Mark 2021-12-26 09:57:43 UTC
Created attachment 300163 [details]
screen should be on again
Comment 3 Artem S. Tashkinov 2021-12-26 13:18:20 UTC
Did any earlier kernels work?

Please file here instead: https://gitlab.freedesktop.org/drm/intel/-/wikis/How-to-file-i915-bugs
Comment 4 Mark 2021-12-26 13:38:48 UTC
Nope, I tried multiple 5.12, 5.16 as well Ubuntu 21.10.
Comment 5 Artem S. Tashkinov 2021-12-26 17:38:38 UTC
I guess it's the same as https://gitlab.freedesktop.org/drm/intel/-/issues/3657

Please CC yourself and provide the required data.