You are not logged in.

#1 2021-10-16 00:36:38

LiterallyBlah
Member
Registered: 2021-10-16
Posts: 4

Brightness adjust does not affect brightness

I've recently installed Arch on a space 500GB SSD on my Razer Blade Pro 17 (Early 2020) RTX2080 Super 4k IPS display.
Nvidia and Intel drivers are installed, and are working properly. Display is perfect with no screen tearing or any flickering. It's just the brightness that is the issue and using this OS is burning my eyes down to the pits of hell.

lspci
00:00.0 Host bridge: Intel Corporation 10th Gen Core Processor Host Bridge/DRAM Registers (rev 02)
00:01.0 PCI bridge: Intel Corporation 6th-10th Gen Core Processor PCIe Controller (x16) (rev 02)
00:04.0 Signal processing controller: Intel Corporation Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Thermal Subsystem (rev 02)
00:12.0 Signal processing controller: Intel Corporation Comet Lake PCH Thermal Controller
00:14.0 USB controller: Intel Corporation Comet Lake USB 3.1 xHCI Host Controller
00:14.2 RAM memory: Intel Corporation Comet Lake PCH Shared SRAM
00:14.3 Network controller: Intel Corporation Comet Lake PCH CNVi WiFi
00:15.0 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH Serial IO I2C Controller #0
00:16.0 Communication controller: Intel Corporation Comet Lake HECI Controller
00:17.0 SATA controller: Intel Corporation Device 06d3
00:1b.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #17 (rev f0)
00:1b.4 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #21 (rev f0)
00:1d.0 PCI bridge: Intel Corporation Comet Lake PCI Express Root Port #9 (rev f0)
00:1d.5 PCI bridge: Intel Corporation Device 06b5 (rev f0)
00:1d.6 PCI bridge: Intel Corporation Device 06b6 (rev f0)
00:1e.0 Communication controller: Intel Corporation Comet Lake PCH Serial IO UART Host Controller #0
00:1f.0 ISA bridge: Intel Corporation Comet Lake LPC Controller
00:1f.3 Audio device: Intel Corporation Comet Lake PCH cAVS
00:1f.4 SMBus: Intel Corporation Comet Lake PCH SMBus Controller
00:1f.5 Serial bus controller [0c80]: Intel Corporation Comet Lake PCH SPI Controller
01:00.0 VGA compatible controller: NVIDIA Corporation TU104M [GeForce RTX 2080 SUPER Mobile / Max-Q] (rev a1)
01:00.1 Audio device: NVIDIA Corporation TU104 HD Audio Controller (rev a1)
01:00.2 USB controller: NVIDIA Corporation TU104 USB 3.1 Host Controller (rev a1)
01:00.3 Serial bus controller [0c80]: NVIDIA Corporation TU104 USB Type-C UCSI Controller (rev a1)
02:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] (rev 06)
03:00.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] (rev 06)
03:01.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] (rev 06)
03:02.0 PCI bridge: Intel Corporation JHL7540 Thunderbolt 3 Bridge [Titan Ridge 2C 2018] (rev 06)
04:00.0 System peripheral: Intel Corporation JHL7540 Thunderbolt 3 NHI [Titan Ridge 2C 2018] (rev 06)
3a:00.0 USB controller: Intel Corporation JHL7540 Thunderbolt 3 USB Controller [Titan Ridge 2C 2018] (rev 06)
3b:00.0 Non-Volatile memory controller: Samsung Electronics Co Ltd NVMe SSD Controller SM981/PM981/PM983
3c:00.0 Non-Volatile memory controller: Lite-On Technology Corporation Device 2300 (rev 01)
3d:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8125 2.5GbE Controller
3e:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5260 PCI Express Card Reader (rev 01)

The backlight is using acpi_video0 and it runs properly, but directly changing the 'brightness' file does nothing. xrandr, light, xbacklight, etc also does nothing. I've reinstalled nvidia drivers and intel with no luck either.

xrandr --listmonitors
Monitors: 1
 0: +*XWAYLAND0 3840/380x2160/210+0+0  XWAYLAND0

light -L
Listing device targets:
	sysfs/backlight/acpi_video0
	sysfs/backlight/auto
	sysfs/leds/phy0-led
	sysfs/leds/input22::numlock
	sysfs/leds/input22::capslock
	sysfs/leds/input22::scrolllock
	util/test/dryrun

xbacklight -list
acpi_video0
phy0-led
input22::numlock
input22::capslock
input22::scrolllock

Don't get me started on Kernel parameters either. I've tried basically all on heaven and earth in the wiki, and forums across the internet.
I'm really out of options, so here I am begging for any help to conquer the harsh sun piercing my eyes. Thanks in advance!


UPDATE:
I am now using KDE in X11 and that seems to have fixed the issue after adding the brightness control in xorg.conf.

Last edited by LiterallyBlah (2021-10-28 19:59:44)

Offline

#2 2021-10-16 07:15:16

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: Brightness adjust does not affect brightness

: +*XWAYLAND0 3840/380x2160/210+0+0  XWAYLAND0

