ACPI call to turn off A370M
EDIT1: For anyone that got here and is looking for a solution look at this hack (I put it here so that you don't have to look though the comments yourself).
Hello. I've been having issues with my laptop (info below) and battery life. I could not get it under 20W no matter what I did. Then I turned off the dGPU in the BIOS and the power consumption went under 10W, doubling the battery life.
I've since been trying to turn the dGPU off at runtime as I don't want to reboot every single time I need it - closing all my work, rebooting, opening everything back up is a no-go for me as it's wasted 10 minutes of reorganizing everything back into place.
System Information
Laptop model: Lenovo IdeaPad 5 Pro 16IAH7
CPU: Intel Core i7-12700H
dGPU: Intel Arc A370M Graphics (DG2)
Kernel version: 6.6.7
OS: EndeavourOS (Arch Linux) - Up to date
What I've tried
- Searing the internet on how to turn off an Intel dGPU (specifically Arc A370M)
- Going through the Arch Linux and Gentoo Wikis
- Going through Intel's Forums and other sites
- Going through Reddit
-
Using an example
acpi_call
script (/usr/share/acpi_call/examples/turn_off_gpu.sh
)- The script tries to turn off
PCI0
butlspci
shows a different number:03:00.0 Display controller: Intel Corporation DG2 [Arc A370M] (rev 05)
- The script tries to turn off
EDIT: Finally got around to turning the GPU on again and generating dmesg.log
file.