Slow on Manjaro ARM
Closed this issue · 212 comments
System Information
MultiMC version: 5
Operating System: Manjaro ARM Xfce
Summary of the issue or suggestion: Minecraft 1.9/1.12/1.8 take 5-10 mins to load im using the your arm launcher 1.13+ does not work and gives an error
Suspected cause: Im not running Debian
Solved it by Installing MultiMC from the AUR and compiling it and using your patcher
Any Minecraft version under 1.13 gives me this error
When I try to run Minecraft 1.9 this happens i used your patcher is there a fix?
[23:38:26] [Client thread/INFO]: (Session ID is token:<ACCESS TOKEN>:<PROFILE ID>)
[23:38:30] [Client thread/INFO]: LWJGL Version: 2.9.3
Inconsistency detected by ld.so: dl-lookup.c: 111: check_match: Assertion `version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed!
Process exited with code 127.
Minecraft 1.13 + runs smooth can't run any minecraft version under due to that issue
Are you using ARM32 or ARM64? I noticed slow load times on ARM32, however, that was not Manjaro. I have no idea as I have neve understood how manjaro works, but you should try my binary rather then the patcher as the patcher is unreliable.
See #27
Im running Manjaro on he Pi 4 4GB.
Manjaro ARM is a 64bit OS based on Arch Linux ARM
I uset to use this Gitlab Snippet but it does not work anymore
To make your patcher work i had to modify it a bit it only works with lwjgl 3
The modifying i did to make it work on Manjaro was changing
mmcroot="$HOME/MultiMC"
to mmcroot="$HOME/.local/share/multimc"
Ok... sorry for the late reply. Can you try the prebuilt version? I will get Manjaro soon and test it. The patcher is known to have a ton of bugs, and is not reliable. Just download the arm64 .tar.gz and install it like the regular MMC.
EDIT: Just realized you said the prebuilt doesnt work... I missed that the first time :)
I've never used manjaro before, but Minecraft wont detect the OpenGL when I try to run any version... not sure why
I will try rebuilding on Manjaro, maybe OpenGL is located somewhere different? glxinfo shows it as using OpenGL ES 3...
EDIT:
Rebuilding did not help...
Installing xorg-xrandr
helped with my issue, I can now use the prebuilt tarball and any version of MC, however, it is very very slow... even overclocked... not sure why.
I wonder why both ARM32 Raspbian and ARM64 Manjaro are so slow... ARM64 Gentoo and ARM64 Raspbian are both very fast.
Try Compiling it from the AUR your version is compiled for raspbian based on debian, arch is a different linux disro thats why your arm port of multimc runs extremly slow. Instructions for Compiling MultiMC from AUR with your patcher minecraft 1.13+ runs smooth minecraft under 1.13 gives me an error.
The AUR is the Arch User Repository is where anyone can upload packages to https://aur.archlinux.org
My Pi 4 4GB is not overclocked and with the AUR compiled version Minecraft 1.13 + runs good but any version under that crashes
I uset to use debian for nearly a year and used raspbian os (Raspberry Pi OS 32bit) for 1 week but debian packages are not up to date that often since Manjaro is based on Arch updates are out when they are avaliable before debian i used ubuntu i miss the unity desktop and the old gnome (now mate) sadly ubuntu is too bloated now.
The precompiled version should work on all linux distros, and 32 bit debian also runs slow. I even compiled it on manjaro itself and it was still slow. It worked fine, including versions <1.13, however it was slower then on debian (or gentoo).
hmm LWJGL 2 seems to only run extremly slow on Manjaro ARM LWJGL 3 runs good
I'll compile LWJGL 2 on my pi 4 for manjaro arm
Compiled it thanks to your LWJGL Builder
I got two errors
BUILD SUCCESSFUL
Total time: 6 minutes 16 seconds
mkdir: cannot create directory ‘lwjgl2.9.2’: File exists
cp: -r not specified; omitting directory 'lwjgl/libs/linux/x64'
I built it on the pi 4 running manjaro arm
I don't mind publicly uploading the compiled LWJGL 2 to github
but how do i solve the errors i think its something to do with this part mkdir $version
when i try it myself i get this error
$ mkdir $version
mkdir: missing operand
Try 'mkdir --help' for more information.
$version was set by the line for version in "${versions[@]}"
. It is set only within the script, not globally. Since the variable was undefined globally, just running mkdir $version
won't work. I don't see anything wrong. Those are warnings. The directory was already created, so mkdir complained. cp complained because I didnt tell it to get the 64 bit natives as they are useless, the "32 bit" ones are actually ARM64.
I’m using Manjaro arm kde on my pi 4. It also seems to take a very long time to load
However I’m having issues building it from the aur since that one says it’s only for x86_64 and not for aarch64/ARM64
You can build it for arm64 by replacing x86_64 with aarch64
If you need help with installing MultiMC on Manjaro ARM see my instructions
You can use my built version here https://github.com/techtimefor/MultiMC-on-Arch-Linux-ARM-and-Manjaro-ARM
@JJTech0130 How do i use with MulltiMC the built LWJGL 2 files
I don't know how to use JSON
I only know JS and a bit of Python
You would need to host your own meta repo
But the generated LWJGL should be the same as the regular one
I got everything to work just fine with the prebuilt version, and its not modified code.
EDIT: by prebuild I mean the regular prebuilt
hmm with php?
No. Just use github pages out of a fork of meta-multimc
But it is not neccesary. The problem does not seem to be with building anything. I rebuilt both the ARM32 and manjaro versions form the ground up and nothing got faster
oh ok do i have to modify this Gitlab Snippet to use my meta repos insted of the maven repos
No. just use the build flag for example cmake -D MultiMC_META_URL:STRING="https://jjtech0130.github.io/meta-multimc/" CMAKE_CXX_COMPILER=clang++ CMAKE_C_COMPILER=clang CMAKE_INSTALL_PREFIX=../install ../
oh ok thanks
No patcher required. It is much more reliable, which is why the patcher is depracated.
I’m baffled as to why manjaro and arm32 raspbian are so slow tho. Gentoo arm64 and raspbian arm64 are comparable to my pc on 1.8.9
The AUR version runs LWJGL 3 well hopefully it will run LWJGL 2 too
And that means SECONDS
In the PKGBUILD i can't find where the META_URL is https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=multimc-git
Also, the AUR version uses the same code, it literally pulls it form MultiMC's github
Ummmmmm..... I never build it that way..... also it only just got pushed this morning so its not in stable yet
oh so i have to fork multimc on github replace he meta_url and tell the PKGBUILD to use it from my fork
I guesss....... I always just git clone multimc directly and use MultiMC#2133 (comment) to build it
@techtimefor Thanks for letting me know about your instructions for arm 64 but when I try your pre compiled version it doesn’t install says something about unrecognized archive format
hmm odd try building it
cd $HOME/multimc-git && rm PKGBUILD && wget https://raw.githubusercontent.com/techtimefor/MultiMC-on-Arch-Linux-ARM-and-Manjaro-ARM/master/PKGBUILD
Lastly do makepkg -si
Ok and does that run 1.12.2? That’s why I’m really looking into this cause I already have 1.14 running at good speed on manjaro arm
as you can probably see, I have never before used arch packaging, or debian for that matter. I just stick the binary in a tarball, it works on all distros 😄
still trying to run LWJGL 2
LWJGL 3 works great thanks to @JJTech0130 patcher
the gitlab snippet no longer works
LWJGL2 works fine on my version, you just need to install xrandr, not sure why :)
Oh do you need LWJGL2 for 1.13 below?
@Ijdtm7 yes
I will try and figure out arch packaging 2morrow. I will post it on the releases section once i get it worked out. Might also want a .deb ....
Hmm maybe I could run that then since manjaro kde comes with xrandr. 1.12 ran for me using your arm64 version but took a very long time to start and even the panorama screen was lagging
I will try and figure out arch packaging 2morrow. I will post it on the releases section once i get it worked out. Might also want a .deb ....
Ok sounds good!
@JJTech0130 when running your patcher when i try to do Minecraft 1.13 below i get this
Inconsistency detected by ld.so: dl-lookup.c: 111: check_match: Assertion `version->filename == NULL || ! _dl_name_match_p (version->filename, map)' failed!
Process exited with code 127.
ill try again to see if it now works
i could be due to it grabing the files from your dropbox
@Ijdtm7 The AUR version with @JJTech0130 patcher runs Minecraft 1.13+ smoothly
@Ijdtm7 The AUR version with @JJTech0130 patcher runs Minecraft 1.13+ smoothly
Ok maybe I could run 1.16 then but got any ideas for 1.12 and below
I’m currently building your package by the way
Reason why I’m doing this is I really wanna see some of my java 1.12.2 worlds on the big screen. But I can’t move my pc since it’s a tower so I thought I could try my raspberry pi.
still figuring out how to run LWJGL 2 if i get it to run ill share it here
@techtimefor have you tried setting arch to use java 8? I don’t know much about LWJGL but people on manjaro have said that using java 8 allows them to run older versions. I’m gonna see after this builds if I can set arch to use the java 8 I installed via pacman and see if it’ll run
hmm for Minecraft 1.13+ in MultiMC settings using the latest java should work fine
You only need java 8 for versions of Minecraft below 1.13
Yea I noticed that when I was trying to run 1.14 and 1.12 on manjaro without multimc. 1.14 worked awesome, 1.12 didn’t run
Going to Try to get Minecraft below 1.13 to run i also want to run 1.12.2 but if MultiMC supported arm officially this would not be a problem
@techtimefor yea same here after this builds and if I’m able to get it working imma try to do some 1.12.2 and 1.6.4(yes I still play that) on the big screen
Well now I’ve run into an issue. It finished building but I have two multimc installed and when I open it from the panel it opens the one by JJtech
I think i have an solution i edited the PKGBUILD to use @JJTech0130 fork of MultiMC and im building it now
I edited the PKGBUILD so it would not conflict with the installed version
https://github.com/techtimefor/MultiMC-on-Arch-Linux-ARM-and-Manjaro-ARM/blob/master/testingPKGBUILD
Oh so I have to rebuild? And how would i find it once it rebuilds?
Im doing it now ill upload the built version once its done ;)
Ok tho it seems like pre built versions don’t run wonder if this one would
This uses @JJTech0130 fork of MultiMC for ARM so hopefully it will work
@techtimefor but doesn’t that make it run slow again?
This also will not conflict with the multimc already installed
hmm since its being built on Manjaro ARM it might run better
I think @JJTech0130 built it on Raspberry Pi OS (64 bit) that's why maybe it runs slow
Could that make a difference? Sorry if I sound dumb. I’m new to arch Linux and all this
maybe worth trying
Well yea I just thought make was just compilng it
I've been using Manjaro for a couple of months i uset to use debain i have tried arch through the zen installer but find Manjaro easier
If you want an graphical Arch Linux installer use Zen Installer
its sadly only for x86_64
I used Arch for about 1-2 months but Manjaro is much easier for me the updates are stable too on Manjaro
I got a pi 4 4GB for my birthday a few weeks past and I saw the monkajaro manjaro package with retro gaming and I’ve been using it since
same got it on January for my birthday just wanted to use it as a normal pc
Android 10 with 3D support is now available for the pi
I also got it for android
I gtg for a bit but when I’m back I could try to see if I can get 1.12 running without multimc at least
Hmm i think you can but its nearly now built 96%
Sadly does not work gives error's
Im trying now a different launcher hopefully with some tweaking minecraft will run
I rebuilt on manjaro, the way I normally do, posting it here in case it helps. It is still very slow.
multimc-manjaro-arm64.tar.gz
But it works with all versions of minecraft, provided you have OpenJDK 8 (not oracle) and xorg-xrandr
The only thing left is, what if it is not using the GPU? Eg is it using SW rendering?
I will try those scripts that only work with one version of minecraft and see if they are slow to.
@techtimefor any luck with alternate launchers?
trying technic
https://www.technicpack.net/download
LWJGL keeps on giving errors even with LWJGL compiled by the LWJGL Builder
technic launcher just lets you copy the libaries they are stored in the bin folder
@JJTech0130 do these work for you im having issues with it LWJGL 2 for Manjaro ARM
Can’t try it atm... The regular arm64 mmc works fine, it’s just slow and no one knows why...
@JJTech0130 I compiled from the AUR but edited the PKGBUILD to use your multimc fork it sadly conflicts with the multimc installed
yeah the aur compiled version that uses your fork of multimc is the same as normal multimc and crashes