News for hackers. Stuff that matters.
Re:Twister OS: Make Raspberry Pi Look Like Windows or macOS by jerrysievert on Saturday September 19, 2020 @01:52PM (#24529229)
a couple of things that jumped out at me:

> Is Twister OS a 64-bit OS?

> Twister OS is a 32-bit OS.

> Why is Steam not starting for me?

> Sadly Valve will be dropping 32-bit support and due to this poor discision on their part we've had no choice but to discontinue support for Steam on Twister OS.

twister os might want to consider dropping 32bit support themselves, especially given that their minimum requirements are a pi4.

Re:Twister OS: Make Raspberry Pi Look Like Windows or macOS by csande17 on Saturday September 19, 2020 @02:13PM (#24529372)
The Steam thing looks like a separate issue from whether Twister OS is 32- or 64-bit. They're running the x86 version of Steam in an emulator, and that emulator probably only supports 32-but software.
Re:Twister OS: Make Raspberry Pi Look Like Windows or macOS by ThatPlayer on Saturday September 19, 2020 @05:59PM (#24530587)
This is exactly it. They're using box86 [ https://github.com/ptitSeb/box86 ] which allows you to run x86 but not x86_64 Linux programs on ARM Linux.
Re:Twister OS: Make Raspberry Pi Look Like Windows or macOS by dleslie on Sunday September 20, 2020 @12:55AM (#24531987)
box86 runs fine in a 32bit chroot.

But, really, it's strange that box86 rejects aarch64. Most aarch64 chips can easily run 32bit arm code, and so ... why not?

Re:Twister OS: Make Raspberry Pi Look Like Windows or macOS by spijdar on Sunday September 20, 2020 @04:10AM (#24532636)
box86 runs x86 binaries in an emulator that translates syscalls and library calls to native syscalls and library calls. The JIT compiler they're using and the syscalls tables are specifically for 32 bit x86, and because they're simply passing calls through the host system must match both endianness and word size, so running a 32 bit x86 executable requires a 32 bit little endian host.

ARMv8 can run in either 32 bit "aarch32" or 64 bit "aarch64" modes, and both require separate runtimes, as does 32/64 bit x86. So you need 32 bit ARM libraries for box86's translation to work.

It could be updated to support 64 bit executables, but that would be an amd64/x86_64 -> aarch64 translation layer. Doing 32 -> 64 bit or vice versa is much, much harder, and requires manual translation of calls for specific libraries and kernels to be done, as nested binary data is passed in some library/syscalls that needs to be converted.

Re:Twister OS: Make Raspberry Pi Look Like Windows or macOS by dleslie on Sunday September 20, 2020 @10:57AM (#24534401)
They could also package and ship a 32bit chroot and do no translation.
Re:Twister OS: Make Raspberry Pi Look Like Windows or macOS by Hydraulix989 on Saturday September 19, 2020 @04:51PM (#24530242)
Do the games run in an emulator, too?
Re:Twister OS: Make Raspberry Pi Look Like Windows or macOS by heavyset_go on Sunday September 20, 2020 @12:53PM (#24535128)
There are millions of perfectly fine 32-bit ARM boards out there that draw a fraction of the power that a similarly spec'd x86 box would.

It would be a good thing, from the perspective of not wasting energy nor creating more e-waste, for 32-bit ARM boards to be supported for people who own them.

Re:Twister OS: Make Raspberry Pi Look Like Windows or macOS by jerrysievert on Sunday September 20, 2020 @03:29PM (#24536656)
but this OS is targeting, at a minimum, a 64bit board, not a 32bit board.
Re:Twister OS: Make Raspberry Pi Look Like Windows or macOS by heavyset_go on Monday September 21, 2020 @03:03PM (#24547120)
Good point, I missed this.
Re:Twister OS: Make Raspberry Pi Look Like Windows or macOS by swiley on Saturday September 19, 2020 @08:06PM (#24531095)
Why would steam drop 32 bit? Almost every game only has 32 bit binaries.
Re:Twister OS: Make Raspberry Pi Look Like Windows or macOS by gambiting on Sunday September 20, 2020 @05:10AM (#24532837)
I work for one of the largest game developers/publishers out there and literally all of our games are built and released for x64. I don't even remember last time we built x86 binaries of any of our games.
Re:Twister OS: Make Raspberry Pi Look Like Windows or macOS by Lammy on Sunday September 20, 2020 @01:04AM (#24532015)
I wonder if it has anything to with https://www.electronjs.org/blog/linux-32bit-support
Re:Twister OS: Make Raspberry Pi Look Like Windows or macOS by m-p-3 on Sunday September 20, 2020 @02:52PM (#24536336)
Almost all modern games are release in 64-bit. It does kill the ability to load a bunch of older games easily..
Re:Twister OS: Make Raspberry Pi Look Like Windows or macOS by xboxnolifes on Sunday September 20, 2020 @08:27AM (#24533610)
What games from the last 10 years only have 32-bit binaries?
Re:Twister OS: Make Raspberry Pi Look Like Windows or macOS by freeone3000 on Sunday September 20, 2020 @09:06AM (#24533789)
Moonlighter. Fallout: New Vegas. Renowned Explorers. Anno 2070. It's more common but not a sure thing still.
Re:Twister OS: Make Raspberry Pi Look Like Windows or macOS by vorticalbox on Saturday September 19, 2020 @09:40PM (#24531408)
I believe they run under streams proton implementation.