I am running Fedora 41 on a Lenovo Slim 7 Pro with Ryzen 7 5800h and Nvidia RTX 3050 mobile. I have installed the proprietary nvidia driver and my settings as per cat /proc/driver/nvidia/gpus/0000\:01\:00.0/power
are:
Runtime D3 status: Enabled (fine-grained)
Video Memory: Active
GPU Hardware Support:
Video Memory Self Refresh: Supported
Video Memory Off: Supported
S0ix Power Management:
Platform Support: Supported
Status: Enabled
nvidia-smi
shows:
+-----------------------------------------------------------------------------------------+
| NVIDIA-SMI 565.77 Driver Version: 565.77 CUDA Version: 12.7 |
|-----------------------------------------+------------------------+----------------------+
| 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 3050 ... On | 00000000:01:00.0 Off | N/A |
| N/A 42C P8 6W / 45W | 11MiB / 4096MiB | 0% Default |
| | | N/A |
+-----------------------------------------+------------------------+----------------------+
nvidia-smi -q -d PERFORMANCE
==============NVSMI LOG==============
Timestamp : Sat Feb 15 18:16:51 2025
Driver Version : 565.77
CUDA Version : 12.7
Attached GPUs : 1
GPU 00000000:01:00.0
Performance State : P8
Clocks Event Reasons
Idle : Active
Applications Clocks Setting : Not Active
SW Power Cap : Not Active
HW Slowdown : Not Active
HW Thermal Slowdown : Not Active
HW Power Brake Slowdown : Not Active
Sync Boost : Not Active
SW Thermal Slowdown : Not Active
Display Clock Setting : Not Active
Sparse Operation Mode : N/A
The dGPU correctly suspends when on idle and on battery. However, the video memory never suspends when plugged in. This is a big problem for this laptop because both under Linux and Windows in S0 sleep it has the nasty habit of draining its battery and getting steaming hot. In both OSs I have narrowed it down to the dGPU draining it when put to S0 sleep whilst plugged in.
I suspect the fact that the dGPU’s memory is always active when plugged in, plays a role in the battery drain when the lid is down and I disconnect the power adapter.
How can I make the dGPU suspend all power even when plugged in (on AC power)?
Many thanks