sashapony Posted January 18, 2022 Share Posted January 18, 2022 Hello. There seems to be a huge issue with the new multiplayer update and linux servers. I have test hosting on multiple linux installations, whether they be arch or Ubuntu based and they all have the same issue. The world does not load fast enough to keep up with player movement regardless of the amount of ram i have added to the server. running 8 gb for a single person is absolutely overkill and for some reason the server tanks like crazy if you even try to drive down the street where i am met with a wall of traffic cones and then the black void of nothingness as i am forcibly stopped in place and have to wait for the world to load. i have test this with multiplayer as well and when this happens an ENORMOUS amount of Desync happens and my passenger thinks that we are in 2 completely different parts of the map by the time the server responds for them. I also noticed that Minecraft 1.18 and 1.18.1 moved to java 17 and 17 has the same kind of issues where the world cant load worth a crap and eventually crashs and im now wondering if project zomboid is using java 17. client performance has dropped drastically in this update and hosting a server makes the game simply unplayable with friends unless the server is moved to windows and then both client and server run as intended. Testing is done in the Vanilla game so no mods are enabled. Hoping for Support :3 Link to comment Share on other sites More sharing options...
Beard Posted January 18, 2022 Share Posted January 18, 2022 PZ uses Java 15. Can you share the "logs.zip" file found in your Home/Zomboid folder on the server machine? Link to comment Share on other sites More sharing options...
sashapony Posted January 18, 2022 Author Share Posted January 18, 2022 When i tried to start the server it errored out a few times saying that it failed to make the p2p connectin, then once i did get the server working as soon as i clicked to play from the character creation screen i got booted. and i had to restart the game entirely for me to actually be able to get into the world. Once i did get into the world i went into admin mode, found a car, cheated in the skills to hotwire it and gave it gas, and almost immdietly i found a world border in which i said in chat that the world stopped loading, and then i closed the game logs.zip Link to comment Share on other sites More sharing options...
Beard Posted January 18, 2022 Share Posted January 18, 2022 That would make sense, vehicles are currently problematic since they cause a lot of lag. Do the problems happen on foot as well? Link to comment Share on other sites More sharing options...
sashapony Posted January 18, 2022 Author Share Posted January 18, 2022 not that i have noticed but you also dont move very fast even when sprinting so idk how to test that, these issues with single player performance and server performance do not exist on the windows build of the game when tested on windows, they only happen on the linux build. the way the linux server behaves with the world not loading creates massive desync and i tested with a friend at one point by having them get in the car as a passenger, and when the world loading issue started and we both got locked in place, the server would desync us so i would keep on driving, being stopped by the frequent world borders and my friend had no idea we even moved because they were left where the first world border appeared. on windows hosting there we had 2 cars with 2 people in each cruising down the road no issue and no noticable lag of any kind. Link to comment Share on other sites More sharing options...
Beard Posted January 19, 2022 Share Posted January 19, 2022 I host a server on Linux Ubuntu and I have not had worse performance than Windows myself, it could be very dependent on how you set up your server, what the settings are and what kind of specs the PC has. Link to comment Share on other sites More sharing options...
sashapony Posted January 19, 2022 Author Share Posted January 19, 2022 (edited) Vanilla server with the Apocolpse preset, although it happens on every preset. i have an AMD Ryzen 9 3900x 12 core 24 threaded cpu with 32 gb of ddr4 3000 mhz ram. Nvidia rtx 2070 Gpu. i well exceed the spec requirements for the game... as i said when i boot into windows and run there its all perfectly fine with identical server settings and identical client settings. This issue persists on Kde Neon (ubuntu 20.04), Ubuntu Gnome (ubuntu 20.04) and Manjaro KDE (Arch). The game ran better than it did on windows before the vehicle update and even back before the iwbums updates back when multiplayer was a thing before. Edit: I Ran project zomboid in Debug mode so that i could cheat in the skills and fuel nessesary to get a car going and did the same test i been doing in the server and the issue persists in single player as well but it doesnt seem to be nearly as bad as the server. I am also running on a Fresh Reinstallation of KDE Manjaro now that i installed yesterday. Edited January 19, 2022 by sashapony Single player test Link to comment Share on other sites More sharing options...
Beard Posted January 20, 2022 Share Posted January 20, 2022 Do you have the server on an SSD or a HDD? Sometimes slow hard drives can definitely cause map loading issues. Link to comment Share on other sites More sharing options...
sashapony Posted January 21, 2022 Author Share Posted January 21, 2022 both servers are ran from an HDD. iv even ran both servers from the same hdd so im positive that is not the issue Link to comment Share on other sites More sharing options...
Beard Posted January 21, 2022 Share Posted January 21, 2022 Any specific filesystem that you have on the HDD? Some like BTRFS may not run well with PZ at all and could cause serious slowdowns. Link to comment Share on other sites More sharing options...
sashapony Posted January 21, 2022 Author Share Posted January 21, 2022 ext4, the stanard typical filesyystem. i have also run it frrom ntfs Link to comment Share on other sites More sharing options...
Beard Posted January 22, 2022 Share Posted January 22, 2022 Usually I found PZ to run way better on Linux. Are you running a dedicated server or a server using the "Host" function from in-game? And if it is a dedicated one, are you assigning RAM through the "json" file? Link to comment Share on other sites More sharing options...
sashapony Posted January 22, 2022 Author Share Posted January 22, 2022 i have tried both methods.. both with 8 gb of ram each and both have the same results Link to comment Share on other sites More sharing options...
sashapony Posted January 26, 2022 Author Share Posted January 26, 2022 Is there any new information about this problem? Link to comment Share on other sites More sharing options...
Beard Posted January 26, 2022 Share Posted January 26, 2022 It is possible that the Linux system is using Swap memory for the server operation, which would cause crazy lag. Could you check the Swap usage on the server? And can you try temporarily disabling Swap or making sure that the PC RAM does not get above its maximum? Link to comment Share on other sites More sharing options...
sashapony Posted January 26, 2022 Author Share Posted January 26, 2022 my system is not setup to use swap. i do not have a swap partition or swap file. Link to comment Share on other sites More sharing options...
Beard Posted January 27, 2022 Share Posted January 27, 2022 Not sure how to help in that case, the logs themselves look fine, meaning it would be either a general Linux network issue or just a Linux optimization problem, perhaps very dependent on the distro and what background apps you are running and such. Link to comment Share on other sites More sharing options...
sashapony Posted February 1, 2022 Author Share Posted February 1, 2022 i have ran it on multiple distros with absolute bare minimums running. i have even ran them both on fresh installations of the distros and no results change. i thought maybe it was a problem with the version of java as minecraft 1.18+ runs java 17 and thats when the issue started there originally. then found the issue on project zomboid. i tried running an old version of minecraft (version 1.7.10) that runs on Java 8 and the issue was not there. I dont now what to do but PZ is currently Unplayable Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now