Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2795

Nvidia on WSL2 still not working

$
0
0

I am trying to get my GPU recognized by WSL2. I have followed this guide, looked at the reply to this post, ran through multiple other tutorials and I still cannot get my GPU connected. When I run the following command I get:

nvidia-smiNVIDIA-SMI has failed because it couldn't communicate with the NVIDIA driver. Make sure that the latest NVIDIA driver is installed and running.

even though I installed all the drivers given in the tutorial. I also have Windows Insider on Dev, installed all updates. Moreover, I am new to working with WSL which complicates things even further. Any help would be greatly appreciated.

My glxinfo -B output:

name of display: :0NVD3D10: CPU cyclestats are disabled on client virtualizationNVD3D10: CPU cyclestats are disabled on client virtualizationdisplay: :0  screen: 0direct rendering: YesExtended renderer info (GLX_MESA_query_renderer):    Vendor: Microsoft Corporation (0xffffffff)    Device: D3D12 (NVIDIA GeForce GTX 1660 SUPER) (0xffffffff)    Version: 21.2.0    Accelerated: yes    Video memory: 22349MB    Unified memory: no    Preferred profile: core (0x1)    Max core profile version: 3.3    Max compat profile version: 3.1    Max GLES1 profile version: 1.1    Max GLES[23] profile version: 3.0OpenGL vendor string: Microsoft CorporationOpenGL renderer string: D3D12 (NVIDIA GeForce GTX 1660 SUPER)OpenGL core profile version string: 3.3 (Core Profile) Mesa 21.2.0-devel (git-17d7b0b 2021-05-30 focal-oibaf-ppa)OpenGL core profile shading language version string: 3.30OpenGL core profile context flags: (none)OpenGL core profile profile mask: core profileOpenGL version string: 3.1 Mesa 21.2.0-devel (git-17d7b0b 2021-05-30 focal-oibaf-ppa)OpenGL shading language version string: 1.40OpenGL context flags: (none)OpenGL ES profile version string: OpenGL ES 3.0 Mesa 21.2.0-devel (git-17d7b0b 2021-05-30 focal-oibaf-ppa)OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.00

Viewing all articles
Browse latest Browse all 2795

Trending Articles