You are not logged in.

#1 2020-01-19 18:09:20

Broskev
Member
Registered: 2016-04-05
Posts: 25

OLED Displej brightness

Hello,
I got Dell Precision 5540 laptop with OLED display.
I installed icc-brightness and that doesn't work. When I list devices using colormgr get-devices I get no devices.

I can set brightness using redshift -o -b $brightness.
I was able to create script that sets brightness and restarts redshift so it gets a new brightness value.
The problem is that this is kinda hacky and before the brightness changes it stays on 50% for a while.

Is there a regular way how to set birghtness on OLED panels? I would prefer the way with redshift as I want to use it for color temp anyway, but restarting redshift every time I want to set brightness is stupid and bad idea.

Thanks for help!

Offline

#2 2020-01-22 10:08:54

csmnn
Member
Registered: 2017-05-10
Posts: 6

Re: OLED Displej brightness

I ran into the same problem on the XPS 15 7590. You might be able to use xrandr.

The Wiki already has a section on this.
https://wiki.archlinux.org/index.php/De … #Backlight

I did not try the script, but

xrandr --output eDP1 --brightness .5

worked fine. You can scale the brightness betwenn 0 and 1. You can also use values above 1, but those look weird on my display at least.

Offline

#3 2020-01-22 20:56:51

Broskev
Member
Registered: 2016-04-05
Posts: 25

Re: OLED Displej brightness

Yeah,
sorry...I forgot to mention that I am running sway on wayland...
Otherwise I would try it and it would probably work...

Offline

#4 2020-02-17 07:55:17

jnko
Member
Registered: 2015-11-03
Posts: 13

Re: OLED Displej brightness

Well, I've the same problems. Running KDE on Wayland I'm currently unable to dim display brightness with icc-brightness. The main problem is that colord/colormgr does not properly detects the OLED display running wayland.

Unfortunately I haven't found any way to control brightness running KDE/Wayland yet...

Offline

#5 2020-03-30 11:19:37

karamaz0v
Member
From: Argentina
Registered: 2012-07-18
Posts: 10

Re: OLED Displej brightness

hello, i'm dealing with the same issue on Sway and an XPS 7590

@Broskev  how did you manage to get working at least the "hacky" version ?

I've installed

redshift-wlr-gamma-control-git

from AUR but running   
redshift -o -b 0.75
does nothing.

is there something else to setup before?

Offline

#6 2020-04-03 14:03:24

Caspian
Member
Registered: 2007-05-22
Posts: 263

Re: OLED Displej brightness

Does anyone have any news on this or did someone make some progress to get the brightness working?
I just got a new Gigabyte Aero 15 with OLED display and I can't get the brightness control to work no matter what I do. The only thing that does work is setting it with xrandr, but I would like to avoid this if possible, since it a software hack.
According to this bug report, this should have been fixed: https://gitlab.freedesktop.org/drm/intel/issues/510
Hopefully someone from this topic has some more info.

Offline

#7 2020-06-06 17:42:00

jnko
Member
Registered: 2015-11-03
Posts: 13

Re: OLED Displej brightness

Caspian wrote:

Does anyone have any news on this

I'm sorry, no.

I'm using a Dell XPS 7590with an 4K OLED display nad I'm still unable to control the brightness. Supplying ICC profiles are the only way to control brightness since OLEDs cannot be controlled by PWM.

Since KDE is capable of using nightshift, it should theoretically be possible to control the brightness in the same way. Unfortunately nobody implemented this yet. We've still to wait...

Offline

#8 2020-09-28 17:41:27

jnko
Member
Registered: 2015-11-03
Posts: 13

Re: OLED Displej brightness

Good news, you may use the linux-oled AUR package to control OLED brightness. At least on my Dell XPS 7590 this works.

Offline

#9 2020-09-30 05:51:33

Caspian
Member
Registered: 2007-05-22
Posts: 263

Re: OLED Displej brightness

Thanks. Interesting, this means that the solution is possible, but it doesn't go into standard linux for some reason. The only downside, is that the AUR package is stuck on 5.7.10 kernel version.

Offline

#10 2020-09-30 14:01:27

euromatlox
Member
Registered: 2017-02-10
Posts: 110

Re: OLED Displej brightness

Just a little searching using google, and this reddit conversation about oled brightness found. Seems that icc-brightness is suggested there. In Arch AUR is package aur/icc-brightness-gnome-git, not sure if it's the same thing.

Offline

#11 2020-09-30 17:55:30

jnko
Member
Registered: 2015-11-03
Posts: 13

Re: OLED Displej brightness

euromatlox wrote:

Just a little searching using google, and this reddit conversation about oled brightness found. Seems that icc-brightness is suggested there. In Arch AUR is package aur/icc-brightness-gnome-git, not sure if it's the same thing.

Two downsides about the ICC solution.
1. Controlling brightness with ICC does not lower the display power consumtion because the overall color will be darkened, not the OLED brightness.
2. ICC (the udifuchs one) does not work with Wayland, just Xorg

Offline

#12 2020-10-02 11:28:50

Caspian
Member
Registered: 2007-05-22
Posts: 263

Re: OLED Displej brightness

@euromatlox: Not to mention that I wrote in the initial post of this thread that ICC doesn't work for me...

Offline

#13 2020-10-02 11:41:46

progandy
Member
Registered: 2012-05-17
Posts: 5,184

Re: OLED Displej brightness

Caspian wrote:

Thanks. Interesting, this means that the solution is possible, but it doesn't go into standard linux for some reason. The only downside, is that the AUR package is stuck on 5.7.10 kernel version.

The patches are still in development, I think this is the most recent incarnation:
https://lore.kernel.org/dri-devel/20200 … edhat.com/


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' |

Offline

#14 2021-01-22 11:44:37

Caspian
Member
Registered: 2007-05-22
Posts: 263

Re: OLED Displej brightness

Does anyone have any updates on the state of OLED brightness functionality in kernel? I can't believe that this hasn't been fixed yet. OLED displays are not that rare anymore.

Offline

#15 2021-01-22 22:55:48

frankieboy
Member
Registered: 2009-04-12
Posts: 65

Re: OLED Displej brightness

Hi,

I'm using the linux-oled kernel package from aur on a dell xps 15 7590 model, it works. The developer of the kernel patch promised that this will be merged to upstream into 5.12.

Offline

#16 2021-01-24 09:04:44

jnko
Member
Registered: 2015-11-03
Posts: 13

Re: OLED Displej brightness

Caspian wrote:

Does anyone have any updates on the state of OLED brightness functionality in kernel? I can't believe that this hasn't been fixed yet. OLED displays are not that rare anymore.

jnko wrote:

Good news, you may use the linux-oled AUR package to control OLED brightness. At least on my Dell XPS 7590 this works.

Jusrt build a kernel with the package above. It just works.

Offline

#17 2021-01-24 09:08:55

Caspian
Member
Registered: 2007-05-22
Posts: 263

Re: OLED Displej brightness

jnko wrote:
Caspian wrote:

Does anyone have any updates on the state of OLED brightness functionality in kernel? I can't believe that this hasn't been fixed yet. OLED displays are not that rare anymore.

jnko wrote:

Good news, you may use the linux-oled AUR package to control OLED brightness. At least on my Dell XPS 7590 this works.

Jusrt build a kernel with the package above. It just works.

Yeah, I just did that yesterday and it works flawlessly. I saw in the AUR comments of that package that these patches should be merged to kernel 5.12 and to Arch kernel even earlier (if I understood it correctly).

Offline

Board footer

Powered by FluxBB