Nvidia dGPU blocks modern standby on laptop

Page 1 of 2 12 LastLast

  1. Posts : 194
    Windows 10
       #1

    Nvidia dGPU blocks modern standby on laptop


    I am asking for a friend, who owns a Dell XPS 9570, and his modern standby is broken since months now, always draining the battery in 2-3 hours by around 25%. I looked on the laptop via teamviewer, and tried everything to optimize it, deactivated all background stuff, tried out different versions of Nvidia driver, ect. Nothing worked, and it still drains battery. Same on 1909 as on latest 2004.

    Sleepreport always hints to that the Nvidia dGPU was running, or not in sleep mode:



    Everything was closed for this test, no application running. The dGPU was off before triggering standby, checked via HwInfo.

    Tried last 3 versions of Nvidia driver (even the latest test one 450.99 and 446.14), always clean install, no Nvidia Experience installed. Two times it worked normally over the past 5 days, for example here:



    (https://i.imgur.com/Z9g0OVj.png https://i.imgur.com/m4BAwuI.png)

    Any way to debug, why this is happening? The worst is, you cant disable the dGPU, or modern standby wouldnt even work at all. If you disable the Nvidia dGPU in device manager, modern standby also would cause a total drain.

    Bios, drivers, Windows 10 2004 all up to date. GPU first choice is set to integrated in Nvidia panel.

    Any modern standby experts here, who know if there is a way to debug this? Any special workaround maybe possible, to disable the dGPU with a different way of ticking it to disable in device manager?
    Last edited by gorgor; 01 Jun 2020 at 12:13.
      My Computer


  2. Posts : 7
    Windows 10 Enterprise 2004
       #2

    @gorgor, I have an XPS 9570 and have exactly the same problem with the NVIDIA GPU seemingly not going to sleep properly with Modern Standby (S0 sleep). I'd post a screenshot of my powercfg /sleepstudy output, but it is exactly the same as yours. However, I've not had one time when my computer has slept soundly in Modern Standby.

    I had been using CsEnabled registry key to force S3 sleep, but in Windows 10 2004 Microsoft removed that ability, so I'm now forced once again to try to get Modern Standby working properly.

    I have not tried the pre-release version of the NVIDIA driver, though. I may give that a try, though.
      My Computer


  3. Posts : 194
    Windows 10
    Thread Starter
       #3

    hjoelr said:
    @gorgor, I have an XPS 9570 and have exactly the same problem with the NVIDIA GPU seemingly not going to sleep properly with Modern Standby (S0 sleep). I'd post a screenshot of my powercfg /sleepstudy output, but it is exactly the same as yours. However, I've not had one time when my computer has slept soundly in Modern Standby.

    I had been using CsEnabled registry key to force S3 sleep, but in Windows 10 2004 Microsoft removed that ability, so I'm now forced once again to try to get Modern Standby working properly.

    I have not tried the pre-release version of the NVIDIA driver, though. I may give that a try, though.
    No the preview driver dont help anything, I tried countless driver versions so far, it is not an issue with the Nvidia driver. I have no idea whats causing it. Please show a screenshot of yours, to make sure you really have the same issue here.
      My Computer


  4. Posts : 7
    Windows 10 Enterprise 2004
       #4

    @gorgor, here's a screenshot of mine.

    Nvidia dGPU blocks modern standby on laptop-tenforums-sleepstudy.png

    This is not uncommon to lose more than 5% in less than 30 minutes in standby.
      My Computer


  5. Posts : 194
    Windows 10
    Thread Starter
       #5

    @hjoelr Yes, that is 100% the same issue. I have NO idea what is causing it. I have two 9570, one showing the issue, the other not. I tried everything so far, reverting bios, factory bios settings, several Nvidia drivers (cleaned with DDU), even a very old driver from 2018, and also the beta driver 450.99. Nothing helped... where on the other 9570, I have no issue with it also latest 450.99. So it is not the Nvidia driver causing this.

    Someone please have any ideas?
      My Computer


  6. Posts : 194
    Windows 10
    Thread Starter
       #6

    I was able to record a broken sleep with this issue with Windows Performance Recorder (WPR), but it doesnt show anything unusual, at least I am not a big enough expert of WPA to maybe see some hints hidden deeply within, whats causing it. The weird thing is, that the WPR log kinda contradicts with the sleepreport.

    Sleepreport:



    But the WPR says 97% was in DRIPS:



    There are some unusual events seen on the timeframe though, which I think are the cause of the drain:

      My Computer


  7. Posts : 7
    Windows 10 Enterprise 2004
       #7

    @gorgor, I finally had some time (and spare NVMe) to reinstall Windows 10 2004 on my XPS 9570. I installed Dell Command | Update application after installing Windows and used the option to reinstall all the drivers. After that I ran a regular check for updates in Dell Command | Update and it had about 6 more updates to install, at which point I did that.

    In the mean time I found this article from Dell ( https://www.dell.com/support/article...havior?lang=en ) that outlines some settings to change and drivers to install in specific orders to improve the sleep. I did not install their Modern Standby Performance Improvement Package Application as they suggest since they say it only automates some of the instructions they give.

    After all that, the first overnight sleep only used 7% battery with SW and HW in low power state 100% of the time!

    Nvidia dGPU blocks modern standby on laptop-xps9570-low-power.png

    One thing to note, the dell site says to change to Disconnected Standby but doesn't tell you how. Here are the commands I ran for that (taken from Enable or Disable Network Connectivity in Standby In Windows 10 ):

    Disable while in standby on battery: powercfg /setdcvalueindex scheme_current sub_none F15576E8-98B7-4186-B944-EAFA664402D9 0

    Disable while in standby plugged in: powercfg /setacvalueindex scheme_current sub_none F15576E8-98B7-4186-B944-EAFA664402D9 0

    I have not tried performing these steps on my previous install. I did a full re-install because Microsoft specifically states that you cannot switch from S0 to S3 sleep without reinstalling the OS. I figured you probably couldn't go the other way around either.

    I'd be curious if the steps outlined on the Dell page solves your issues. I don't have my hopes too far up as I feel like I've had similar results before but it eventually stopped sleeping so well and I had no idea why.
      My Computer


  8. Posts : 194
    Windows 10
    Thread Starter
       #8

    @hjoelr

    1. no this isnt promising, the drain doesnt happen always, maybe 2 out of 10 or so, so I also had a few times 100% normal sleep
    2. to switch to disconnected modern standby you just need to put a dword32 EnforceDisconnectedStandby=1 in Computer\HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Power, that is also what the Dell "tool" does
    3. thats nonsense what MS says, you can switch back and forth I never encountered an issue with that
    4. to get s3 back under 2004 you can do this: https://www.reddit.com/r/Dell/commen...abling_modern/ but it doesnt work properly on a 9570
      My Computer


  9. Posts : 7
    Windows 10 Enterprise 2004
       #9

    @gorgor, In my case I don't think I've had the S0 sleep work as it's supposed to once it stops working. So, to have it working at least once is somewhat encouraging.

    I had no idea about the EFI bootloader hack. I was going to put some thought into how to trick Windows into S3, but it looks like someone else did! I don't like the idea of using a 3rd party bootloader as it could open the computer up to getting compromised. I'd have to look more into that option before trying it.

    For now, I'll see if I can keep going on S0 with the results I have now. I'll update if things change.
      My Computer


  10. Posts : 7
    Windows 10 Enterprise 2004
       #10

    @gorgor, for some reason I can't PM. Maybe my account is too new.

    Anyway, I ran on a temporary install of Windows 10 with S0 sleep and it worked acceptably for me compared to what I'm used to for S0 sleep. It was pretty consistently keeping around 100% HW and SW low power state time. When it's "working" it has between 650-690 mW change rate. That would equate to around 8% battery drain over 8 hours. That's WAY worse than S3 sleep, but FAR better than what I was getting with S0.

    I have noticed that if I make a hardware change immediately before entering sleep, it doesn't sleep as soundly. In my case, I'm using a Dell TB16 dock and my workflow has been to unplug it and pretty quickly put the laptop to sleep. I haven't categorically tested it yet, but I'm thinking if I unplug it and give the computer a longer time to recover from the change, it will sleep better. I intend to test that theory.

    My test install of Windows 10 with S0 sleep did not include all of my customization--Hyper-V, WSL, all my programs--so I'm curious to see how it works once I install those. I decided to wipe my primary NVMe and start over clean. So I'm in the process of doing that. It will take a few days to get back to normalcy with it. I'll report back how it goes.
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 10 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 10" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 15:13.
Find Us




Windows 10 Forums