Brightness control not working on Fedora 35 Gnome 41

Hi folks,

I have been searching around the web for a way to fix this problem, none of the fixes I’ve found worked so far. I’m using supergfxctl to turn in/off the gpu and I have a dell g15 5515 laptop (more info in the images linked bellow).

1. Turn of by switching to integrated gpu

$ sudo supergfxctl --mode integrated

Here’s what I see in the settings:

2. Turn on, but not relying only on the offboard gpu (saves more power)

$ sudo supergfxctl --mode hybrid

Here’s what I see in the settings (sorry for the link, as a new user I cant paste more than 1 image).

So it seems that the switch is working properly… When I run lspci -v I see

In 1. I see this log.
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
	Subsystem: Dell Device 0a6e
	Flags: fast devsel

00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
	Subsystem: Dell Device 0a6e
	Flags: bus master, fast devsel, latency 0, IRQ -2147483648
	Capabilities: <access denied>

00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
	Flags: fast devsel, IOMMU group 0

00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 36, IOMMU group 1
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 00003000-00003fff [size=4K]
	Memory behind bridge: d0000000-d10fffff [size=17M]
	Prefetchable memory behind bridge: 000000fa00000000-000000fc01ffffff [size=8224M]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 37, IOMMU group 2
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: [disabled]
	Memory behind bridge: d1900000-d19fffff [size=1M]
	Prefetchable memory behind bridge: [disabled]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 38, IOMMU group 3
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: 00002000-00002fff [size=4K]
	Memory behind bridge: d1800000-d18fffff [size=1M]
	Prefetchable memory behind bridge: [disabled]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
	Flags: fast devsel, IOMMU group 4

00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 39, IOMMU group 5
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
	I/O behind bridge: [disabled]
	Memory behind bridge: d1700000-d17fffff [size=1M]
	Prefetchable memory behind bridge: [disabled]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge (prog-if 00 [Normal decode])
	DeviceName: Realtek ALC288
	Flags: bus master, fast devsel, latency 0, IRQ 40, IOMMU group 6
	Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
	I/O behind bridge: [disabled]
	Memory behind bridge: d1600000-d16fffff [size=1M]
	Prefetchable memory behind bridge: [disabled]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
	Flags: fast devsel, IOMMU group 7

00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 41, IOMMU group 7
	Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
	I/O behind bridge: 00001000-00001fff [size=4K]
	Memory behind bridge: d1200000-d15fffff [size=4M]
	Prefetchable memory behind bridge: 000000fc10000000-000000fc201fffff [size=258M]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 42, IOMMU group 7
	Bus: primary=00, secondary=07, subordinate=07, sec-latency=0
	I/O behind bridge: [disabled]
	Memory behind bridge: d1100000-d11fffff [size=1M]
	Prefetchable memory behind bridge: [disabled]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
	Subsystem: Dell Device 0a6e
	Flags: 66MHz, medium devsel, IOMMU group 8
	Kernel driver in use: piix4_smbus
	Kernel modules: i2c_piix4, sp5100_tco

00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
	Subsystem: Dell Device 0a6e
	Flags: bus master, 66MHz, medium devsel, latency 0, IOMMU group 8

00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 0
	Flags: fast devsel, IOMMU group 9

00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 1
	Flags: fast devsel, IOMMU group 9

00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 2
	Flags: fast devsel, IOMMU group 9

00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 3
	Flags: fast devsel, IOMMU group 9
	Kernel driver in use: k10temp
	Kernel modules: k10temp

00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 4
	Flags: fast devsel, IOMMU group 9

00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 5
	Flags: fast devsel, IOMMU group 9

00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 6
	Flags: fast devsel, IOMMU group 9

00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 7
	Flags: fast devsel, IOMMU group 9

02:00.0 Non-Volatile memory controller: ADATA Technology Co., Ltd. Device 33f3 (rev 03) (prog-if 02 [NVM Express])
	Subsystem: ADATA Technology Co., Ltd. Device 33f3
	Flags: bus master, fast devsel, latency 0, IRQ 70, NUMA node 0, IOMMU group 11
	Memory at d1900000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: nvme
	Kernel modules: nvme

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
	Subsystem: Realtek Semiconductor Co., Ltd. Device 0123
	Flags: fast devsel, IRQ 24, IOMMU group 12
	I/O ports at 2000 [size=256]
	Memory at d1800000 (64-bit, non-prefetchable) [size=64K]
	Memory at d1810000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: r8169
	Kernel modules: r8169

04:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
	Subsystem: Rivet Networks Killer™ Wi-Fi 6 AX1650x (AX200NGW)
	Flags: bus master, fast devsel, latency 0, IRQ 66, IOMMU group 13
	Memory at d1700000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

05:00.0 Non-Volatile memory controller: Realtek Semiconductor Co., Ltd. RTS5763DL NVMe SSD Controller (rev 01) (prog-if 02 [NVM Express])
	Subsystem: Realtek Semiconductor Co., Ltd. RTS5763DL NVMe SSD Controller
	Flags: bus master, fast devsel, latency 0, IRQ 72, NUMA node 0, IOMMU group 14
	Memory at d1600000 (64-bit, non-prefetchable) [size=16K]
	Memory at d1604000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: nvme
	Kernel modules: nvme

06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne (rev c5) (prog-if 00 [VGA controller])
	Subsystem: Dell Device 0a6e
	Flags: bus master, fast devsel, latency 0, IRQ 56, IOMMU group 7
	Memory at fc10000000 (64-bit, prefetchable) [size=256M]
	Memory at fc20000000 (64-bit, prefetchable) [size=2M]
	I/O ports at 1000 [size=256]
	Memory at d1500000 (32-bit, non-prefetchable) [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

06:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
	Subsystem: Dell Device 0a6e
	Flags: bus master, fast devsel, latency 0, IRQ 66, IOMMU group 7
	Memory at d1400000 (32-bit, non-prefetchable) [size=1M]
	Memory at d15c8000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: ccp
	Kernel modules: ccp

06:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 (prog-if 30 [XHCI])
	Subsystem: Dell Device 0a6e
	Flags: fast devsel, IRQ 47, IOMMU group 7
	Memory at d1200000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd

06:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 (prog-if 30 [XHCI])
	Subsystem: Dell Device 0a6e
	Flags: bus master, fast devsel, latency 0, IRQ 56, IOMMU group 7
	Memory at d1300000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd

06:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor (rev 01)
	Subsystem: Dell Device 0a6e
	Flags: bus master, fast devsel, latency 0, IRQ 98, IOMMU group 7
	Memory at d1580000 (32-bit, non-prefetchable) [size=256K]
	Capabilities: <access denied>
	Kernel driver in use: snd_rn_pci_acp3x
	Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x

06:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
	Subsystem: Dell Device 0a6e
	Flags: bus master, fast devsel, latency 0, IRQ 118, IOMMU group 7
	Memory at d15c0000 (32-bit, non-prefetchable) [size=32K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

07:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81) (prog-if 01 [AHCI 1.0])
	Subsystem: Dell Device 0a6e
	Flags: bus master, fast devsel, latency 0, IRQ 44, IOMMU group 7
	Memory at d1101000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci

07:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81) (prog-if 01 [AHCI 1.0])
	Subsystem: Dell Device 0a6e
	Flags: bus master, fast devsel, latency 0, IRQ 46, IOMMU group 7
	Memory at d1100000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci
In 2. I see this one.
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne Root Complex
	Subsystem: Dell Device 0a6e
	Flags: fast devsel

00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne IOMMU
	Subsystem: Dell Device 0a6e
	Flags: bus master, fast devsel, latency 0, IRQ -2147483648
	Capabilities: <access denied>

00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
	Flags: fast devsel, IOMMU group 0

