Brightness adjustment via mx-tweak does not work (MX-23) [Solved]
-
- Posts: 272
- Joined: Sun Jun 07, 2020 10:45 am
Brightness adjustment via mx-tweak does not work (MX-23)
I bought an LG ultrawide 26WQ500 monitor. I installed gddccontrol to manage this monitor. This monitor is not supported, but it is possible to use generic configuration. This gddccontrol has monitor brightness setting.
In mx-tweak there is also an option to configure the monitor's brightness. It has a larger adjustment range. However, a few seconds after I adjust the brightness using mx-tweak, the brightness returns to its previous intensity. Even if I click save, the brightness setting is lost.
mx-tweak uses xrandr to configure brightness, is this configuration through hardware or software?
Is there a conflict between gddccontrol and mx-tweak?
What is the path to the mx-tweak configuration file for me to check?
In mx-tweak there is also an option to configure the monitor's brightness. It has a larger adjustment range. However, a few seconds after I adjust the brightness using mx-tweak, the brightness returns to its previous intensity. Even if I click save, the brightness setting is lost.
mx-tweak uses xrandr to configure brightness, is this configuration through hardware or software?
Is there a conflict between gddccontrol and mx-tweak?
What is the path to the mx-tweak configuration file for me to check?
- dolphin_oracle
- Developer
- Posts: 22391
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Brightness adjustment via mx-tweak does not work (MX-23)
the brightness by xrandr is software manipulation of X values.
the hardware brightness control works directly with the backlight control of supported monitors. usually that is just laptops but some desktop monitors seem to also show up.
the software brightness setting is applied directly and also stored under a file name matching the display name under .config/MX-Linux/MX-Tweak/brightness/
that file is sourced by a script at login.
you can check
to see the brightness level set, and if X is reseting the value or if your monitor is doing something weird.
the hardware brightness control works directly with the backlight control of supported monitors. usually that is just laptops but some desktop monitors seem to also show up.
the software brightness setting is applied directly and also stored under a file name matching the display name under .config/MX-Linux/MX-Tweak/brightness/
that file is sourced by a script at login.
you can check
Code: Select all
xrandr --verbose
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
-
- Posts: 272
- Joined: Sun Jun 07, 2020 10:45 am
Re: Brightness adjustment via mx-tweak does not work (MX-23)
I'll see. My old monitor didn't have brightness adjustment. On this LG monitor I can change the brightness using MX-Tweak, but it returns to the previous brightness after a few seconds.dolphin_oracle wrote: Wed Nov 29, 2023 11:07 am the brightness by xrandr is software manipulation of X values.
the hardware brightness control works directly with the backlight control of supported monitors. usually that is just laptops but some desktop monitors seem to also show up.
the software brightness setting is applied directly and also stored under a file name matching the display name under .config/MX-Linux/MX-Tweak/brightness/
that file is sourced by a script at login.
you can check
to see the brightness level set, and if X is reseting the value or if your monitor is doing something weird.Code: Select all
xrandr --verbose
-
- Posts: 272
- Joined: Sun Jun 07, 2020 10:45 am
Re: Brightness adjustment via mx-tweak does not work (MX-23)
Two brightness values
$ xrandr --verbose
.config/MX-Linux/MX-Tweak/brightness/HDMI1
$ xrandr --verbose
Code: Select all
HDMI1 connected 2560x1080+0+0 (0x46) normal (normal left inverted right x axis y axis) 600mm x 250mm
Identifier: 0x42
Timestamp: 127204
Subpixel: unknown
Gamma: 2.0:4.2:3.4
Brightness: 0.70
Clones: VGA1
CRTC: 0
CRTCs: 0 1
Transform: 1.000000 0.000000 0.000000
0.000000 1.000000 0.000000
0.000000 0.000000 1.000000
filter:
Code: Select all
xrandr --output HDMI1 --brightness 0.75 --gamma 0.625:0.37:0.417
- dolphin_oracle
- Developer
- Posts: 22391
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Brightness adjustment via mx-tweak does not work (MX-23) [Solved]
do you have something running adjusting the gamma? like a redshift type app?
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
-
- Posts: 272
- Joined: Sun Jun 07, 2020 10:45 am
Re: Brightness adjustment via mx-tweak does not work (MX-23)
Yes. Redshift also changes the brightness?dolphin_oracle wrote: Wed Nov 29, 2023 3:30 pm do you have something running adjusting the gamma? like a redshift type app?
- dolphin_oracle
- Developer
- Posts: 22391
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Brightness adjustment via mx-tweak does not work (MX-23)
it changes the gamma anyway.FraterLinux wrote: Wed Nov 29, 2023 3:36 pmYes. Redshift also changes the brightness?dolphin_oracle wrote: Wed Nov 29, 2023 3:30 pm do you have something running adjusting the gamma? like a redshift type app?
it might be possible to kill redshift, set the brightness, then restart redshift. I honestly don't know exactly how redshift works, other than the color temp is usually a function of gamma adjustments.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
-
- Posts: 272
- Joined: Sun Jun 07, 2020 10:45 am
Re: Brightness adjustment via mx-tweak does not work (MX-23)
I will try to do that.dolphin_oracle wrote: Wed Nov 29, 2023 3:40 pm
it changes the gamma anyway.
it might be possible to kill redshift, set the brightness, then restart redshift. I honestly don't know exactly how redshift works, other than the color temp is usually a function of gamma adjustments.
Before I tried to set the brightness, but also back to the previous level.
Code: Select all
$ xrandr --output HDMI1 --brightness 0.8
-
- Posts: 272
- Joined: Sun Jun 07, 2020 10:45 am
Re: Brightness adjustment via mx-tweak does not work (MX-23)
It really is the redshift that is changing the intensity of brightness.
I edited the redshift.conf file to make the brightness as I want:
Is there another way for redshift not to interfere with the brightness configuration?
I edited the redshift.conf file to make the brightness as I want:
Code: Select all
[redshift]
temp-day=5000
temp-night=4000
brightness-day=0.9
brightness-night=0.7
gamma=0.8:0.7:0.8
adjustment-method=randr
Last edited by FraterLinux on Wed Nov 29, 2023 4:16 pm, edited 1 time in total.
- dolphin_oracle
- Developer
- Posts: 22391
- Joined: Sun Dec 16, 2007 12:17 pm
Re: Brightness adjustment via mx-tweak does not work (MX-23)
not that I can think of. its always tricky to have two utilities muckying around with xrandr settings. especially something like redshift, which presumably adjusts its values every few minutes. with xrandr, you generally have to specify the gamma and the brightness when messing with either, otherwise things get out of sync and unexpected results occur.
http://www.youtube.com/runwiththedolphin
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.
lenovo ThinkPad X1 Extreme Gen 4 - MX-23
FYI: mx "test" repo is not the same thing as debian testing repo.