I’m having issues getting my screen brightness to change and would really appreciate any help. The Fn Keys and the brightness slider in the power manager system tray both appear like they’re working, in that the XFCE brightness pop-up is displayed and adjusted as expected and the values in the brightness file of /sys/class/backlight change, but the actual screen brightness seems stuck at 100%. When I first installed Manjaro some months ago the brightness keys worked (in a janky way: the brightness up worked but brightness down set brightness to 0/turned off the display), but either a kernel update or switching to proprietary NVIDIA drivers seem to have cut off the connection between my actual screen brightness and the brightness values I can manipulate, so I have been primarily using my windows install at night but want to get back to pure Manjaro.
I have tried manipulating my grub command-line options as per another forum post (can’t link), but that didn’t seem to help:
With no CMDLINE option, I have an acpi_video0 symlink in /sys/class/backlight, and it behaves as I described above (brightness file responding to FN Keys and the sytem tray slider from 0-100, screen brightness stuck at 100).
With GRUB_CMDLINE_LINUX="acpi_backlight="
none
or native
I get nothing in /sys/class/backlight, unresponsive brightness Fn Keys, and no slider in the system tray, and with the vendor
option I get an ideapad
symlink in /sys/class/backlight with a brightness file responsively changing from 0 to 16 but no actual screen brightness adjustment as with no CMDLINE option and the acpi_video0 brightness device, so I just went back to no grub CMDLINE option.
I have also tried switching to kernels 57 (same problem), and 59 (no boot), so I’ve gone back to 58.
I just recently found a workaround to change brightness manually by disabling redshift, executing xrandr --output DP-4 --brightness $value
and then re-enabling redshift (if I don’t disable redshift it seems to reset the brightness value after a slight delay), but this is a little cumbersome and I’m wondering if there’s a better way to get the gui and laptop key brightness adjustment methods working.
In case they help diagnose my problem, here are my inxi -Fxxz
:
System: Kernel: 5.8.6-1-MANJARO x86_64 bits: 64 compiler: N/A Desktop: Xfce 4.14.2 tk: Gtk 3.24.20 wm: xfwm4 dm: LightDM
Distro: Manjaro Linux
Machine: Type: Laptop System: LENOVO product: 81SY v: Legion Y540-15IRH-PG0 serial: <filter> Chassis: type: 10
v: Legion Y540-15IRH-PG0 serial: <filter>
Mobo: LENOVO model: LNVNB161216 v: SDK0R32862 WIN serial: <filter> UEFI: LENOVO v: BHCN35WW date: 11/23/2019
Battery: ID-1: BAT0 charge: 31.5 Wh condition: 53.4/52.5 Wh (102%) volts: 11.6/11.3 model: LGC L17L3PG1 serial: <filter>
status: Unknown
CPU: Topology: 6-Core model: Intel Core i7-9750H bits: 64 type: MT MCP arch: Kaby Lake rev: A L2 cache: 12.0 MiB
flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 62431
Speed: 800 MHz min/max: 800/4500 MHz Core speeds (MHz): 1: 800 2: 800 3: 800 4: 800 5: 800 6: 800 7: 800 8: 800
9: 800 10: 800 11: 800 12: 800
Graphics: Device-1: NVIDIA TU117M [GeForce GTX 1650 Mobile / Max-Q] vendor: Lenovo driver: nvidia v: 440.100 bus ID: 01:00.0
chip ID: 10de:1f91
Device-2: Lite-On Integrated Camera type: USB driver: uvcvideo bus ID: 1-6:3 chip ID: 04ca:7070
Display: x11 server: X.Org 1.20.8 driver: nvidia resolution: 1920x1080~60Hz s-dpi: 96
OpenGL: renderer: GeForce GTX 1650/PCIe/SSE2 v: 4.6.0 NVIDIA 440.100 direct render: Yes
Audio: Device-1: Intel Cannon Lake PCH cAVS vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 00:1f.3
chip ID: 8086:a348
Device-2: NVIDIA vendor: Lenovo driver: snd_hda_intel v: kernel bus ID: 01:00.1 chip ID: 10de:10fa
Sound Server: ALSA v: k5.8.6-1-MANJARO
Network: Device-1: Intel Wireless-AC 9560 [Jefferson Peak] driver: iwlwifi v: kernel bus ID: 00:14.3 chip ID: 8086:a370
IF: wlp0s20f3 state: up mac: <filter>
Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Lenovo driver: r8169 v: kernel port: 3000
bus ID: 07:00.0 chip ID: 10ec:8168
IF: enp7s0 state: down mac: <filter>
Drives: Local Storage: total: 1.38 TiB used: 27.79 GiB (2.0%)
ID-1: /dev/nvme0n1 vendor: Samsung model: MZVLB512HBJQ-000L2 size: 476.94 GiB speed: 31.6 Gb/s lanes: 4
serial: <filter>
ID-2: /dev/sda vendor: Seagate model: ST1000LM049-2GH172 size: 931.51 GiB speed: 6.0 Gb/s serial: <filter>
Partition: ID-1: / size: 95.13 GiB used: 14.30 GiB (15.0%) fs: ext4 dev: /dev/nvme0n1p6
ID-2: /home size: 406.44 GiB used: 13.49 GiB (3.3%) fs: ext4 dev: /dev/sda4
Swap: ID-1: swap-1 type: partition size: 7.45 GiB used: 0 KiB (0.0%) priority: -2 dev: /dev/sda3
Sensors: System Temperatures: cpu: 55.0 C mobo: N/A gpu: nvidia temp: 48 C
Fan Speeds (RPM): N/A
Info: Processes: 305 Uptime: 47m Memory: 15.56 GiB used: 2.97 GiB (19.1%) Init: systemd v: 246 Compilers: gcc: 10.2.0
Packages: pacman: 1136 Shell: Bash v: 5.0.18 running in: xfce4-terminal inxi: 3.1.05
the contents of /etc/X11/mhwd.d:
==> mhwd.d/nvidia.conf <==
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 440.82
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "NoLogo" "1"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "COMPOSITE" "Enable"
EndSection
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
==> mhwd.d/nvidia.conf.nvidia-xconfig-original <==
and finally /etc/X11/xorg.conf.d:
==> xorg.conf.d/00-keyboard.conf <==
# Read and parsed by systemd-localed. It's probably wise not to edit this file
# manually too freely.
Section "InputClass"
Identifier "system-keyboard"
MatchIsKeyboard "on"
Option "XkbLayout" "us"
Option "XkbModel" "pc105"
EndSection
==> xorg.conf.d/90-mhwd.conf <==
# nvidia-xconfig: X configuration file generated by nvidia-xconfig
# nvidia-xconfig: version 440.82
Section "ServerLayout"
Identifier "Layout0"
Screen 0 "Screen0"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Mouse0" "CorePointer"
EndSection
Section "Files"
EndSection
Section "InputDevice"
# generated from default
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/psaux"
Option "Emulate3Buttons" "no"
Option "ZAxisMapping" "4 5"
EndSection
Section "InputDevice"
# generated from default
Identifier "Keyboard0"
Driver "kbd"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
Option "NoLogo" "1"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Depth 24
EndSubSection
EndSection
Section "Extensions"
Option "COMPOSITE" "Enable"
EndSection
Section "InputClass"
Identifier "Keyboard Defaults"
MatchIsKeyboard "yes"
Option "XkbOptions" "terminate:ctrl_alt_bksp"
EndSection
If anyone has any suggestions/ideas they would be much appreciated.