You are not logged in.

#1 2024-04-23 15:53:57

leessmin
Member
Registered: 2024-04-23
Posts: 34

[SOLVED]My arch can't set the monitor color

I don't know when it started, my arch gets the following error at startup

systemctl status systemd-backlight@backlight:nvidia_0.service
× systemd-backlight@backlight:nvidia_0.service - Load/Save Screen Backlight Brightness of backlight
:nvidia_0
     Loaded: loaded (/usr/lib/systemd/sys
tem/systemd-backlight@.service; static)
     Active: failed (Result: exit-code) since Tue 2024-04-23 23:44:48 CST; 35s ago
       Docs: man:systemd-backlight@.service(8)
    Process: 3224 ExecStart=/usr/lib/systemd/systemd-backlight load backlight:nvidia_0 (code=exited, s
tatus=1/FAILURE)
   Main PID: 3224 (code=exited, status=1/FAILURE)
        CPU: 9ms

4月 23 23:44:51 r97945hx systemd[1]: Failed to start Load/Save Screen Backlight Bright
ness of backlight:nvidia_0.
4月 23 23:44:51 r97945hx systemd[1]: systemd-backlight@backlight:nvidia_0.
service: Start request repeated too quickly.
4月 23 23:44:51 r97945hx systemd[1]: systemd-backlight@backlight:nvidia_0.
service: Failed with result 'exit-code'.
4月 23 23:44:51 r97945hx systemd[1]: Failed to start Load/Save Screen Backlight Bright
ness of backlight:nvidia_0.
4月 23 23:44:51 r97945hx systemd[1]: systemd-backlight@backlight:nvidia_0.
service: Start request repeated too quickly.
4月 23 23:44:51 r97945hx systemd[1]: systemd-backlight@backlight:nvidia_0.
service: Failed with result 'exit-code'.
4月 23 23:44:51 r97945hx systemd[1]: Failed to start Load/Save Screen Backlight Bright
ness of backlight:nvidia_0.
4月 23 23:44:51 r97945hx systemd[1]: systemd-backlight@backlight:nvidia_0.
service: Start request repeated too quickly.
4月 23 23:44:51 r97945hx systemd[1]: systemd-backlight@backlight:nvidia_0.
service: Failed with result 'exit-code'.
4月 23 23:44:51 r97945hx systemd[1]: Failed to start Load/Save Screen Backlight Bright
ness of backlight:nvidia_0.

I've looked at a lot of people's solutions, and it's nvidia that's to blame.
But their version is 535, and my nvidia driver version is the latest 550.76, but I don't know what's going on, it seems that the previous versions of the recent update 550.76 seem to have had this problem
How can I solve this problem

Last edited by leessmin (Today 05:19:28)

Offline

#2 2024-04-23 21:19:47

seth
Member
Registered: 2012-09-03
Posts: 51,684

Re: [SOLVED]My arch can't set the monitor color

Is the device actually (still) correct?

ls -lR /sys/class/backlight/

Offline

#3 2024-04-24 12:56:25

leessmin
Member
Registered: 2024-04-23
Posts: 34

Re: [SOLVED]My arch can't set the monitor color

seth wrote:

Is the device actually (still) correct?

ls -lR /sys/class/backlight/

Enter the command you give to get the following information

 ls -lR /sys/class/backlight/  
/sys/class/backlight/:
总计 0
lrwxrwxrwx 1 root root 0  4月24日 20:46 nvidia_0 -> ../../devices/pci0000:00/0000:00:01.1/0000:01:00.0/backlight/nvidia_0

It seems normal

Offline

#4 2024-04-24 13:03:27

seth
Member
Registered: 2012-09-03
Posts: 51,684

Re: [SOLVED]My arch can't set the monitor color

# /usr/lib/systemd/systemd-backlight load backlight:nvidia_0

will likely fail too.
If it doesn't produce any error messages, you could try to strace it to see where it fails.
nb. that you cannot use sudo w/ strace, you've to do this from a root shell

# strace -f -tt -o /tmp/backlight.strace /usr/lib/systemd/systemd-backlight load backlight:nvidia_0

Offline

#5 2024-04-24 13:35:41

leessmin
Member
Registered: 2024-04-23
Posts: 34

Re: [SOLVED]My arch can't set the monitor color

seth wrote:
# /usr/lib/systemd/systemd-backlight load backlight:nvidia_0

will likely fail too.
If it doesn't produce any error messages, you could try to strace it to see where it fails.
nb. that you cannot use sudo w/ strace, you've to do this from a root shell

# strace -f -tt -o /tmp/backlight.strace /usr/lib/systemd/systemd-backlight load backlight:nvidia_0

I didn't find this program on my system

r97945hx# strace -f -tt -o /tmp/backlight.strace /usr/lib/systemd/systemd-backlight load backlight:nvidia_0
zsh: command not found: strace

Offline

#6 2024-04-24 13:37:28

seth
Member
Registered: 2012-09-03
Posts: 51,684

Offline

#7 2024-04-24 13:41:32

leessmin
Member
Registered: 2024-04-23
Posts: 34

Re: [SOLVED]My arch can't set the monitor color

Yes, I think they're caused by the same problem

Offline

#8 2024-04-24 14:54:05

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,804

Re: [SOLVED]My arch can't set the monitor color

leessmin, you posted a couple 'reports' to moderators that I think had been intended to be a 'reply'.  Just in case you are wondering where your posts went smile


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#9 2024-04-24 16:15:24

leessmin
Member
Registered: 2024-04-23
Posts: 34

Re: [SOLVED]My arch can't set the monitor color

ewaller wrote:

leessmin,你向版主发布了几份“报告”,我认为这些报告本来是“应该报告”的。以防你想知道你的帖子去了哪里 smile

Thanks for the Pointers. I'll take care of it

Offline

Board footer

Powered by FluxBB