00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe GPP Bridge (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 36, IOMMU group 1
	Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
	I/O behind bridge: 00003000-00003fff [size=4K]
	Memory behind bridge: d0000000-d10fffff [size=17M]
	Prefetchable memory behind bridge: 000000fa00000000-000000fc01ffffff [size=8224M]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 37, IOMMU group 2
	Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
	I/O behind bridge: [disabled]
	Memory behind bridge: d1900000-d19fffff [size=1M]
	Prefetchable memory behind bridge: [disabled]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 38, IOMMU group 3
	Bus: primary=00, secondary=03, subordinate=03, sec-latency=0
	I/O behind bridge: 00002000-00002fff [size=4K]
	Memory behind bridge: d1800000-d18fffff [size=1M]
	Prefetchable memory behind bridge: [disabled]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
	Flags: fast devsel, IOMMU group 4

00:02.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 39, IOMMU group 5
	Bus: primary=00, secondary=04, subordinate=04, sec-latency=0
	I/O behind bridge: [disabled]
	Memory behind bridge: d1700000-d17fffff [size=1M]
	Prefetchable memory behind bridge: [disabled]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne PCIe GPP Bridge (prog-if 00 [Normal decode])
	DeviceName: Realtek ALC288
	Flags: bus master, fast devsel, latency 0, IRQ 40, IOMMU group 6
	Bus: primary=00, secondary=05, subordinate=05, sec-latency=0
	I/O behind bridge: [disabled]
	Memory behind bridge: d1600000-d16fffff [size=1M]
	Prefetchable memory behind bridge: [disabled]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Renoir PCIe Dummy Host Bridge
	Flags: fast devsel, IOMMU group 7

00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 41, IOMMU group 7
	Bus: primary=00, secondary=06, subordinate=06, sec-latency=0
	I/O behind bridge: 00001000-00001fff [size=4K]
	Memory behind bridge: d1200000-d15fffff [size=4M]
	Prefetchable memory behind bridge: 000000fc10000000-000000fc201fffff [size=258M]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Renoir Internal PCIe GPP Bridge to Bus (prog-if 00 [Normal decode])
	Flags: bus master, fast devsel, latency 0, IRQ 42, IOMMU group 7
	Bus: primary=00, secondary=07, subordinate=07, sec-latency=0
	I/O behind bridge: [disabled]
	Memory behind bridge: d1100000-d11fffff [size=1M]
	Prefetchable memory behind bridge: [disabled]
	Capabilities: <access denied>
	Kernel driver in use: pcieport

00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 51)
	Subsystem: Dell Device 0a6e
	Flags: 66MHz, medium devsel, IOMMU group 8
	Kernel driver in use: piix4_smbus
	Kernel modules: i2c_piix4, sp5100_tco

00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
	Subsystem: Dell Device 0a6e
	Flags: bus master, 66MHz, medium devsel, latency 0, IOMMU group 8

00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 0
	Flags: fast devsel, IOMMU group 9

00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 1
	Flags: fast devsel, IOMMU group 9

00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 2
	Flags: fast devsel, IOMMU group 9

00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 3
	Flags: fast devsel, IOMMU group 9
	Kernel driver in use: k10temp
	Kernel modules: k10temp

00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 4
	Flags: fast devsel, IOMMU group 9

00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 5
	Flags: fast devsel, IOMMU group 9

00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 6
	Flags: fast devsel, IOMMU group 9

00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Cezanne Data Fabric; Function 7
	Flags: fast devsel, IOMMU group 9