xrandr, …, xbacklight

cannot work on wayland.
=> Do you install https://archlinux.org/packages/community/any/acpilight/ or https://archlinux.org/packages/extra/x8 … backlight/ ?

You may also want to try the behavior on an Xorg session.

https://wiki.archlinux.org/title/Backlight#ACPI
What are the values for actual_brightness, brightness and max_brightness and if you write into brightness, does it reflect that value afterwards (regardless of what the actual ouput brightness does)


and Intel drivers

There doesn't seem to be an intel IGP?

Offline

#3 2021-10-16 10:22:35

LiterallyBlah
Member
Registered: 2021-10-16
Posts: 4

Re: Brightness adjust does not affect brightness

seth wrote:

: +*XWAYLAND0 3840/380x2160/210+0+0  XWAYLAND0

xrandr, …, xbacklight

cannot work on wayland.
=> Do you install https://archlinux.org/packages/community/any/acpilight/ or https://archlinux.org/packages/extra/x8 … backlight/ ?

You may also want to try the behavior on an Xorg session.

https://wiki.archlinux.org/title/Backlight#ACPI
What are the values for actual_brightness, brightness and max_brightness and if you write into brightness, does it reflect that value afterwards (regardless of what the actual ouput brightness does)


and Intel drivers

There doesn't seem to be an intel IGP?


Whenever I adjust /sys/class/backlight/acpi_video0/brightness it reflects on actual_brightness. The max_brightness value is '100'. As for the IGP, I don't think this laptop has one. Even with Windows installed, it only identified nvidia graphics.

acpibacklight will change the value in the 'brightness' file but has no effect.

My xorg log file is below:

[root@life death]# cat /var/log/Xorg.0.log
[     3.347] (--) Log file renamed from "/var/log/Xorg.pid-2234.log" to "/var/log/Xorg.0.log"
[     3.347] (WW) Failed to open protocol names file lib/xorg/protocol.txt
[     3.348] 
X.Org X Server 1.20.13
X Protocol Version 11, Revision 0
[     3.348] Build Operating System: Linux Archlinux
[     3.348] Current Operating System: Linux life 5.10.73-1-lts #1 SMP Wed, 13 Oct 2021 15:22:08 +0000 x86_64
[     3.348] Kernel command line: BOOT_IMAGE=/boot/vmlinuz-linux-lts root=/dev/mapper/volgroup0-lv_root rw loglevel=3 quiet nomodeset acpi_osi=Linux acpi_backlight=vendor
[     3.348] Build Date: 04 August 2021  08:13:54AM
[     3.348]  
[     3.348] Current version of pixman: 0.40.0
[     3.348] 	Before reporting problems, check http://wiki.x.org
	to make sure that you have the latest version.
[     3.348] Markers: (--) probed, (**) from config file, (==) default setting,
	(++) from command line, (!!) notice, (II) informational,
	(WW) warning, (EE) error, (NI) not implemented, (??) unknown.
[     3.348] (==) Log file: "/var/log/Xorg.0.log", Time: Sat Oct 16 00:18:46 2021
[     3.348] (==) Using system config directory "/usr/share/X11/xorg.conf.d"
[     3.348] (==) No Layout section.  Using the first Screen section.
[     3.348] (==) No screen section available. Using defaults.
[     3.348] (**) |-->Screen "Default Screen Section" (0)
[     3.348] (**) |   |-->Monitor "<default monitor>"
[     3.348] (==) No monitor specified for screen "Default Screen Section".
	Using a default monitor configuration.
[     3.348] (==) Automatically adding devices
[     3.348] (==) Automatically enabling devices
[     3.348] (==) Automatically adding GPU devices
[     3.348] (==) Automatically binding GPU devices
[     3.348] (==) Max clients allowed: 256, resource mask: 0x1fffff
[     3.348] (WW) The directory "/usr/share/fonts/misc" does not exist.
[     3.348] 	Entry deleted from font path.
[     3.348] (WW) The directory "/usr/share/fonts/OTF" does not exist.
[     3.348] 	Entry deleted from font path.
[     3.348] (WW) The directory "/usr/share/fonts/Type1" does not exist.
[     3.348] 	Entry deleted from font path.
[     3.348] (==) FontPath set to:
	/usr/share/fonts/TTF,
	/usr/share/fonts/100dpi,
	/usr/share/fonts/75dpi
[     3.348] (==) ModulePath set to "/usr/lib/xorg/modules"
[     3.348] (II) The server relies on udev to provide the list of input devices.
	If no devices become available, reconfigure udev or disable AutoAddDevices.
[     3.348] (II) Module ABI versions:
[     3.348] 	X.Org ANSI C Emulation: 0.4
[     3.348] 	X.Org Video Driver: 24.1
[     3.348] 	X.Org XInput driver : 24.1
[     3.348] 	X.Org Server Extension : 10.0
[     3.348] (++) using VT number 1

