Quantcast
Channel: Active questions tagged windows-subsystem-for-linux - Ask Ubuntu
Viewing all articles
Browse latest Browse all 2810

WSL2 MESA: error: ZINK: failed to choose pdev after glxinfo -B

$
0
0

Premise: I am a novice in this topic

I am trying to set up my WSL to test numerical calculations (based on OpenGL) on GPUs.
I have already installed CUDA, nvcc --version, nvidia-smi and glxgears all seem to be working correctly (See here for output).

However, I have the following output after glxinfo -B:

name of display: :0MESA: error: ZINK: failed to choose pdevglx: failed to create drisw screendisplay: :0  screen: 0direct rendering: YesExtended renderer info (GLX_MESA_query_renderer):    Vendor: Microsoft Corporation (0xffffffff)    Device: D3D12 (NVIDIA GeForce GTX 1650 Ti with Max-Q Design) (0xffffffff)    Version: 24.0.9    Accelerated: yes    Video memory: 11996MB    Unified memory: no    Preferred profile: core (0x1)    Max core profile version: 4.6    Max compat profile version: 4.6    Max GLES1 profile version: 1.1    Max GLES[23] profile version: 3.1OpenGL vendor string: Microsoft CorporationOpenGL renderer string: D3D12 (NVIDIA GeForce GTX 1650 Ti with Max-Q Design)OpenGL core profile version string: 4.6 (Core Profile) Mesa 24.0.9-0ubuntu0.2OpenGL core profile shading language version string: 4.60OpenGL core profile context flags: (none)OpenGL core profile profile mask: core profileOpenGL version string: 4.6 (Compatibility Profile) Mesa 24.0.9-0ubuntu0.2OpenGL shading language version string: 4.60OpenGL context flags: (none)OpenGL profile mask: compatibility profileOpenGL ES profile version string: OpenGL ES 3.1 Mesa 24.0.9-0ubuntu0.2OpenGL ES profile shading language version string: OpenGL ES GLSL ES 3.10

This is interfering with my application, leading to crashes in test cases.
I tried upgrading to a newer version of MESA using ppa but it led to another error.

Do you have any idea how to fix this? Any help is greatly appreciated!

Other informations:
Ubuntu 24.04
PC: Razer Blade-stelth
Graphic card: NVIDIA GeForce GTX 1650 Ti with Max-Q Design
Windows 11


Viewing all articles
Browse latest Browse all 2810

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>