01:00.0 VGA compatible controller: NVIDIA Corporation GA106M [GeForce RTX 3060 Mobile / Max-Q] (rev a1) (prog-if 00 [VGA controller])
	Subsystem: Dell Device 0a6e
	Physical Slot: 0
	Flags: bus master, fast devsel, latency 0, IRQ 116, IOMMU group 10
	Memory at d0000000 (32-bit, non-prefetchable) [size=16M]
	Memory at fa00000000 (64-bit, prefetchable) [size=8G]
	Memory at fc00000000 (64-bit, prefetchable) [size=32M]
	I/O ports at 3000 [size=128]
	Expansion ROM at d1080000 [virtual] [disabled] [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: nvidia
	Kernel modules: nouveau, nvidia_drm, nvidia

01:00.1 Audio device: NVIDIA Corporation Device 228e (rev a1)
	Subsystem: NVIDIA Corporation Device 0000
	Physical Slot: 0
	Flags: bus master, fast devsel, latency 0, IRQ 117, IOMMU group 10
	Memory at d1000000 (32-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

02:00.0 Non-Volatile memory controller: ADATA Technology Co., Ltd. Device 33f3 (rev 03) (prog-if 02 [NVM Express])
	Subsystem: ADATA Technology Co., Ltd. Device 33f3
	Flags: bus master, fast devsel, latency 0, IRQ 70, NUMA node 0, IOMMU group 11
	Memory at d1900000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: nvme
	Kernel modules: nvme

03:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller (rev 05)
	Subsystem: Realtek Semiconductor Co., Ltd. Device 0123
	Flags: fast devsel, IRQ 24, IOMMU group 12
	I/O ports at 2000 [size=256]
	Memory at d1800000 (64-bit, non-prefetchable) [size=64K]
	Memory at d1810000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: r8169
	Kernel modules: r8169

04:00.0 Network controller: Intel Corporation Wi-Fi 6 AX200 (rev 1a)
	Subsystem: Rivet Networks Killer™ Wi-Fi 6 AX1650x (AX200NGW)
	Flags: bus master, fast devsel, latency 0, IRQ 66, IOMMU group 13
	Memory at d1700000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: iwlwifi
	Kernel modules: iwlwifi

05:00.0 Non-Volatile memory controller: Realtek Semiconductor Co., Ltd. RTS5763DL NVMe SSD Controller (rev 01) (prog-if 02 [NVM Express])
	Subsystem: Realtek Semiconductor Co., Ltd. RTS5763DL NVMe SSD Controller
	Flags: bus master, fast devsel, latency 0, IRQ 72, NUMA node 0, IOMMU group 14
	Memory at d1600000 (64-bit, non-prefetchable) [size=16K]
	Memory at d1604000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: nvme
	Kernel modules: nvme

06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Cezanne (rev c5) (prog-if 00 [VGA controller])
	Subsystem: Dell Device 0a6e
	Flags: bus master, fast devsel, latency 0, IRQ 56, IOMMU group 7
	Memory at fc10000000 (64-bit, prefetchable) [size=256M]
	Memory at fc20000000 (64-bit, prefetchable) [size=2M]
	I/O ports at 1000 [size=256]
	Memory at d1500000 (32-bit, non-prefetchable) [size=512K]
	Capabilities: <access denied>
	Kernel driver in use: amdgpu
	Kernel modules: amdgpu

06:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) Platform Security Processor
	Subsystem: Dell Device 0a6e
	Flags: bus master, fast devsel, latency 0, IRQ 66, IOMMU group 7
	Memory at d1400000 (32-bit, non-prefetchable) [size=1M]
	Memory at d15c8000 (32-bit, non-prefetchable) [size=8K]
	Capabilities: <access denied>
	Kernel driver in use: ccp
	Kernel modules: ccp

06:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 (prog-if 30 [XHCI])
	Subsystem: Dell Device 0a6e
	Flags: fast devsel, IRQ 47, IOMMU group 7
	Memory at d1200000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd

06:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Renoir/Cezanne USB 3.1 (prog-if 30 [XHCI])
	Subsystem: Dell Device 0a6e
	Flags: bus master, fast devsel, latency 0, IRQ 56, IOMMU group 7
	Memory at d1300000 (64-bit, non-prefetchable) [size=1M]
	Capabilities: <access denied>
	Kernel driver in use: xhci_hcd

06:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] Raven/Raven2/FireFlight/Renoir Audio Processor (rev 01)
	Subsystem: Dell Device 0a6e
	Flags: bus master, fast devsel, latency 0, IRQ 98, IOMMU group 7
	Memory at d1580000 (32-bit, non-prefetchable) [size=256K]
	Capabilities: <access denied>
	Kernel driver in use: snd_rn_pci_acp3x
	Kernel modules: snd_pci_acp3x, snd_rn_pci_acp3x, snd_pci_acp5x

06:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 10h-1fh) HD Audio Controller
	Subsystem: Dell Device 0a6e
	Flags: bus master, fast devsel, latency 0, IRQ 118, IOMMU group 7
	Memory at d15c0000 (32-bit, non-prefetchable) [size=32K]
	Capabilities: <access denied>
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

07:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81) (prog-if 01 [AHCI 1.0])
	Subsystem: Dell Device 0a6e
	Flags: bus master, fast devsel, latency 0, IRQ 44, IOMMU group 7
	Memory at d1101000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci

07:00.1 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 81) (prog-if 01 [AHCI 1.0])
	Subsystem: Dell Device 0a6e
	Flags: bus master, fast devsel, latency 0, IRQ 46, IOMMU group 7
	Memory at d1100000 (32-bit, non-prefetchable) [size=2K]
	Capabilities: <access denied>
	Kernel driver in use: ahci

