Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

llvmpipe is being used instead of the d3d12 driver #389

Open
zoltan-magyar opened this issue Jan 22, 2025 · 2 comments
Open

llvmpipe is being used instead of the d3d12 driver #389

zoltan-magyar opened this issue Jan 22, 2025 · 2 comments

Comments

@zoltan-magyar
Copy link

Describe the issue
Reinstalled Arch recently on WSL2 and managed to get Wayland and XWayland working with fixing the tmp files. Both X11 and Wayland GUI apps work as expected, but they use llvmpipe. Mesa is up to date. GPU is nvidia with 566.36 drivers on Windows.

nvidia-smi reports that the GPU is being recognized.

To Reproduce
Steps to reproduce the behavior:

  • Install a fresh Arch WSL2 instance
  • Install Mesa and xwayland
  • Fix /tmp files
  • X11 and Wayland is working but don't use the d3d12 driver

Expected behavior
Use of the D3D12 driver in Mesa

Screenshots

❯ eglinfo -B
GBM platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 19.1.6, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 24.3.3-arch1.2
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 19.1.6, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 24.3.3-arch1.2
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 19.1.6, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.3.3-arch1.2
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Wayland platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 19.1.6, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 24.3.3-arch1.2
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 19.1.6, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 24.3.3-arch1.2
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 19.1.6, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.3.3-arch1.2
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

X11 platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 19.1.6, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 24.3.3-arch1.2
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 19.1.6, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 24.3.3-arch1.2
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 19.1.6, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.3.3-arch1.2
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Surfaceless platform:
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 19.1.6, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 24.3.3-arch1.2
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 19.1.6, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 24.3.3-arch1.2
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 19.1.6, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.3.3-arch1.2
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device platform:
Device #0:

Platform Device platform:
libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
libEGL warning: NEEDS EXTENSION: falling back to kms_swrast
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 19.1.6, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 24.3.3-arch1.2
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 19.1.6, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 24.3.3-arch1.2
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 19.1.6, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.3.3-arch1.2
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Device #1:

Platform Device platform:
EGL API version: 1.5
EGL vendor string: Mesa Project
EGL version string: 1.5
EGL client APIs: OpenGL OpenGL_ES
OpenGL core profile vendor: Mesa
OpenGL core profile renderer: llvmpipe (LLVM 19.1.6, 256 bits)
OpenGL core profile version: 4.5 (Core Profile) Mesa 24.3.3-arch1.2
OpenGL core profile shading language version: 4.50
OpenGL compatibility profile vendor: Mesa
OpenGL compatibility profile renderer: llvmpipe (LLVM 19.1.6, 256 bits)
OpenGL compatibility profile version: 4.5 (Compatibility Profile) Mesa 24.3.3-arch1.2
OpenGL compatibility profile shading language version: 4.50
OpenGL ES profile vendor: Mesa
OpenGL ES profile renderer: llvmpipe (LLVM 19.1.6, 256 bits)
OpenGL ES profile version: OpenGL ES 3.2 Mesa 24.3.3-arch1.2
OpenGL ES profile shading language version: OpenGL ES GLSL ES 3.20

Enviroment:

  • Windows build number: 10.0.26100.2894
  • WSL version 1/2: WSL2
  • ArchWSL version 24.4.28.0
  • ArchWSL Installer type: appx
  • Launcher version: 24042000

Additional context
Add any other context about the problem here.

@zoltan-magyar
Copy link
Author

Also of note, /dev/dxg is nowhere to be found. If I install an Ubuntu distro it works OOB.

@zoltan-magyar
Copy link
Author

Update: dxg can be found after a restart, but llvmpipe is still used.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant