git: 9361805cd068 - 2022Q1 - games/veloren: document Vulkan is required after 04bc03fdd5c9

From: Jan Beich <>
Date: Tue, 22 Feb 2022 00:07:10 UTC
The branch 2022Q1 has been updated by jbeich:


commit 9361805cd06830d536f1cffee4453039fa3e523a
Author:     Jan Beich <>
AuthorDate: 2022-02-21 23:52:13 +0000
Commit:     Jan Beich <>
CommitDate: 2022-02-22 00:07:06 +0000

    games/veloren: document Vulkan is required after 04bc03fdd5c9
    In X11-only setups it's still common to have mesa-dri but not vulkan-loader.
    However, Veloren defaults to Vulkan on Linux/BSD:
      PanicInfo: panicked at 'Failed to select a rendering backend! No compatible backends were found. We currently support vulkan, metal, dx12, and dx11. Installing or updating vulkan drivers may resolve this issue. If the issue persists, please include the operating system and GPU details in your bug report to help us identify the cause.', voxygen/src/
    Forcing OpenGL via WGPU_BACKEND=opengl is still broken:
      PanicInfo: panicked at 'Error in Adapter::request_device: unsupported features were requested: DEPTH_CLAMPING | ADDRESS_MODE_CLAMP_TO_BORDER', .../wgpu-a92b854/wgpu/src/backend/
    See also
    (cherry picked from commit 609b3b168f392f5a36779fe4a33ce9d8ae4f5f46)
 games/veloren/Makefile | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/games/veloren/Makefile b/games/veloren/Makefile
index 801385699e5b..d5a013392478 100644
--- a/games/veloren/Makefile
+++ b/games/veloren/Makefile
@@ -19,7 +19,8 @@ BUILD_DEPENDS=	glslang>0:graphics/glslang \
 		spirv-tools>0:graphics/spirv-tools \
-RUN_DEPENDS=	${LOCALBASE}/lib/alsa-lib/
+RUN_DEPENDS=	${LOCALBASE}/lib/alsa-lib/ \
+		${LOCALBASE}/lib/
 USES=		cargo python:3.4+,build xorg
 USE_XORG=	xcb