Skip to content

Commit

Permalink
add 32-bit GL/driver paths in var/lib/snapd (#398)
Browse files Browse the repository at this point in the history
@ashuntu this is basically
https://bugs.launchpad.net/snappy/+bug/1588192 but applied to the 32-bit
paths. This fixes the issues seen in the snapd revision to give Steam
more permissions and more robustly solve driver issues that Zyga gave
us.
  • Loading branch information
ZoopOTheGoop authored Aug 6, 2024
2 parents 91d82a6 + 7e661a5 commit 5a4ff63
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/desktop-launch
Original file line number Diff line number Diff line change
Expand Up @@ -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"

Expand Down

0 comments on commit 5a4ff63

Please sign in to comment.