mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-21 13:55:58 +00:00
Zink (Mesa 26.2) and DXVK 2.7 refuse a Vulkan 1.3 device without maintenance5. The server installs dispatch-table wrappers: flags2 folded into 32-bit flags, inline shader modules, BindIndexBuffer2/area granularity/subresource layout 2, VK_REMAINING_ARRAY_LAYERS and VK_WHOLE_SIZE resolved from tracked images/buffers. Host: Zink glxgears in gamescope at 144 fps with the driver's maintenance5 hidden and the API capped at 1.3. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KZqR8XUE8czvGzEpgSCVQR
14 lines
1.1 KiB
Bash
Executable File
14 lines
1.1 KiB
Bash
Executable File
#!/bin/bash
|
|
# Phase 3 host test: Arch's gamescope (the runtime's distribution) in a container WITHOUT any GPU
|
|
# device, drawing only through the bridge, nested on the desktop's Wayland. Run after
|
|
# bridge_env.sh. Usage: gamescope_test.sh [command inside gamescope...]
|
|
host=$(cd "$(dirname "$0")" && pwd)
|
|
R=${XDG_RUNTIME_DIR:-/run/user/$(id -u)}
|
|
cmd=${*:-vkcube --c 600}
|
|
exec docker run --rm ${VKB_DOCKER_EXTRA:-} --tmpfs /run/xdg:mode=0700 \
|
|
-e XDG_RUNTIME_DIR=/run/xdg -e WAYLAND_DISPLAY=host-wayland -e HOME=/root \
|
|
-v "$R/${WAYLAND_DISPLAY:-wayland-0}:/run/host-wayland" -v "$VKBRIDGE_SOCKET:/run/vkbridge.sock" \
|
|
-v "$host/out:$host/out" -v "$host/out/shots:/shots" -e VK_DRIVER_FILES=$host/out/vkbridge_icd.json -e VKBRIDGE_SOCKET=/run/vkbridge.sock \
|
|
-e VKBRIDGE_DRM_RENDER=${VKBRIDGE_DRM_RENDER:-} -e VKBRIDGE_HIDE_EXTS=${VKBRIDGE_HIDE_EXTS:-} -e VKBRIDGE_MAX_API=${VKBRIDGE_MAX_API:-} -e VKBRIDGE_LOG_LEVEL=${VKBRIDGE_LOG_LEVEL:-2} -e VKBRIDGE_WSI_DUMP=${VKBRIDGE_WSI_DUMP:-} \
|
|
vkb-arch-gamescope bash -c "ln -s /run/host-wayland /run/xdg/host-wayland; gamescope --backend wayland --expose-wayland -W 960 -H 540 -w 960 -h 540 -- $cmd"
|