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

Linux-Server用了这个补丁之后好像服务端FPS变低很多 #11

Closed
hapeman0314 opened this issue Jan 26, 2024 · 21 comments
Closed
Assignees
Labels
help wanted Extra attention is needed

Comments

@hapeman0314
Copy link

No description provided.

@VeroFess
Copy link
Owner

麻烦试一下最新的beta release

@hapeman0314
Copy link
Author

麻烦试一下最新的beta release

我朋友说还是一样

@FierceTerrity
Copy link

麻烦试一下最新的beta release
Hi! Can you explain how to install the patch for linux server? I can not find the necessary files in the folder with pal server.

@alvin268
Copy link

alvin268 commented Jan 26, 2024

麻烦试一下最新的beta release

Hi! Can you explain how to install the patch for linux server? I can not find the necessary files in the folder with pal server.

Go to Steam/steamapps/common/PalServer/Pal/Binaries/Linux then replace the Palserver-Linux-Test file

@hapeman0314
Copy link
Author

麻烦试一下最新的beta release
Hi! Can you explain how to install the patch for linux server? I can not find the necessary files in the folder with pal server.

if u ues docker to deploy u need use this command like
docker cp ./PalServer-Linux-Test-1.3-beta container_name:/home/steam/Steam/steamapps/common/PalServer/Pal/Binaries/Linux/PalServer-Linux-Test

if u dont know the detail contents ,u can into the docker : docker exec -it container_name /bin/bash and then find out the file

then , u need to change the file mode : docker exec -u 0 -it container_name chmod +x /home/steam/Steam/steamapps/common/PalServer/Pal/Binaries/Linux/PalServer-Linux-Test

last, dont forget to restart your docker

@VeroFess
Copy link
Owner

麻烦试一下最新的beta release

我朋友说还是一样

我目前没有Linux的调试环境,可能需要周末了,我这里收到的反馈是升级到Update 3后,FPS 有部分提升,但到不了上个版本的水平,所以可能和官方更新的内容有一些关系

@VeroFess VeroFess self-assigned this Jan 26, 2024
@hapeman0314
Copy link
Author

麻烦试一下最新的beta release

我朋友说还是一样

我目前没有Linux的调试环境,可能需要周末了,我这里收到的反馈是升级到Update 3后,FPS 有部分提升,但到不了上个版本的水平,所以可能和官方更新的内容有一些关系

确实是跟上个版本比这个版本本身FPS就降低了很多。 大佬辛苦了 👍

@VeroFess
Copy link
Owner

如果方便的话请在linux下以以下方式启动服务端:

perf record -e cycles:u -j any,u -o perf.data -- /path/to/pal/binary pal_args

在运行四五个小时后将 perf.data 发送给我以便进行后续优化

@VeroFess VeroFess added the help wanted Extra attention is needed label Jan 26, 2024
@JinShichang
Copy link

我的正常,基本都维持在60FPS,不过该崩还是会崩,档也是照炸不误,我们存档已经是大后期了,提心吊胆的玩

@NepPure
Copy link

NepPure commented Jan 26, 2024

perf record -e cycles:u -j any,u -o perf.data -- /path/to/pal/binary pal_args

PalServer.sh 文件内容为

