You are not logged in.
I used to use brightnessctl mapped to my i3 key bindings, but after an update, the brightness on my device is not changing. I tried brillo to see if it works, but the command ate working and the values are printing the same, but the actual display is still at 100% physically. Can someone help me in troubleshooting the issue
~ ❯ brillo -q -A 10
~ ❯ brillo -c
1.00
Last edited by Mark_eleve (2023-02-18 08:14:22)
Offline
ls -R /sys/class/backlight/
Offline
Hi this is the output of the command
ls -R /sys/class/backlight/
/sys/class/backlight/:
asus-nb-wmi
Last edited by Mark_eleve (2023-02-18 08:14:51)
Offline
On an Asus notebooks you might also need to load the asus-nb-wmi kernel module.
lsmod | grep asus
Please use "code" tags. Edit your post in this regard.
Offline
The output is
asus_nb_wmi 32768 0
asus_wmi 69632 1 asus_nb_wmi
ledtrig_audio 16384 2 snd_hda_codec_generic,asus_wmi
sparse_keymap 16384 1 asus_wmi
platform_profile 16384 1 asus_wmi
video 65536 3 asus_wmi,amdgpu,nouveau
rfkill 32768 6 asus_wmi,bluetooth,cfg80211
wmi 45056 5 video,asus_wmi,wmi_bmof,mxm_wmi,nouveau
asus_wireless 20480 0
i8042 49152 1 asus_nb_wmi
Offline
I tried to reload the kernel modules but this was the output
sudo modprobe asus-nb-wmi
modprobe: FATAL: Module asus-nb-wmi not found in directory /lib/modules/6.1.11-arch1-1
Offline
pacman -Qs linux
You're running 6.1.11 but probably updated to 6.1.12 w/o rebooting, or you forgot to mount the /boot partition before the update and the present module comes from the initramfs.
Offline
I rebooted my device and tried to reload the kernel module there was no output for that. I tried to change my brightness using brillo and backlight_control, the commands are executing but there is no change in my brightness level
backlight_control 0
backlight_control 100
brillo -c
1.00
backlight_control 10
brillo -c
1.00
Last edited by Mark_eleve (2023-02-18 08:53:41)
Offline
Skip brillo, look at the wiki again and try to write the values directly.
If there's no backlight device, nothing is gonna happen.
Offline
I tried to write the vales directly, but physically the brightness is not decreased. Can you please let me know if you want to keep any output of any command.
❯ echo 5 > /sys/class/backlight/asus-nb-wmi/brightness
❯ cat /sys/class/backlight/asus-nb-wmi/brightness
5
Last edited by Mark_eleve (2023-02-18 17:57:24)
Offline
Since this is a regression, boot the lts kernel and check which backlight device is available (whether it's asus-nb-wmi)
Then see https://wiki.archlinux.org/title/Backli … ne_options
Offline
What model are you using. My Asus Vivobook works great, but it uses Intel graphics, and the files under /sys all reflect this despite the asus-nb-wmi kernel module being loaded.. Yours are different. What is your graphics setup?
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
Online
Hi, I am using ASUS TUF laptop this is the configuration AMD Ryzen 7 4800H with Radeon 2.90 GHz, with an Nvidia 1660Ti Gpu.
Offline
When you set the the kernel parameter acpi_backlight to each of video vendor native none and nvidia_wmi_ec what backlights were listed in /sys/class/backlight/ and did changing their values manually change the brightness?
Last edited by loqs (2023-02-18 23:10:40)
Offline
Does it also have an Intel GPU?
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
Online
No, I do not have an Intel GPU, I installed the LTS kernel, but there is no LTS Kernel entry in grub menu while booting, but when I ran
sudo grub-mkconfig -o /boot/grub/grub.cfg
the entry was showing up there, so I tried to run a grub-install but the output says there is no EFI partition. I did set the set the the kernel parameter acpi_backlight to each of video vendor native none but there was no physical change in brightness. I'm also not able to see Arch's grub in my boot setting, I'm only able to see Garuda linux Grub entry and windows boot manager for selection.
sudo grub-install
Installing for x86_64-efi platform.
grub-install: error: cannot find EFI directory.
sudo grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot: amd-ucode.img initramfs-linux-zen-fallback.img
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-lts.img
Found fallback initrd image(s) in /boot: amd-ucode.img initramfs-linux-lts-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot: amd-ucode.img initramfs-linux-fallback.img
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot: amd-ucode.img initramfs-linux-zen-fallback.img
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-lts.img
Found fallback initrd image(s) in /boot: amd-ucode.img initramfs-linux-lts-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot: amd-ucode.img initramfs-linux-fallback.img
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi
Warning: os-prober will be executed to detect other bootable partitions.
Its output will be used to detect bootable binaries on them and create new boot entries.
Found Windows Boot Manager on /dev/nvme0n1p1@/efi/Microsoft/Boot/bootmgfw.efi
Adding boot menu entry for UEFI Firmware Settings ...
Found linux image: /boot/vmlinuz-linux-zen
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-zen.img
Found fallback initrd image(s) in /boot: amd-ucode.img initramfs-linux-zen-fallback.img
Found linux image: /boot/vmlinuz-linux-lts
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux-lts.img
Found fallback initrd image(s) in /boot: amd-ucode.img initramfs-linux-lts-fallback.img
Found linux image: /boot/vmlinuz-linux
Found initrd image: /boot/amd-ucode.img /boot/initramfs-linux.img
Found fallback initrd image(s) in /boot: amd-ucode.img initramfs-linux-fallback.img
Adding boot menu entry for UEFI Firmware Settings ...
done
Last edited by Mark_eleve (2023-02-19 04:39:34)
Offline
I'm only able to see Garuda linux Grub entry and windows boot manager for selection.
3rd link below. Mandatory.
Disable it (it's NOT the BIOS setting!) and reboot windows and linux twice for voodo reasons.
grub-install: error: cannot find EFI directory.
Offline
Hi, sorry for the late reply, I think I messed up with my grub settings in the grub config file and I am not able to go into Arch Linux, I was not able to login to garuda as well, so I installed Kali in place of garuda to see if a fresh install on that disk works, but still Arch Linux entry is visible on my Kali grub config, but once I press enter to the Arch entries in grub I think it is going into a kernel panic state and I get this message
"amd-ucode.img not found"
Press enter
I can access my Arch grub config file from Kali install, so can is it possible to edit the entry in that so that this error doest come.
Last edited by Mark_eleve (2023-02-22 20:53:14)
Offline
visible on my Kali grub config
access my Arch grub config file from Kali install
You manage the bootloader from *ONE* system.
If you installed and configured grub using kali linux, you'll have to fix the arch boot in *ITS* grub configuration.
The error is pretty clear: the configuration references the amd-ucode.img in a path where it doesn't exist.
Offline
Hi Sir,
Sorry for the late reply, I have everything I searched online to update my grub config but still I am not able to boot into my Arch install, the same error message keeps popping up. Can you please let me know on how I can fix the issue
Offline
If you installed and configured grub using kali linux, you'll have to fix the arch boot in *ITS* grub configuration.
The error is pretty clear: the configuration references the amd-ucode.img in a path where it doesn't exist.
Offline