Skip to content

Intel graphics acceleration architecturally broken for non-Ubuntu systems #996

@shoffmeister

Description

@shoffmeister

Windows build number:

10.0.22621.0

Your Distribution version:

any non-Debian / non-Ubuntu

Your WSL versions:

WSL version: 1.1.3.0
Kernel version: 5.15.90.1
WSLg version: 1.0.49
MSRDC version: 1.2.3770
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22621.1344

Steps to reproduce:

WSLg graphics (and video) acceleration is fundamentally and architecturally broken for Intel GPUs on any distribution that is not part of the Debian or Ubuntu world.

In other words, Intel graphics acceleration will not work for WSLg on affected distributions.

To reproduce on any affected distribution,

  • pick some hardware which has Intel GPU hardware
  • recent enough Intel drivers supporting WSLg in general, on Ubuntu
  • open a WSL2 prompt on the affected distribution (assuming that a full Mesa stack including d3d12 DRI driver is installed)
  • run MESA_D3D12_DEFAULT_ADAPTER_NAME=intel glxinfo -B | grep -oP '(?<=Device: )(.+)$'

//exp: D3D12 (Intel(R) UHD Graphics) (0xffffffff)
//act: llvmpipe (LLVM 15.0.7, 256 bits) (0xffffffff)

Affected are, amongst others,

but also any other custom-build or custom-loaded distribution which does not originate from the Debian world.

WSL logs:

No response

WSL dumps:

No response

Expected behavior:

run MESA_D3D12_DEFAULT_ADAPTER_NAME=intel glxinfo -B | grep -oP '(?<=Device: )(.+)$'

//exp: D3D12 (Intel(R) UHD Graphics) (0xffffffff)

Actual behavior:

run MESA_D3D12_DEFAULT_ADAPTER_NAME=intel glxinfo -B | grep -oP '(?<=Device: )(.+)$'

//act: llvmpipe (LLVM 15.0.7, 256 bits) (0xffffffff)

Metadata

Metadata

Assignees

No one assigned

    Labels

    GPUbugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions