mirror of
https://github.com/Droid-Deck/DroidDeck.git
synced 2026-11-20 05:16:01 +00:00
- divisor != 1 bindings get stride 0 and are rebound per draw; d > 1 splits draws, with a BaseInstance-as-0 vertex shader variant so DXVK's SV_InstanceID stays exact - device-level dispatch never falls back to a loader trampoline (crashed in vkCmdSetLineStipple) - core commands newer than the device's version are not handed out; the app's instance version is passed through as asked (Zink 26.2 aborted on a 1.4 entry point) - run_tests.sh: smoke, bcn_check, DXVK d3d11_check, vkcube x3, gamescope+Zink, in plain and Mali-imitation modes - 14/14 pass Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KZqR8XUE8czvGzEpgSCVQR
15 lines
914 B
Bash
Executable File
15 lines
914 B
Bash
Executable File
#!/bin/bash
|
|
# Source this: starts a host vkbridge server on a desktop driver (VKB_HOST_ICD, default RADV) and
|
|
# points this shell's Vulkan programs at the bridge ICD.
|
|
# [VKB_HOST_ICD=...] . tools/vkbridge/host/bridge_env.sh
|
|
_vkb_host=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
|
|
_vkb_icd=${VKB_HOST_ICD:-/usr/share/vulkan/icd.d/radeon_icd.json}
|
|
export VKBRIDGE_SOCKET=${VKBRIDGE_SOCKET:-${XDG_RUNTIME_DIR:-/tmp}/vkbridge-host.sock}
|
|
pgrep -x vkbridge-server >/dev/null && kill $(pgrep -x vkbridge-server) 2>/dev/null; sleep 0.3
|
|
rm -f "$VKBRIDGE_SOCKET"
|
|
VK_DRIVER_FILES=$_vkb_icd VK_ICD_FILENAMES= nohup "$_vkb_host/out/vkbridge-server" --socket "$VKBRIDGE_SOCKET" \
|
|
--log "$_vkb_host/out/server.log" >/dev/null 2>&1 &
|
|
for _i in $(seq 50); do [ -S "$VKBRIDGE_SOCKET" ] && break; sleep 0.1; done
|
|
export VK_DRIVER_FILES=$_vkb_host/out/vkbridge_icd.json
|
|
echo "vkbridge server up ($_vkb_icd) at $VKBRIDGE_SOCKET"
|