[SOLVED] Brightness on Thinkpad W530

Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
User avatar
SMG
Level 25
Level 25
Posts: 31990
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Brightness on Thinkpad W530

Post by SMG »

Mithrandir wrote: Sat Jul 02, 2022 3:42 amHere the output, but I don't have /etc/X11/xorg.conf.d, only /usr/share/X11/xorg.conf.d
I did not realize HAWR's advice deviated from what was in the link. Customizations should be added to /etc/X11/xorg.conf.d to make sure system updates do not overwrite them.

What is the output of

Code: Select all

ls -al /usr/share/X11/xorg.conf.d/
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Mithrandir
Level 3
Level 3
Posts: 127
Joined: Thu Jun 28, 2012 3:14 am

Re: Brightness on Thinkpad W530

Post by Mithrandir »

Ok, I could try to add customizations in /etc/X11/xorg.conf.d directory.

This is the output:

Code: Select all

$ ls -al /usr/share/X11/xorg.conf.d/
totale 36
drwxr-xr-x 2 root root 4096 lug  2 09:41 .
drwxr-xr-x 5 root root 4096 gen  4 15:37 ..
-rw-r--r-- 1 root root   92 ott 22  2019 10-amdgpu.conf
-rw-r--r-- 1 root root  149 feb 19 21:54 10-evdev.conf
-rw-r--r-- 1 root root  206 mag 13 15:31 10-nvidia.conf
-rw-r--r-- 1 root root 1350 dic 14  2021 10-quirks.conf
-rw-r--r-- 1 root root   92 ott 22  2019 10-radeon.conf
-rw-r--r-- 1 root root 1429 ago 13  2019 40-libinput.conf
-rw-r--r-- 1 root root 3458 mar 11  2020 70-wacom.conf
User avatar
SMG
Level 25
Level 25
Posts: 31990
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Brightness on Thinkpad W530

Post by SMG »

Mithrandir wrote: Sat Jul 02, 2022 2:03 pm

Code: Select all

-rw-r--r-- 1 root root  149 feb 19 21:54 10-evdev.conf
-rw-r--r-- 1 root root  206 mag 13 15:31 10-nvidia.conf
If I am reading the dates correctly, it appears the 10-nvidia.conf file was updated after you created the 10-evdev.conf file.

What is the output of

Code: Select all

LC_ALL=C cat /usr/share/X11/xorg.conf.d/10-nvidia.conf
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Mithrandir
Level 3
Level 3
Posts: 127
Joined: Thu Jun 28, 2012 3:14 am

Re: Brightness on Thinkpad W530

Post by Mithrandir »

Yes, I created 10-evdev.conf on February, and perhaps 10-nvidia.conf was updated with the drive

Code: Select all

$ LC_ALL=C cat /usr/share/X11/xorg.conf.d/10-nvidia.conf
Section "OutputClass"
    Identifier "nvidia"
    MatchDriver "nvidia-drm"
    Driver "nvidia"
    Option "AllowEmptyInitialConfiguration"
    ModulePath "/usr/lib/x86_64-linux-gnu/nvidia/xorg"
EndSection
User avatar
SMG
Level 25
Level 25
Posts: 31990
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Brightness on Thinkpad W530

Post by SMG »

A new file may just have been added with the driver, but I would guess that looks like the original file did.

In another topic, someone with a newer graphics cards was having issues with the brightness going to full level once they installed any new drivers. We tried all the options tried here and none worked (not even for the short few months your solution did). In the end, they were able to change the brightness from full to something lower with xrandr changes. The description of getting that to work started in this post where the name of the screen was determined. Then using that information the xrandr commands were tried.

While that solution did not give the ability to change the brightness on the fly, it did give the ability to change it. See if that works for you. Let us know if you have any questions about the instructions in the other topic.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Mithrandir
Level 3
Level 3
Posts: 127
Joined: Thu Jun 28, 2012 3:14 am

Re: Brightness on Thinkpad W530

Post by Mithrandir »

Ok SMG, I will read the post that you indicated and I will try to apply that fix. After i will write here, thank you :)
Mithrandir
Level 3
Level 3
Posts: 127
Joined: Thu Jun 28, 2012 3:14 am

Re: Brightness on Thinkpad W530

Post by Mithrandir »

SMG wrote: Sat Jul 02, 2022 6:18 pm The description of getting that to work started in this post where the name of the screen was determined. Then using that information the xrandr commands were tried.
in that post there is a proposal to install the "brightness-controller" program. I tried and saw that that program works if I disable the redshift applet. I believe that redshift complicates the management of laptop screen brightness.
Another strange thing is that the brightness-controller program detects the external screen as the main screen and the laptop screen as secondary, but if I check the system settings the laptop screen appears as the main screen.
However the solution I found is to disable redshift and use "brightness-controller" if I need to change the brightness of the screen.
User avatar
SMG
Level 25
Level 25
Posts: 31990
Joined: Sun Jul 26, 2020 6:15 pm
Location: USA

Re: Brightness on Thinkpad W530

Post by SMG »

Mithrandir wrote: Tue Jul 05, 2022 4:09 pm
SMG wrote: Sat Jul 02, 2022 6:18 pm The description of getting that to work started in this post where the name of the screen was determined. Then using that information the xrandr commands were tried.
in that post there is a proposal to install the "brightness-controller" program. I tried and saw that that program works if I disable the redshift applet. I believe that redshift complicates the management of laptop screen brightness.
The brightness controller was mentioned at the beginning of the topic. That was not what I linked, but it's fine if that works for you.

Once you are satisfied you have a solution, please go to your first post in this topic, click the pencil icon, and add [SOLVED] to the beginning of the title so others know you are no longer seeking help on this issue.
Image
A woman typing on a laptop with LM20.3 Cinnamon.
Mithrandir
Level 3
Level 3
Posts: 127
Joined: Thu Jun 28, 2012 3:14 am

Re: Brightness on Thinkpad W530

Post by Mithrandir »

Ok, I modify the first post, thank you!
Locked

Return to “Graphics Cards & Monitors”