Running Godot4 with WSL2 with vulkan CPU llvmpipe driver #4335
Replies: 14 comments 5 replies
-
I've used llvmpipe (12.0.0) in an Ubuntu vm which worked (albeit slowly), it reported many more driver features than yours: However this was a qemu vm running on a Linux host, I've not enough experience with WSL to say if the issue is WSL specific, but I suspect that it is. |
Beta Was this translation helpful? Give feedback.
-
Try using SwiftShader instead of |
Beta Was this translation helpful? Give feedback.
-
vkcubeI build and installed by setting the VK_ICD_FILENAMES environment variable. => vkcube works
Without setting the VK_ICD_FILENAMES environment variable => vkcube does not work
|
Beta Was this translation helpful? Give feedback.
-
Vkcube works but not Godot. Any suggestion where I could go wrong? |
Beta Was this translation helpful? Give feedback.
-
When enabling vulkan validation layers: By |
Beta Was this translation helpful? Give feedback.
-
The display is not stable. It crashes after I attempting to create a scene Vulkan Validation layer outputs
|
Beta Was this translation helpful? Give feedback.
-
Dozen (Vulkan on top of the D3D12 Gallium backend) was just merged into Mesa 22.1, it might be worth a look for hardware accelerated graphics on WSL2: https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/14766 |
Beta Was this translation helpful? Give feedback.
-
@kisg, I am new to this. I recently took the master branch and build and could not get that to work with WSL2. However I would share your idea to others who are into WSL2 or WSLg for Vulkan |
Beta Was this translation helpful? Give feedback.
-
@bruvzg @kisg @BastiaanOlij @fire The latest WIP hardware-accelerated Vulkan in WSL2 ( through Dozen over Directx12) The big picture: Collabora and Microsoft are getting Vulkan over Directx12 to work on Windows 10 I could be wrong: making Godot4 Vulkan Windows to work in HoloLens is NOW one step closer. |
Beta Was this translation helpful? Give feedback.
-
@bruvzg Vulkan in WSL2 is almost there |
Beta Was this translation helpful? Give feedback.
-
hardware accelerated Vulkan: Dozen now works in WSL2
|
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Related discussion: Godot OpenXR can't target Windows Mixed Reality OpenXR runtime because it relies on DirectX |
Beta Was this translation helpful? Give feedback.
-
Posting here not sure if this issue belongs to Godot or something related to CPU vulkan driver. Also not sure if this belongs to the general discussion? This addresses attempt of running Godot4 in WSL2
For instruction how to get WSL2 vulkan CPU driver running.
Observation
Download Godot4 alpha5 linux. Start and the window to select project appears. After selecting the project, it crashes.
Question
It is still not clear if the issue belongs to the CPU vulkan driver for WSL2 OR something the Godot4 team could address by following this discussion here with more background and below
source
Environment
Downloaded Godot4 Alpha5 linux
Ubuntu 20.04 LTS
WSL2
Windows 11
FYI: Same WSL2 environment runs downloaded Godot3.5x linux without problem
Beta Was this translation helpful? Give feedback.
All reactions