linux/run-7900.sh: OVERRIDE/PLAY_EXTRA settings were overwritten by the defaults; no core dumps #36

Closed
github-bot wants to merge 1 commit from github-bot/gh-36 into main AGit
Owner

@⁠Timmybread22 on GitHub · 2026-12-01 06:50 UTC · original
Timmybread22:pr-launcher → main · +7 −0 · 1 files · 1 commits · closed without merging

Two small fixes in linux/run-7900.sh.

1. Settings from the environment were overwritten. env "${extra[@]}" comes after the exported settings, so any value given for a variable in extra (through OVERRIDE, PLAY_EXTRA or the preset) was silently replaced by the script's default: VICTORY_RELAY, CARD_STEPS, TEXTURE_NO_WAIT, JOIN_COPIES, etc. I noticed because VICTORY_RELAY=0 runs gave the same fps as the default; with the fix RELAY=0 really is off (and halves fps on RADV, 6.2 vs 13).
Now an extra entry is dropped when its variable is already set. For S70 the preset sets the same values as extra (checked), so nothing changes there; a preset or launcher that sets a different value now gets it.

2. ulimit -c 0. After a crash, systemd-coredump wrote the whole ~20 GB process out and froze the desktop for minutes. The game's own crash log is kept as before.

bash -n clean; used for ~40 runs here.

🤖 Generated with Claude Code

**@⁠Timmybread22** on GitHub · 2026-12-01 06:50 UTC · [original](https://github.com/Slaktarn700/SlaktarnVI/pull/36) `Timmybread22:pr-launcher` → `main` · +7 −0 · 1 files · 1 commits · closed without merging Two small fixes in `linux/run-7900.sh`. **1. Settings from the environment were overwritten.** `env "${extra[@]}"` comes after the exported settings, so any value given for a variable in `extra` (through `OVERRIDE`, `PLAY_EXTRA` or the preset) was silently replaced by the script's default: `VICTORY_RELAY`, `CARD_STEPS`, `TEXTURE_NO_WAIT`, `JOIN_COPIES`, etc. I noticed because `VICTORY_RELAY=0` runs gave the same fps as the default; with the fix `RELAY=0` really is off (and halves fps on RADV, 6.2 vs 13). Now an `extra` entry is dropped when its variable is already set. For S70 the preset sets the same values as `extra` (checked), so nothing changes there; a preset or launcher that sets a different value now gets it. **2. `ulimit -c 0`.** After a crash, systemd-coredump wrote the whole ~20 GB process out and froze the desktop for minutes. The game's own crash log is kept as before. `bash -n` clean; used for ~40 runs here. 🤖 Generated with [Claude Code](https://claude.com/claude-code)
The defaults in `extra` were passed to `env` after the exported
settings, so a value given through OVERRIDE, PLAY_EXTRA or a preset for
any of them (VICTORY_RELAY, CARD_STEPS, TEXTURE_NO_WAIT, JOIN_COPIES, ...)
was silently replaced: A/B runs of those settings never changed them.
Now an `extra` entry is dropped when its variable is already set.

ulimit -c 0: a crash of the ~20 GB process made systemd-coredump write
the whole process out and froze the desktop for minutes.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 06:55:26 +00:00
github-bot closed this pull request 2026-12-01 15:00:51 +00:00
Author
Owner

@⁠Slaktarn700 on GitHub · 2026-12-01 14:56 UTC · original

Taken, both parts (c11828f), thank you. Checked: an exported VICTORY_RELAY=0 stays, the script's value is used where nothing is exported; ulimit -c 0 as you wrote.

**@⁠Slaktarn700** on GitHub · 2026-12-01 14:56 UTC · [original](https://github.com/Slaktarn700/SlaktarnVI/pull/36#issuecomment-7315087546) Taken, both parts (c11828f), thank you. Checked: an exported `VICTORY_RELAY=0` stays, the script's value is used where nothing is exported; `ulimit -c 0` as you wrote.

Pull request closed

This discussion has been locked. Commenting is limited to contributors.
No description provided.