Install Steam
login
|
language
简体中文 (Simplified Chinese)
繁體中文 (Traditional Chinese)
日本語 (Japanese)
한국어 (Korean)
ไทย (Thai)
Български (Bulgarian)
Čeština (Czech)
Dansk (Danish)
Deutsch (German)
Español - España (Spanish - Spain)
Español - Latinoamérica (Spanish - Latin America)
Ελληνικά (Greek)
Français (French)
Italiano (Italian)
Bahasa Indonesia (Indonesian)
Magyar (Hungarian)
Nederlands (Dutch)
Norsk (Norwegian)
Polski (Polish)
Português (Portuguese - Portugal)
Português - Brasil (Portuguese - Brazil)
Română (Romanian)
Русский (Russian)
Suomi (Finnish)
Svenska (Swedish)
Türkçe (Turkish)
Tiếng Việt (Vietnamese)
Українська (Ukrainian)
Report a translation problem
Only current solution is to quit and then run BleachBit to clear the RAM... makes playing on a PW basically impossible in more than one hour chunks.
I was able to load multiple tiles in a row without the accumulating memory usage in build8192.23
hope this helps someone. I have already submitted a bug ticket.
This severely breaks the game. I would advise against even buying it in this state if you plan to play on linux.
There are some pinned topics in the steam forums. Try the 32bit client using proton. Maybe that will work.
Also, having toyed around with 8195.34 some more (i.e. latest build) I don't see any memory leak on my Nvidia PC. Possible it's an AMD/Steam Deck only issue?
May also involve specific graphics options too; I turned everything down to mostly match Diamond Edition, so it's possible it only affects those with the more advanced graphical options enabled.
Need to compare it to my desktop PC with an Nvidia GPU, but it definitely is noticeable. Hopefully the next build fixes this bug. If not, then I guess the game will require playing only a few hours at a time, with a reboot afterwards to clean out garbage from the RAM.
What a kafkaesque way to die.
Script below:
Save the script somewhere you can easily remember it (your home directory, or any other user-accessible directory, up to you) with a name like nwngarbagecleanup.sh, then set your launch options for NWN to the following:
What this basically does is, after closing the game it runs the bash script, which clears all unused garbage data NWN left behind after closing. Thanks to echo PASSWORD | sudo -S, it runs automatically without requiring your password, which on Steam Deck is incredibly useful as it's kinda hard to enter in a password in game mode, especially one on the terminal.
Worth noting that this doesn't FIX the memory leak, it just cleans up after NWN closes so that you don't have multiple gigabytes of garbage stuck in your RAM, meaning after closing the game and reloading the game it should be as close to a fresh reboot as possible without rebooting. In testing on the Steam Deck, rebooting and immediately running the game after rebooting had 1.6 gb of ram used up at launch, while the script cleaned up the RAM to about 2.2 gb or so after closing and reopening the game; way better than without the script, where RAM just kept on getting higher until it eventually hit such a high number that the Steam Deck promptly forcibly rebooted from a lack of available RAM.
I'd recommend also that if you're using Protontricks to load the toolset using the NWNEE prefix presumably created before switching back to the native Linux build, that you use the following bash script to run the toolset instead of right clicking the toolset and running it through Protontricks:
Basically the above bash script runs the toolset using the NWNEE proton prefix, then when it closes it runs the garbage cleanup script above. This is in case the toolset has the same memory leak. At the moment I'm not sure it does, but better safe than sorry. Obviously not needed if you're actively using Proton instead of the native build; in that case the launch argument further above above should suffice.