Driver Nvidia not detected

I use wsl 2 with latest kernel on Windows 11 v22000.120
but if i try : glxinfo -B

*Output:
‘’’
Extended renderer info (GLX_MESA_query_renderer):
Vendor: Mesa/X.org (0xffffffff)
Device: llvmpipe (LLVM 11.0.0, 256 bits) (0xffffffff)

Type: sudo lshw -C video
output:
*-display:0
description: 3D controller
product: Microsoft Corporation
vendor: Microsoft Corporation
physical id: 4
bus info: pci@16f0:00:00.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=dxgkrnl latency=0
resources: irq:0
*-display:1
description: 3D controller
product: Microsoft Corporation
vendor: Microsoft Corporation
physical id: 0
bus info: pci@fe64:00:00.0
version: 00
width: 32 bits
clock: 33MHz
capabilities: bus_master cap_list
configuration: driver=dxgkrnl latency=0
resources: irq:0

My laptop use Intel HD630 and Nvidia GTX1060, I don’t see my two drivers detected,

But if I run "docker run --gpus all nvcr.io/nvidia/k8s/cuda-sample:nbody nbody -gpu -benchmark ", and detected using nvidia
*Output
NOTE: The CUDA Samples are not meant for performance measurements. Results may vary when GPU Boost is enabled.

Windowed mode Simulation data stored in video memory Single precision floating point simulation 1 Devices used for simulation

GPU Device 0: “Pascal” with compute capability 6.1

Compute 6.1 CUDA device: [NVIDIA GeForce GTX 1060]

10240 bodies, total time for 10 iterations: 9.030 ms = 116.126 billion interactions per second = 2322.522 single-precision GFLOP/s at 20 flops per interaction

This nvidia-smi output:
±----------------------------------------------------------------------------+
| NVIDIA-SMI 470.50 Driver Version: 471.21 CUDA Version: 11.4 |
|-------------------------------±---------------------±---------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce … Off | 00000000:01:00.0 Off | N/A |
| N/A 47C P8 3W / N/A | 92MiB / 6144MiB | ERR! Default |
| | | N/A |
±------------------------------±---------------------±---------------------+

±----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| No running processes found |
±----------------------------------------------------------------------------+

Is there any way to fix it?
In install CUDA driver I followed this way “CUDA on WSL :: CUDA Toolkit Documentation

This output nvidia-container-cli -k -d /dev/tty info:
– WARNING, the following logs are for debugging purposes only –

