You are not logged in.
Hi, i am using Arch with Hyprland, and it seems like I am unable to adjust my laptop screen brightness.
Laptop: Asus Zephyrus G16 2024 (Intel ultra 9 185h, rtx4070)
kernel: 6.14.4-arch1-1
I already tried brightnessctl, brillo etc, all of which does not work. The brightness of the laptop is either at 100% or 0%, any intermediate values does not make a difference.
I see that a lot of people also checked their /sys/class/backlight/intel_backlight, these are the files present for my laptop:
actual_brightness bl_power brightness device@ max_brightness power/ scale subsystem@ type uevent
I tried manually modifying the actual_brightness and brightness values, but again, no difference.
Please help, this is the hardest roadblock that is making me think of quitting linux
Last edited by eggsacc (2025-04-29 08:36:23)
Offline
use [code][/code] tags to create code blocks.
what's the output of
cat /sys/class/backlight/intel_backlight/{max_brightness,brightness}
?
Does 'dmesg' (use 'dmesg -W' to wait for new error messages) report any new errors when you try changing it?
Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...
Offline
use [code][/code] tags to create code blocks.
I see, thanks for advising. Was wondering why triple ` did not work.
I get the output
192000
9600
Running 'dmesg -W':
[ 5255.910151] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[ 5255.912358] nvidia 0000:01:00.0: Unable to change power state from D3cold to D0, device inaccessible
[ 5255.912709] nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=none,decodes=none:owns=none
[ 5255.912772] NVRM: The NVIDIA GPU 0000:01:00.0
NVRM: (PCI ID: 10de:2860) installed in this system has
NVRM: fallen off the bus and is not responding to commands.
[ 5255.912921] nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
[ 5255.912956] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 5255.912959] NVRM: None of the NVIDIA devices were initialized.
[ 5255.913809] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
[ 5256.783616] nvidia-nvlink: Nvlink Core is being initialized, major device number 509
[ 5256.786253] nvidia 0000:01:00.0: Unable to change power state from D3cold to D0, device inaccessible
[ 5256.786565] nvidia 0000:01:00.0: vgaarb: VGA decodes changed: olddecodes=none,decodes=none:owns=none
[ 5256.786620] NVRM: The NVIDIA GPU 0000:01:00.0
NVRM: (PCI ID: 10de:2860) installed in this system has
NVRM: fallen off the bus and is not responding to commands.
[ 5256.786731] nvidia 0000:01:00.0: probe with driver nvidia failed with error -1
[ 5256.786760] NVRM: The NVIDIA probe routine failed for 1 device(s).
[ 5256.786761] NVRM: None of the NVIDIA devices were initialized.
[ 5256.787112] nvidia-nvlink: Unregistered Nvlink Core, major device number 509
Also, I tried installing the nvidia drivers and got the problem
-> No AUR package found for lib32-libglvnd
-> No AUR package found for lib32-zlib
-> could not find all required packages: lib32-zlib
could not find all required packages: lib32-libglvnd
I have multilib enabled, and checked that none of the mirrors are out of sync. I also updated all the packaged in pacman using '-Syu', but still get the error
error: target not found: lib32-libglvnd
error: target not found: lib32-zlib
So i am unable to install the nvidia drivers as of now. Is that the problem?
Last edited by eggsacc (2025-04-29 01:53:46)
Offline
Yeah, bbs predates markdown by ages.
Wierd. 9600/192000 = 0.05 = 5%
So it's not stuck at 0%.
Does dmesg -W (you need to keep it running in a different terminal window) post anything new when you run this command?
echo 128000 | sudo tee /sys/class/backlight/intel_backlight/brightness
As for the nvidia issue, I can't help you there.
https://wiki.archlinux.org/title/NVIDIA
Last edited by jl2 (2025-04-29 06:59:09)
Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...
Offline
Sorry maybe it's the way I phrased it, but I have no trouble changing the brightness value, it's just that the display does not respond to the change. Like I can set the brightness at 5% but the physical screen is still fully bright. Only when I set the value to 0% then the display turns off, otherwise its just always full brightness.
Also the terminal running dmesg -W outputs nothing when the brightness value is modified.
And I figured out the nvidia driver, so that's not an issue anymore.
Offline
https://www.reddit.com/r/ZephyrusG14/co … 16_thread/
https://www.ehmiiz.se/blog/linux_asus_g16_2024/
Googling stuff should be a eccential part of your research when fixing issues.
The later should contain a fix for the backlight, add this to your cmdline (steps for that depend on your bootloader):
nvidia-drm.modeset=1 i915.enable_dpcd_backlight=1 nvidia.NVreg_EnableBacklightHandler=0 nvidia.NVreg_RegistryDwords=EnableBrightnessControl=0
Last edited by jl2 (2025-04-29 07:36:15)
Why I run Arch? To "BTW I run Arch" the guy one grade younger.
And to let my siblings and cousins laugh at Arsch Linux...
Offline
Holy, thanks so much. It worked after I followed the second link and added a few extra lines in systemd options.
I also installed asusctl following the first link, and is able to configure keyboard brightness now as well!
TLDR: 2024 G16 brightness adjustment not working
https://www.ehmiiz.se/blog/linux_asus_g16_2024/
1) Install Nvidia drivers & 'asusctl'
2) Sudo open kernel config files
For grub:
sudo nano /etc/default/grub
For systemd:
#(cd to '/boot/loader/entries' and use 'ls' to check the name of kernel config file)
sudo nano /boot/loader/entries/{file_name}.conf
3) Find the 'options=' line, and append the following behind:
quiet splash nvidia-drm.modeset=1 i915.enable_dpcd_backlight=1 nvidia.NVreg_EnableBacklightHandler=0 nvidia.NVreg_RegistryDwords=EnableBrightnessControl=0
4) Reboot
Last edited by eggsacc (2025-04-29 08:34:06)
Offline