Open glaubersm opened 3 years ago
Hi, hmm, that's weird. Yeah, the game is memory intensive, but you are right that such memory allocation should not happen. Unfortunately, I have no machine with only 8GB of RAM so I can't test it on such lower-end system. Let's hope that the new Director's Cut edition (that I plan to update to) with compressed textures and other memory optimisations will at least partially resolve these issues...
Hello @glaubersm, a new Total Chaos Flatpak version (1.32) was just released. Please, let me know if you are still able to reproduce this issue. Thanks!
The problem persists.
Total Chaos Flatpak just got updated along with GZDoom and other dependencies. The update should be live on Flathub in a few hours. Please, retest and let me know whether the problem still persists. Thanks!
Currently my pc has 16 GiB of RAM and the memory leak persists. Fortunately the current kernel kills the process and my pc no longer becomes completely unusable.
That's really strange. :-/ I have tried this Flatpak on multiple computers with multiple software and hardware configurations and did not have any issue at all.
Do your computers have intel iGPU?
One of the machines I have tried Total Chaos on was a ThinkPad laptop with integrated Intel GPU. The game was really slow on that machine, but there was no memory leak.
Well, what a bizarre problem then. :( In addition to the memory leak, the game is unusable on my pc due the extremely low framerate. I do no kwow what are the hardware requeriments.
The game is pretty demanding, especially regarding the GPU, so low framerates on an iGPU setup are pretty normal. However, there should not be any memory leaks.
Hi @glaubersm, I just released a build to get a retro version of the game (just for fun). It has lower resolution, but maybe it can help you. You can install it along with the Flathub's version.
@mbugni Wow, that's cool! Do you plan to release it on Flathub? :-)
Download (inside project directory) the original totalchaos_dc_retro_b5.zip file from:
@mbugni What is the "project directory"?
@mbugni Wow, that's cool! Do you plan to release it on Flathub? :-)
Hi @AsciiWolf, I'm not a game expert or a package maintainer. This is my very first manifest. I followed your work on regular version (thanks guys!) and added this patch to the retro version:
build-commands:
# Patch shaders to avoid runtime errors
- unzip totalchaos.pk3 SHADERS/old.fp
- sed -i 's/texture2D/texture/g' SHADERS/old.fp
- zip -u totalchaos.pk3 SHADERS/old.fp
But I'm not sure to understand the reason, just googled about it. If you think is feasible, I'll be glad to collaborate.
Download (inside project directory) the original totalchaos_dc_retro_b5.zip file from:
@mbugni What is the "project directory"?
It's the directory where you dowloand the project files, the one which contains the io.github.mbugni.TotalChaosRetro.yaml
file.
FYI
I tried to build the retro edition on my 10+ years old laptop, but it didn't work because GZDoom 4 requires OpenGL 3 or later and my laptop supports only version 2.1. So I decided to use the GZDoom v3.8.2 legacy version, which supports older OpenGL. Now the game run fast(!) and smoothly(!) even on my old PC, which has:
I think GZDoom legacy engine is definitely the best choice for retro edition, so I decided to modify my build to use it. Hope it helps.
I have installed Total Chaos Retro from flathub and I'm unable to reproduce the memory leak with it. However, mouse input is not working.
Just this app? All flatpak apps? Flatpak version?
@glaubersm if the mouse problem persist, I think we can move the discussion on TotalChaosRetro repo. @AsciiWolf I think the memory problem has gone with the lighter version.
Mouse works with other games from flathub: Total Chaos Nexuiz Classic Unvanquished
I use Arch Linux running KDE Plasma 5.27.5 and flatpak 1:1.15.4-1.
Stupid question, anyway: is mouse enabled (Options > Mouse Options > Enable mouse > Yes) ?
I have just tried the Flathub build of Total Chaos Retro and mouse works fine in game on my system.
"Enable mouse in menus" was disabled. I have enabled it and now the mouse works. :) Thanks.
I'm not sure if it's related but in my case it doesn't stop the whole computer, it just hangs some minutes during map loading and then crashes. On my logs software I see a memory outage, but I solve the problem by setting one of the other 2 renderers instead of hardware acceleration. But then despite the game is finally playable the problem is that it loads some yellow and green squares on certain points of textures. And moreover certain settings aren't saved once restarting the game.
Can confirm. Currently the computer remains usable and the game crashes.
To those whose game crashes try one of the other 2 renderers as I did. Also, if this way it works please tell me if you see paranormal squares on some textures.
doom and true color software rendering work, can confirm squares with true color render.
Thanks for telling it, but I have squares on both these 2 renderers. To whom tried the Retro Edition, did you notice this bug either, some others or none?
Yes, seems that, it's mentioned AMD like mine in the flat version of course. Anyway I uninstalled the game after trying different configurations concerning the rendering and other “heavy settings” and getting no particular help from the official Discord server. Changing the renderer made the game playable but at the cost of showing cubes in certain spots and not loading textures to certain objects (like doors and keys, I found a key on the room upstairs on the first map by luck, I was just clicking around 😄) I decided to stop it. Moreover there was a known bug that was making certain configurations to be discarded once the game was closed and this problem plus the previous 2 ones made me lose the interest.
Hi I trying to run total chaos on Arch Linux running X11 session of KDE Plasma 5.19.4 desktop environment but it is unusable because an huge memory leak that begins when I start a new game and makes the whole computer to stop.