Bug 495464 - OLED display at the lowest brightness setting becomes red
Summary: OLED display at the lowest brightness setting becomes red
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 6.2.2
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2024-10-28 05:56 UTC by nethshanperis
Modified: 2024-10-29 14:27 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments
A picture of the laptop in 0% brightness (378.35 KB, image/jpeg)
2024-10-28 05:56 UTC, nethshanperis
Details

Note You need to log in before you can comment on or make changes to this bug.
Description nethshanperis 2024-10-28 05:56:08 UTC
Created attachment 175294 [details]
A picture of the laptop in 0% brightness

SUMMARY
OLED display at lowest brightness setting (0%) becomes red/gives off a strong red hue/tint. This happens in Plasma 6.0 as well tested from a Fedora 40 Live usb. This behaviour DOES NOT happen in GNOME thus leading me to believe it is relevant to KDE. This may be related to kwin or plasma shell but im not too sure unfortunately. Yet i decided to open this bug report so the relevant personnel may see this. 

STEPS TO REPRODUCE
Reduce brightness all the way to 0% by any means

OBSERVED RESULT
Red hue/tint that is really dark and strong.

EXPECTED RESULT
Not to give off any red hue but just become darker

SOFTWARE/OS VERSIONS
Operating System: Aurora 40
KDE Plasma Version: 6.2.1
KDE Frameworks Version: 6.7.0
Qt Version: 6.7.2
Kernel Version: 6.11.3-200.fc40.x86_64 (64-bit)
Graphics Platform: Wayland
Processors: 22 × Intel® Core™ Ultra 7 155H
Memory: 15.0 GiB of RAM
Graphics Processor: Mesa Intel® Arc
Manufacturer: HP
Product Name: HP Spectre x360 2-in-1 Laptop 14-eu0xxx
Comment 1 Nate Graham 2024-10-28 14:29:45 UTC
Cannot reproduce with my laptop's OLED screen.

Do you have an ICC profile or Night Light active when it happens?
Comment 2 nethshanperis 2024-10-28 14:45:48 UTC
(In reply to Nate Graham from comment #1)
> Cannot reproduce with my laptop's OLED screen.
> 
> Do you have an ICC profile or Night Light active when it happens?

nope i do not use any icc profile whatsoever. Also night light is switched to always off. I did try changing the profile between the Built in one and None but nothing makes a difference. Just to ensure im doing things properly, i did not restart nor logout between switching the profiles but merely applied them.
Comment 3 Zamundaaa 2024-10-28 15:50:20 UTC
If it did the same in Plasma 6.0, then there's nothing KWin has to do with it - the brightness level is just set on a kernel interface, and nothing else is done with it.

Does only exactly 0% cause this issue, or does it happen gradually? Maybe Gnome just has a higher minimum brightness, where the kernel doesn't have this problem
Comment 4 nethshanperis 2024-10-28 15:52:56 UTC
(In reply to Zamundaaa from comment #3)
> If it did the same in Plasma 6.0, then there's nothing KWin has to do with
> it - the brightness level is just set on a kernel interface, and nothing
> else is done with it.
> 
> Does only exactly 0% cause this issue, or does it happen gradually? Maybe
> Gnome just has a higher minimum brightness, where the kernel doesn't have
> this problem

nope the moment brightness is at 0% the screen shows this effect. even at 1% this issue is NOT present.
Comment 5 Zamundaaa 2024-10-28 16:04:07 UTC
Okay, then this is definitely a kernel driver bug, or a display quirk that needs to be added in the kernel. Please report this at https://gitlab.freedesktop.org/drm/i915/kernel/-/issues
Comment 6 Nate Graham 2024-10-29 05:27:55 UTC
Oh wow I just noticed this myself on my new laptop. Also an HP: HP Pavilion Plus Laptop 14-ey0XXX
Comment 7 nethshanperis 2024-10-29 07:19:07 UTC
(In reply to Nate Graham from comment #6)
> Oh wow I just noticed this myself on my new laptop. Also an HP: HP Pavilion
> Plus Laptop 14-ey0XXX

I think its an HP thing? something i noticed when reporting another bug wrt duplicate refresh rates, the edid file is very odd. its size is 0 bytes and when cat into, it throws weird signs: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12428

Also as Zamundaa said, I opened a bug report in the i915 kernel project: https://gitlab.freedesktop.org/drm/i915/kernel/-/issues/12639

But then again, isnt your laptop AMD powered? Then I guess its not an i915 issue?
Comment 8 Nate Graham 2024-10-29 14:27:42 UTC
Mine has an AMD CPU and GPU, yeah.