Веб-сайт самохостера Lotigara

summaryrefslogtreecommitdiff
path: root/scripts/ci/linux/run-client.sh
diff options
context:
space:
mode:
authorKae <80987908+Novaenia@users.noreply.github.com>2025-05-14 05:26:38 +1000
committerGitHub <noreply@github.com>2025-05-14 05:26:38 +1000
commita840f75d41be4765a476b1043b6a38f350d800e6 (patch)
tree913bb4092308650eea40aedf79c2e49363f8c597 /scripts/ci/linux/run-client.sh
parent9d30cbd22a3f78efb6984a347630d8d601002bc1 (diff)
parent172ccf77ab2cd5aa3a12746a62870c4a6507bc36 (diff)
Merge pull request #241 from grbr404/fixes
added exit to run-client.sh to close it after starbound is started and added fix for error that made zink not work on some devices that have support for it
Diffstat (limited to 'scripts/ci/linux/run-client.sh')
-rwxr-xr-xscripts/ci/linux/run-client.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/ci/linux/run-client.sh b/scripts/ci/linux/run-client.sh
index 29ed124..f6f72b5 100755
--- a/scripts/ci/linux/run-client.sh
+++ b/scripts/ci/linux/run-client.sh
@@ -6,13 +6,13 @@ else
# Check for Vulkan support
if command -v vulkaninfo &> /dev/null; then
# Check for Zink support
- if __GLX_VENDOR_LIBRARY_NAME=mesa MESA_LOADER_DRIVER_OVERRIDE=zink GALLIUM_DRIVER=zink glxinfo | grep -q 'renderer string: zink'; then
+ if __GLX_VENDOR_LIBRARY_NAME=mesa MESA_LOADER_DRIVER_OVERRIDE=zink GALLIUM_DRIVER=zink LIBGL_KOPPER_DRI2=1 glxinfo | grep -q 'renderer string: zink'; then
# Set environment variables for Zink
- export __GLX_VENDOR_LIBRARY_NAME=mesa MESA_LOADER_DRIVER_OVERRIDE=zink GALLIUM_DRIVER=zink
+ export __GLX_VENDOR_LIBRARY_NAME=mesa MESA_LOADER_DRIVER_OVERRIDE=zink GALLIUM_DRIVER=zink LIBGL_KOPPER_DRI2=1
fi
fi
fi
cd "`dirname \"$0\"`"
-LD_LIBRARY_PATH="$LD_LIBRARY_PATH:./" ./starbound "$@"
+LD_LIBRARY_PATH="$LD_LIBRARY_PATH:./" ./starbound "$@" & exit