I recently bought a Lenovo Legion 5i Pro, with an Intel I7-12700H and a Nvidia RTX 3070 Ti, and I tried to installed manjaro on it.
Everything worked fine during the installation, except if I tried to install it with the proprietary nvidia drivers. So I chose to install it with the free nouveau drivers, which seemed to work fine.
Until I booted on it, and saw that I can’t seem to be able to change the brightness. I tried everything I could find on the internet and this forum, adding handlers and event with acpid, but nothing seemed to work.
The only thing I was able to find that worked was to execute xrandr --output eDP-1 --brightness 0.5 to modify the brightness.
> ls /sys/class/backlight/
acpi_video0 nv_backlight
yes sorry that’s what I meant, when I use fn+F5 or fn+F6, it has no effect, the slider is showing and the value is changing, but the value doesn’t reflect what happens since nothing happens
Can you try to add video.register_backlight_delay=0 as a kernel parameter and see if that helps? If it helps its a known issue which got addressed with kernel version 6.1.5 or 6.1.6, I’m not really sure anymore.
I tried it, but didn’t work, even after a reboot, I still can’t adjust the brightness even though the slider works
I also tried that, but didn’t work either. I edited /etc/default/grub to add this parameter, then did sudo update-grub && sudo mkinitcpio -P but it didn’t do anything after rebooting
if you owe a laptop with nvidia (what i suggest) you have to use the propietary nvidia driver to control brightness (see the link below) https://wiki.archlinux.org/title/Lenovo
I also have Lenovo 5i pro with cpu - 12900H and gpu - RTX 3070Ti.
So I use only the dGPU you can change that in BIOS.
Brightness works in all modes hybrid and on dGPU only.
1st
Uninstall the free drivers and install proprietary drivers. Do not reboot !!! PRIME - ArchWiki this is the nvidia recommended way.
You can find tutorials online how to do this. Its not difficult.
Once when you install the prop. driver open /etc/default/grub with your favorite editor and edit this line GRUB_CMDLINE_LINUX_DEFAULT="..." add ibt=off
In terminal sudo update-grub
Reboot, if done correctly it should work. It works for me.
2nd
Again open /etc/default/grub and in GRUB_CMDLINE_LINUX_DEFAULT="..." add acpi_backlight=video if in hybrid mode!!
If on dGPU only add acpi_backlight=none
Don’t forget to sudo update-grub
Reboot…
This works for me in both modes. I use only dGPU mode because I couldn’t find a way to set the screen to 165Hz.
How to set you favorite editor to do this
Open terminal and …
$ export $EDITOR="your favorite editor"
$ echo $EDITOR --> to check that the editor is properly set
$ sudoedit /etc/default/grub --> it will prompt you for your password write it and hit enter
Thanks a lot for the detailed explanation, I did exactly that until now, except I had always missed the part where I need to add ibt=off to my kernel option.
It now works fine, with only the nvidia driver, only using my dGPU.
But I didn’t add acpi_backlight=none and it seems to work fine. The only problem I still have is that 10% of brightness seems to be equal to 100%, and then 5% is about 70/80% and 0% is like 5%.
And I just change the brightness a lot between those values and it disabled my keyboard, I had to reboot twice to make it work again.
Do you know if it’s related?
I also can’t seem to be able to log in on sddm while wayland is selected, it only goes back again to the login screen at boot. It only works with X11
With dGPU mode you must set acpi_backlight=none, because if not set the kernel creates dir and file in /sys/class/backlight/acpi_video0 is the dir, so now the control is mixed and for me it didn’t work with the keyboard buttons Fn + F5 or F6.
Its the same for me. I guess its driver issue. Also it doesn’t remeber the value for me because I am on twm, so I need to tweak it on each boot, but it doesn’t bother me that much.
Go upwards from 10% and you will see the changes and set it accordingly.
I didn’t have these problems. But pls add this acpi_backlight=none to grub and see if you have any problems regarding keyboard freeze.
I don’t have wayland installed so I don’t know, about it.