Also I was using the latest nvidia drivers, then I installed the 470xx, which didn’t change a thing.

Finally here is my grub file
GRUB_TIMEOUT=5
GRUB_DISTRIBUTOR="$(sed 's, release .*$,,g' /etc/system-release)"
GRUB_DEFAULT=saved
GRUB_DISABLE_SUBMENU=true
GRUB_TERMINAL_OUTPUT="console"
GRUB_CMDLINE_LINUX="rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1 rhgb quiet amdgpu.backlight=0 rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1"
GRUB_DISABLE_RECOVERY="true"
GRUB_ENABLE_BLSCFG=true

Would anyone have an insight on this? Perhaps the supergfxctl is doing something wrong when combining with Fedora? Please let me know if you need more info!

Thanks in advance,

I am curious why you seem to think the GPU switching would affect screen brightness. The GPU has nothing to do with screen brightness.

It appears that utility supports switching between the GPUs, but does not have anything to do with controlling the backlight brightness, so search further for the proper tool or use what is native in linux to manage it. (I don’t have a Dell and have never seen a need to adjust the brightness on my Asus laptop so cannot assist there.)

There are 24 earlier posts in this forum that come up with a ‘laptop brightness’ search so maybe one of those can provide some pointers.

1 Like

Hi all,

I’m not sure if brightness related directly to GPU driver directly or through other driver. But the value of current state of brightness are available under directory /sys/class/backlight/<gpu-name>/brightness.

In my laptop the full path is /sys/class/backlight/amdgpu_bl0/brightness.

We could change it manually, but first we need login as root (regular sudo echo will not work). After that just echo-ing value between 0 and what written inmax-brightness file in the same directory (beware not change the value above the value inside max-brightness file).

# Login as root, type su then enter and typing your password.
sudo su

# Change the value of brightness file as root, 
# replace <gpu-name> with the folder you found 
# in /sys/class/backlight/
echo 100 > /sys/class/backlight/<gpu-name>/brightness

If the brightness changed after you running above command, most likely you having trouble with any app or GUI interface or physical key (usually on laptop) that controlling the value in brightness file.

But if not changed, after your running the command, most likely it related to the driver that could be your monitor driver (not always GPU) or port connection like hdmi or usb port.

1 Like

Thanks for the further pointers @oprizal
Using your info I checked on my laptop and found max_brightness at 24000.
I also found brightness at 7368.

My laptop is dual GPU with the IGP as intel and the dGPU as nvidia.
The driver that controls the brightness is the intel since I found

$ ls /sys/class/backlight
intel_backlight

I have never directly changed the brightness, although in gnome I have gone to settings → displays → nightlight and have adjusted the color temp there for a warmer setting at night. While I don’t know if that only changes the colors to reduce the blue light or if it also adjusts the backlight, that may be one place to look. Warmer color temps do visually dim the screen.

I am curious why you seem to think the GPU switching would affect screen brightness. The GPU has nothing to do with screen brightness.

I thought my setup was messing with the brightness control somehow.

There are 24 earlier posts in this forum that come up with a ‘laptop brightness’ search so maybe one of those can provide some pointers.

Yeah, I tried pretty much everything I saw and nothing worked :slightly_frowning_face:

Hi,

Thanks for the thorough example, but that doesn’t work for me :confused:
I’m trying to change the brightness on the laptop screen, so it’s probably the monitor driver, then. Would you happen to know how can I proceed from here?

First, let’s tidying your GRUB. Looks like you have some double parameters.rd.driver.blacklist=nouveau, modprobe.blacklist=nouveau, nvidia-drm.modeset=1 it’s written twice. Clean the duplicate parameters, then recreate the GRUB with grub2-mkconfig. Reboot.

1 Like

That is very weird indeed, I think supergfxctl duplicates them. Anyway, when I logged in I saw this in the loading screen

NVIDIA kernel module missing. Falling back to nouveau.

So it seems that something stops working after a while, idk if it’s supergfxctl or else. Then after that, I changed the grub file and rebooted.

I have seen those terms get duplicated by installing the nvidia drivers from rpmfusion twice.