#!/bin/sh
UE_TRUE_SCRIPT_NAME=$(echo \"$0\" | xargs readlink -f)
UE_PROJECT_ROOT=$(dirname "$UE_TRUE_SCRIPT_NAME")
chmod +x "$UE_PROJECT_ROOT/Pal/Binaries/Linux/PalServer-Linux-Test"
"$UE_PROJECT_ROOT/Pal/Binaries/Linux/PalServer-Linux-Test" Pal "$@" 

是修改成这样启动吗,不是很熟悉这个

#!/bin/sh
UE_TRUE_SCRIPT_NAME=$(echo \"$0\" | xargs readlink -f)
UE_PROJECT_ROOT=$(dirname "$UE_TRUE_SCRIPT_NAME")
chmod +x "$UE_PROJECT_ROOT/Pal/Binaries/Linux/PalServer-Linux-Test"
perf record -e cycles:u -j any,u -o perf.data -- "$UE_PROJECT_ROOT/Pal/Binaries/Linux/PalServer-Linux-Test" Pal "$@" 

@hapeman0314
Copy link
Author

我的正常,基本都维持在60FPS,不过该崩还是会崩,档也是照炸不误,我们存档已经是大后期了,提心吊胆的玩

写个备份的shell脚本,再写一个任务定时备份就好了

@JinShichang
Copy link

我的正常,基本都维持在60FPS,不过该崩还是会崩,档也是照炸不误,我们存档已经是大后期了,提心吊胆的玩

写个备份的shell脚本,再写一个任务定时备份就好了

有啊 15分钟备份一次,不然怎么可能玩得到后期,中途已经回档无数次了,得有专人盯着这破服务端

@twh233
Copy link

twh233 commented Jan 26, 2024

我的正常,基本都维持在60FPS,不过该崩还是会崩,档也是照炸不误,我们存档已经是大后期了,提心吊胆的玩

写个备份的shell脚本,再写一个任务定时备份就好了

有啊 15分钟备份一次,不然怎么可能玩得到后期,中途已经回档无数次了,得有专人盯着这破服务端

这游戏本身存档不是非常频繁嘛,如果没定时备份应该也没关系吧,难道是官网的备份会导致存档损坏吗,不是很明白

@hapeman0314
Copy link
Author

我的正常,基本都维持在60FPS,不过该崩还是会崩,档也是照炸不误,我们存档已经是大后期了,提心吊胆的玩

写个备份的shell脚本,再写一个任务定时备份就好了

有啊 15分钟备份一次,不然怎么可能玩得到后期,中途已经回档无数次了,得有专人盯着这破服务端

这游戏本身存档不是非常频繁嘛,如果没定时备份应该也没关系吧,难道是官网的备份会导致存档损坏吗,不是很明白

服务端每次存档会覆盖之前的,没有备份。本地备份目前还不能应用到服务端

@twh233
Copy link

twh233 commented Jan 26, 2024

我的正常,基本都维持在60FPS,不过该崩还是会崩,档也是照炸不误,我们存档已经是大后期了,提心吊胆的玩

写个备份的shell脚本,再写一个任务定时备份就好了

有啊 15分钟备份一次,不然怎么可能玩得到后期,中途已经回档无数次了,得有专人盯着这破服务端

这游戏本身存档不是非常频繁嘛,如果没定时备份应该也没关系吧,难道是官网的备份会导致存档损坏吗,不是很明白

服务端每次存档会覆盖之前的,没有备份。本地备份目前还不能应用到服务端

感谢回答,我也写个脚本定时存档吧

@VeroFess
Copy link
Owner

@Minidoracat
Copy link

Minidoracat commented Jan 26, 2024

试试 https://github.com/VeroFess/PalWorld-Server-Unoffical-Fix/releases/tag/1.3.0-Update-4-Beta

替換後進不去
圖片預覽

圖片預覽

md5hash: a3f4d882fc0c0801c581e6c91a80342e

@hapeman0314
Copy link
Author

试试 https://github.com/VeroFess/PalWorld-Server-Unoffical-Fix/releases/tag/1.3.0-Update-4-Beta

现在稳定在fps稳定在50左右,比之前10+好多了

@Minidoracat
Copy link

试试 https://github.com/VeroFess/PalWorld-Server-Unoffical-Fix/releases/tag/1.3.0-Update-4-Beta

现在稳定在fps稳定在50左右,比之前10+好多了

請問你有進去容器確認過檔案 hash 了嗎?
我不管怎換他都會版本錯誤,驗證回原版就能進去

@hapeman0314
Copy link
Author

试试 https://github.com/VeroFess/PalWorld-Server-Unoffical-Fix/releases/tag/1.3.0-Update-4-Beta

现在稳定在fps稳定在50左右,比之前10+好多了

請問你有進去容器確認過檔案 hash 了嗎? 我不管怎換他都會版本錯誤,驗證回原版就能進去

确认了

@Minidoracat
Copy link

试试 https://github.com/VeroFess/PalWorld-Server-Unoffical-Fix/releases/tag/1.3.0-Update-4-Beta

现在稳定在fps稳定在50左右,比之前10+好多了

請問你有進去容器確認過檔案 hash 了嗎? 我不管怎換他都會版本錯誤,驗證回原版就能進去

确认了

這就怪了,我試看看如何把遊戲版本驗證機制關了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

8 participants