Skip to content
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

WSL wont start after GPU change (Wsl/Service/CreateInstance/CreateVm/ConfigureGpu/HCS/ERROR_FILE_NOT_FOUND) #12497

Open
1 of 2 tasks
altheeagle opened this issue Jan 24, 2025 · 7 comments
Assignees
Labels

Comments

@altheeagle
Copy link

Windows Version

icrosoft Windows [Version 10.0.26100.2894]

WSL Version

2.3.26.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

5.15.167.4-1

Distro Version

Ubuntu

Other Software

I've changed my Graphics Card from a Nvidia GTX 970 to a Intel Arc B580 today. After this I couldn't use WSL anymore. The GPU Driver is 32.0.101.6257 and the WHQL only option in the GPU Software is turned on.

Repro Steps

Run wsl.exe or wsl.exe -d ubuntu

Expected Behavior

A Linux Terminal shows up

Actual Behavior

Getting the Error Message:

The system cannot find the specified file.
Errorcode: Wsl/Service/CreateInstance/CreateVm/ConfigureGpu/HCS/ERROR_FILE_NOT_FOUND

(translatet from the german version:
Das System kann die angegebene Datei nicht finden.
Fehlercode: Wsl/Service/CreateInstance/CreateVm/ConfigureGpu/HCS/ERROR_FILE_NOT_FOUND)

Diagnostic Logs

WslLogs-2025-01-24_17-23-02.zip

Copy link

View similar issues

Please 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!

Open similar issues:

Closed similar issues:

Note: You can give me feedback by thumbs upping or thumbs downing this comment.

Diagnostic information
.wslconfig found
Detected appx version: 2.3.26.0
Detected user visible error: Wsl/Service/CreateInstance/CreateVm/ConfigureGpu/HCS/ERROR_FILE_NOT_FOUND

@altheeagle
Copy link
Author

Additional Info what I already did:

Disabled the Windows-Subsystem for Linux, the Virtual Machine Plattform and the Hyper-V Features, rebooted and enabled them again.

also I ran
wsl.exe --uninstall
wsl.exe --update
wsl.exe

all with the same outcome

@vladislavdonchev
Copy link

Same issue here... Just swapped the GPUs in this case.

@altheeagle
Copy link
Author

Today I tried a reinstall as described here Fix issues by reinstalling the current version of Windows - Microsoft Support and this helped. WSL is working again.

@vladislavdonchev
Copy link

Today I tried a reinstall as described here Fix issues by reinstalling the current version of Windows - Microsoft Support and this helped. WSL is working again.

Yeah, unfortunately no luck here... I'm gonna have to keep digging.

@vladislavdonchev
Copy link

Update

So far I've tried:

  1. Putting the GPUs in the previous order.
  2. Manually re-installing all virtualization components - Containers, HyperV, Virtual Machine Platform, WSL.
  3. Reinstalling the Current Version of Windows.
  4. Rolling back Windows to a restore point from before the change - after rolling back WSL is broken and needs reinstall, which then results in the same issue.
  5. Trying with other distros...

@vladislavdonchev
Copy link

Final Update: I abandoned WSL and simply installed Ubuntu on Hyper-V. Everything is working fine and took less than a minute to set up...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants