Created attachment 258355 [details] GFX Card info Backlight control doesn't work even though /sys/class/backlight/acpi_video0 is present and the values in "brightness"/"actual_brightness" are changing when using fn+F4/F5. Tried different with acpi_osi=Linux, tried with acpi_backlight (video, vendor and native). Kernel 4.13.1 linux-firmware 20170907 xf86-video-nouveau 1.0.15-2 gnome-shell 3.24.3-1 wayland 1.14.0-1 Is there anything I can try or is a patch needed for this? Thanks!
While the info is in the attached file, the card is a GeForce GTX 1060.
Created attachment 258373 [details] dmesg when acpi_backlight was set to native
Created attachment 258375 [details] dmesg when acpi_backlight was set to vendor
Created attachment 258377 [details] dmesg when using acpi_osi set to Linux
Created attachment 258379 [details] dmesg
Created attachment 258381 [details] dmidecode
When setting acpi_backlight to either native or vendor, /sys/class/backight is empty. None of my tests got the backlight to work.
Created attachment 258517 [details] acpidump
you don't have i915 graphics on this platform? Method (_BCM, 1, NotSerialized) // _BCM: Brightness Control Method { If (\_SB.CUNM == 0x02) { If (\_SB.PCI0.LPCB.EC0.SW2S) { CMSW (0x63, Arg0) } Else { CMSW (0x64, Arg0) } } Else { CMSW (0x63, Arg0) CMSW (0x64, Arg0) } If ((Arg0 >= Zero) && (Arg0 <= 0x64)) { \_SB.PCI0.GFX0.AINT (One, Arg0) BRTL = Arg0 } } GFX0 should be the i915 device. And the ACPI video backlight control will probably not work without i915 driver loaded.
so on this platform, 1. it is an ACPI/I915 problem if backlight control does not work after enabling i915. OR 2. it is an nouveau driver problem that you should raise the problem at freedesktop.org
Comment on attachment 258355 [details] GFX Card info >25: PCI 100.0: 0300 VGA compatible controller (VGA) > [Created at pci.378] > Unique ID: VCu0.9XY+le6fov2 > Parent ID: vSkL.rm7g6PCwW96 > SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0 > SysFS BusID: 0000:01:00.0 > Hardware Class: graphics card > Model: "nVidia GP106M [GeForce GTX 1060]" > Vendor: pci 0x10de "nVidia Corporation" > Device: pci 0x1c20 "GP106M [GeForce GTX 1060]" > SubVendor: pci 0x152d "QUANTA Computer Inc" > SubDevice: pci 0x1154 > Revision: 0xa1 > Driver: "nouveau" > Driver Modules: "drm" > Memory Range: 0xd2000000-0xd2ffffff (rw,non-prefetchable) > Memory Range: 0xc0000000-0xcfffffff (ro,non-prefetchable) > Memory Range: 0xd0000000-0xd1ffffff (ro,non-prefetchable) > I/O Ports: 0xd000-0xd07f (rw) > Memory Range: 0xd3000000-0xd307ffff (ro,non-prefetchable,disabled) > IRQ: 133 (61778 events) > Module Alias: "pci:v000010DEd00001C20sv0000152Dsd00001154bc03sc00i00" > Driver Info #0: > Driver Status: nouveau is active > Driver Activation Cmd: "modprobe nouveau" > Config Status: cfg=new, avail=yes, need=no, active=unknown > Attached to: #22 (PCI bridge) > >Primary display adapter: #25
(In reply to Zhang Rui from comment #9) > you don't have i915 graphics on this platform? > This laptop does not have an i915 graphics. Only NVIDIA. Should I be creating a ticket at freedesktop then? Thank you!
yes, please file a bug at freedesktop instead. Bug closed. BTW, I think you should check your BIOS setup and see if there is anything related to integrated graphics or not.