amethyst / evoli

An ecosystem-simulation game made with Amethyst
https://community.amethyst.rs/t/evoli-introduction/770
Other
217 stars 33 forks source link

FPS drop after some cycles #105

Open afonsolage opened 5 years ago

afonsolage commented 5 years ago

Hello folks!

I'm wondering if it is just me or the FPS counter starts to drop fast. After a few seconds the mobs movement isn't smooth anymore. Also, you barely can move the camera, because of this lagging.

Also some glitch like this happens when you move the camera on a low fps: image

I'm using Ubuntu 18.04, on i7, 16 GB and GT 720. Don't know if this is a linux only behaviour.

This is strange for me, because the ECS style should distribute the work even if you have a high number of entities, but on this case, with just a few hundred the system starts to get high load. This is the Evoli implementation itself that needs to be improved or is the amethyst ECS that isn't production ready yet?

Thanks!

waynethewizard commented 4 years ago

I've also experienced this locally (mac osx) and am interested in learning what others think is the root cause.

piedoom commented 4 years ago

Is this perhaps related to this amethyst issue? Haven't heard of the same happening on Linux, though.

waynethewizard commented 4 years ago

huh probably is in my case since I'm using metal and have very similar experiences to what's described

waynethewizard commented 4 years ago

I just re-compiled and with cargo run --release the performance is much improved. Maybe something to do with the latest amethyst release?

piedoom commented 4 years ago

In my experience it is difficult to reliably replicate the bug. It may still occur at some point, but it'd be wonderful if it was fixed :D

ghost commented 4 years ago

I have fps drop and glicthes with models of bees on fedora 31 with intel hd 630.