Hi, openSuse Community!
Introduction
I’m trying to run ALVR + Steam(Native) on my OpenSUSE Tumbleweed Workstation.
Modern desktop games run without issues except for 32-bit games like SteamVR Home and 1998’s Half-Life, which displays the “Could not load library” error dialog.
Main Issue
Following the guide at openSuse Steam, I noticed that the 32-bit libraries are missing for this fresh install and can’t be found with yast/zipper and/or are not included when installing steam from the game:tools repo.
Missing Libraries:
$ cd ~/.local/share/Steam/ubuntu12_32; command=LD_LIBRARY_PATH=".:${LD_LIBRARY_PATH}" ldd $(file *|sed '/ELF/!d;s/:.*//g')|grep 'not found'|sort|uniq;
libavcodec.so.58 => not found
libavformat.so.58 => not found
libavresample.so.4 => not found
libavutil.so.56 => not found
libdav1d.so.6 => not found
libSDL3.so.0 => not found
libswscale.so.5 => not found
libtier0_s.so => not found
libvideo.so => not found
libvpx.so.6 => not found
libvstdlib_s.so => not found
Now, when doing an rpm -qa | grep followed by rpm -ql for each one of the missing libraries, it appended with a build number:
$ rpm -qa | grep libavcodec
libavcodec58_134-4.4.4-1699.18.pm.5.x86_64
libavcodec60-6.1.1-1699.7.pm.6.x86_64
libavcodec58_134-32bit-4.4.4-1699.18.pm.5.x86_64
libavcodec61-7.0-1699.2.pm.3.x86_64
$ rpm -ql libavcodec58_134-32bit-4.4.4-1699.18.pm.5.x86_64
/usr/lib/libavcodec.so.58.134
/usr/lib/libavcodec.so.58.134.100
I’m worried that symlinking these while removing the build number at the end will make the problem worse.
I hope someone can facilitate a better solution to this problem for Steam(Native) since ALVR needs access to a non-sandbox version of Steam to be able to access SteamVR resources.
Goal
The goal is for Steam Home and other Steam apps to work on Steam (Native) with their 32-bit dependencies.
Specs
The workstation is a new, fresh installation (5/21/2024) of an offline DVD from the official OpenSUSE https mirror.
OS: openSUSE Tumbleweed
KERNEL: 6.9.1-1-default
CPU: Intel Core i9-9900K @ 3.60GHz
GPU: AMD Radeon RX 7800 XT (radeonsi, navi32, LLVM 18.1.5, DRM 3.57, 6.9.1-1-default)
GPU DRIVER: 4.6 Mesa 24.0.7RAM: 32 GB