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

The game slows down after playing in a network game for a while until rejoin #5554

Closed
DorpsGek opened this issue May 20, 2013 · 3 comments
Closed
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)

Comments

@DorpsGek
Copy link
Member

perk11 opened the ticket and wrote:

I've been playing the latest game on openttdcoop server with r25267 on Windows 8 x64. Right after I join the game I can zoom out to the minimum level and have the game run almost smoothly. CPU usage on my 3Hz 3-core machine is around 13-20% (33% being the maximum one core usage). But after I keep playing for 20 minutes the game starts to freeze for 3-4 game days after about every 3rd time I try to move the camera or add/remove track/change signal. Game CPU usage goes up to 33%. Zooming out fully almost certainly leads to disconnect from server due to computer being too slow. After playing for about an hour even without zooming out a longer freeze appears which leads to a disconnect.
My sprite_cache_size_px is set to default 128. This issue happens with OpenGFX, original_windows and zBase base graphic sets.
This repeats for me after every rejoin. At least one more person on the server with Win x64 has the same freezes which disappear after rejoin and everyone on a server disconnects by a timeout once in a while.

Attachments

Reported version: trunk
Operating system: Windows


This issue was imported from FlySpray: https://bugs.openttd.org/task/5554
@DorpsGek
Copy link
Member Author

perk11 wrote:

The freezes also happen without moving camera, even when just watching the game, doing nothing. This is similar to the freezes which happen during autosave, except my autosave is set to yearly and this happens 2 times a minute. Game memory usage doesn't increase with time, it stays stable around 170 Mb. After 20 minutes of playing CPU usage is not constantly 33%, only during the freezes.
By freezes I understand the game stopping responding to anything, even to typing a message in chat.
3Hz=3GHz
Cargo flow display is not enabled.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5554#comment12226

@DorpsGek
Copy link
Member Author

frosch wrote:

When the client cannot keep up with the server, it skips drawing frames. This appears as "freezing".
If it still cannot keep up, it disconnects.


This comment was imported from FlySpray: https://bugs.openttd.org/task/5554#comment14358

@DorpsGek
Copy link
Member Author

frosch closed the ticket.

Reason for closing: Not a bug

too slow client


This comment was imported from FlySpray: https://bugs.openttd.org/task/5554

@DorpsGek DorpsGek added Core flyspray This issue is imported from FlySpray (https://bugs.openttd.org/) labels Apr 7, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
flyspray This issue is imported from FlySpray (https://bugs.openttd.org/)
Projects
None yet
Development

No branches or pull requests

1 participant