Closed KawaiiZapic closed 10 months ago
Startup logs:
/logs
Hello! Could you please provide more logs to help us better diagnose your issue?
To collect WSL logs, download and execute collect-wsl-logs.ps1 in an administrative powershell prompt:
Invoke-WebRequest -UseBasicParsing "https://raw.githubusercontent.com/microsoft/WSL/master/diagnostics/collect-wsl-logs.ps1" -OutFile collect-wsl-logs.ps1
Set-ExecutionPolicy Bypass -Scope Process -Force
.\collect-wsl-logs.ps1
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
Thank you!
Thank you @KawaiiZapic. Can you try setting this in %USERPROFILE%/.wslconfig:
[wsl2]
gpuSupport=false
Then run wsl --shutdown, and see if that resolves the issue ?
gpuSupport=false
Sorry for taking so long to reply It does work. But it seem like a workaround, what if I need to use GPU in future?
Update: I reboot my computer and try to start it again, it takes 20~60s(randomly) to start. So I capute logs again: WslLogs-2023-09-19_21-24-16.zip
I'm sorry for bothering, but it seem you didn't receive from me, let me know if you have seen what I commet.
Hello, I'd like to tell you I still have the problem after 2 months later, I still need someone help me. @OneBlue
After WSL auto upgrade to 2.0.9.0
, startup can be done in 10s
@KawaiiZapic
I have WSL version: 2.0.14.0 and my start still takes 50 seconds. This issue should be reopened.
@joehays: Can you start a new issue with logs please ?
My issues related to #9358 , after remove unreachable SMB, everything work fine.
Windows Version
Microsoft Windows [Version 10.0.22631.2271]
WSL Version
1.3.17.0
Are you using WSL 1 or WSL 2?
Kernel Version
5.15.90.4-1
Distro Version
Ubuntu 20.04 / Ubuntu 22.04
Other Software
No response
Repro Steps
Expected Behavior
start in ~10s
Actual Behavior
extremely slow start ~50s
Diagnostic Logs
No response