Unable to change brightness (22.04, Lenovo Legion 5 17IMH05H)

hello kind ppl, I'm running ubuntu 22.04 mate install on lenovo legion 5 17imh05h and have this issue:

  • laptop monitor running at 100% brightness level can't change it any way - tried few cases from askubuntu but none worked... I'm using nvidia driver metapackage from nvidia-driver-525 (proprietary) - tried few other options from additional drivers but none helped

also tried 'light' package - it doesn't affect monitor brightness any way

what can I do to solve this issue?
hope this is not a duplicate - searched but not able to find matching problems

1 Like

Welcome to the Ubuntu MATE community, @zodiaq!

You can try this command in the terminal to reduce the brightness to 50%. If that works, I can provide you with instructions for mapping your hardware brightness keys to increase and decrease the brightness in 10% increments.

gsettings set org.mate.power-manager brightness-ac 50
1 Like

Hi,

sadly this command had no effect on brightness

don't see any errors / warnings in syslog when I use above command

also here's output from lshw if that is of any help:

sudo lshw -C video
  *-display UNCLAIMED       
       description: VGA compatible controller
       product: TU106M [GeForce RTX 2060 Mobile]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller cap_list
       configuration: latency=0
       resources: memory:b4000000-b4ffffff memory:a0000000-afffffff memory:b0000000-b1ffffff ioport:4000(size=128) memory:b3000000-b307ffff
  *-graphics
       product: EFI VGA
       physical id: 3
       logical name: /dev/fb0
       capabilities: fb
       configuration: depth=32 resolution=1920,1080

Annnnnd... issue solved :slight_smile:

Turns out I had incorrect BIOS setting - for some reason for 'Graphic Device' instead of 'Dynamic graphics' I had 'Discrete graphics' - after changing this setting brightness works, and even external monitor is detected

here's new output from lshw:

sudo lshw -C video
  *-display                 
       description: VGA compatible controller
       product: TU106M [GeForce RTX 2060 Mobile]
       vendor: NVIDIA Corporation
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:161 memory:c5000000-c5ffffff memory:b0000000-bfffffff memory:c0000000-c1ffffff ioport:4000(size=128) memory:c4000000-c407ffff
  *-display
       description: VGA compatible controller
       product: CometLake-H GT2 [UHD Graphics]
       vendor: Intel Corporation
       physical id: 2
       bus info: pci@0000:00:02.0
       logical name: /dev/fb0
       version: 05
       width: 64 bits
       clock: 33MHz
       capabilities: pciexpress msi pm vga_controller bus_master cap_list rom fb
       configuration: depth=32 driver=i915 latency=0 resolution=1920,1080
       resources: irq:144 memory:c3000000-c3ffffff memory:a0000000-afffffff ioport:5000(size=64) memory:c0000-dffff

thank You for your time, closing this topic

3 Likes