-
Notifications
You must be signed in to change notification settings - Fork 821
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
Windows 11 - Laptop hangs when sleep mode is triggered after WSL terminal opened #7891
Comments
I have noticed something similar on Windows 11 and it's quite maddening. I did not notice this when I was still running Windows 10. My CPU usage skyrockets after I try to 'resume' from a sleep, and my WSLg terminal emulator ( This is what my CPU usage due to WSL looks like during this event; my laptop fan hates it and the bottom of my laptop burns!!: I experience this frequently after a long laptop 'sleep'. |
Having the same issue here! |
Same/similar issues, all related to sleep mode while a WSL2 is running (Win11, Ubuntu 20.04, Dell XPS 15 9520). |
wsl freezes after even a short sleep. Hibernation works. XPS 15 9520. W11. |
I am seeing a somewhat tangential issue, but I think it may help triage the issue. When you see the issue, are you using Windows Terminal or some other command-line terminal? In my case, it is Windows Terminal (Preview) that is causing the hang/fan to spin up. It also causes my external mouse (which has a driver, and has special mouse bindings for WT) to stop working, while inside of WT. Once I move the mouse outside of WT, it 'wakes up.' I normally use WT for both PowerShell 7 (7.3) and WSL (Debian and/or Oracle Linux. I also use WT for Cygwin64 and Git-bash. |
I was using WT, but definitely not preview (v1.16.10262.0). I've switched my computer to Linux since, no more problems! |
If you want to keep your data, 'Reset' is not working. It will erase your data definitely. |
Version
Windows 11 Version 21H2 (OS Build 22000.376)
WSL Version
Kernel Version
5.10.16
Distro Version
Ubuntu 20.04
Other Software
No response
Repro Steps
Expected Behavior
Actual Behavior
wsl --shutdown
WSL2 randomly crashes #7368
WSL won't launch after upgrading to Windows 11 #7711
wsl stops working after update in windows 11 as well as windows 10 #7864
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: