Hi, I am using Acer Aspire 5(A515-57G) laptop with NVIDIA 2050 card and gentoo linux as OS. After configuring RTD3 setting using this guide https://download.nvidia.com/XFree86/Linux-x86_64/535.86.05/README/dynamicpowermanagement.html .
Even when the GPU has no active processes, there seems to be a persistent 5MB Video memory reservation which seems to make it not want to suspend.
cat /sys/bus/pci/devices/0000:01:00.0/power/control shows this
auto
cat /sys/bus/pci/devices/0000:01:00.0/power/runtime_status shows this
active
cat /etc/X11/xorg.conf shows this
Section "Device"
Identifier "intel"
Driver "modesetting"
BusID "PCI:0:2:0"
EndSection
cat /etc/modprobe.d/nvidia.conf shows this
options nvidia-drm modeset=1
options nvidia "NVreg_DynamicPowerManagement=0x03"
options nvidia NVreg_PreserveVideoMemoryAllocations=1
and finally nvidia-smi shows this
Sat Aug 5 14:17:42 2023
+---------------------------------------------------------------------------------------+
| NVIDIA-SMI 535.86.05 Driver Version: 535.86.05 CUDA Version: 12.2 |
|-----------------------------------------+----------------------+----------------------+
| GPU Name Persistence-M | Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap | Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|=========================================+======================+======================|
| 0 NVIDIA GeForce RTX 2050 Off | 00000000:01:00.0 Off | N/A |
| N/A 53C P8 2W / 25W | 5MiB / 4096MiB | 0% Default |
| | | N/A |
+-----------------------------------------+----------------------+----------------------+
+---------------------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=======================================================================================|
| No running processes found |
+---------------------------------------------------------------------------------------+
How do I make it so that, the GPU can be suspended, hence preventing GPU from draining my battery further.
If this is also needed. nvidia-bug-report.log.gz (72.8 KB)
Edit: Added nvidia-bug-report.log.gz