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

summaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorgrbr404 <166065505+grbr404@users.noreply.github.com>2025-05-12 20:56:36 +0200
committerGitHub <noreply@github.com>2025-05-12 20:56:36 +0200
commit172ccf77ab2cd5aa3a12746a62870c4a6507bc36 (patch)
tree913bb4092308650eea40aedf79c2e49363f8c597 /scripts
parent7dd0a4a68feb29bcea2d15fe0a6b2b76b5f32cb5 (diff)
Added LIBGL_KOPPER_DRI2=1 Variable as it fixes an issue that can ocure with xorg aka x11 drivers
adding the Variable fixes issues on devices like Steam deck. Hope that this can be removed in te future when the linux build has no issues when build with wayland. (building Wayland version seams to have only 2 small bugs)
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/ci/linux/run-client.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/ci/linux/run-client.sh b/scripts/ci/linux/run-client.sh
index 18838e3..f6f72b5 100755
--- a/scripts/ci/linux/run-client.sh
+++ b/scripts/ci/linux/run-client.sh
@@ -6,9 +6,9 @@ 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