betacraft-launcher icon indicating copy to clipboard operation
betacraft-launcher copied to clipboard

support more CPU ISA's per Os

Open jredfox opened this issue 2 years ago • 3 comments

ISA:(Instruction set architecture) the architecture of your cpu's instruction set. this determines whether or not you can run your compiled programs / natives on your pc. You may have a native image of say arm64 bit windows exe but it won't run a an x64 windows pc without emulation or conversion

Say it again but in english: minecraft's lwjgl natives [.dll in windows] can't run if the cpu instruction set doesn't match the file's instruction set. this is where issues begain. Say it again but this time dumber ok fine: you need to update minecraft's natives so it can run on any pc for the supported platforms(Operating systems)

general ISA issues

  • what ISA is the windows natives? do you have both the x86 and x64 natives or just x86? without this emulation is enforced on non amd64/intel64 computers thus making the graphics engine slow
  • if your mac's natives are not x64 it may have issues. powerpc and x86 < 2010 macs and on top of that intel 32 bit was around for a short time.
  • linux ISA's you need support all ISA's {x86, x64, arm32, arm64 and optional powerpc 32/64} cause linux can run on any cpu basically. it's fine if you can't get powerpc isa's working on linux but if doable do it

arm:

  • mac now has arm64 you may have to manually run mac's rosetta stone 2 to grab them from x64 intel natives that are converted. #38 is most likely the cause.
  • lacking arm64 for linux #148 is most likely the cause edit though this is an issue on some linux's it current doesn't work on any linux
  • windows 11 now supports fully arm64 cpus. you need to either have arm64 windows natives or for now at least enforce x64 natives as windows 11 should be able to emulate the natives. this is slow and not optimal.

ok let's say you fixed this issue now what: well fixing this issue also causes the problem of you not being able to play offline or when betacraft's servers are down. Why? because #141 the libs and natives are not version controlled as of yet. this is a must fix when fixing this issue. Without fixing it betacraft would became unplayable the second it's servers are offline without an archive of natives /libs and manual swapping

jredfox avatar May 04 '22 21:05 jredfox

  • mac now has arm64 you may have to manually run mac's rosetta stone 2 to grab them from x64 intel natives that are converted. Mac: M1 Color Issue #38 is most likely the cause.

rosetta 2 runs when you launch an app, and afaik it doesn't store the arm64 translated app.

Plus arm64 natives have been compiled and even using rosetta 2 the color issue is still present.

r58Playz avatar May 09 '22 01:05 r58Playz

@r58Playz well if there were not issues with mac m1 then there wouldn't be 30 open issues with it. it has to do with the natives being wrong as minecraft runs on mac m1 say 1.12.2 which is before they updated to lwjgl 3. I assure you everything written on my comment was accurate.

he needs to get the proper natives exact ISA to prevent emulation or boot time going way up to to rosetta. Also it fails on the mac m1 which leads me to believe the natives for mac are x86 or even powerpc not x64 or simply fails for some odd reason in java 8.

also no, the color issues are not present on correct compiled arm64 macOs natives. look at 1.12.2 does it contain the color issue on the mac m1 the natives are translated properly using rosetta 2 correctly. what I say still stands.

jredfox avatar May 09 '22 01:05 jredfox