I0811 09:17:07.144474 433 nvc.c:372] initializing library context (version=1.4.0, build=704a698b7a0ceec07a48e56c37365c741718c2df)
I0811 09:17:07.144569 433 nvc.c:346] using root /
I0811 09:17:07.144641 433 nvc.c:347] using ldcache /etc/ld.so.cache
I0811 09:17:07.144654 433 nvc.c:348] using unprivileged user 1000:1000
I0811 09:17:07.144685 433 nvc.c:389] attempting to load dxcore to see if we are running under Windows Subsystem for Linux (WSL)
I0811 09:17:07.173975 433 dxcore.c:226] Creating a new WDDM Adapter for hAdapter:40000000 luid:4be08d
I0811 09:17:07.186989 433 dxcore.c:209] Core Nvidia library libcuda.so.1.1 not found in /usr/lib/wsl/drivers/iigd_dch.inf_amd64_bb3678f1b2323513
I0811 09:17:07.188278 433 dxcore.c:209] Core Nvidia library libcuda_loader.so not found in /usr/lib/wsl/drivers/iigd_dch.inf_amd64_bb3678f1b2323513
I0811 09:17:07.189491 433 dxcore.c:209] Core Nvidia library libnvidia-ptxjitcompiler.so.1 not found in /usr/lib/wsl/drivers/iigd_dch.inf_amd64_bb3678f1b2323513
I0811 09:17:07.190764 433 dxcore.c:209] Core Nvidia library libnvidia-ml.so.1 not found in /usr/lib/wsl/drivers/iigd_dch.inf_amd64_bb3678f1b2323513
I0811 09:17:07.192016 433 dxcore.c:209] Core Nvidia library libnvidia-ml_loader.so not found in /usr/lib/wsl/drivers/iigd_dch.inf_amd64_bb3678f1b2323513
I0811 09:17:07.192095 433 dxcore.c:214] No Nvidia Libraries found in /usr/lib/wsl/drivers/iigd_dch.inf_amd64_bb3678f1b2323513
E0811 09:17:07.192109 433 dxcore.c:260] Failed to query the core Nvidia libraries for the adapter. Skipping it.
I0811 09:17:07.192120 433 dxcore.c:226] Creating a new WDDM Adapter for hAdapter:40000040 luid:4c6c25
I0811 09:17:07.203322 433 dxcore.c:267] Adding new adapter via dxcore hAdapter:40000040 luid:4c6c25 wddm version:3000
I0811 09:17:07.203386 433 dxcore.c:325] dxcore layer initialized successfully
W0811 09:17:07.203951 433 nvc.c:397] skipping kernel modules load on WSL
I0811 09:17:07.204229 434 driver.c:101] starting driver service
I0811 09:17:07.313989 433 nvc_info.c:676] requesting driver information with ‘’
I0811 09:17:07.588260 433 nvc_info.c:195] selecting /usr/lib/wsl/lib/libnvidia-opticalflow.so.1
I0811 09:17:07.590157 433 nvc_info.c:195] selecting /usr/lib/wsl/lib/libnvidia-ml.so.1
I0811 09:17:07.591986 433 nvc_info.c:195] selecting /usr/lib/wsl/lib/libnvidia-encode.so.1
I0811 09:17:07.593829 433 nvc_info.c:195] selecting /usr/lib/wsl/lib/libnvcuvid.so.1
I0811 09:17:07.594403 433 nvc_info.c:195] selecting /usr/lib/wsl/lib/libdxcore.so
I0811 09:17:07.594557 433 nvc_info.c:195] selecting /usr/lib/wsl/lib/libcuda.so.1
W0811 09:17:07.594993 433 nvc_info.c:350] missing library libnvidia-cfg.so
W0811 09:17:07.595041 433 nvc_info.c:350] missing library libnvidia-nscq.so
W0811 09:17:07.595052 433 nvc_info.c:350] missing library libnvidia-opencl.so
W0811 09:17:07.595096 433 nvc_info.c:350] missing library libnvidia-ptxjitcompiler.so
W0811 09:17:07.595107 433 nvc_info.c:350] missing library libnvidia-fatbinaryloader.so
W0811 09:17:07.595117 433 nvc_info.c:350] missing library libnvidia-allocator.so
W0811 09:17:07.595126 433 nvc_info.c:350] missing library libnvidia-compiler.so
W0811 09:17:07.595163 433 nvc_info.c:350] missing library libnvidia-ngx.so
W0811 09:17:07.595173 433 nvc_info.c:350] missing library libvdpau_nvidia.so
W0811 09:17:07.595183 433 nvc_info.c:350] missing library libnvidia-eglcore.so
W0811 09:17:07.595221 433 nvc_info.c:350] missing library libnvidia-glcore.so
W0811 09:17:07.595265 433 nvc_info.c:350] missing library libnvidia-tls.so
W0811 09:17:07.595277 433 nvc_info.c:350] missing library libnvidia-glsi.so
W0811 09:17:07.595317 433 nvc_info.c:350] missing library libnvidia-fbc.so
W0811 09:17:07.595332 433 nvc_info.c:350] missing library libnvidia-ifr.so
W0811 09:17:07.595368 433 nvc_info.c:350] missing library libnvidia-rtcore.so
W0811 09:17:07.595385 433 nvc_info.c:350] missing library libnvoptix.so
W0811 09:17:07.595396 433 nvc_info.c:350] missing library libGLX_nvidia.so
W0811 09:17:07.595408 433 nvc_info.c:350] missing library libEGL_nvidia.so
W0811 09:17:07.595417 433 nvc_info.c:350] missing library libGLESv2_nvidia.so
W0811 09:17:07.595457 433 nvc_info.c:350] missing library libGLESv1_CM_nvidia.so
W0811 09:17:07.595501 433 nvc_info.c:350] missing library libnvidia-glvkspirv.so
W0811 09:17:07.595515 433 nvc_info.c:350] missing library libnvidia-cbl.so
W0811 09:17:07.595555 433 nvc_info.c:354] missing compat32 library libnvidia-ml.so
W0811 09:17:07.595571 433 nvc_info.c:354] missing compat32 library libnvidia-cfg.so
W0811 09:17:07.595582 433 nvc_info.c:354] missing compat32 library libnvidia-nscq.so
W0811 09:17:07.595617 433 nvc_info.c:354] missing compat32 library libcuda.so
W0811 09:17:07.595635 433 nvc_info.c:354] missing compat32 library libnvidia-opencl.so
W0811 09:17:07.595678 433 nvc_info.c:354] missing compat32 library libnvidia-ptxjitcompiler.so
W0811 09:17:07.595694 433 nvc_info.c:354] missing compat32 library libnvidia-fatbinaryloader.so
W0811 09:17:07.595738 433 nvc_info.c:354] missing compat32 library libnvidia-allocator.so
W0811 09:17:07.595780 433 nvc_info.c:354] missing compat32 library libnvidia-compiler.so
W0811 09:17:07.595836 433 nvc_info.c:354] missing compat32 library libnvidia-ngx.so
W0811 09:17:07.595879 433 nvc_info.c:354] missing compat32 library libvdpau_nvidia.so
W0811 09:17:07.595920 433 nvc_info.c:354] missing compat32 library libnvidia-encode.so
W0811 09:17:07.595931 433 nvc_info.c:354] missing compat32 library libnvidia-opticalflow.so
W0811 09:17:07.596011 433 nvc_info.c:354] missing compat32 library libnvcuvid.so
W0811 09:17:07.596026 433 nvc_info.c:354] missing compat32 library libnvidia-eglcore.so
W0811 09:17:07.596077 433 nvc_info.c:354] missing compat32 library libnvidia-glcore.so
W0811 09:17:07.596092 433 nvc_info.c:354] missing compat32 library libnvidia-tls.so
W0811 09:17:07.596103 433 nvc_info.c:354] missing compat32 library libnvidia-glsi.so
W0811 09:17:07.596143 433 nvc_info.c:354] missing compat32 library libnvidia-fbc.so
W0811 09:17:07.596209 433 nvc_info.c:354] missing compat32 library libnvidia-ifr.so
W0811 09:17:07.596262 433 nvc_info.c:354] missing compat32 library libnvidia-rtcore.so
W0811 09:17:07.596277 433 nvc_info.c:354] missing compat32 library libnvoptix.so
W0811 09:17:07.596285 433 nvc_info.c:354] missing compat32 library libGLX_nvidia.so
W0811 09:17:07.596328 433 nvc_info.c:354] missing compat32 library libEGL_nvidia.so
W0811 09:17:07.596340 433 nvc_info.c:354] missing compat32 library libGLESv2_nvidia.so
W0811 09:17:07.596384 433 nvc_info.c:354] missing compat32 library libGLESv1_CM_nvidia.so
W0811 09:17:07.596396 433 nvc_info.c:354] missing compat32 library libnvidia-glvkspirv.so
W0811 09:17:07.596405 433 nvc_info.c:354] missing compat32 library libnvidia-cbl.so
W0811 09:17:07.596449 433 nvc_info.c:354] missing compat32 library libdxcore.so
I0811 09:17:07.601477 433 nvc_info.c:276] selecting /usr/lib/wsl/lib/nvidia-smi
W0811 09:17:08.050316 433 nvc_info.c:376] missing binary nvidia-debugdump
W0811 09:17:08.050375 433 nvc_info.c:376] missing binary nvidia-persistenced
W0811 09:17:08.050424 433 nvc_info.c:376] missing binary nv-fabricmanager
W0811 09:17:08.050438 433 nvc_info.c:376] missing binary nvidia-cuda-mps-control
W0811 09:17:08.050447 433 nvc_info.c:376] missing binary nvidia-cuda-mps-server
I0811 09:17:08.050492 433 nvc_info.c:438] listing device /dev/dxg
W0811 09:17:08.050593 433 nvc_info.c:321] missing ipc /var/run/nvidia-persistenced/socket
W0811 09:17:08.050748 433 nvc_info.c:321] missing ipc /var/run/nvidia-fabricmanager/socket
W0811 09:17:08.050819 433 nvc_info.c:321] missing ipc /tmp/nvidia-mps
I0811 09:17:08.050892 433 nvc_info.c:733] requesting device information with ‘’
I0811 09:17:08.072124 433 nvc_info.c:604] listing dxcore adapter 0 (GPU-1a43070a-b1fa-405d-c394-fa8c2c7e1499 at 00000000:01:00.0)
NVRM version: 471.21
CUDA version: 11.4

Device Index: 0
Device Minor: 0
Model: NVIDIA GeForce GTX 1060
Brand: GeForce
GPU UUID: GPU-1a43070a-b1fa-405d-c394-fa8c2c7e1499
Bus Location: 00000000:01:00.0
Architecture: 6.1
I0811 09:17:08.072258 433 nvc.c:423] shutting down library context
I0811 09:17:08.072995 434 driver.c:163] terminating driver service
I0811 09:17:08.076468 433 driver.c:203] driver service terminated successfully