Repository navigation
Description
Pre-flight checklist
- I have read/searched the documentation
- I have searched existing issues to avoid duplicates
- I will not include superfluous LLM generated slop for this issue.
Bug Description
Hi, I'm trying to use SISR with the flatpak version of Steam. I didn't really find any mention whether this is supported or not, so I assume just nobody has tried it yet. My idea would be to run SISR within the Steam flatpak as a non-Steam game, and have it connect to a VIIPER server on the host, outside of the flatpak container.
In the end I did sort of manage to get this working, but I've ran into a lot issues with getting the SISR AppImage to run in the container.
To Reproduce
Firstly, the AppImage needs to be extracted with --appimage-extract, because fuse doesn't work within flatpak, but this is normal and expected. Suppose the contents of the image are now in /home/vince/AppImages/SISR/squashfs-root. A flatpak filesystem override is necessary for Steam to be able to access this folder (e.g. with Flatseal). /home/vince/AppImages/SISR/squashfs-root/AppRun can then be added as a non-steam game.
Starting SISR will now fail with:
/home/vince/AppImages/SISR/squashfs-root/AppRun: error while loading shared libraries: libwebkitgtk-6.0.so.4: cannot open shared object file: No such file or directory
Which is weird, because libwebkitgtk-6.0.so.4 is bundled in the AppImage. Looking at strace output, it looks like SISR is trying to load various libraries from /home/vince/AppImages/SISR/squashfs-root/../lib/ for some reason, which then fails, and system libraries are loaded as fallback. (Bellow is the first one, libSDL3.so.0, which is also in the AppImage.)
execve("./AppRun", ["./AppRun"], 0x7ffcebcd4d10 /* 59 vars */) = 0
brk(NULL) = 0x23154000
readlinkat(AT_FDCWD, "/proc/self/exe", "/home/vince/AppImages/SISR/squas"..., 4096) = 47
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f3f7ee21000
access("/etc/ld.so.preload", R_OK) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/vince/AppImages/SISR/squashfs-root/../lib/glibc-hwcaps/x86-64-v4/libSDL3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/vince/AppImages/SISR/squashfs-root/../lib/glibc-hwcaps/x86-64-v4/", 0x7ffc042a3840, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/vince/AppImages/SISR/squashfs-root/../lib/glibc-hwcaps/x86-64-v3/libSDL3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/vince/AppImages/SISR/squashfs-root/../lib/glibc-hwcaps/x86-64-v3/", 0x7ffc042a3840, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/vince/AppImages/SISR/squashfs-root/../lib/glibc-hwcaps/x86-64-v2/libSDL3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/vince/AppImages/SISR/squashfs-root/../lib/glibc-hwcaps/x86-64-v2/", 0x7ffc042a3840, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/vince/AppImages/SISR/squashfs-root/../lib/libSDL3.so.0", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/vince/AppImages/SISR/squashfs-root/../lib/", 0x7ffc042a3840, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
fstat(3, {st_mode=S_IFREG|0644, st_size=189767, ...}) = 0
mmap(NULL, 189767, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f3f7edf2000
close(3)
I've "fixed" this by creating /home/vince/AppImages/SISR/lib as a symlink to /home/vince/AppImages/SISR/squashfs-root/usr/lib/.
SISR will then fail to launch due to a missing symbol from libc:
./AppRun: symbol lookup error: /home/vince/AppImages/SISR/squashfs-root/../lib/libc.so.6: undefined symbol: __nptl_change_stack_perm, version GLIBC_PRIVATE
This can be resolved by deleting /home/vince/AppImages/SISR/squashfs-root/usr/lib/libc.so.6 and using the system version instead. I'm not familiar with creating AppImages, but packaging a separate libc seems like a bad idea, this should probably come from the system.
Next, SISR has trouble finding libbz2.so.1.0.
/home/vince/AppImages/SISR/squashfs-root/AppRun: error while loading shared libraries: libbz2.so.1.0: cannot open shared object file: No such file or directory
I have no idea why this is. The previous problems also happen outside of flatpak, but his one seems to be specific to the container environment. libbz2.so.1.0 can be found in both the AppImage and in the system path in the container at /usr/lib/x86_64-linux-gnu/libbz2.so.1.0, but ld can't seem to find it.
A workaround for this is setting SISR's launch options in Steam to LD_PRELOAD=/home/vince/AppImages/SISR/squashfs-root/usr/lib/libbz2.so.1.0 %command%
Next, SISR will fail to launch due to an error coming from SDL3:
Failed to create window error=Installed Vulkan doesn't implement the VK_KHR_surface extension
This generally indicates that the vulkan driver is not working. There is some weirdness with how vulkan drivers are loaded in flatpak (see: flatpak/flatpak#5131), so bundling libvulkan.so is also not great, but actually this is not a problem in Steam's case, since drivers and layers are loaded from elsewhere.
Looking at SISR with VK_LOADER_DEBUG=all shows that the drivers are found, but they all fail to load due to a missing symbol:
[2026-06-25 21:45:20] ERROR: /usr/lib/x86_64-linux-gnu/GL/default/lib/libvulkan_radeon.so: undefined symbol: wl_fixes_interface
[2026-06-25 21:45:20] ERROR | DRIVER: loader_icd_scan: Failed loading library associated with ICD JSON /usr/lib/x86_64-linux-gnu/GL/default/lib/libvulkan_radeon.so. Ignoring this JSON
wl_fixes_interface comes from Wayland, deleting all Wayland related libraries at /home/vince/AppImages/SISR/squashfs-root/usr/lib/libwayland-*.so.*, and using system libraries fixes this problem.
There are further problems with libwebkitgtk:
[2026-06-25 21:49:10] ** (process:2238): ERROR **: 21:49:10.323: Unable to spawn a new child process: Failed to spawn child process ?/usr/lib/x86_64-linux-gnu/webkitgtk-6.0/WebKitNetworkProcess? (No such file or directory)
This just seems to be an issue with libwebkitgtk in AppImage in general. The path to various executables is hard-coded, libwebkitgtk searches for them in the system path, rather than in the AppImage, where they are not found. tauri also has a problem with this: tauri-apps/tauri#2940, and unfortunately the fix is to apply a binary patch.
So to workaround the problem I did this:
sed -i -e "s|/usr|././|g" ./libwebkitgtk-6.0.so.4
mkdir x86_64-linux-gnu
mv ./webkitgtk-6.0 ./x86_64-linux-gnu/
And changed the non-steam game's "start in" path to /home/vince/AppImages/SISR/squashfs-root/usr/. Additionally whatever magic the AppImage is doing to change the library load path is not inherited by the WebKitNetworkProcess, so adding LD_LIBRARY_PATH=/home/vince/AppImages/SISR/squashfs-root/usr/lib/ is also necessary.
This way SISR finally does launch, but the WebKitNetworkProcess crashes immediately. This makes the UI unusable, but SISR is otherwise functional and can connect to a VIIPER server running on the host, if configured with command line parameters.
Expected Behavior
Sorry for the massive bug report, but I couldn't really figure out how to explain this well in multiple parts. 😅
In summary, I can see multiple problems, that are not necessarily related to getting SISR running in a Steam flatpak, but just have to do with the AppImage packaging generally.
- The library search path should be fixed, so SISR actually uses the libraries bundled in the AppImage, instead of the system ones.
- Certain libraries should not be packaged, and the system version should be used instead, to avoid incompatibilities.
- Something should be done with libwebkitgtk...
I'm not sure what can be done about the last one here, that's more of an upstream issue. The easiest solution might be to not package libwebkitgtk either, since it just doesn't work in an AppIamge. (Though that would make setting things up with flatpak Stream even more difficult.)
If feasible, a "headless" version of SISR would be nice to have, that doesn't have a UI, but wouldn't require as many dependencies.
Actual Behavior
(See above)
Screenshots/Logs
(See above)
Environment
- OS: arch host, com.valvesoftware.Steam flatpak 1.0.0.85
- SISR Version: v0.6.0-13-gf19eb48
- VIIPER Version: n.a.
- USB-IP Version: n.a.
Activity