Skip to content
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

Suggestion | Support for ARM architecture #3

Closed
CKwasd opened this issue Jan 24, 2024 · 4 comments
Closed

Suggestion | Support for ARM architecture #3

CKwasd opened this issue Jan 24, 2024 · 4 comments

Comments

@CKwasd
Copy link

CKwasd commented Jan 24, 2024

Support for ARM architecture
https://dockerworld.cn/?id=316
可以參考一下這個教程 麻煩你了!

@hmes98318
Copy link
Owner

The base image used by the current repository is cm2network/steamcmd, this image only supports the linux/amd64 architecture, so it cannot be built.
I will try to build an ARM version of the container from scratch

當前存儲庫所使用的基礎鏡像為 cm2network/steamcmd,此鏡像僅支援 linux/amd64 架構,所以無法構建
我會嘗試從頭構建一個 ARM 版本的容器

@hmes98318
Copy link
Owner

我把 linux/arm64 的鏡像推上去 docker hub 就會把 linux/amd64 的鏡像蓋掉,不知道為什麼
可以先使用 Dockerfile_arm64 檔案進行構建,只能在純 arm64 平台構建,如果用 x86_64 跑 qemu emulator 會過不了

Mac M1 那系列要指定 arm64 平台,不然會預設是會自己轉譯成 x86_64
(ex: docker build --platform linux/arm64 -f Dockerfile_arm64 -t palworld-docker .)

Raspberry Pi 直接構建沒問題,但遊玩效能低落 : (

@CKwasd
Copy link
Author

CKwasd commented Jan 28, 2024

ARM除了M芯片其他都很難跑起來,4+24的vm在五個人遊玩是也只剩下10至15fps
目前在用這個 https://github.com/zion-c/palworld-server-arm64
未來再測試這個https://github.com/yumusb/palworld-server-docker-arm

@hmes98318
Copy link
Owner

那兩個存儲庫的程式碼是一樣的,都是用 TeriyakiGod/steamcmd-docker-arm64 的存儲庫來修改安裝 palworld,我也是用跟他們一樣的方法

底層用 FEX emulator 模擬 x86_64 運行 steamcmd 跟 palworld,我有試過用 box86, box64 來運行,但常常會無法運行,只有 FEX 比較能用

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants