You are not logged in.
Pages: 1
I'm unable to change the brightness, it is stuck on max.
Tried xbacklight, but doesn't work.
Running a AMD Ryzen 7 6800H with nvidia 3060
Any help?
Thanks
Offline
xbacklight only works with xf86-video-intel, install acpilight instead which uses native acpi handlers
Offline
I assume because you're trying to run xbacklight that you use X11 for your display. X11 includes the xrandr package as a dependency, and serves as the utility that I use for updating my backlight. By running just 'xrandr' you should get a list of different displays and connection information, including a device that's labelled as your connected display. Therefore running the command 'xrandr | grep " connected"' will give you details about your current display and utilizing the command 'xrandr | grep " connected" | cut -f1 -d" "' will further filter your output to just your screen identifier. Once you have your screen name you can use the xrandr command again to set your screen brightness. You'll want to use the --output option to specify your screen name, and the --brightness option to set your brightness level to a range between 0 and 1.
For example, my connected display name is "eDP", so when I set my brightness I write the command:
xrandr --output eDP --brightness .5 # 50% brightness
or
xrandr --output eDP --brightness 1 # 100% brightness
Technically speaking you can do values greater than 1.0 for your brightness settings, but .1-1 is the normal range.
Hope this helps!
Offline
xrandr can't control the screen backlight. Using the "--brightness" option with that only changes the gamma values, which hobbles your colour gamut. Use acpilight or brightnessctl instead.
Para todos todo, para nosotros nada
Offline
If you have this as a kernel parameter remove it or comment it out and check if it works:
acpi_backlight=none
It worked for me. I had to add it at one point for this exact reason, brightness stuck on max.
Offline
What are the contents of
/sys/class/backlight/
Also, how are you configuring optimus on your machine?
Are you are using PRIME, nvidia-xrun, or optimus-manager etc and making the nvidia card the main card for X? If so, then, because the internal display is physically attached to the internal gpu, the backlight may be assigned to the amd card, a backlight control is also produced for the nvidia card, but because no display is attached to it, it won't do anything. Unfortunately, if X is attached to the nvidia card, it/your DE will default to using the nvidia.
If this is the case, you can set the backlight by writing directly to
/sys/class/backlight/amdgpu_bl0/brightness
the actual name may vary, but that's how it appears for me with a 4800H and 2060 based laptop. You should also be able to control the backlight when the amd card is set as your main card and, by default any changes you make should save and restore on reboot and should stay the same when using the nvidia card. As mentioned Acpilight and brightnessctl can both be used to set brightness on the amd card, but you'll need to make sure that you specify the amd card.
If you've disabled the amd gpu in bios, then it's possible the backlight may not be attached to any device and be uncontrollable as a result - this has certainly been the case with some kernel and nvidia driver versions, but I'm not sure if it's still an issue.
Offline
Instead of various speculations I suggest to wait for the OP to actually return. As a matter of fact if the display is driven by anything that isn't the outdated xf86-video-intel then standard xbacklight is expected to and will simply not work, acpilight should on the other hand, assuming they do have a valid backlight device, which is technically something nvidia has enabled a while ago.
Offline
If you have this as a kernel parameter remove it or comment it out and check if it works:
acpi_backlight=none
It worked for me. I had to add it at one point for this exact reason, brightness stuck on max.
Yes, three days ago I had the same problem and I solved it in the same way. Check it out to try other options
https://wiki.archlinux.org/title/backli … ne_options
Offline
Pages: 1