You are not logged in.

#1 2019-08-04 20:23:40

theodore
Member
Registered: 2008-09-09
Posts: 104

[SOLVED] backlight and screen brightness not working on OLED screen

I've got my hands on a razer blade 2019 with the OLED screen. I managed to install arch on it with mostly everything working out of the box one of the things that are not working is to set the screen brightness either by using the corresponding keyboard fn keys or using a specific application e.g. xblacklight. I think I have almost tried everything mentioned in the wiki as well as to the variety of threads related to the subject that I found online both here in the arch forum as well to the forums of other distros without success and I am trying to figure out what is the issue. The laptop as most of the current rigs comes with two graphic cards with the optimus functionality, thus for switching between the two I found that using optimus-manager fulfills my needs if that make any difference to the case.

The first think that I have noticed is that the I am getting the following error during boot time:

[    0.741314] ACPI: Added _OSI(Module Device)
[    0.741314] ACPI: Added _OSI(Processor Device)
[    0.741314] ACPI: Added _OSI(3.0 _SCP Extensions)
[    0.741314] ACPI: Added _OSI(Processor Aggregator Device)
[    0.741314] ACPI: Added _OSI(Linux-Dell-Video)
[    0.741314] ACPI: Added _OSI(Linux-Lenovo-NV-HDMI-Audio)
[    0.741314] ACPI: Added _OSI(Linux-HPI-Hybrid-Graphics)
[    0.811747] ACPI: 14 ACPI AML tables successfully acquired and loaded
[    0.885864] ACPI: Dynamic OEM Table Load:
[    0.885870] ACPI: SSDT 0xFFFFA285AA99C800 0000F4 (v02 PmRef  Cpu0Psd  00003000 INTL 20160527)
[    0.886404] ACPI: \_SB_.PR00: _OSC native thermal LVT Acked
[    0.888507] ACPI: Dynamic OEM Table Load:
[    0.888513] ACPI: SSDT 0xFFFFA285AA9BCC00 000400 (v02 PmRef  Cpu0Cst  00003001 INTL 20160527)
[    0.889197] ACPI: Dynamic OEM Table Load:
[    0.889202] ACPI: SSDT 0xFFFFA285AB36B800 000581 (v02 PmRef  Cpu0Ist  00003000 INTL 20160527)
[    0.890360] ACPI: Dynamic OEM Table Load:
[    0.890366] ACPI: SSDT 0xFFFFA285AB36F000 0005FC (v02 PmRef  ApIst    00003000 INTL 20160527)
[    0.891318] ACPI: Dynamic OEM Table Load:
[    0.891325] ACPI: SSDT 0xFFFFA285AB3B8000 000AB0 (v02 PmRef  ApPsd    00003000 INTL 20160527)
[    0.892718] ACPI: Dynamic OEM Table Load:
[    0.892723] ACPI: SSDT 0xFFFFA285AA9BD400 00030A (v02 PmRef  ApCst    00003000 INTL 20160527)
[    0.899663] ACPI: EC: EC started
[    0.899663] ACPI: EC: interrupt blocked
[    0.900144] ACPI Error: No handler for Region [VRTC] (000000002479d484) [SystemCMOS] (20190509/evregion-127)
[    0.900147] ACPI Error: Region SystemCMOS (ID=5) has no handler (20190509/exfldio-261)
[    0.900151] ACPI Error: Aborting method \_SB.PCI0.LPCB.EC0.RTEC due to previous error (AE_NOT_EXIST) (20190509/psparse-529)
[    0.900154] ACPI Error: Aborting method \_SB.PCI0.LPCB.EC0._REG due to previous error (AE_NOT_EXIST) (20190509/psparse-529)
[    0.900161] ACPI: \_SB_.PCI0.LPCB.EC0_: Used as first EC
[    0.900162] ACPI: \_SB_.PCI0.LPCB.EC0_: GPE=0xb, EC_CMD/EC_SC=0x66, EC_DATA=0x62
[    0.900163] ACPI: \_SB_.PCI0.LPCB.EC0_: Boot DSDT EC used to handle transactions
[    0.900164] ACPI: Interpreter enabled
[    0.900211] ACPI: (supports S0 S3 S4 S5)
[    0.900212] ACPI: Using IOAPIC for interrupt routing
[    0.900255] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    0.901946] ACPI: Enabled 9 GPEs in block 00 to 7F

which based on this tread and answer here https://bbs.archlinux.org/viewtopic.php … 1#p1686741 it might be related but it might not.

Since I have an intel integrated graphics card my sysfs directory is populated as follows:

$ ls /sys/class/backlight/
intel_backlight

and

ls /sys/class/backlight/intel_backlight
actual_brightness  bl_power  brightness  device  max_brightness  power  subsystem  type  uevent

and the actual max brightness can go up to:

cat /sys/class/backlight/intel_backlight/max_brightness 
24000

now trying to set manually any value in the brightness file while it changes the number has not effect on the screen brightness. The same happens if I try to do the same with the xbacklight -set/-inc/-dec, meaning that I am able to modify the brightness value but this has no affect to the actual brightness on the screen. Using different kernel parameters as suggested in the wiki and here :

acpi_backlight=video
acpi_backlight=vendor
acpi_backlight=native
acpi_osi=Linux
acpi_osi="!Windows 2012"
acpi_osi=
video.use_bios_initial_backlight=0
video.use_native_backlight=1
i915.enable_dpcd_backlight

also not helping. What it works is setting completely of the screen:

xset dpms force off

or setting the brightness through xrandr:

$ xrandr --output eDP-1-1 --brightness .8

but that's a software hack. Disabling modesetting driver also doesn't seem to work. I also tried to boot on different distros latest live cd (manjaro, mint, ubuntu) in order to check whether I have the same behaviour and indeed that is the case. I am with the latest kernel if that helps.

Any feedback is appreciated.

Last edited by theodore (2019-08-09 16:50:46)

Offline

#2 2019-08-09 16:45:07

theodore
Member
Registered: 2008-09-09
Posts: 104

Re: [SOLVED] backlight and screen brightness not working on OLED screen

A moderator if possible delete this post!!!

Last edited by theodore (2019-08-12 19:46:34)

Offline

#3 2019-08-09 16:47:28

theodore
Member
Registered: 2008-09-09
Posts: 104

Re: [SOLVED] backlight and screen brightness not working on OLED screen

After spending quite some time searching around and finally going through different wiki threads, here, here and here it seems that xrandr or icc-brightness is the only solution for the OLED screens at the moment. Since the information is a bit scattered around I created some corresponding sections in the Backlight wiki thread here where I tried to merge all different solutions for those who are interested. I will mark this thread as solved for now.

Last edited by theodore (2019-08-09 17:09:03)

Offline

Board footer

Powered by FluxBB