Bug 110407 - /sys/class/backlight/nv_backlight doesn't work on Dell Precision 7530 GP107GLM [Quadro P1000 Mobile]
Summary: /sys/class/backlight/nv_backlight doesn't work on Dell Precision 7530 GP107GL...
Status: NEW
Alias: None
Product: xorg
Classification: Unclassified
Component: Driver/nouveau (show other bugs)
Version: unspecified
Hardware: Other All
: medium normal
Assignee: Nouveau Project
QA Contact: Xorg Project Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-12 05:56 UTC by Kai-Heng Feng
Modified: 2019-04-12 15:10 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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


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.