Bug 110407

Summary: /sys/class/backlight/nv_backlight doesn't work on Dell Precision 7530 GP107GLM [Quadro P1000 Mobile]
Product: xorg Reporter: Kai-Heng Feng <kai.heng.feng>
Component: Driver/nouveauAssignee: Nouveau Project <nouveau>
Status: RESOLVED MOVED QA Contact: Xorg Project Team <xorg-team>
Severity: normal    
Priority: medium    
Version: unspecified   
Hardware: Other   
OS: All   
Whiteboard:
i915 platform: i915 features:

Description Kai-Heng Feng 2019-04-12 05:56:55 UTC
This laptop has an BIOS option "Switchable Graphics". When the options is selected, it behaves like a normal Optimus laptop. In this case, brightness sysfs works since it's driven by Intel graphics.

When the options is deselected, the Intel graphics device disappears, Nvidia is the only graphics device. The issue happens in this case.

Changing /sys/class/backlight/nv_backlight/brightness, the brightness level remains the same - almost no backlight.

Using proprietary driver, brightness gets changed correctly by /sys/class/backlight/nvidia_0/brightness.

No trace while using MMIOTRACE, under proprietary driver.
Comment 1 Ilia Mirkin 2019-04-12 14:02:43 UTC
When in non-switchable mode, are there other things in /sys/class/backlight? e.g. acpi_video0?

Also, presumably this is on v5.0 or later? Prior to that, there was no backlight support for Pascal.
Comment 2 Kai-Heng Feng 2019-04-12 15:10:12 UTC
(In reply to Ilia Mirkin from comment #1)
> When in non-switchable mode, are there other things in /sys/class/backlight?
> e.g. acpi_video0?

No, nv_backlight (or nvidia_0) is the only interface.

I also tried to call _BCM directly via acpidbg, but both Intel's and Nvidia's _BCM method changes nothing.

Please refer to the original bug report [1].

> 
> Also, presumably this is on v5.0 or later? Prior to that, there was no
> backlight support for Pascal.

Yes, on both v5.0 and linux-next.

[1] https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1821882
Comment 3 Kai-Heng Feng 2019-07-04 08:07:10 UTC
Any further ideas that I can try?
Comment 4 Martin Peres 2019-12-04 09:48:38 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/xorg/driver/xf86-video-nouveau/issues/483.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.