vinegarhq / vinegar

An open-source, minimal, configurable, fast bootstrapper for running Roblox on Linux.
https://vinegarhq.org
GNU General Public License v3.0
420 stars 32 forks source link

ARM (AArch64 or ARMv8) Support #267

Closed BokBoy closed 12 months ago

BokBoy commented 12 months ago

Is your feature request related to a problem? Please describe.

Its really annoying when creators of programs, especially if it isn't their main focus do not create multi-platform or multi-architecture. Especially with things such as Virtualbox, where the only ARM version is for macOS. There isn't an ARM version for this either.

Describe the solution you'd like

Probably either another way such as a guide to emulate this or just ARM support generally.

Describe alternatives you've considered

Other alternatives involve using Wine for ARM or forget about it and use bloxstrap on Windows Qemu.

Additional context

Using a MacBook Air M2 (Asahi, Fedora Remix 39 with Gnome) I think 1GB is dedicated to VRAM and 7 to RAM.

apprehensions commented 12 months ago

https://wiki.winehq.org/ARM

Get it working first, and see if Roblox runs. Please keep in mind Roblox depends on an x86_64 architecture with a specific instruction called AVX.

Cristiandis commented 12 months ago

@BokBoy try using box64

lunarlattice0 commented 12 months ago

I would be very surprised if Byfron is OK with box64.

Either way, there simply are not enough ARM users for us to support this in mainline, and the issue lies within Wine, not Vinegar. We also do not have the hardware to test this.

However, I will say that Go permits compiling to ARM, so feel free to compile from source.

lunarlattice0 commented 12 months ago

https://wiki.winehq.org/ARM

Get it working first, and see if Roblox runs. Please keep in mind Roblox depends on an x86_64 architecture with a specific instruction called AVX.

Be advised that compiling Wine for ARM does NOT mean you will be able to run x86 Windows programs. It only means that you will be able to run ARM Windows executables.

lunarlattice0 commented 12 months ago

You could in theory retool libroblox.so to run on ARM. I welcome you to join our Discord to further discuss this.

BokBoy commented 12 months ago

@lunarlettuce and @apprehensions Tysm, I'll join the discord (display name is HailLinusOurTechGod (user bokboygamer)) and ill continue there.