[     3.349] (II) systemd-logind: took control of session /org/freedesktop/login1/session/_37
[     3.351] (--) PCI:*(1@0:0:0) 10de:1e93:1a58:3002 rev 161, Mem @ 0xa3000000/16777216, 0x4030000000/268435456, 0x4040000000/33554432, I/O @ 0x00004000/128, BIOS @ 0x????????/524288
[     3.351] (WW) Open ACPI failed (/var/run/acpid.socket) (No such file or directory)
[     3.351] (II) LoadModule: "glx"
[     3.351] (II) Loading /usr/lib/xorg/modules/extensions/libglx.so
[     3.351] (II) Module glx: vendor="X.Org Foundation"
[     3.351] 	compiled for 1.20.13, module version = 1.0.0
[     3.351] 	ABI class: X.Org Server Extension, version 10.0
[     3.351] (==) Matched nouveau as autoconfigured driver 0
[     3.351] (==) Matched nv as autoconfigured driver 1
[     3.351] (==) Matched modesetting as autoconfigured driver 2
[     3.351] (==) Matched fbdev as autoconfigured driver 3
[     3.351] (==) Matched vesa as autoconfigured driver 4
[     3.351] (==) Assigned the driver to the xf86ConfigLayout
[     3.351] (II) LoadModule: "nouveau"
[     3.352] (WW) Warning, couldn't open module nouveau
[     3.352] (EE) Failed to load module "nouveau" (module does not exist, 0)
[     3.352] (II) LoadModule: "nv"
[     3.352] (WW) Warning, couldn't open module nv
[     3.352] (EE) Failed to load module "nv" (module does not exist, 0)
[     3.352] (II) LoadModule: "modesetting"
[     3.352] (II) Loading /usr/lib/xorg/modules/drivers/modesetting_drv.so
[     3.352] (II) Module modesetting: vendor="X.Org Foundation"
[     3.352] 	compiled for 1.20.13, module version = 1.20.13
[     3.352] 	Module class: X.Org Video Driver
[     3.352] 	ABI class: X.Org Video Driver, version 24.1
[     3.352] (II) LoadModule: "fbdev"
[     3.352] (WW) Warning, couldn't open module fbdev
[     3.352] (EE) Failed to load module "fbdev" (module does not exist, 0)
[     3.352] (II) LoadModule: "vesa"
[     3.352] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[     3.352] (II) Module vesa: vendor="X.Org Foundation"
[     3.352] 	compiled for 1.20.9, module version = 2.5.0
[     3.352] 	Module class: X.Org Video Driver
[     3.352] 	ABI class: X.Org Video Driver, version 24.1
[     3.352] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     3.352] (II) VESA: driver for VESA chipsets: vesa
[     3.352] (EE) open /dev/dri/card0: No such file or directory
[     3.352] (WW) Falling back to old probe method for modesetting
[     3.352] (EE) open /dev/dri/card0: No such file or directory
[     3.352] vesa: Refusing to run on UEFI
[     3.352] (EE) Screen 0 deleted because of no matching config section.
[     3.352] (II) UnloadModule: "modesetting"
[     3.352] (EE) Device(s) detected, but none match those in the config file.
[     3.352] (EE) 
Fatal server error:
[     3.352] (EE) no screens found(EE) 
[     3.352] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[     3.352] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[     3.352] (EE) 
[     3.353] (EE) Server terminated with error (1). Closing log file

Offline

#4 2021-10-16 11:49:24

seth
Member
From: Don't DM me only for attention
Registered: 2012-09-03
Posts: 74,307

Re: Brightness adjust does not affect brightness

You're using wayland, so the xorg log is pointless, however:

[     3.352] (II) Loading /usr/lib/xorg/modules/drivers/vesa_drv.so
[     3.352] (II) Module vesa: vendor="X.Org Foundation"
[     3.352] 	compiled for 1.20.9, module version = 2.5.0
[     3.352] 	Module class: X.Org Video Driver
[     3.352] 	ABI class: X.Org Video Driver, version 24.1
[     3.352] (II) modesetting: Driver for Modesetting Kernel Drivers: kms
[     3.352] (II) VESA: driver for VESA chipsets: vesa
[     3.352] (EE) open /dev/dri/card0: No such file or directory
[     3.352] (WW) Falling back to old probe method for modesetting
[     3.352] (EE) open /dev/dri/card0: No such file or directory
[     3.352] vesa: Refusing to run on UEFI
[     3.352] (EE) Screen 0 deleted because of no matching config section.
[     3.352] (II) UnloadModule: "modesetting"
[     3.352] (EE) Device(s) detected, but none match those in the config file.
[     3.352] (EE) 
Fatal server error:
[     3.352] (EE) no screens found(EE) 
[     3.352] (EE) 
Please consult the The X.Org Foundation support 
	 at http://wiki.x.org
 for help. 
[     3.352] (EE) Please also check the log file at "/var/log/Xorg.0.log" for additional information.
[     3.352] (EE) 
[     3.353] (EE) Server terminated with error (1). Closing log file

Xorg also doesn't start, most likely because you lack https://wiki.archlinux.org/title/NVIDIA#Early_loading (parameter and esp. modules in the initramfs)

Offline

Board footer

Powered by FluxBB