-
Notifications
You must be signed in to change notification settings - Fork 855
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
Failed to initialize NVML: GPU access blocked by the operating system #9938
Comments
I have the exact same problem |
/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:
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! |
Hi, |
Thank you very much, I guess it was the problem, I have tried other machine which use 3060 and it works. |
Thank you for replying, the attachment is log file. |
Exactly the same problem like @loliq has. Windows has updated last night. |
Yeah,just see: #9962 @alf-wangzhi |
thank you so much. it is means a lot @lpdink |
The problem was solved, time to close this issue. |
I got this error on my machine
and the kernel is |
I have the same issue with Nvidia A16.
|
I have the same issue, with: system: windows 10, 22H2, 19045.4651, GPU: Nvidia Tesla v100
|
Here, I found solution in #9962 that says:
It worked for me. Hope it does for you too. |
Inside the file /etc/nvidia-container-runtime/config.toml change no-cgroups from true to false |
Tried everything, but it's still not working. WSL not support for Tesla GPU. |
Very bizzare, this happened to me randomly but it was fixed after restarting... |
Windows Version
Windows 10 [19045.2728]
WSL Version
1.1.6.0
Are you using WSL 1 or WSL 2?
Kernel Version
Linux version 5.15.90.1-microsoft-standard-WSL2
Distro Version
Ubuntu 22.04
Other Software
No response
Repro Steps
I install wsl2 in Windows 10 [19045.2728]

In Windows, “nvidia-smi” output is :

but in wsl2, output is :

Below are the solutions I have tried that didn't work:
My file list in
C:\Windows\System32\lxss\lib
is :Expected Behavior
that nvidia-smi outputs the informations related to my gpu and that I can use it inside the WSL2 environment.
Actual Behavior
this is what happens when I launch nvidia-smi inside ubuntu 22.04 :
Diagnostic Logs
No response
The text was updated successfully, but these errors were encountered: