11 Aug 2025 |
Rein | and when Steam was launched through that service, it was missing the ENV var for compatibility tools | 06:08:02 |
Rein | Now there's only one issue I have to figure out: Steam refusing to load extra 32bit packages | 06:08:43 |
Rein | * either way, my systemd service has that Steam package that should've never been there | 06:09:18 |
Rein | ERROR: ld.so: object '/nix/store/v7ykz1jl8lfqd47c2i670y8w10qjr4wj-extest-1.0.2/lib/libextest.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. with programs.steam.extest.enable = true; , ERROR: ld.so: object '/home/user/.local/share/Steam/ubuntu12_32/gameoverlayrenderer.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored. while launching a game and ERROR: ld.so: object '/run/host/lib32/libjack.so' from LD_PRELOAD cannot be preloaded (cannot open shared object file): ignored. despite the fact that libjack.so is available for Steam FHS:
❯ steam-run ls /lib32 | grep jack
ERROR: ld.so: object '/nix/store/v7ykz1jl8lfqd47c2i670y8w10qjr4wj-extest-1.0.2/lib/libextest.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
ERROR: ld.so: object '/nix/store/v7ykz1jl8lfqd47c2i670y8w10qjr4wj-extest-1.0.2/lib/libextest.so' from LD_PRELOAD cannot be preloaded (wrong ELF class: ELFCLASS32): ignored.
libjacknet.so
libjacknet.so.0
libjacknet.so.0.3.1406
libjackserver.so
libjackserver.so.0
libjackserver.so.0.3.1406
libjack.so
libjack.so.0
libjack.so.0.1.0
libjack.so.0.3.1406
| 11:18:57 |
K900 | That's all fine | 11:20:31 |
Rein | Nope. I get no audio devices in Rocksmith because of that 32-bit JACK issue | 11:21:00 |
K900 | I really doubt that | 11:22:52 |
K900 | There should be no reason to LD_PRELOAD it | 11:23:14 |
Rein | In reply to @k900:0upti.me There should be no reason to LD_PRELOAD it There is a reason to preload it as it's required by Wine ASIO and Wine ASIO is required by RS_ASIO | 11:29:13 |
K900 | It doesn't need to be preloaded | 11:29:28 |
K900 | It should just be loaded by whatever uses it | 11:29:34 |
K900 | As it's in a completely normal location | 11:29:40 |
Rein | In reply to @k900:0upti.me It should just be loaded by whatever uses it Well, that doesn't work and Wine ASIO crashes | 11:29:53 |
K900 | How does it crash, exactly? | 11:30:07 |
Rein | No idea. I can only provide this from RS_ASIO logs:
6.694 [INFO] Creating AsioSharedHost - dll: C:\windows\system32\wineasio32.dll
12.711 [ERROR] ASIO Error: WineASIO does not return error messages
| 11:31:24 |
Rein | This is what I get in the Steam logs while trying to launch it:
Cannot connect to server socket err = No such file or directory
Cannot connect to server request channel
jack server is not running or cannot be started
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
JackShmReadWritePtr::~JackShmReadWritePtr - Init not done for -1, skipping unlock
| 11:43:00 |
Rein | I have JACK enabled via service.pipewire.jack.enable = true; | 11:43:44 |
K900 | Oh | 11:43:48 |
K900 | Yeah that's not going to work | 11:43:51 |
K900 | pw-jack doesn't provide a JACK server | 11:43:57 |
Rein | Oh... | 11:44:06 |
K900 | It provides a libjack implementation that does need to be preloaded | 11:44:08 |
K900 | Because it overrides the "real" libjack | 11:44:16 |
K900 | Because the JACK server protocol is not stable | 11:44:20 |
K900 | I would actually recommend not enabling that globally | 11:44:38 |
K900 | And adding pkgs.pipewire.jack to your Steam fhsenv instead | 11:44:46 |
Rein | I believe I add it via extraLibraries = pkgs': with pkgs'; [ pkgsi686Linux.pipewire.jack ] | 11:44:51 |
K900 | Which should just drop the Pipewire libjack in the right place | 11:44:57 |
K900 | No, that's the real libjack | 11:45:00 |
K900 | And it's failing because there is no real JACK server | 11:45:08 |