-
-
Notifications
You must be signed in to change notification settings - Fork 229
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error: PageSize configuration is wrong: configured with 4096, but got 65536 #348
Comments
It seems to be something about hugepages That's a pretty advanced topic, so you'll need to explore from there. BTW, Mojang only provides x86 binary, so the ARM image running in a box64 emulator -- which adds to the challenge of your scenario. |
Was there a solution found? Edit: its probably because im on arm and the guy originally reporting this probably as well. |
Good find @snakeeater98 ! |
Not exaclty a solution, but a "workaround" for this problem assuming the goal is to play with the bedrock client on a server hostet on arm. |
That is my currently workflow of just using Geyser with a Fabric server. |
Just wanted to note that using one of the other packages for the arm64 image build might help, but runs the risk of being less portable (maybe) |
The Raspberry Pi 5 is configured to run with a 16K page size whereas earlier Pis were all configured with a 4K page size. I don't know if the issue is Docker or Java VM. Java reports
Copied from #380 per @itzg who further commented
and
|
I see that BOX64 recently added support for the Pi 5 ptitSeb/box64@9b7b916 and which includes
Could this be the solution for the Pi 5? I'm not sure if this is what you are referring to with your comment above "... using one of the other packages." |
Good find @HankB but will be step one of several. I'd really prefer you switch to Java edition with geyser like most of us have. https://docker-minecraft-server.readthedocs.io/en/latest/misc/examples/#bedrock-compatible-server Mojang's bedrock server software is very buggy and I'd prefer to not spend all the effort for numerous ARM variants when the provided binary is x86 to begin with. |
Thanks for the suggestion. I'm not wedded to any particular solution and really prefer the lowest friction (read lowest effort on my part) solution to get a minecraft server running. I just did a search for "minecraft server Java edition with geyser raspberry pi" and first hit is https://jamesachambers.com/minecraft-java-bedrock-server-together-geyser-floodgate/. Are you familiar with that or are there better instructions you can recommend? |
I would highly recommend the example I posted. That article is somebody else's image 😀 |
Would be ideal, but as far as I can tell, no server that lets me use geyser will also let my kids play split-screen on the xbox, sadly. (Known issue in various places - player 2 just hangs). |
Force your Pi5 to load the common 64-bit kernel that uses 4k page size (kernel8.img) Or Build your own flavor of the arm image and swap box64-generic-arm with box64-rpi5arm64ps16k |
No need to build your own now - Ryan has kindly added precompiled versions in the last 36 hours: (ryanfortner/box64-debs#26) I've now used the Pi 5 / 16Kb page image one to run the official bedrock server fine 👍🏻 Set up the package source with the instructions at https://github.com/ryanfortner/box64-debs then just |
Maybe someone can help me with this. I'm not sure what exactly @DuncanMillard did, to get it running. I tried to do the same as Duncan - but I'm not really familiar with debian and all this containers - so probably I did some stupid mistakes.. The error I get in my log files:
What I did so far:
Got some security errors, so just bypassed in a dirty way the checks by:
Output from the system:
So looks like installation was successfull this time. Just double checked again:
Not sure which of the concepts I misunderstood, would be great if someone could give me a hint. Sorry for the long text and thanks for your help! |
@BenediktHengefeld it requires a change to the image so that the arm64 emulator running within the container is large page aware. |
...but please just switch to https://docker-minecraft-server.readthedocs.io/en/latest/misc/examples/#bedrock-compatible-server |
This is awesome, runs much better than Bedrock, thanks! Just to confirm, the Java version runs full 64 bit and not emulated like in Bedrock? |
@Phil-T1 thats correct |
Trying to figure out this error, I have changed the port for now since I am running mc-java with geyersmc on another container, checked
server.properties
but see nothing related to this issue. I am running on a ARM oracle free tier.The text was updated successfully, but these errors were encountered: