Hello everybody,

This issue was reported on the linux-acpi and platform-driver-x86
mailing lists, and the reporter was able to provide information which
allowed the problem to be debugged by inspection. I'm attaching a patch
which has been tested to resolve the issue on the reporter's system, but
it seems likely that there may be other related models that are also
affected, and/or models experiencing a similar symptom with a different
root cause.

I'd like to gather more information to determine which systems could
benefit from additional quirks table entries. Whether or not you're able
to test the patch, please let me know:

* What kernel you're running (`uname -r`)
* What you see for the contents of the `sys_vendor`, `product_name`, and 
`bios_version` files in `/sys/class/dmi/id/`
* Which GPU modes you've tested, how you select those modes, and whether 
backlight control works in each mode
* For each mode, please let me know what entries you see under 
`/sys/class/backlight/`
* If you're already using any workarounds or kernel command-line options for 
backlight control, please mention those too, and provide the above information 
for both the baseline situation with no workarounds, and with them

If you're comfortable applying a kernel patch, rebuilding, and booting
the resulting kernel, please test the attached patch. The new DMI entry
currently matches the reporter's particular model, so if your vendor or
product strings differ, update those strings in the new entry to match
your system before building and testing. If the quirk matches but the
problem remains, please include any kernel log message containing
“skipping video detect quirk”.

If the patch doesn't work for you, even after modification to
accommodate different DMI strings, and you're able to provide ACPI
information, that would also help determine whether your system has the
same underlying problem. The suspected firmware defect is that the
method for reporting the intended backlight handler always reports the
same value, even though the working backlight controller changes
depending on GPU mode.

You don't need to interpret the ACPI code yourself to help investigate
this, but if you are comfortable doing so, this mailing list message
contains details about the findings in the reporter's ACPI tables and
how they relate to the workaround: https://lore.kernel.org/linux-
acpi/dsvpr12mb66402023ae5250384b26515942bc...@dsvpr12mb664020.namprd12.prod.outlook.com/

To collect and disassemble the relevant tables, run `acpidump -b` and
`iasl -d *.dat`: this should ideally be done in an empty directory,
since these commands dump a bunch of files to CWD.

Then search the resulting disassembly files for the beginning of the
encoded GUID for the WMI-wrapped backlight interface query method, and
attach any .dsl files that match (or report if no matches are found):
`grep -il '0x13, 0x96, 0x3E, 0x60' *.dsl`

If you're comfortable further investigating any remaining issues after
applying a (possibly modified) patch, a related system may need a
different ACPI field path or a different mapping between the field's
value and the working backlight controller. Those details should be
checked against your own tables and observations before adjusting the
patch. Substantially different code may indicate a different cause, but
please provide the information anyway so we can determine whether the
issues are related or need to be tracked separately.


** Patch added: 
"0001-ACPI-video-Add-quirk-for-improper-dynamic-backlight-.patch"
   
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-6.14/+bug/2134615/+attachment/6021560/+files/0001-ACPI-video-Add-quirk-for-improper-dynamic-backlight-.patch

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2134615

Title:
  ASUS TUF A16 (FA608WI): backlight interfaces present but do not change
  panel brightness (AMD iGPU + NVIDIA dGPU)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux-hwe-6.14/+bug/2134615/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to