!hzgkCxLtCOTmFXGauj:nixos.org

NixOS Gaming

410 Members
Gaming things, my hands are typing words.114 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
10 Sep 2025
@rein:rein.icuRein Okay, so trying to preload the 64-bit of Jack also fails with wrong ELF class: ELFCLASS64 17:39:42
@rein:rein.icuRein Okay, so trying to preload the 64-bit version of PipeWire's Jack also fails with wrong ELF class: ELFCLASS64 20:29:38
@rein:rein.icuReinFixed it in the most stupid way I could probably think of21:23:10
@rein:rein.icuRein Maybe there's some more elegant solution with something like nixld, but I'm lost as to how use nixld 21:23:43
@rein:rein.icuRein either way, seems that copying the libjack.so via steam-run cp /lib32/libjack.so $HOME/.steam/steam/steamapps/Rocksmith2014 and then providing the absolute path to libjack inside Rocksmith2014 dir works 21:24:47
@rein:rein.icuReinI have no idea as to why, but I give up with getting a nicer solution atp, as I've spent way too much time on this one21:25:25
@rein:rein.icuRein* Maybe there's some more elegant solution with something like nix_ld, but I'm lost as to how use nix_ld21:26:40
@rein:rein.icuRein either way, seems that copying the libjack.so via steam-run cp /lib32/libjack.so $HOME/.steam/steam/steamapps/Rocksmith2014 and then providing the absolute path in LD_PRELOAD to libjack inside Rocksmith2014 dir works 21:27:08
@rein:rein.icuRein preloading rs-linux-autoconnect's librsshim.so also works after being copied to the game's directory 21:29:43
@rein:rein.icuRein Would appreciate an answer about why it throws wrong ELF class: ELFCLASS32 when getting loaded from /lib32 and does not when being loaded from the game's directory, as it makes no sense to me 21:31:48
11 Sep 2025
@wensimehrp:matrix.orgJeremy Gao joined the room.02:31:19
@rein:rein.icuRein Alright, now I get it. LD_PRELOAD=/lib32/libjack.so will result in ld trying to access /run/host/lib32/libjack.so, that does not exist, since we're in Steam's FHS. I'll try with nix-ld later today 05:52:52

Show newer messages


Back to Room ListRoom Version: 10