Closed hka closed 9 months ago
I checked and 0.8 version does consume significantly more memory than 0.7.
The main difference between 0.7 and 0.8 is that 0.8 added new tiles so that's what consuming the memory.
We'll try to reduce memory consumption to something more reasonable.
Removed "-floor2" tilesets in this commit 20160b1e9a21736950300adcfda08890af3a4fa3 This resulted in ~20% reduction in used memory (1.7GB->1.4GB).
Should try to improve memory use more.
That fixed it, now it loads fine. But sounds big with 1GB of video memory use? Is the same texture stored multiple times?
Or not, crashed when I placed a tower. Attaching log of output. youtd_crash.log
I created a separate issue #274 where we'll try to get VRAM usage down to something reasonable.
That fixed it, now it loads fine. But sounds big with 1GB of video memory use? Is the same texture stored multiple times?
It's because of tiles and the way we use them. The tilesheets are high-res and you can't compress them if you want to use them in Godot tilemaps. And we use a lot of tiles in general.
Tested 0.8.4 now and it works fine playing, closing this issue.
I get a segfault running the latest build on my laptop: linux-v0.8.1-cc259c5.zip
Last lines before exiting:
Tested 0.7.14 and that works fine. The web verison here: https://youtd2.com/ works as well.
It looks like it tries to allocate more video memory than I have. Details about the GPU I tested on below.