From 7e661a507df6f98cabf9b75ab03a8470a4fc0efa Mon Sep 17 00:00:00 2001 From: Zoe Spellman Date: Tue, 6 Aug 2024 13:43:45 -0700 Subject: [PATCH] add 32-bit nvidia paths in var/lib/snapd --- src/desktop-launch | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/desktop-launch b/src/desktop-launch index 9a4bca3..61a7166 100755 --- a/src/desktop-launch +++ b/src/desktop-launch @@ -197,6 +197,10 @@ export VK_ICD_FILENAMES="/var/lib/snapd/lib/vulkan/icd.d/nvidia_icd.json:$SNAP/g append_dir LD_LIBRARY_PATH "/var/lib/snapd/lib/gl" append_dir LD_LIBRARY_PATH "/var/lib/snapd/lib/gl/vdpau" +# By sheer luck, this was working in the past, but we need this explicitly +append_dir LD_LIBRARY_PATH "/var/lib/snapd/lib/gl32" +append_dir LD_LIBRARY_PATH "/var/lib/snapd/lib/gl32/vdpau" + # Unity7 export (workaround for https://launchpad.net/bugs/1638405) append_dir LD_LIBRARY_PATH "$SNAP_DESKTOP_RUNTIME/usr/lib/$ARCH/libunity"