-
Notifications
You must be signed in to change notification settings - Fork 841
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot wake from sleep after enabling "virtual machine platform" in AMD laptop #5690
Comments
Same #5549. Yours can be the new LZ. |
hi therealkenc i heve this issue too i think there is some thing wrong with my bitlocker.(#4103 so i will unlock volume and wait |
no not caused by bitlocker. |
I tried turning off bitlocker on my laptop but it still cannot wake from sleep if "Virtual Machine Platform" is turned on. |
I have the same problem with a redmibook powered by ryzen and a fresh install of windows 10 pro 2004. Everything worked correctly until I install wsl 2 :/ |
just reinstalled windows and it worked again. I tried to install WSL2 step by step and this command broke sleep mode: |
@Darkein Yeah, I also noticed that the wake up from sleep won't work if virtual machine platform is enabled. Hope this will be fixed soon. |
Same issue on my HP envy x360 13 (4700U) and my desktop (3700x). Both of them can not sleep properly with virtualization on (sometimes they can't enter sleep, other times they can't wake up from sleep, either way it doesn't work) but hibernate works fine. |
Upgraded to Microsoft Windows [Version 10.0.19041.450]. The same issue still persists. |
The same issue with my Lenovo Xiaoxin Air 14 |
I have the same issue with my HP Envy x360 13-ay0285ng with AMD Ryzen 7 4700u. |
Same issue with HP ENVY x360 Laptop - 13-ay0045au with AMD Ryzen 4500U |
Acer Swift 3 SF314-42 the same issue. Models with both Ryzen 4500U and Ryzen 4700U. |
Same here with HP ENVY x360 - 13-ay0504sa Ryzen 4500U running WSL2 |
Same here with HP Envy x360 13-ay0075nr Ryzen 4700U. I am also forced to use WSL1 and a remote machine until this is resolved. |
How to I downgrade to WSL1? |
|
Thanks a lot! I disabled virtualization and it's all good. |
Same issue with HP Envy x360 13-ay0xxxx Ryzen 4700U. I am forced to use WSL1 and cannot use Docker. |
Same here 4600u lenovo xiaoxin air14 |
Happened on HANSUNG(not Samsung!) TFX5470H Laptop. It uses Ryzen 4800H. |
Same issue with HP ENVY x360 Laptop - 13-ay0001au with AMD Ryzen 4700u |
Same issue on my HP ENVY x360 Convertible 15m-ee0xxx AMD Ryzen 5 4500U. I really want to use WSL2 but I have to miss out because of this error. |
On my 4500U, it made the screen flickers at regular interval. There's a definite issue with WSL2 / VM Platform on these CPUs ! |
@xpierrohk that’s an issue with virtualisation in particular. It disappears if you disable virtualisation in bios and appears to happen both in Windows and Linux. |
Interesting, so would that mean the entire feature from AMD is fake and never actually works (well I mean, without blinking half the screen at random) ? Out of curiosity, if it happens to me on Linux, which equivalent to the "virtual machine platform" should I uninstall ? |
Can confirm this also, HP Envy x360 here with Ryzen 4700. Can't do without wsl2, so i temporarily solved it by going to hibernate instead of sleep all the time. Is there some forum post/issue tracker thingy that addresses this on the AMD side? |
I have no any problems with screen blinking, the only problem is sleep. It can be replaced with hibernation, but that's more temporary solution than general one. I think, we should wait for fix from amd. P.S. You seem to have some another problem, idk. But for curiosity, try to disable virtualization feature in BIOS. But I think, u r having some another problem with your graphics driver that are still not enough optimized in Linux kernel. |
|
I did. They told me they didn’t know of any beta version: “Ein "Beta" Bios V1.09 für Ihr Notebook ist uns nicht bekannt.” :D Maybe you could send me a link via email? |
Did you try it out, anyway? Does it work? |
Yes, I did not have any more crashes after the update. The "Connected Standby" seems to work normally. I could not find any negative side effects. |
It's been more than a month since this, and Acer still does not release the updated BIOS. It might be that they have found some blocking problem with the update, and of course, in the case of something as important and low-level as the BIOS, they must make sure the final product is rock-solid. Still, seeing as some other brands released updated and working BIOS regarding this same problem months ago, to be kept waiting is becoming more and more annoying as days pass ;-) |
The acer's bios update just been released guys! Check it out, now I have everything working correctly!!! |
Yes, can confirm! New 1.09 BIOS for Acer Swift 3 (SF314-42) correctly resolves this issue. Now I can keep using Docker/WSL2 and have my computer sleep without problems. |
Just for the record: This BIOS update from acer has the same version number as the beta version, which has been running smoothly on my system since January. |
Updated my SF314-42 to official BIOS v.1.09; standby on Kubuntu 20.04.2 not working just as before. |
@aelfinn the problem is in sleep states (modern standby). Linux does not fully support this and can't enter sleep state (s0 with some letters). Before, sleep was implemented with s3 state. I recommend you downgrading your BIOS to v1.04 so you can access advanced menu (turn off laptop, click buttons F4, 4, r, f, v, F5, 5, t, g, b, F6, 6, y, h, n) then you can disable modern standby. |
Thing is: I can't downgrade to 1.04 — the BIOS updating software gives an error because the BIOS to be flashed isn't newer than the on installed. :( |
You can, but you have to extract update exe first and then edit config. I will describe this more detailed later. |
You can extract update exe file using 7z. There is |
Has someone same issue with Intel CPU? |
I have the same issue on Intel desktop i7-7800x |
@tarik02 have you got your SF314-42 sleep issue resolved with the BIOS v1.09 update? |
@nikhilreddydev, yes, BIOS 1.09 does not have such problem. |
I had same issues with wsl2 with ubuntu 20.04, my laptop cant able to wake up from sleep. so I disabled VMP. |
Actually, it fixed the issue with windows, not sure about Linux. As I know, Linux works very bad with modern standby and it can cause issues. |
Okay, I just need the wsl2 to be working on my machine without any sleep issues. Cant wait for wsl2 + docker + windows working seamlessely |
Same problem on ASUS ROG Zephyrus G14 Ryzen 9 4900HS. |
Same issue for me. When I install Docker (which installs WSL2 and Virtual Machine Platform), I immediately begin seeing sleep wakeup hangs. As soon as I uninstall it (and WSL2 and VMP), the sleep problems go away. Hardware:
|
For linux users, set CONFIG_AMD_PMC to m or y in the linux kernel's menuconfig before building the kernel (this is missing in some distros as a result s0ix/s2idle does not function properly), it should now work as expected, have tested on kernel v5.15.2 (a bit more info). |
I have had the same issue on my DELL Inspiron 7373 laptop for a long time now. I have been trying to find the cause for this for a long time. I now understand that it is installing Docker Desktop (and therefore Virtual Machine Platform) that breaks both Sleep and Hibernate for me and would cause the machine to stay on and heat-up. Within 6 months it had totally destroyed my battery. Uninstalling Virtual Machine Platform fixes the problem (but obviously stops me from using Docker). Have any DELL Inspiron users faced the same issue? Has anyone found a fix? I'd like to be able to use Docker again. I have the latest BIOS and drivers from DELL. |
I tried to use Docker with Hyper-V(Without WSL2) |
It was fixed, when I reinstall OS with Secure boot, on GPT (earlier it was on MBR) and have installed all updates of that time (it was about a year ago). |
I got the same issue with a Dell XPS 15 9500 laptop running Windows 11 Pro 21H2 after I had installed Docker Desktop, which also installs WSL2. This laptop has an Intel Core i7-10750H CPU @ 2.60 GHz. I found that the machine would hang (at the Dell logo, i.e. before getting into Windows) on attempting to wake from sleep. Also, it would come back to that same hanging state on shutting the lid (presumably it went into sleep and then tried to wake again). This meant that the laptop would get extremely hot in my backpack (with fans running full blast). I tried all sorts of settings to attempt to resolve but I couldn't fix it and had to always either leave my machine on or shut it down. In the end I reinstalled Windows. I am not keen to reinstall WSL2 unless I know the issue is resolved. |
Thank god for opening up this issue. One day out of the blue my Windows 10 Acer Swift 3 AMD computer would not wake up from sleep, and every time I had to hold down the power button to turn it off and then one more time to turn it back on again. I tried all the tutorials online concerning problems waking up computer from sleep but nothing worked. This went on for a few days, and I was seriously considering buying a new laptop because I thought it was something wrong with my batteries. I didn't know why this started suddenly happening. I only knew that it started happening on the day I installed Docker. But I didn't connect the dots until I finally searched "computer won't wake up if sleeping too long docker" and found this thread and turned off "Virtual Machine Platform". Now the issue is completely fixed. Thank you so much for making this thread and saving me from so much frustration and confusion. |
This issue was solved long ago with a firmware update anyway... I have the latest firmware for my Swift 3 (model SF314-42) and use Docker all the time without issues. You could try searching for updated firmware and seeing if that solves the issue for you. |
I searched for weeks to find out why I couldn't put my computer into sleep mode. Finally, I discovered that it happened after I installed WSL2. When I unchecked the 'Virtual Machine Platform' option, the sleep mode started working again, but WSL2 stopped functioning. Here is my configuration: Windows version: |
I have the same issue with the Windows Hypervisor/WSL2, but not consistently with a Dell Precision 7520. With WSL2/Hypervisor enabled, the laptop will wake from sleep normally almost every time (4-in-5) when the charger is connected. If the charger is disconnected/runs on battery and put to sleep, there is a 2-in-3 chance that the system fails to wake; the power button and keyboard lights-up, but no HDD activity and the screen remains dead. Disabling the Hypervisor/WSL2 with I've tried updating the BIOS and switching between the Dell-provided drivers and the generic up-to-date ones from Nvidia and Intel...they don't work. Windows 10 Enterprise LTSC I genuinely thought the laptop was kicking the bucket for a long time... |
Environment
Steps to reproduce
Expected behavior
Keyboard/touchpad/power button can wake my laptop up.
Actual behavior
Nothing can wake my laptop up from sleep mode. keyboard/touchpad/power button won't work.
Notes
The text was updated successfully, but these errors were encountered: