Skip to content

wslc does not expose /dev/dri for VAAPI #41748

Closed

Description

@sikhness

Windows Version

Microsoft Windows [Version 10.0.26200.9457]

WSL Version

3.0.1.0

Are you using WSL 1 or WSL 2?

  • WSL 2
  • WSL 1

Kernel Version

6.18.40.1-microsoft-standard-WSL2

Distro Version

Ubuntu 26.04.1 LTS

Other Software

No response

Repro Steps

  1. Run wslc run -it --name ubuntu --gpus all ubuntu:latest bash to create a Ubuntu container while passing in your GPU
  2. Inside the container run ls /dev
  3. You will notice that only /dev/dxg is available but not /dev/dri which means VAAPI based workloads will not work.

Expected Behavior

Given the blog post Microsoft created with instructions on how to run VAAPI on WSL2, you'd expect it to be able to run inside of WSL Containers too (wslc).

Actual Behavior

When you run ls /dev you will only see /dev/dxg which allows for GPU access using tools that are coded to recognize that, but it seems VAAPI does not work with that to my knowledge and it requires /dev/dri as explained in this blog post.

Diagnostic Logs

WslLogs-2026-09-30_20-28-36.tar.gz

Activity

  1. github-actions commented on Oct 1, 2026

    @github-actions
    Contributor
    Diagnostic information
    .wslconfig found
    Detected appx version: 3.0.1.0
    
  2. added a commit that references this issue on Oct 23, 2026
    a746517
  3. added a commit that references this issue on Nov 10, 2026
    eeb6b11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions