I got steam fully working on arch linux, no multilib repo. only 64 bit.
Here is the issue I learned about this from, and here is the maintainers stance on why they won’t change it.
tl;dr: 32 bit linux native games stop working, as they need 32 bit libs. But, they can still be run through proton wow64 and the windows version of the game. The kernel also still needs to support running 32 bit applications. The devs don’t like this approach because apparently not all 32 bit games are supported via this method.
Workaround
I installed steam on Arch linux with the multilib repo disabled, skipping all 32 bit dependencies. Everything essentially works, but launching a game doesn’t work. Turns out the only thing stopping it is a single 32 bit binary called reaper. It’s essentially a process-supervisor helper used for every game launch. Note: It could/should be a 64 bit binary, but here is the maintainer’s reason why it isn’t
I chose a stupid workaround that was in the thread. I got the 64 bit reaper from this repo, and used binfmt_misc to run the 64 bit reaper anytime the 32 bit one is called. Compiled with the reaper32’s file size and checksum constants to get past steam’s integrity check.
Tested so far
- Terraria: native linux 64 bit game. works.
- TF2: same thing
- Half Life 2 (32 bit, windows build): Launched with Proton Experimental with launch flags
PROTON_USE_WOW64=1 %command%No issues.
Tbf i haven’t extensively tested everything, but it all seems to work. And IMO, it’s worth it. Especially for finally dropping 32 bit libs. Like half a gigabyte of useless updates and dependencies gone.
What do you think? Would you deal with potential compatibility issues with some older 32 bit games for the sake of finally dropping 32 bit libs on your desktop?
Edit: this is not meant to be a guide. This is just a showcase of what can be done, and what steam could do, but just doesn’t. You should expect online games with anticheats to flag you as a cheater, as you’re tampering with the integrity of the files. I personally dont play much online games, at least on steam. If you want to do it yourself, go to the 64 bit reaper repo, and use the PKGBUILD. There is no performance improvement.
Valve doing this would finally drop 32 bit support on basically every modern distro/software as the standard. Finally reducing maintainers workload compiling old, useless 32 bit libs. This is an update they could push tomorrow. I only made the post because they maintainers seem to be against it?
I install Steam via Flatpak. 😅
Feels good somehow to keep it contained, but, of course, can’t really do workarounds like this very easily.