FYI another user reporting sleep issues with the Realtek driver
This is fantastic seeing all the responses directly from the team, keep up the good work fellas!
So I wanted to uninstall the Realtek driver, but I can’t seem to get it done. Every time I uninstall and reboot, Windows is reinstalling the Realtek driver instead of the Windows generic audio driver.
For now I’m having to hibernate always, as the device is basically on while in standby, and I don’t want to risk overheating in the laptop bag. The good thing while we wait for a solution? Hibernation is incredibly fast. I’m thinking about remapping the lid close action to trigger hibernation for the meantime.
What I did was go to Device Manager > Device Properties > Driver > Update Driver > Let me pick from a list…
Then select the Microsoft driver from there. That said, hibernation on Windows works well so considering the buggy nature of Modern Standby it probably makes more sense to use that.
Ok, I was literally doing the same but instead of update, uninstall. I’ll try that, and see if there is an improvement. I’d like to use the driver intended for the hardware just to make sure we are getting the performance out of the device, but sound design isn’t something I’m trying to accomplish on the laptop, and so I think the windows generic will work in the meantime.
Regarding the modern standby: I think it is brilliant honestly. If it really works the way it was detailed here. Regular standby with immediate resume until the battery has lost 5% and then hibernation. With how fast the Framework hibernates and resumes from hibernate, I think it is perfect. I do wish we could have the lid open action trigger a power on, similar to a thinkpad. All in good time I imagine. I love this thing.
I’d prefer to have S3, but Intel removed S3 from Tiger Lake. The Modern Standby to hibernate behavior is nice in theory, but I’d feel uncomfortable using it unless it’s demonstrated to be rock solid reliable so the laptop doesn’t turn on while in a bag.
Not a knock against the Framework team though, even Dell and Lenovo seem to be struggling with getting Modern Standby working 100% perfectly on their 11th gen laptops.
@2disbetter Did you uninstall the Realtek apps? I uninstalled both of them, rebooted, and it’s been using the Microsoft audio driver ever since.
I’ll start a new thread for this, but I’m running into an issue (also possibly related to modern standby) where there the clock speed gets stuck at .39Ghz. It seems like disabling modern standby fixed it (edit: nevermind, didn’t fix it), though rebooting while plugged in might also have done it. Apparently this is a common win10 issue, e.g: laptop - Infamous 0.39 GHz in Windows 10 issue has no fixes? - Super User
Yes initially I uninstalled all three of them. (mic, speakers, and sound card) When I restarted it reinstalled the Realtek drivers during log in.
@2disbetter in my experience to fix the sleep draining, I only need to uninstall the driver under Sound, video and game controllers
> Realtek(R) Audio
> Uninstall Device
(making sure to check the Delete the driver software ...
checkbox).
The devices will still be named Realtek(R) Audio
but if you inspect the driver files (Properties
> Driver
> Driver Details
) there will be no Realtek drivers (RTAIODAT.DAT
and RTKVHD64.sys
)
I’ll give that a whirl. I didn’t bother to inspect the driver, but in retrospect that makes a lot of sense.
Edit: Seems to have fixed modern standby for me.
Looking forward to updated drivers though.
So while sleep and hibernation components seem to be working as intended under modern standby, I’m finding that even though the audio driver is not the culprit, that I’m still loosing about 5% per hour. It would be great for the computer to stay in standby versus hibernation for at least 2-4 hours. Right now I’m getting about an hour of standby before the 5% mark is reached and hibernation is entered. This means every time I suspend the laptop normally, I’m basically going to loose 5%. While the computer resumes from hibernation very quickly, it is annoying to have to push the power button almost every time I resume using the laptop.
Also, I read that modern standby maintains the network connectivity. Is it possible to disable that? I would prefer it if standby behaved the way S3 does. The only time I want the computer doing anything is when I am actively using it (ie: the lid is open).
What SSD do you have?
I ran into the same with an AData SX8200 Pro that wouldn’t seem to go to a low-power state. With a Sabrent Rocket 4 Plus and the HDMI expansion card removed the longest I got before it hibernated was 2.5 hours. This testing was done without being connected to a network too.
I believe it is a WD Black 1TB NVME that I bought from Framework directly.
Part of me thinks that not understanding the modern standby conditions could be the issue here. IE: what software could be interfering and not responding to SO properly. I suspect my browser might be able to perform tasks in the background, and for various chat web clients, this could mean they are trying to maintain connects through S0. I’m going to check if that is the issue, and I’ll report back.
“connected standby - network connected” can be switched to “connected standby - network disconnected” via gpedit or regedit.
…not sure that they’re called exactly that.
I’ll brave search that and make it so! Thanks!
So under device manager there is no power tab for the wifi card. Also no entry for it under advanced power options. I’m at work now, and haven’t been able to confirm (although I don’t remember this being present), but that could be the method to turn connected and disconnected on:
You just uncheck the two options under wifi.
Will edit this with whether or not this is possible, and if this change is reflected when powercfg -a is run.
Ok so figured it out. Windows does not expose the option above in either the settings GUI, device manager, or via advanced power scheme settings.
You will have to use the following powercfg command in an elavated CMD window to disable connected standby:
powercfg /setacvalueindex scheme_current sub_none F15576E8-98B7-4186-B944-EAFA664402D9 0
If you want to enable it for some strange reason it would be the same command with a 1 at the end instead:
powercfg /setacvalueindex scheme_current sub_none F15576E8-98B7-4186-B944-EAFA664402D9 1
(You can also use group policy or the registry editor to make the change. I prefer CMD as it is just one line and no hunting around a UI.)
Edit: I just wanted to add that the powercfg options do not seem to persist upong reboot. The best option I’ve found is to use group policies and disable those settings.
Computer Configuration > Administrative Templates > System > Power Management > Sleep Settings
There look for the allow network connectivity options and disable them. (There are two: plugged in and battery)
I personally think this will help with a number of problems described here. I would add that I think disabling connected standby as one of the first maintenance task of setting Windows up is a great idea.
Thanks for this! Curious to see what kind of drain you’re seeing with this disabled.
FYI if you want a deeper look into what is draining power during standby, run a SleepStudy as described by Nirav here.
By the way, I’m back to the original audio drivers after running into some rebooting issues on the Microsoft drivers. Meanwhile I’ve set it to hibernate after an hour of sleep to minimize draining while I wait for a fix from Framework. As mentioned, resuming from hibernate is very quick so it’s a fine short-term workaround for me.
@Kieran_Levin I can confirm that updating to the 2021_08_21 beta driver pack did fix the High Definition Audio Controller being the top offender during sleep study.
It still only goes ~45 minutes before hibernating but I’m pretty sure the SX8200 Pro is the culprit.