Brightness stuck at 100% and unable to adjust brightness

Hello
Garuda Community

i have been trying to get my brightness to work on the laptop with no sucess.. i have spent the last few days from searching the web (Google and Arch Wiki) to asking for help in various discord communities (even installing arch linux and other various flavours) the only distro it seems to work on is ubuntu (its odd)

i have tried adding myself to the video group and adding the nvidia backlight to the 20-nvidia.conf file with no success

i have added keyboard.conf and optimus-manager.conf files incase there is somthing there that needs to be chaged that i am unaware of

my garuda-inxi file below

Kernel: 5.16.16-zen1-1-zen arch: x86_64 bits: 64 compiler: gcc v: 11.2.0
parameters: BOOT_IMAGE=/@/boot/vmlinuz-linux-zen
root=UUID=408275d2-8375-4ce7-ab5f-171c60a110f6 rw [email protected]
quiet quiet splash rd.udev.log_priority=3 vt.global_cursor_default=0
resume=UUID=1e2fa55d-f2a7-4370-83dc-8fdf1cc6f4d2 loglevel=3
Desktop: KDE Plasma v: 5.24.4 tk: Qt v: 5.15.3 info: latte-dock
wm: kwin_x11 vt: 1 dm: SDDM Distro: Garuda Linux base: Arch Linux
Machine:
Type: Laptop System: Dell product: Dell G15 5515 v: 1.5.0
serial: <superuser required> Chassis: type: 10 v: 1.5.0
serial: <superuser required>
Mobo: Dell model: 0TGD6F v: A04 serial: <superuser required> UEFI: Dell
v: 1.5.0 date: 12/21/2021
Battery:
ID-1: BAT1 charge: 53.2 Wh (100.0%) condition: 53.2/56.0 Wh (94.9%)
volts: 13.1 min: 11.4 model: Simplo 0x50,0x39,0x35,0x41,0x0B,0x0A,0x0004
type: Li-ion serial: <filter> status: full
CPU:
Info: model: AMD Ryzen 5 5600H with Radeon Graphics bits: 64 type: MT MCP
arch: Zen 3 family: 0x19 (25) model-id: 0x50 (80) stepping: 0
microcode: 0xA50000C
Topology: cpus: 1x cores: 6 tpc: 2 threads: 12 smt: enabled cache:
L1: 384 KiB desc: d-6x32 KiB; i-6x32 KiB L2: 3 MiB desc: 6x512 KiB
L3: 16 MiB desc: 1x16 MiB
Speed (MHz): avg: 1881 high: 2400 min/max: 1200/3300 boost: enabled
scaling: driver: acpi-cpufreq governor: performance cores: 1: 1915 2: 1909
3: 2400 4: 2055 5: 1488 6: 1915 7: 1915 8: 1912 9: 1742 10: 1913 11: 1658
12: 1757 bogomips: 79050
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm
Vulnerabilities:
Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass
mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1
mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Retpolines, IBPB: conditional, IBRS_FW,
STIBP: always-on, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics:
Device-1: NVIDIA GA107M [GeForce RTX 3050 Mobile] vendor: Dell
driver: nvidia v: 510.54 alternate: nouveau,nvidia_drm pcie: gen: 3
speed: 8 GT/s lanes: 8 link-max: gen: 4 speed: 16 GT/s lanes: 16 ports:
active: none empty: HDMI-A-1 bus-ID: 01:00.0 chip-ID: 10de:25a2
class-ID: 0300
Device-2: AMD Cezanne vendor: Dell driver: amdgpu v: kernel pcie: gen: 3
speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s ports:
active: eDP-1 empty: DP-1 bus-ID: 06:00.0 chip-ID: 1002:1638
class-ID: 0300
Device-3: Microdia Integrated_Webcam_HD type: USB driver: uvcvideo
bus-ID: 1-4:3 chip-ID: 0c45:6720 class-ID: 0e02
Display: x11 server: X.Org v: 1.21.1.3 compositor: kwin_x11 driver: X:
loaded: modesetting,nvidia gpu: amdgpu display-ID: :0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x285mm (20.00x11.22")
s-diag: 582mm (22.93")
Monitor-1: eDP-1 model: ChiMei InnoLux 0x1522 built: 2020 res: 1920x1080
hz: 120 dpi: 142 gamma: 1.2 size: 344x193mm (13.54x7.6")
diag: 394mm (15.5") ratio: 16:9 modes: max: 1920x1080 min: 640x480
OpenGL: renderer: AMD RENOIR (LLVM 13.0.1 DRM 3.44 5.16.16-zen1-1-zen)
v: 4.6 Mesa 22.0.0 direct render: Yes
Audio:
Device-1: NVIDIA driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s
lanes: 8 link-max: gen: 4 speed: 16 GT/s lanes: 16 bus-ID: 01:00.1
chip-ID: 10de:2291 class-ID: 0403
Device-2: AMD Renoir Radeon High Definition Audio vendor: Dell
driver: snd_hda_intel v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16
link-max: gen: 4 speed: 16 GT/s bus-ID: 06:00.1 chip-ID: 1002:1637
class-ID: 0403
Device-3: AMD ACP/ACP3X/ACP6x Audio Coprocessor vendor: Dell
driver: snd_rn_pci_acp3x v: kernel
alternate: snd_pci_acp3x,snd_pci_acp5x,snd_pci_acp6x pcie: gen: 3
speed: 8 GT/s lanes: 16 link-max: gen: 4 speed: 16 GT/s bus-ID: 06:00.5
chip-ID: 1022:15e2 class-ID: 0480
Device-4: AMD Family 17h/19h HD Audio vendor: Dell driver: snd_hda_intel
v: kernel pcie: gen: 3 speed: 8 GT/s lanes: 16 link-max: gen: 4
speed: 16 GT/s bus-ID: 06:00.6 chip-ID: 1022:15e3 class-ID: 0403
Sound Server-1: ALSA v: k5.16.16-zen1-1-zen running: yes
Sound Server-2: PulseAudio v: 15.0 running: no
Sound Server-3: PipeWire v: 0.3.49 running: yes
Network:
Device-1: Realtek RTL8125 2.5GbE vendor: Dell driver: r8169 v: kernel pcie:
gen: 2 speed: 5 GT/s lanes: 1 port: 2000 bus-ID: 03:00.0 chip-ID: 10ec:8125
class-ID: 0200
IF: enp3s0 state: down mac: <filter>
Device-2: Intel Wi-Fi 6 AX200 vendor: Rivet Networks Killer™
driver: iwlwifi v: kernel pcie: gen: 2 speed: 5 GT/s lanes: 1
bus-ID: 04:00.0 chip-ID: 8086:2723 class-ID: 0280
IF: wlp4s0 state: up mac: <filter>
Bluetooth:
Device-1: Intel AX200 Bluetooth type: USB driver: btusb v: 0.8
bus-ID: 1-3:2 chip-ID: 8087:0029 class-ID: e001
Report: bt-adapter ID: hci0 rfk-id: 0 state: up address: <filter>
Drives:
Local Storage: total: 1.4 TiB used: 16.62 GiB (1.2%)
SMART Message: Unable to run smartctl. Root privileges required.
ID-1: /dev/nvme0n1 maj-min: 259:1 model: AITC FZKM SSD 512GB
size: 476.94 GiB block-size: physical: 512 B logical: 512 B
speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: U0914A0L
temp: 46.9 C scheme: GPT
ID-2: /dev/nvme1n1 maj-min: 259:0 model: AITC FZKM SSD 1TB
size: 953.87 GiB block-size: physical: 512 B logical: 512 B
speed: 31.6 Gb/s lanes: 4 type: SSD serial: <filter> rev: 2107XKR
temp: 39.9 C scheme: GPT
Partition:
ID-1: / raw-size: 460.09 GiB size: 460.09 GiB (100.00%)
used: 16.62 GiB (3.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:3
ID-2: /boot/efi raw-size: 300 MiB size: 299.4 MiB (99.80%)
used: 588 KiB (0.2%) fs: vfat dev: /dev/nvme0n1p1 maj-min: 259:2
ID-3: /home raw-size: 460.09 GiB size: 460.09 GiB (100.00%)
used: 16.62 GiB (3.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:3
ID-4: /var/log raw-size: 460.09 GiB size: 460.09 GiB (100.00%)
used: 16.62 GiB (3.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:3
ID-5: /var/tmp raw-size: 460.09 GiB size: 460.09 GiB (100.00%)
used: 16.62 GiB (3.6%) fs: btrfs dev: /dev/nvme0n1p2 maj-min: 259:3
Swap:
Kernel: swappiness: 133 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: partition size: 16.55 GiB used: 0 KiB (0.0%)
priority: -2 dev: /dev/nvme0n1p3 maj-min: 259:4
ID-2: swap-2 type: zram size: 15.04 GiB used: 4.8 MiB (0.0%)
priority: 100 dev: /dev/zram0
Sensors:
System Temperatures: cpu: N/A mobo: N/A gpu: amdgpu temp: 49.0 C
Fan Speeds (RPM): N/A
Info:
Processes: 377 Uptime: 12m wakeups: 372 Memory: 15.05 GiB
used: 2.6 GiB (17.3%) Init: systemd v: 250 tool: systemctl Compilers:
gcc: 11.2.0 Packages: pacman: 1712 lib: 514 Shell: fish v: 3.4.1
default: Bash v: 5.1.16 running-in: konsole inxi: 3.3.14
Garuda (2.5.6-2):
System install date:     2022-04-04
Last full system update: 2022-04-04 ↻
Is partially upgraded:   No
Relevant software:       NetworkManager
Windows dual boot:       No/Undetected
Snapshots:               Snapper
Failed units:            systemd-vconsole-setup.service

10-optimus-manager.conf

Section "Files"
	ModulePath "/usr/lib/nvidia"
	ModulePath "/usr/lib32/nvidia"
	ModulePath "/usr/lib32/nvidia/xorg/modules"
	ModulePath "/usr/lib32/xorg/modules"
	ModulePath "/usr/lib64/nvidia/xorg/modules"
	ModulePath "/usr/lib64/nvidia/xorg"
	ModulePath "/usr/lib64/xorg/modules"
EndSection

Section "ServerLayout"
	Identifier "layout"
	Screen 0 "integrated"
	Inactive "nvidia"
	Option "AllowNVIDIAGPUScreens"
EndSection

Section "Device"
	Identifier "integrated"
	Driver "modesetting"
	BusID "PCI:6:0:0"
	Option "DRI" "3"
EndSection

Section "Screen"
	Identifier "integrated"
	Device "integrated"
EndSection

Section "Device"
	Identifier "nvidia"
	Driver "nvidia"
	BusID "PCI:1:0:0"
	Option "Coolbits" "28"
EndSection

Section "Screen"
	Identifier "nvidia"
	Device "nvidia"
EndSection

00-keyboard.conf

Section "InputClass"
        Identifier "system-keyboard"
        MatchIsKeyboard "on"
        Option "XkbLayout" "au"
EndSection

Did you search your dell model in arch wiki or special driver?
Need special key combo, settings in BIOS?
Laptop/Dell - ArchWiki, no problem post about brightness???
And

:slight_smile:

ive checked my bios and checked arch wiki and couldnt find anything specific.. my bios is setup for multimedia keys so dont need to use a special button combination
display brightness issues so seems isolated to my laptop for what ever reason :open_mouth:
the link you provided definitely didnt mention any issues with brightness

if i navigate to /ect/X11/xorg.conf.d there is no settings for nvidia to control the device, i have tried adding the .conf file before to see if it does anything and pretty much just results in Garuda Crashing on boot and not going anywhere

https://wiki.archlinux.org/title/NVIDIA#Enabling_brightness_control

3 Likes

I tried that last night and literally crashed garuda linux and now wont even boot xD... ive crashed arch and garuda more times than i care to remember over last 3 days trying to get it working

1 Like

It sounds like you added it to the wrong place - the worst that should happen is that it would be ignored. :thinking:

2 Likes

This person has a different distro but the same laptop and disabled Optimus in BIOS which apparently fixed the backlight issue: https://www.linuxquestions.org/questions/linux-laptop-and-netbook-25/backlight-controls-not-working-on-dell-g15-5515-ryzen-edition-4175702678/

I know that is kind of a garbage solution, but it sounds like you might have to wait for an updated driver to come down.

2 Likes

Thankyou for providing that link, i will certainly give it a shot, oddly enough i dont have any brightness control issues in ubuntu like the user in that post which i find really odd... i will try disable optimus and see if i have better luck

This is definitely the most robust way of getting laptops with NVIDIA graphics to work reliably.

I feel for people who don't have that option in the BIOS... :sweat:

1 Like

That is very curious indeed. I wonder if Ubuntu is serving you a better driver? I know they started hiring people to develop for gaming, including I believe working on Nvidia drivers (they want to make themselves the "go-to" distro for gaming on Linux :roll_eyes: ).

More likely it was using Nouveau.

Not sure but i know i had proprietary drivers turned on from get go after initial install which i belive was Nvidia-510

So just checked my bios settings and i have no way to change the optimus settings

I suggest you start from basics and go slowly reading Archwiki article. There are plenty of solutions there.
The simplest possible would be that your system generates more than one backlight service, confusing the mechanism. If you mask the proper one, it may fix the problem. This is only an example.

Post your findings, not your impressions, if you want us to help.

How did you apply this?

1 Like

I followed all instructions

But I used sudo touch to create the .conf file in /xorg.conf.d directory then added the nessasary commands

And used garuda boot options to add the kernel parameters

So not sure where i went wrong

Im going to try again once i reinstall garuda

Sure, but did not post any here so we check for mistakes. Unless you don't do mistakes... :smile:

Really? Wow!!! OK...
So, because you don't want to read wiki and post what you do, you prefer to redo the same things you did, expecting a random lucky different result. This reminds me of something...

1 Like

Haha :smile: well i kinda need garuda installed... can NOT boot into garuda at all cant even get grub to come up so by reinstalling and following the wiki again i can post my steps and will beable to see where i go wrong, its not about doing same thing and expecting a different result... im fully awarw its likely to happen again regardless, i tend to learn quicker by doing stuff over again... a few days ago i could not even install arch linux on my own it took someone to guide me the first time then when it came to reinstalling after i broke it i didnt need no guides to install it.. so eventually ill get to that point with help from wiki a nudge in right direction from the community and from mistakes ill know how to correct the issues without needing help

1 Like

So after alot of frustration and lots and lots of searching around i have finally found the solution..

So the solution to this problem was simply moving away from the linux-zen kernel to a linux LTS kernel

So i am now running Linux kernel 5.15.32-1-lts

I am now able to adjust my brightness via media keys and in the DE without using terminal commands

sudo pacman -S linux-lts

All i need to do now is figure out how to make it use it by default without having to use advanced boot then i can turn grub menu off :slight_smile:

2 Likes

Use the forum search function.
I don't want to spoil the joy of solving your own issues :stuck_out_tongue_winking_eye:

To my suprise i loaded it once via advanced boot, after that it loads up everytime normally... dont know if that was just pure luck :stuck_out_tongue:

A friend suggested linux-tkg kernel but it broke optimus all together .... oops