Live data from Hacker News

FEX-emu – Run x86 applications on ARM64 Linux devices

fex-emu.com

81–90 of 145 posts

Re: FEX-emu – Run x86 applications on ARM64 Linux devices

#82
post #73

Now we just need a decent ARM Linux laptop.

Anyone can recommend something viable for simple tasks? I don't need 32GB of VRAM, just a reliable machine for everyday tasks that's decent, lightweight, has a good battery. (I know I'm describing an M2 Air, but I'd like to explore alternatives.)

I have the azus ZenBook a14 with X Elite, 32GB ram, 1TB SSD. Overall it works great on Ubuntu concept. Only speakers and camera do not work (I heard speakers can work with some risk). I just use usb headphones instead and my webcam. The laptop itself is very light with long battery life. I expect it to be better supported at some point hopefully, but it's getting there.

Re: FEX-emu – Run x86 applications on ARM64 Linux devices

#83

Earlier quoted context omitted.

Nope, Dolphin emulates PowerPC not ARM or ARM64. Totally different architecture.

I was saying some of the top contributors of Dolphin are also top contributors of this project based on GitHub data.

That's really cool! I didn't know, thx for your comment :)

Re: FEX-emu – Run x86 applications on ARM64 Linux devices

#84
post #76

How is it different to box64? I couldn't really find much online comparing these two except a brench by box64 themselves.

No different. Box64 only drm free game first, later they support drm games. Fex straight drm games.

Are you referring to Linux's Direct Rendering Manager or to Digital Rights Management in this context?

Re: FEX-emu – Run x86 applications on ARM64 Linux devices

#85
post #6

Earlier quoted context omitted.

Too bad Arm doesn't allow architectural licenses, because this is exactly the kind of thing Valve and the FEX developers would want to extend the ISA to support. I bet we see a RISC-V backend to FEX in the next 6 months, it probably already exists in a private repo. FEX is the shootstring, extra special discount budget (not maligning) version of Rosetta. Apple should sell Rosetta to Valve.

> Too bad Arm doesn't allow architectural licenses QEMU exists. I doubt they want the bad press of suing an Open Source project everyone is using.

And GBA emulators. And before that, BBC Accorn ones with Risc OS.

Re: FEX-emu – Run x86 applications on ARM64 Linux devices

#86

Earlier quoted context omitted.

https://dougallj.wordpress.com/2022/11/09/why-is-rosetta-2-f... > Apple M1 has an undocumented extension that, when enabled, ensures instructions like ADDS, SUBS and CMP compute PF and AF and store them as bits 26 and 27 of NZCV respectively, providing accurate emulation with no performance penalty.

Oh yeah, maybe that one was too obscure for me. I don't think I've ever seen something use PF/AF… You do want FEAT_AFP though, so you do want ARMv8.6+.

SETP is used rarely to compute parity, though it doesn't really save anything if you can use POPCNT. PF is also used by floating point comparisons with a different meaning though that is not useful for the Arm extension from Apple.

AF indeed is basically unused. The problem for both is that you need them for accurate emulation "just in case".

Re: FEX-emu – Run x86 applications on ARM64 Linux devices

#87
post #68

> FEX allows you to run x86 applications on ARM64 Linux devices, similar to qemu-user and box64. It offers broad compatibility with both 32-bit and 64-bit binaries, and it can be used alongside Wine/Proton to play Windows games. > It supports forwarding API calls to host system libraries like OpenGL or Vulkan to reduce emulation overhead. An experimental code cache helps minimize in-game stuttering as much as possibl…

[flagged]

It would be cool if we can use LLVM to lift the x86 code into LLVM bitcode and go to different platforms easily with ostate of the art optimizations, won't it?

Re: FEX-emu – Run x86 applications on ARM64 Linux devices

#88
Some companies like to stress the efficiency or performance of Arm SoCs, but really this is a hedge against more expensive x86 hardware. AMD has increased prices of mobile SoCs radically recently. I'm looking forward to having more affordable SoC options for laptops, handhelds and desktops, perhaps from Mediatek or other lower-cost vendors.

The history of the PC is one of commoditization. A fractured multi-polar landscape is detrimental to the ecosystem/productivity and should ultimately fail.

x86 emulation is an important puzzle piece, and I'm happy Valve recognizes this and sponsors it.

Re: FEX-emu – Run x86 applications on ARM64 Linux devices

#89
post #79
post #27

Earlier quoted context omitted.

Plenty of online games work fine. Rocket League, Squad, Arc Raiders etc. are just the ones that I play.

In the case of those which use EAC/EOS they need to be explicitly approved to run under Wine/Proton by the developer. There are some cases (eg. iRacing) where the developer refuses to enable support for whatever reason, and on those we’re still stuck.

It's not just 'running under Wine', it's a different anti-cheat with different capabilities and the same name.

It's like comparing Office 2024 Excel on Windows to Excel for iPad. They're both called Excel, and share basic features, but once you start using features like VBA, it will not run on iPad Excel.

Also does it even work in Wine? Last I checked EAC only worked in Proton with the env variable to enable it being PROTON_EAC_RUNTIME

Re: FEX-emu – Run x86 applications on ARM64 Linux devices

#90

Earlier quoted context omitted.

Yes (just possibly at ~2 fps)

Into the Breach is back on the menu. There's probably a mountain of x86 games that would not need to hit above 15-30fps to be fun.

Into the Breach can even run on a Pi 4: https://youtu.be/jF6xGlmKVUQ
Post reply on HN