The message about the NVIDIA kernel module missing. Falling back ot nouveau seems mostly to be related to those individuals/systems that recently updated to fedora 35 but have secure boot enabled. The fedora 35 (& some 34) kernels (notably the 5.15 kernels) seem to absolutely prevent loading unsigned kernel modules when secure boot is active.

2 Likes

Yeah, I kinda saw that and disabled secure boot, but I’m using UEFI instead of legacy mode. Not sure if this is the cause.

I don’t think that was an issue with legacy mode boot in the past since it is the newer bios that supports secure boot. I see it mostly talked about with uefi booting, but definitely newer machines and all that support uefi boot even if using legacy mode.

Hi, on the very bottom RPMFussion page there a guide on how to uninstall and recover from Nvidia Driver. You could follow those 2 steps first. Then you could try use @t0xic0der Nvidia auto installer.

1 Like

Ok, now it seems I have two problems,

  • I uninstalled and recovered the driver then used nvidia auto installer, but the problem persists.
  • I also found this tutorial from Dell to fix the brightness control, which also didn’t work.

Could you post the result of sudo grubby --info=ALL then lsmod | grep drm and systemctl status supergfxd.service?

1 Like

Here’s the outputs

$ sudo grubby --info=ALL
index=0
kernel="/boot/vmlinuz-5.15.6-200.fc35.x86_64"
args="ro rootflags=subvol=root rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1"
root="UUID=8ba428b3-d9bf-4f4d-889e-243b7bc7c1a3"
initrd="/boot/initramfs-5.15.6-200.fc35.x86_64.img"
title="Fedora Linux (5.15.6-200.fc35.x86_64) 35 (Workstation Edition)"
id="7ccebcb1f2c043ecbdda0f1a5b5777b9-5.15.6-200.fc35.x86_64"
index=1
kernel="/boot/vmlinuz-0-rescue-7ccebcb1f2c043ecbdda0f1a5b5777b9"
args="ro rootflags=subvol=root rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1"
root="UUID=8ba428b3-d9bf-4f4d-889e-243b7bc7c1a3"
initrd="/boot/initramfs-0-rescue-7ccebcb1f2c043ecbdda0f1a5b5777b9.img"
title="Fedora Linux (0-rescue-7ccebcb1f2c043ecbdda0f1a5b5777b9) 35 (Workstation Edition)"
id="7ccebcb1f2c043ecbdda0f1a5b5777b9-0-rescue"
$ lsmod | grep drm
drm_ttm_helper         16384  1 amdgpu
ttm                    81920  2 amdgpu,drm_ttm_helper
drm_kms_helper        311296  1 amdgpu
cec                    61440  1 drm_kms_helper
drm                   630784  12 gpu_sched,drm_kms_helper,amdgpu,drm_ttm_helper,ttm
$ systemctl status supergfxd.service
● supergfxd.service - SUPERGFX
     Loaded: loaded (/usr/lib/systemd/system/supergfxd.service; enabled; vendor preset: disabled)
     Active: active (running) since Sun 2021-12-19 10:40:17 -03; 1 day 7h ago
   Main PID: 1052 (supergfxd)
      Tasks: 1 (limit: 18336)
     Memory: 1.7M
        CPU: 58ms
     CGroup: /system.slice/supergfxd.service
             └─1052 /usr/bin/supergfxd

Dec 19 10:40:17 fedora supergfxd[1052]: INFO: GFX: 0000:06:00.3: Function for 0000:06:00.0
Dec 19 10:40:17 fedora supergfxd[1052]: INFO: GFX: 0000:01:00.0: NVIDIA graphics, setting PM to auto
Dec 19 10:40:17 fedora supergfxd[1052]: INFO: GFX: Writing /etc/X11/xorg.conf.d/90-nvidia-primary.conf
Dec 19 10:40:17 fedora supergfxd[1052]: INFO: GFX: Writing /etc/modprobe.d/supergfxd.conf
Dec 19 10:40:17 fedora supergfxd[1052]: INFO: snd_hda_intel: Unbinding 0000:01:00.1
Dec 19 10:40:17 fedora supergfxd[1052]: INFO: 0000:01:00.0: Removing
Dec 19 10:40:17 fedora supergfxd[1052]: INFO: 0000:01:00.1: Removing
Dec 19 10:40:17 fedora supergfxd[1052]: INFO: Removed all gfx devices
Dec 19 10:40:17 fedora supergfxd[1052]: INFO: GFX: Disabling nvidia-fallback.service
Dec 19 10:40:17 fedora supergfxd[1052]: INFO: GFX: Reloaded gfx mode: Integrated

