libEGL warning: MESA-LOADER: failed to open vgem: /usr/lib/dri/vgem_dri.so: cannot open shared object file: No such file or directory (search paths /usr/lib/x86_64-linux-gnu/dri:\$${ORIGIN}/dri:/usr/lib/dri, suffix _dri)
Hello I get the error above when I want to run a neural network and it seems the /usr/lib/dri/ folder is missing completely and in the /usr/lib/x86_64-linux-gnu/dri folder are a lot of .so files but a vgem_dri.so file is missing. Does this mean something with my WSL2 system is wrong? I am using a WSL2 with Cuda 11.7. My nvidia-smi and nvcc --version output is below:
kiropro@DESKTOP-JC8EGB7:~$ nvidia-smi
Tue Feb 28 15:50:13 2023
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 525.89.02 Driver Version: 528.49 CUDA Version: 12.0 |
|-------------------------------+----------------------+----------------------+
| GPU Name Persistence-M| Bus-Id Disp.A | Volatile Uncorr. ECC |
| Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. |
| | | MIG M. |
|===============================+======================+======================|
| 0 NVIDIA GeForce ... On | 00000000:01:00.0 On | Off |
| 64% 56C P2 268W / 450W | 4660MiB / 24564MiB | 97% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 27 G /Xwayland N/A |
+-----------------------------------------------------------------------------+
kiropro@DESKTOP-JC8EGB7:~$ nvcc --version
nvcc: NVIDIA (R) Cuda compiler driver
Copyright (c) 2005-2022 NVIDIA Corporation
Built on Wed_Jun__8_16:49:14_PDT_2022
Cuda compilation tools, release 11.7, V11.7.99
Build cuda_11.7.r11.7/compiler.31442593_0