You are not logged in.

#1 2022-12-10 02:24:33

SinonTM
Member
Registered: 2022-12-06
Posts: 9

Brightness on Slim 7 Pro X laptop with Arch Linux

Hi all,
I've been dual-booting windows and arch linux on my laptop, and since day one I haven't been able to change the brightness on it. I've tried all of the tools and commands I can think of: light, brightnessctl, gammastep, redshift, xrandr and some others that I have forgotten. I am on hyprland, however, even in other desktop environments, the brightness does not work. I know the keys work because there are notifications and brightness bars changing. Just has no effect.

I don't really know what type of log files to post here, but here is part of my grub config

GRUB_DEFAULT="0"
GRUB_TIMEOUT="5"
GRUB_DISTRIBUTOR="Arch"
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3"
GRUB_CMDLINE_LINUX=""

The directory /sys/class/backlight contains two objects, "amdgpu_bl0" and "ideapad". I can use commands to change the brightness level of those backlights, and it even updates the values, but there is no physical effect.
Another side effect I have noticed is that sometimes I boot my computer and the brightness is normal, after suspending and re-opening the brightness is at maximum.

The only two things that have shown any promise are gammastep. A while back when I did

gammastep -o -b 0.5:0.5

it changed the gamma, but not the brightness.

And wlsunset:

 wlsunset -g 0.5

wlsunset has no brightness however.


If there are any solutions you can think of please let me know.

Offline

#2 2022-12-10 02:35:48

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: Brightness on Slim 7 Pro X laptop with Arch Linux

Does it work in Windows?

Boot into Windows and make sure 'Fast Start' is disabled.

Then boot Linux. According to seth's 'voodoo' reasons, you then need to boot twice.  I don't believe in voodoo, but I do believe in seth, so you should try it.
Then post the journal.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#3 2022-12-10 03:08:00

SinonTM
Member
Registered: 2022-12-06
Posts: 9

Re: Brightness on Slim 7 Pro X laptop with Arch Linux

It does work in Windows (Sorry for not posting). I checked and Fast Start is disabled. How to post journal? I don't know much about log files sorry.
Edit: Another thing I add is that today I rebooted the laptop (for the 1000th time) and for no reason that I could see, my wifi card stopped responding. nmcli or any other command could see it. It was just like it didn't exist. At the same time, my brightness permanently maxed, with no accidental lower brightness like before. I don't really know what happened. The wifi works on Windows though.

Last edited by SinonTM (2022-12-10 03:14:44)

Offline

#4 2022-12-10 03:40:26

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: Brightness on Slim 7 Pro X laptop with Arch Linux

journalctl -b --no-pager | curl -F 'file=@-' 0x0.st 
lspci
(cd /etc/systemd/system/ && find  -name "*.service")

CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#5 2022-12-10 03:51:56

SinonTM
Member
Registered: 2022-12-06
Posts: 9

Re: Brightness on Slim 7 Pro X laptop with Arch Linux

1. Journal

2.

00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Root Complex (rev 01)
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Family 17h-19h IOMMU
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge (rev 01)
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 14b8
00:02.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge (rev 01)
00:02.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe GPP Bridge
00:02.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe GPP Bridge
00:03.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge (rev 01)
00:04.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge (rev 01)
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h PCIe Dummy Host Bridge (rev 01)
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h Internal PCIe GPP Bridge (rev 10)
00:08.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Family 17h-19h Internal PCIe GPP Bridge (rev 10)
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 71)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 0
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 1
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 2
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 3
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 4
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 5
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 6
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Rembrandt Data Fabric: Device 18h; Function 7
01:00.0 VGA compatible controller: NVIDIA Corporation GA107BM [GeForce RTX 3050 Mobile] (rev a1)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. Device b852
03:00.0 Non-Volatile memory controller: Micron Technology Inc Device 5407
04:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt [Radeon 680M] (rev 01)
04:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Rembrandt Radeon High Definition Audio Controller
04:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] VanGogh PSP/CCP
04:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #3
04:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #4
04:00.5 Multimedia controller: Advanced Micro Devices, Inc. [AMD] ACP/ACP3X/ACP6x Audio Coprocessor (rev 60)
04:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Family 17h/19h HD Audio Controller
05:00.0 USB controller: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #8
05:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #5
05:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Rembrandt USB4 XHCI controller #6

3.

./network-online.target.wants/NetworkManager-wait-online.service
./dbus-org.freedesktop.nm-dispatcher.service
./getty.target.wants/getty@tty1.service
./multi-user.target.wants/dhcpcd.service
./multi-user.target.wants/snapd.apparmor.service
./multi-user.target.wants/NetworkManager.service
./display-manager.service

Offline

#6 2022-12-10 05:04:37

cfr
Member
From: Cymru
Registered: 2011-11-27
Posts: 7,132

Re: Brightness on Slim 7 Pro X laptop with Arch Linux

For the wifi: you have conflicting services managing the network. Decide whether you want dhcpcd or NetworkManager and disable the other.

Dec 09 19:39:28 SlimLinux kernel: ideapad_acpi VPC2004:00: Keyboard backlight control not available

Do you have any reason for using

acpi_backlight=vendor

? What happens if you boot without it?

Are there any firmware updates available for your machine which mention anything promising? The kernel complains about your BIOS - though I don't think that's unusual - and I don't know if anything there might be related.


CLI Paste | How To Ask Questions

Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L

Offline

#7 2022-12-10 05:28:49

SinonTM
Member
Registered: 2022-12-06
Posts: 9

Re: Brightness on Slim 7 Pro X laptop with Arch Linux

I understand about the network, thanks for noticing that. It's so obvious now that I think about it.

I don't know what the complaint about the keyboard is, the backlight works perfectly.

The acpi_backlight, is a solution that a lot of wikis and people recommend, and I tried it with all possible args. Nothing helped. I currently have it removed from the grub. I can look around for updates, but this machine is really new so I'm 99% sure it is up to date.

Thanks

Offline

#8 2022-12-10 06:39:52

SinonTM
Member
Registered: 2022-12-06
Posts: 9

Re: Brightness on Slim 7 Pro X laptop with Arch Linux

Quick add:
I turned off dhcpcd and the wifi card is still dead.

Offline

Board footer

Powered by FluxBB