You need to switch to nvidia to test out if there are no longer messages NVIDIA kernel module missing. Falling back to nouveau. Then check with lsmod | grep drm again. If your nvidia installation was succeed, you should get the result mentioning nvidia. If failed, you’ll get nouveau or no result. Don’t forget to reboot to make sure everything loaded correctly.

When you’re using nvidia GPU, please check if the brightness working or not.

After that, please remove nvidia-drm.modeset=1 by using sudo grubby --remove-args="nvidia-drm.modeset=1" --update-kernel=ALL then reboot (no need to run grub2-mkconfig).

I believe nvidia-drm.modeset=1 will preventing your system to accessing amdgpu driver capabilities when you’re currently using amdgpu.

Each time you switching the gpu, I believe you should at least logout the login again since supergfxd maybe also make modification in user .xsession file.

1 Like

Yeah, that was the problem… For some reason when using supergfxd, I need to logout and then reboot, only rebooting doesn’t work, so I was changing from integrated to hybrid but the change wasn’t persisted on reboot. Now it works perfectly and the message doesn’t appear anymore.

Unfortunately the problem persists either way :frowning: .

For some reason this command didn’t work, so I removed myself and regenerated a new grub file and reboot.

Yeah, I should logout every time, but it seems there’s a way of doing that without rebooting (I didn’t try tho).

Now running the commands:

sudo grubby --info=ALL
[sudo] password for lucas: 
index=0
kernel="/boot/vmlinuz-5.15.6-200.fc35.x86_64"
args="ro rootflags=subvol=root rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1"
root="UUID=8ba428b3-d9bf-4f4d-889e-243b7bc7c1a3"
initrd="/boot/initramfs-5.15.6-200.fc35.x86_64.img"
title="Fedora Linux (5.15.6-200.fc35.x86_64) 35 (Workstation Edition)"
id="7ccebcb1f2c043ecbdda0f1a5b5777b9-5.15.6-200.fc35.x86_64"
index=1
kernel="/boot/vmlinuz-0-rescue-7ccebcb1f2c043ecbdda0f1a5b5777b9"
args="ro rootflags=subvol=root rhgb quiet rd.driver.blacklist=nouveau modprobe.blacklist=nouveau nvidia-drm.modeset=1"
root="UUID=8ba428b3-d9bf-4f4d-889e-243b7bc7c1a3"
initrd="/boot/initramfs-0-rescue-7ccebcb1f2c043ecbdda0f1a5b5777b9.img"
title="Fedora Linux (0-rescue-7ccebcb1f2c043ecbdda0f1a5b5777b9) 35 (Workstation Edition)"
id="7ccebcb1f2c043ecbdda0f1a5b5777b9-0-rescue"
lsmod | grep drm
nvidia_drm             73728  2
nvidia_modeset       1150976  3 nvidia_drm
drm_ttm_helper         16384  1 amdgpu
ttm                    81920  2 amdgpu,drm_ttm_helper
drm_kms_helper        311296  2 amdgpu,nvidia_drm
cec                    61440  1 drm_kms_helper
drm                   630784  18 gpu_sched,drm_kms_helper,nvidia,amdgpu,drm_ttm_helper,nvidia_drm,ttm

So supergfxd is working just fine at least, though the brightness problem still haunts me.

I tried to find around and found this, you need to disable optimus in BIOS.

And also suprisingly, on supergfxctl readme it also said:

This switcher conflicts with other gpu switchers like optimus-manager, suse-prime
or ubuntu-prime, system76-power, and bbswitch.

Hope this will solve your problem.

Yeah, that doesn’t work either, I can’t even boot into Fedora, the screen goes black and nothing happens :pensive: . But Windows works fine.

My bad. Are enabling optimus in bios make everything back as before? Btw, may be you could re-read the supergfxctl readme page again.

1 Like