summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmesa-run8
1 files changed, 4 insertions, 4 deletions
diff --git a/mesa-run b/mesa-run
index cac7897..1196d4e 100755
--- a/mesa-run
+++ b/mesa-run
@@ -8,13 +8,13 @@ x86_64)
vk_icd="intel_icd.${machine}.json"
vulkan_drivers=intel
gallium_drivers=iris
- tools=intel
+ tools=drm-shim,intel
;;
-aarch64)
+aarch64|arm*)
vk_icd="freedreno_icd.${machine}.json"
vulkan_drivers=freedreno
gallium_drivers=freedreno
- tools=freedreno
+ tools=drm-shim,freedreno
;;
esac
@@ -57,7 +57,7 @@ if ! command -v jq &> /dev/null; then
fi
libdir=$(jq -r '.[] | select(.name == "libdir").value' "${builddir}"/meson-info/intro-buildoptions.json)
-export LD_LIBRARY_PATH="${prefix}/${libdir}"
+export LD_LIBRARY_PATH="${prefix}/${libdir}:${LD_LIBRARY_PATH}"
export LIBGL_DRIVERS_PATH="${prefix}/${libdir}"/dri
export VK_ICD_FILENAMES="${prefix}"/share/vulkan/icd.d/"${vk_icd}"
exec $@