PolyMC icon indicating copy to clipboard operation
PolyMC copied to clipboard

PolyMC built on Asahi Linux (Linux on M1 Mac) don't let run Minecraft supposing different architecture between java and system

Open cmalvi opened this issue 3 years ago • 8 comments

Operating System

Linux

Version of PolyMC

PolyMC 1.4.1

Version of Qt

Qt 6.3.1

Description of bug

Checking Java version... Java is version 18.0.2, using 64 (aarch64) architecture, from N/A.

Your Java architecture is not matching your system architecture. You might want to install a 64bit Java version.

Steps to reproduce

Build PolyMC adding aarch64 to platform it build successfully try to run the game after initial setup

Suspected cause

Maybe a proper support for aarch64 from PolyMC could help? because the launcher seems to recognize itselves as different from aarch64

This issue is unique

  • [X] I have searched the issue tracker and did not find an issue describing my bug.

cmalvi avatar Sep 03 '22 21:09 cmalvi

Operating System

Linux

Version of PolyMC

PolyMC 1.4.1

Version of Qt

Qt 6.3.1

Description of bug

Checking Java version... Java is version 18.0.2, using 64 (aarch64) architecture, from N/A.

Your Java architecture is not matching your system architecture. You might want to install a 64bit Java version.

Steps to reproduce

Build PolyMC adding aarch64 to platform it build successfully try to run the game after initial setup

Suspected cause

Maybe a proper support for aarch64 from PolyMC could help? because the launcher seems to recognize itselves as different from aarch64

This issue is unique

* [x]  I have searched the issue tracker and did not find an issue describing my bug.

~~Most likely due to graphics acceleration. Send logs~~ EDIT: You also need LWJGL for Linux aarch64. See https://github.com/PolyMC/PolyMC/pull/1033.

r58Playz avatar Sep 03 '22 22:09 r58Playz

This is fixed in #1033

Scrumplex avatar Sep 03 '22 22:09 Scrumplex

EDIT: You also need LWJGL for Linux aarch64. See https://github.com/PolyMC/PolyMC/pull/1033.

I can't see any direct info about, however I've installed it from aur but how can I add it to PolyMC?

cmalvi avatar Sep 03 '22 22:09 cmalvi

This is fixed in #1033

So I just need to wait right?

cmalvi avatar Sep 03 '22 22:09 cmalvi

EDIT: You also need LWJGL for Linux aarch64. See #1033.

I can't see any direct info about, however I've installed it from aur but how can I add it to PolyMC?

You need to manually build https://github.com/Scrumplex/PolyMC/tree/multi-arch-support (you should be able to modify the pkgbuild to clone from there) and use https://r58playz.github.io/meta-polymc/ as the metaserver (do note it is a fair bit out of date so it doesn't have 1.19.2)

r58Playz avatar Sep 03 '22 22:09 r58Playz

EDIT: You also need LWJGL for Linux aarch64. See #1033.

I can't see any direct info about, however I've installed it from aur but how can I add it to PolyMC?

You need to manually build https://github.com/Scrumplex/PolyMC/tree/multi-arch-support (you should be able to modify the pkgbuild to clone from there) and use https://r58playz.github.io/meta-polymc/ as the metaserver (do note it is a fair bit out of date so it doesn't have 1.19.2)

I don't kown how to modify pkgbuild correctly for this, but i'm building now a portable version so i can test it. How can i change the metaserver?

cmalvi avatar Sep 04 '22 07:09 cmalvi

EDIT: You also need LWJGL for Linux aarch64. See #1033.

I can't see any direct info about, however I've installed it from aur but how can I add it to PolyMC?

You need to manually build https://github.com/Scrumplex/PolyMC/tree/multi-arch-support (you should be able to modify the pkgbuild to clone from there) and use https://r58playz.github.io/meta-polymc/ as the metaserver (do note it is a fair bit out of date so it doesn't have 1.19.2)

I don't kown how to modify pkgbuild correctly for this, but i'm building now a portable version so i can test it. How can i change the metaserver?

go in settings - APIs and change the metaserver there also remove the meta folder on your polymc data dir

DioEgizio avatar Sep 04 '22 10:09 DioEgizio

Doesn’t work for me but no problem, I’ll wait for a better compatibility because Is just for testing.

Thanks for help

On Sun, Sep 4, 2022 at 12:14, DioEgizio @.***> wrote:

EDIT: You also need LWJGL for Linux aarch64. See #1033.

I can't see any direct info about, however I've installed it from aur but how can I add it to PolyMC?

You need to manually build https://github.com/Scrumplex/PolyMC/tree/multi-arch-support (you should be able to modify the pkgbuild to clone from there) and use https://r58playz.github.io/meta-polymc/ as the metaserver (do note it is a fair bit out of date so it doesn't have 1.19.2)

I don't kown how to modify pkgbuild correctly for this, but i'm building now a portable version so i can test it. How can i change the metaserver?

go in settings - APIs and change the metaserver there also go to ~/.local/share/PolyMC/meta and remove that folder

— Reply to this email directly, view it on GitHub, or unsubscribe. You are receiving this because you authored the thread.Message ID: @.***>

cmalvi avatar Sep 04 '22 10:09 cmalvi

This can probably be closed

DioEgizio avatar Oct 10 '22 16:10 DioEgizio

Completed in #1033

Scrumplex avatar Oct 10 '22 16:10 Scrumplex