Terminated ./run.sh play #95
Labels
No labels
accessibility
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
github/lobomfz--VIctory-xmem#95
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
@MrRage18 on GitHub · 2026-12-01 18:44 UTC · original
Runs the program window pops up black then closes and outputs zsh: terminated ./run.sh play
@MrRage18 on GitHub · 2026-12-01 18:48 UTC · original
I did compile shaders
@MrRage18 on GitHub · 2026-12-01 19:03 UTC · original
@MrRage18 on GitHub · 2026-12-01 19:17 UTC · original
i am running RX 6600 ryzen 5 5500 with 16 gb ram could just be not enough ram :(
@samdesbois on GitHub · 2026-12-01 19:32 UTC · original
you can follow you'r ram status using 'htop'* linux command and sees if you're computer is using swap. On another port, using my swap wouldn't make the game crash. I haven't tested this repo yet but soon.
*: You may need to install it manually from your distro repos.
@EdouardSence on GitHub · 2026-12-01 21:36 UTC · original
On a 16 GB machine this is very likely
run.sh's memory cap and not a crash in the game.zsh: terminatedis what you get when the systemd scope thatrun.shstarts the game in goes over itsMemoryMax.run.shsets the cap toMemAvailable - KEEP_FREE(8192 MiB by default) and never goes below 2048 MiB:With 16 GB and a desktop running,
MemAvailableis usually 10-12 GB, so the cap lands around 2-4 GB. For comparison, on my 32 GB machine (RX 9070 XT, Series X, defaults) system RAM in use went from 6.0 to 19.8 GB while playing: the game used about 13.8 GB. A 2-4 GB cap gets the scope killed as soon as the world loads, which matches "window pops up black then closes".Things to try, in order:
journalctl --user -b | grep -i -E 'um-play|oom|memory'right after it closes should show the scope being killed.KEEP_FREE=1024 ./run.sh playkeeps only 1 GiB free instead of 8. Close the browser and Discord first.CONSOLE=series-s(Series S profile) needs less memory than Series X.MemorySwapMax=2G).Even so, 16 GB is tight for this. PR #93 adds a warning to
run.shwhen the cap comes out under 12 GiB, which would at least make this visible instead of a bareterminated.@MrRage18 on GitHub · 2026-12-01 22:39 UTC · original · edited 2026-12-02 00:15 UTC
getting same issue just different error now also tried the KEEP_FREE=1024
@MrRage18 on GitHub · 2026-12-01 22:41 UTC · original
@EdouardSence on GitHub · 2026-12-02 07:49 UTC · original
Correction to my comment above: I tested the memory-cap theory and it does not hold up.
I forced the smallest cap
run.shallows (KEEP_FREE=100000 ./run.sh playgivesMemoryMax=2048MandMemorySwapMax=2G) on my machine (RX 9070 XT, 32 GB,37bb30f, Proton-CachyOS). The game was not killed. It loaded the save and ran in the world for 5 minutes at 28-32 fps with 6,000-9,000 draws, until mytimeoutstopped it. The journal shows the scope starting and ending normally, with no OOM entry.So most of the game's memory is not charged to that scope's limit, or is reclaimed without a kill. A 2-4 GB cap on a 16 GB machine does not by itself explain
zsh: terminated. Please ignore theKEEP_FREEadvice as the fix. Thejournalctl --user -b | grep -i -E 'um-play|oom'check is still a cheap way to rule it in or out, anddmesg | grep -i oomwould show the kernel's own OOM killer if the whole machine ran out.Sorry for the noise.