wslg: The whole PC freezes after running wsl --shutdown with NVIDIA GPU driver
Environment
Windows build number: Version 10.0.22598.200, and also in previous builds.
Your Distribution version: Tested in Ubuntu 20.04, 21.04 and 22.04.
Your WSLg version: 1.0.33
Steps to reproduce
Run some gui apps in WSL, then run wsl --shutdown from cmd or Powershell. Tested using latest Nvidia drivers.
WSL logs:
No errors in logs since this happens when wsl --shutdown
is run and this also makes the user to forcefully shutdown the computer.
Solution seems to be that you need to ensure all gui related apps are killed before running wsl --shutdown
, or run wsl -t Ubuntu && wsl --shutdown
. But this does not always work.
versions.txt
WSLg ( x86_64 ): 1.0.33+Branch.main.Sha.d57addbe6309d0a453123c91e6117fc21871496c
Mariner: VERSION="1.0.20220226"
FreeRDP: c574044a10003e50453acb4cf42801c5833fb572
weston: 651d33374f9b9e93e1cf1210faff13bcd339f132
pulseaudio: 2f0f0b8c3872780f15e275fc12899f4564f01bd5
Expected behavior
Successfully shutdown WSL after running wsl --shutdown
.
Actual behavior
The whole PC freezes (including mouse and all keyboard combinations) and becomes unresponsive, after running wsl --shutdown
. The only way to get out of this situation is a force shutdown of PC.
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 16
- Comments: 22 (8 by maintainers)
@skyblueplus, @brokeDude2901, @inclu-media, if any of you are on Windows insider build, the fix is released to insider last week with Windows build number 25140 (https://blogs.windows.com/windows-insider/2022/06/15/announcing-windows-11-insider-preview-build-25140/). If you have a chance to try out this build and verify this issue is fixed, please let us know, thanks!
@skyblueplus, thanks for reporting the issue. I was able to reproduce the issue and this is the issue in Window’s side kernel mode driver issue. (for internal reference, the bug number at OS bug is 39506793), thanks!
@brunohubner, if everything goes as planned, it will be released to non-insider channel by late November, thanks!
I am still having the same issue with Windows 11 22622.586…
Any ETA for the release of the fix on Beta channel?
same issue:
Chrome occasionally freezes, trying to resolve by
The whole system hangs and needs to be rebooted.