-
-
Notifications
You must be signed in to change notification settings - Fork 305
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
The ARM version of the Apple computer has failed #660
Comments
Please use the bug report template and give as much information as possible: |
Describe the bugTo ReproduceSteps to reproduce the behavior:
Expected behaviorThe service is running normally Actual behaviorThe service keeps restarting ScreenshotsOS information (IMPORTANT)
Hardware information (IMPORTANT)
docker-compose.yml contents (IMPORTANT)docker-compose.yml---
services:
palworld:
image: thijsvanloef/palworld-server-docker:latest
restart: unless-stopped
container_name: palworld-server
stop_grace_period: 30s # Set to however long you are willing to wait for the container to gracefully stop
ports:
- 8211:8211/udp
- 27015:27015/udp # Required if you want your server to show up in the community servers tab
# - 8212:8212/tcp # Port for REST API if REST_API_ENABLED: true
environment:
PUID: 1000
PGID: 1000
PORT: 8211 # Optional but recommended
PLAYERS: 16 # Optional but recommended
SERVER_PASSWORD: "worldofpals" # Optional but recommended
MULTITHREADING: true
RCON_ENABLED: true
RCON_PORT: 25575
TZ: "UTC"
ADMIN_PASSWORD: "adminPasswordHere"
COMMUNITY: false # Enable this if you want your server to show up in the community servers tab, USE WITH SERVER_PASSWORD!
SERVER_NAME: "palworld-server-docker by Thijs van Loef"
SERVER_DESCRIPTION: "palworld-server-docker by Thijs van Loef"
ALLOW_CONNECT_PLATFORM: "Steam" # Defaults to "Steam" if not set, set this to "Xbox" if you want to host a server for Xbox players. CROSSPLAY BETWEEN XBOX-STEAM IS NOT YET SUPPORTED
volumes:
- ./palworld:/palworld/
Container/Host Logs (IMPORTANT)Logs
|
It seems that the server file cannot be completely downloaded. |
I'm having this exact same problem, It's unable to launch "PalServer-arm64". Same CPU (Apple M4), but with 48GBs of ram. I'll post logs shortly if that helps. |
I used CrossOver to start the Windows Palworld server on my mac mini m4 and it worked fine. |
yes that will work, but requires proprietary software and to buy the product. Other than that, it appears to be a Box64 or SteamCMD issue: ptitSeb/box86#976 |
@sonroyaalmerol Are you able to take a look at this? |
@hcy12321 Hi! Thanks to Sonroyaalmerol a new version of the image has been release. |
This did not fix my issue. Here are my logs, compose.yml, and .env file: Describe the bugServer does not start and loops installation To ReproduceSteps to reproduce the behavior:
Expected behaviorinstallation and starting of server Actual behaviorNot starting ScreenshotsOS information (IMPORTANT)
Hardware information (IMPORTANT)
docker-compose.yml contents (IMPORTANT)docker-compose.ymlservices:
palworld:
image: thijsvanloef/palworld-server-docker:latest
restart: unless-stopped
container_name: palworld-server
stop_grace_period: 30s # Set to however long you are willing to wait for the container to gracefully stop
ports:
- 8211:8211/udp
- 27015:27015/udp
# - 8212:8212/tcp # Port for REST API if REST_API_ENABLED: true
env_file:
- .env
volumes:
- ./palworld:/palworld/ .env contents.envTZ=UTC
PLAYERS=32
PORT=8211
PUID=1000
PGID=1000
MULTITHREADING=true
COMMUNITY=true
PUBLIC_IP=
PUBLIC_PORT=
SERVER_NAME=PalBoy
SERVER_DESCRIPTION=PalBoy I Choose U!
SERVER_PASSWORD=PalMan2025
ADMIN_PASSWORD=AdminMan2025
UPDATE_ON_BOOT=true
RCON_ENABLED=true
RCON_PORT=25575
QUERY_PORT=27015
BACKUP_ENABLED=true
DELETE_OLD_BACKUPS=true
OLD_BACKUP_DAYS=30
BACKUP_CRON_EXPRESSION=0 0 * * *
AUTO_UPDATE_ENABLED=true
AUTO_UPDATE_CRON_EXPRESSION=0 * * * *
AUTO_UPDATE_WARN_MINUTES=30
AUTO_REBOOT_ENABLED=true
AUTO_REBOOT_EVEN_IF_PLAYERS_ONLINE=false
AUTO_REBOOT_WARN_MINUTES=5
AUTO_REBOOT_CRON_EXPRESSION=0 0 * * *
ENABLE_PLAYER_LOGGING=true
PLAYER_LOGGING_POLL_PERIOD=5
DIFFICULTY=None
RANDOMIZER_TYPE=
RANDOMIZER_SEED=none
DAYTIME_SPEEDRATE=1.000000
NIGHTTIME_SPEEDRATE=1.000000
EXP_RATE=1.000000
PAL_CAPTURE_RATE=1.000000
PAL_SPAWN_NUM_RATE=1.000000
PAL_DAMAGE_RATE_ATTACK=1.000000
PAL_DAMAGE_RATE_DEFENSE=1.000000
PLAYER_DAMAGE_RATE_ATTACK=1.000000
PLAYER_DAMAGE_RATE_DEFENSE=1.000000
PLAYER_STOMACH_DECREASE_RATE=1.000000
PLAYER_STAMINA_DECREASE_RATE=1.000000
PLAYER_AUTO_HP_REGEN_RATE=1.000000
PLAYER_AUTO_HP_REGEN_RATE_IN_SLEEP=1.000000
PAL_STOMACH_DECREASE_RATE=1.000000
PAL_STAMINA_DECREASE_RATE=1.000000
PAL_AUTO_HP_REGEN_RATE=1.000000
PAL_AUTO_HP_REGEN_RATE_IN_SLEEP=1.000000
BUILD_OBJECT_HP_RATE=1.000000
BUILD_OBJECT_DAMAGE_RATE=1.000000
BUILD_OBJECT_DETERIORATION_DAMAGE_RATE=1.000000
COLLECTION_DROP_RATE=1.000000
COLLECTION_OBJECT_HP_RATE=1.000000
COLLECTION_OBJECT_RESPAWN_SPEED_RATE=1.000000
ENEMY_DROP_ITEM_RATE=1.000000
DEATH_PENALTY=All
ENABLE_PLAYER_TO_PLAYER_DAMAGE=False
ENABLE_FRIENDLY_FIRE=False
ENABLE_INVADER_ENEMY=True
ACTIVE_UNKO=False
ENABLE_AIM_ASSIST_PAD=True
ENABLE_AIM_ASSIST_KEYBOARD=False
DROP_ITEM_MAX_NUM=3000
DROP_ITEM_MAX_NUM_UNKO=100
BASE_CAMP_MAX_NUM=128
BASE_CAMP_WORKER_MAX_NUM=15
DROP_ITEM_ALIVE_MAX_HOURS=1.000000
AUTO_RESET_GUILD_NO_ONLINE_PLAYERS=False
AUTO_RESET_GUILD_TIME_NO_ONLINE_PLAYERS=72.00000
GUILD_PLAYER_MAX_NUM=20
BASE_CAMP_MAX_NUM_IN_GUILD=4
PAL_EGG_DEFAULT_HATCHING_TIME=72.00000
WORK_SPEED_RATE=1.000000
AUTO_SAVE_SPAN=30.000000
IS_MULTIPLAY=False
IS_PVP=False
HARDCORE=False
PAL_LOST=False
CAN_PICKUP_OTHER_GUILD_DEATH_PENALTY_DROP=False
ENABLE_NON_LOGIN_PENALTY=True
ENABLE_FAST_TRAVEL=True
IS_START_LOCATION_SELECT_BY_MAP=True
EXIST_PLAYER_AFTER_LOGOUT=False
ENABLE_DEFENSE_OTHER_GUILD_PLAYER=False
INVISIBLE_OTHER_GUILD_BASE_CAMP_AREA_FX=False
BUILD_AREA_LIMIT=False
ITEM_WEIGHT_RATE=1.000000
COOP_PLAYER_MAX_NUM=4
REGION=
USEAUTH=True
BAN_LIST_URL=https://api.palworldgame.com/api/banlist.txt
REST_API_ENABLED=False
REST_API_PORT=8212
SHOW_PLAYER_LIST=True
ENABLE_PREDATOR_BOSS_PAL=True
MAX_BUILDING_LIMIT_NUM=0
SERVER_REPLICATE_PAWN_CULL_DISTANCE=15000.000000
# ALLOW_CONNECT_PLATFORM Defaults to "Steam" if not set, set this to "Xbox" if you want to host a server for Xbox players. CROSSPLAY BETWEEN XBOX-STEAM IS NOT YET SUPPORTED
ALLOW_CONNECT_PLATFORM=Xbox
USE_BACKUP_SAVE_DATA=True
USE_DEPOT_DOWNLOADER=True
INSTALL_BETA_INSIDER=False
# Box64 Configs (Only relevant for ARM64 hosts)
# These can be adjusted if the server keeps on crashing.
BOX64_DYNAREC_STRONGMEM=3 # This can be set to 2 or 3 with 3 being the most stable but worst performance.
BOX64_DYNAREC_BIGBLOCK=0 # This can be set to 0 for better stability but worse performance.
BOX64_DYNAREC_SAFEFLAGS=2 # This can be set to 2 for better stability but worse performance.
BOX64_DYNAREC_FASTROUND=0 # This can be set to 0 for better stability but worse performance.
BOX64_DYNAREC_FASTNAN=0 # This can be set to 0 for better stability but worse performance.
BOX64_DYNAREC_X87DOUBLE=1 # This can be set to 1 for better stability but worse performance.
ARM64_DEVICE=m1 Container/Host Logs (IMPORTANT)Logs
Additional contextsame issue as @hcy12321 Bug Report Checklist
|
Unfortunately, I don't have access to any M-series Macs. You'll need to do some tests for me to help you. I can guide you through it. Let's try to isolate the issue and see which part is breaking it. For Macs, steamcmd is basically not an option anymore; thus, the DepotDownloader was included in this container as a fallback option. This part of the logs is expected:
The real issue is DepotDownloader crashing in the middle of a download:
Now, there are two possibilities I can think of here:
To figure out which of the two possibilities is more likely, I suggest testing DepotDownloader outside of the Docker container. I believe they have instructions on how to install it on Mac. Then, try running the command that failed inside the container:
If you were able to download the server outside the container, then it might be a Docker Mac issue. Let me know the results either way. |
It looks like it was successfully able to download with the command you gave me outside of Docker. Do you need anymore info? |
It has something to do with Docker, I see. Did some research and apparently M4 uses arm64v9 instead of the usual arm64v8. Can you try explicitly declaring
You can also try Another thing to try is trying out all the options you have in Docker Desktop VMM settings. If none of those work, you can try using Colima instead of Docker Desktop. |
Not sure how to use Colima. I changed the platform to what you specified and changed the VMM to "Docker VMM". I think I'm getting a different issue now:
Please take a look and thank you for your help. |
2025-01-12 22:40:29 EXECUTING USERMOD
2025-01-12 22:40:29 usermod: no changes
2025-01-12 22:40:29 Server installation not detected.
2025-01-12 22:40:29 Starting Installation
2025-01-12 22:40:34 Redirecting stderr to '/home/steam/Steam/logs/stderr.txt'
2025-01-12 22:40:34 Logging directory: '/home/steam/Steam/logs'
2025-01-12 22:40:34 Looks like steam didn't shutdown cleanly, scheduling immediate update check
2025-01-12 22:40:34 [ 0%] Checking for available updates...
2025-01-12 22:40:34 [----] Verifying installation...
2025-01-12 22:40:34 UpdateUI: skip show logoSteam Console Client (c) Valve Corporation - version 1733269577
2025-01-12 22:40:34 -- type 'quit' to exit --
2025-01-12 22:40:35 Loading Steam API...IPC function call IClientUtils::GetSteamRealm took too long: 367 msec
2025-01-12 22:40:35 Fatal error: futex robust_list not initialized by pthreads
2025-01-12 22:40:35 src/common/framefunction.cpp (238) : Assertion Failed: CFrameFunctionMgr::~CFrameFunctionMgr: non static FrameFunction[Bootstrapper HTTP Client] still registered
2025-01-12 22:40:35 ./PalServer.sh does not exist.
2025-01-12 22:40:35 SteamCMD failed to download the server properly, attempting to use DepotDownloader.
2025-01-12 22:40:35 Downloading server files using DepotDownloader
2025-01-12 22:40:35 No username given. Using anonymous account with dedicated server subscription.
2025-01-12 22:40:37 Connecting to Steam3... Done!
2025-01-12 22:40:38 Logging anonymously into Steam3... Done!
2025-01-12 22:40:38 Using Steam3 suggested CellID: 47
2025-01-12 22:40:39 Got AppInfo for 2394010
2025-01-12 22:40:39 Using app branch: 'public'.
2025-01-12 22:40:40 Got depot key for 1006 result: OK
2025-01-12 22:40:41 Got depot key for 2394012 result: OK
2025-01-12 22:40:41 Processing depot 1006
2025-01-12 22:40:41 Already have manifest 7138471031118904166 for depot 1006.
2025-01-12 22:40:41 Manifest 7138471031118904166 (05/30/2024 16:31:09)
2025-01-12 22:40:41 Processing depot 2394012
2025-01-12 22:40:41 Already have manifest 8740356471807192597 for depot 2394012.
2025-01-12 22:40:41 Manifest 8740356471807192597 (12/24/2024 14:23:31)
2025-01-12 22:40:41 Downloading depot 1006
2025-01-12 22:40:41 Validating /palworld/steamclient.so
2025-01-12 22:40:41 Validating /palworld/linux64/steamclient.so
2025-01-12 22:40:41 Got CDN auth token for xz.pphimalayanrt.com result: OK (expires 01/12/2025 15:40:41)
2025-01-12 22:40:41 Got CDN auth token for dl.steam.clngaa.com result: OK (expires 01/12/2025 17:40:41)
2025-01-12 22:40:41 Got CDN auth token for st.dl.eccdnx.com result: OK (expires 01/12/2025 17:40:41)
2025-01-12 22:40:41 No username given. Using anonymous account with dedicated server subscription.
2025-01-12 22:40:43 Connecting to Steam3... Done!
2025-01-12 22:40:44 Logging anonymously into Steam3... Done!
2025-01-12 22:40:44 Using Steam3 suggested CellID: 47
2025-01-12 22:40:44 Got AppInfo for 2394010
2025-01-12 22:40:45 Using app branch: 'public'.
2025-01-12 22:40:45 Got depot key for 2394012 result: OK
2025-01-12 22:40:45 Processing depot 2394012
2025-01-12 22:40:45 Already have manifest 8740356471807192597 for depot 2394012.
2025-01-12 22:40:45 Manifest 8740356471807192597 (12/24/2024 14:23:31)
2025-01-12 22:40:45 Total downloaded: 0 bytes (0 bytes uncompressed) from 1 depots
2025-01-12 22:40:45 Disconnected from Steam
2025-01-12 22:40:45 ./PalServer-arm64.sh does not exist.
2025-01-12 22:40:45 Server Not Installed Properly
The text was updated successfully, but these errors were encountered: