r/linuxquestions • • 2d ago

Support Why does my maximum brightness decrease when I boot up Ubuntu? NSFW

For some reason when I boot up Ubuntu my screen's maximum brightness goes down. I tried using brightnessctl, messing with settings, and xrandr. Maybe I wasn't using xrandr properly. I'm pretty new to the terminal, but I'm guessing I just need to calibrate my settings, right? What's up with this?

Edit: forgot to say: this YouTube link is for a video of the problem https://youtube.com/shorts/2qNL1lMAXF0?is=6faaUI8_XyzQSQdS

3 Upvotes

9 comments sorted by

1

u/Krutonium 2d ago

What laptop model? It could be a BUNCH of things, but having the model is a good place to start for research.

1

u/borbersk 2d ago edited 2d ago

DELL latitude 5420

edit for extra info:

i got it only yesterday, secondhand. came preinstalled with windows and some slightly dodgy stuff from the seller. the brightness was fine on windows. i wiped the disc and restarted from an ubuntu startup key, and the problem started like in the video. thanks for taking the time to reply, dude

1

u/Krutonium 2d ago

Try

ls /sys/class/backlight/
brightnessctl -l

On this laptop you might see both intel_backlight and acpi_video (possibly with a number?). If so, brightnessctl may be writing to the wrong one. Try each directly:

cat /sys/class/backlight/*/max_brightness
echo <some mid value, eg 50> | sudo tee /sys/class/backlight/<the options>/brightness

If one of those works, then try adding each of these to your boot args until one fixes it:

acpi_backlight=native
acpi_backlight=video
acpi_backlight=vendor

That basically changes which backlight driver wins. One at a time, remove the old one when you try the next.

1

u/borbersk 1d ago

thanks so much. i'm going to test all of these out as soon as i understand the system a little better

1

u/Krutonium 7h ago

Coolio! Just so you know those commands, in order, list all the backlights the system sees, then gets the max brightness of each. The echo | sudo tee writes your desired "brightness" value to the display.

1

u/borbersk 7h ago

actually, before i got the chance to try these, i updated the firmware and it was instantly better. i really appreciate your time, though. thanks so much

1

u/Krutonium 4h ago

Oh beautiful! Great to hear it's fixed in what is likely a very permanent way!

When you say firmware, you mean like, UEFI/BIOS update?

1

u/C0rn3j 2d ago

This is Ubuntu 26.10, or at least 26.04 at minimum?

xrandr is for X11, that's an effectively dead tool to my knowledge.

1

u/borbersk 1d ago

ah, i see. i did find out about it on some old forum, so that's not surprising. as i say, i'm new