-
Notifications
You must be signed in to change notification settings - Fork 797
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 - WSL2 takes 10+ minutes to launch #11692
Comments
Logs are required for review from WSL teamIf this a feature request, please reply with '/feature'. If this is a question, reply with '/question'. How to collect WSL logsDownload and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
The scipt will output the path of the log file once done. Once completed please upload the output files to this Github issue. Click here for more info on logging View similar issuesPlease view the issues below to see if they solve your problem, and if the issue describes your problem please consider closing this one and thumbs upping the other issue to help us prioritize it! Closed similar issues:
|
Well, moments after posting this, I managed to fix it. |
I guess we can close this, since I was able to fix it. I'm still puzzled about why this was an issue, but I've wasted enough time on it already. I hope it helps someone else facing the same issue. |
Windows Version
Microsoft Windows [Version 10.0.22631.3737]
WSL Version
2.1.5.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.146.1-microsoft-standard-WSL2
Distro Version
Ubuntu 24.04, Ubuntu 22.04, Kali Linux
Other Software
Cisco AnyConnect Secure Mobility Client 4.10.08029 (this has known issues with WSL2, but I don't seem to be having problems with the networking)
Repro Steps
Start from a freshly booted computer.
Launch a WSL Linux distro, or run a WSL.EXE command.
Wait....................
.............................
.............................
Expected Behavior
I expect it to launch in less than a minute (previously it would launch in under 10 seconds).
Actual Behavior
I've tried 3 distros (Ubuntu 22.04, Ubuntu 24.04 and Kali Linux) and they all have the same problem.
Even trying to run wsl.exe commands takes 10+ minutes.
dmesg shows long gaps in time between hv_balloon and /sbin/ldconfig, then another gap between some Ioctl failed messages for dxgk and /sbin/ldconfig.real
See attached snippit from dmesg output.
I've fully uninstalled WSL and reinstalled, but the issue persists.
I've tried re-installing the NVIDIA drivers for Windows because the dxgk errors appear to be related to DirectX.
I tried disabling the GPU (gpuSupport=false) in .wslconfig, and that got rid of the Ioctl failures, but the loading of WSL took even longer.
Is anyone else experiencing this?
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: