RUNLOCALAIv38
→WILL IT RUNBEST GPUCOMPARETROUBLESHOOTSTARTPULSEMODELSHARDWARETOOLSBENCH
RUNLOCALAI

Operator-grade instrument for local-AI hardware intelligence. Hand-written verdicts. Real benchmarks. Reproducible commands.

OP·Fredoline Eruo
DIR
  • Models
  • Hardware
  • Tools
  • Benchmarks
  • Will it run?
GUIDES
  • Best GPU
  • Best laptop
  • Best Mac
  • Best used GPU
  • Best budget GPU
  • Best GPU for Ollama
  • Best GPU for SD
  • AI PC build $2K
  • CUDA vs ROCm
  • 16 vs 24 GB
  • Compare hardware
  • Custom compare
REF
  • Systems
  • Ecosystem maps
  • Pillar guides
  • Methodology
  • Glossary
  • Errors KB
  • Troubleshooting
  • Resources
  • Public API
EDITOR
  • About
  • About the author
  • Changelog
  • Latest
  • Updates
  • Submit benchmark
  • Send feedback
  • Trust
  • Editorial policy
  • How we make money
  • Contact
LEGAL
  • Privacy
  • Terms
  • Sitemap
MAIL · MONTHLY DIGEST
Get monthly local AI changes
Monthly recap. No spam.
DISCLOSURE

Some links on this site are affiliate links (Amazon Associates and other first-class retailers). When you buy through them, we earn a small commission at no extra cost to you. Affiliate links do not influence our verdicts — there are cards we rate highly that we don't have affiliate relationships with, and cards that sell well that we refuse to recommend. Read more →

SYS · ONLINEUPTIME · 100%2026 · operator-owned
RUNLOCALAI · v38
Errors / Driver issues / WSL2 GPU not detected — nvidia-smi missing or empty
Driver issues

WSL2 GPU not detected — nvidia-smi missing or empty

Command 'nvidia-smi' not found, or NVIDIA-SMI failed because it couldn't communicate with the NVIDIA driver
By Fredoline Eruo · Last verified May 7, 2026

Cause

WSL2 doesn't expose your Windows-host NVIDIA GPU automatically. You need:

  • A recent Windows 11 (or Windows 10 21H2+) build
  • The NVIDIA Windows driver (NOT a Linux driver inside WSL2)
  • A WSL2 distro updated past kernel 5.10
  • Optional: nvidia-container-toolkit if you want Docker-on-WSL2 GPU access

Common mistakes:

  • Trying to install nvidia-driver-XXX inside the WSL2 distro (don't — Windows driver passes through)
  • Old WSL2 kernel that predates GPU passthrough
  • WSL1 instead of WSL2 (wsl -l -v to check; only WSL2 supports GPU)

Solution

1. Update Windows + WSL2. Run from PowerShell as admin:

wsl --update
wsl --shutdown

2. Install (or update) the NVIDIA Windows driver from nvidia.com. Even datacenter drivers work via the GeForce app.

3. Verify GPU is visible from Windows side first (cmd or PowerShell):

nvidia-smi

If this fails, fix Windows-side first.

4. Now check inside WSL2:

# WSL2 should pick up the Windows GPU automatically
nvidia-smi

5. CUDA toolkit inside WSL2 (if needed for compilation):

# Install CUDA toolkit (NOT the driver) inside WSL2
wget https://developer.download.nvidia.com/compute/cuda/repos/wsl-ubuntu/x86_64/cuda-keyring_1.1-1_all.deb
sudo dpkg -i cuda-keyring_1.1-1_all.deb
sudo apt update && sudo apt install -y cuda-toolkit-12-6

6. Docker-on-WSL2 GPU access: install nvidia-container-toolkit per the Linux local AI guide. Docker Desktop with WSL2 backend respects this.

For deployment paths, Linux is the production-default — use WSL2 for development, native Linux for production.

Related errors

  • CUDA driver version is insufficient for CUDA runtime version
  • nvidia-smi: command not found
  • PyTorch CUDA error: driver version is insufficient for CUDA runtime
  • WSL2: nvidia-smi works but PyTorch sees no CUDA / libcuda.so missing
  • Docker container can't see GPU — nvidia-container-toolkit missing

Did this fix it?

If your case was different, email support@runlocalai.co with what you saw and we'll update the page. If it worked but took different commands on your platform, we want to know that too.