run: Series S output is 1920x1080 unless set; larger sizes are named (#66) #289

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

@⁠TreXito on GitHub · 2026-12-03 04:09 UTC · original
TreXito:series-s-output → main · +68 −3 · 4 files · 1 commits · closed without merging

Fixes #66.

Cause

On the Series S profile the title takes its display buffers from a block it sizes for a 1080p swap chain. VIctory's default output is 2560x1440, so the title's swap chain buffers come to 15 MiB each (2560 wide, rows padded to 1536). The second one no longer fits, and the title stops at its own range check during System Init. That is the trap in #66, reported the same way on RDNA2, RDNA3 and RDNA4 cards, with every Wine/Proton tried, while Series X starts: it does not depend on the card or the runtime, only on the output size.

Measured here (an RDNA3 card, CONSOLE=series-s, same build, headless, committed resource sizes from victory_gpu::resource=debug):

VICTORY_OUTPUT swap chain buffers result
unset (2560x1440) 2 x 15.00 MiB trap during System Init, every run (3 of 3)
unset, with VICTORY_DISPLAY_MODE=2560x1440 or 1920x1080 2 x 15.00 MiB same trap (2 of 2)
1920x1080 8.44 + 7.91 + 15.82 MiB starts; two sessions in the world, one with a 7 minute city ride, no crash
1280x720 2 x 3.75 MiB gets past it

The reports of Series S working (#140 and others) all used VICTORY_OUTPUT=1920x1080.

Change

  • run.rs: with --console series-s and no VICTORY_OUTPUT, the output is 1920x1080, set before anything reads it, and the run says so. An asked size larger than 1920x1080 is kept, with a line saying the title will stop while it starts.
  • README.md, docs/SETTINGS.md, run.conf.default: say so at the output size.
  • Tests for the helper: unset gets 1920x1080, 1920x1080 / 1664x936 / 1280x720 are left alone, 2560x1440 and 3840x2160 are named.

Series X is unchanged.

Tested

  • Under Wine: the victory binary's tests (27, 3 new) and victory-core (24) pass.
  • CONSOLE=series-s with no VICTORY_OUTPUT: the run prints output 1920x1080 (the Series S profile's largest), starts and reaches the world (headless, about 19 fps at home).
  • CONSOLE=series-s VICTORY_OUTPUT=2560x1440: the run names the size, then the title stops at the same check as before.

🤖 Generated with Claude Code

https://claude.ai/code/session_01WNCfbX5dPKJzSkgbf16GX4

**@⁠TreXito** on GitHub · 2026-12-03 04:09 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/289) `TreXito:series-s-output` → `main` · +68 −3 · 4 files · 1 commits · closed without merging Fixes #66. ## Cause On the Series S profile the title takes its display buffers from a block it sizes for a 1080p swap chain. VIctory's default output is 2560x1440, so the title's swap chain buffers come to 15 MiB each (2560 wide, rows padded to 1536). The second one no longer fits, and the title stops at its own range check during System Init. That is the trap in #66, reported the same way on RDNA2, RDNA3 and RDNA4 cards, with every Wine/Proton tried, while Series X starts: it does not depend on the card or the runtime, only on the output size. Measured here (an RDNA3 card, `CONSOLE=series-s`, same build, headless, committed resource sizes from `victory_gpu::resource=debug`): | `VICTORY_OUTPUT` | swap chain buffers | result | |---|---|---| | unset (2560x1440) | 2 x 15.00 MiB | trap during System Init, every run (3 of 3) | | unset, with `VICTORY_DISPLAY_MODE=2560x1440` or `1920x1080` | 2 x 15.00 MiB | same trap (2 of 2) | | 1920x1080 | 8.44 + 7.91 + 15.82 MiB | starts; two sessions in the world, one with a 7 minute city ride, no crash | | 1280x720 | 2 x 3.75 MiB | gets past it | The reports of Series S working (#140 and others) all used `VICTORY_OUTPUT=1920x1080`. ## Change - `run.rs`: with `--console series-s` and no `VICTORY_OUTPUT`, the output is 1920x1080, set before anything reads it, and the run says so. An asked size larger than 1920x1080 is kept, with a line saying the title will stop while it starts. - `README.md`, `docs/SETTINGS.md`, `run.conf.default`: say so at the output size. - Tests for the helper: unset gets 1920x1080, 1920x1080 / 1664x936 / 1280x720 are left alone, 2560x1440 and 3840x2160 are named. Series X is unchanged. ## Tested - Under Wine: the `victory` binary's tests (27, 3 new) and `victory-core` (24) pass. - `CONSOLE=series-s` with no `VICTORY_OUTPUT`: the run prints `output 1920x1080 (the Series S profile's largest)`, starts and reaches the world (headless, about 19 fps at home). - `CONSOLE=series-s VICTORY_OUTPUT=2560x1440`: the run names the size, then the title stops at the same check as before. 🤖 Generated with [Claude Code](https://claude.com/claude-code) https://claude.ai/code/session_01WNCfbX5dPKJzSkgbf16GX4
On the Series S profile the title takes its display buffers from a block
it sizes for 1080p. At the default 2560x1440 output the second swap chain
buffer (15 MiB) found 3.25 MiB left and the title stopped at its own
check during System Init: the trap in #66, on every card and runtime
reported, while 1920x1080 and 1280x720 start.

With --console series-s and no VICTORY_OUTPUT the output is now 1920x1080,
set before anything reads it; a larger asked size is kept and named.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WNCfbX5dPKJzSkgbf16GX4
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-03 04:11:41 +00:00
github-bot force-pushed github-bot/gh-289 from f6d77def10 to 759f32d550 2026-12-03 07:30:37 +00:00 Compare
Author
Owner

@⁠goldfishdev on GitHub · 2026-12-03 16:30 UTC · original

Superseded by #327, which carries this change.

**@⁠goldfishdev** on GitHub · 2026-12-03 16:30 UTC · [original](https://github.com/lobomfz/VIctory-xmem/pull/289#issuecomment-7384967883) Superseded by #327, which carries this change.
github-bot closed this pull request 2026-12-03 16:47:04 +00:00

Pull request closed

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