PC display settings in the game's own Settings menu: Video rows, a Graphics tab, frame generation while playing #1981

Open
abilliontokens wants to merge 24 commits from upstream-pr/1981 into main
abilliontokens commented 2026-11-29 05:41:15 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by abilliontokens on 2026-11-29T05:41:15Z.


Fixes #: none of its own. Related: #914 (how to change the resolution), #1063 (a fullscreen switch), #1382 (AwkGrep256's typed settings and stock Graphics research, folded into this PR) and Marvisak/VIctory#2862 (an out-of-memory crash on confirming a stock Graphics change).

What it changes

The retail build still has its PC display settings, but the console menu hides them and its dictionaries have no text for them. This shows them in the game's own Settings menu and makes each one do something on a PC. It's the settings part of the branch behind #937, rebuilt on main at 41adb551, without #937 and without its ✕ Save button: no new crates, no binary asset, nothing written to the game's files.

Credit. This is the combined PR proposed in the #1981 comments (Option B), which AwkGrep256 agreed to: #1981's menu mechanisms, with AwkGrep256's #1382 folded in and AwkGrep256 as co-author of the commits that carry his code and research. From #1382:

  • the typed Choice / Opt core and the restart_choices! macro (victory_core::settings), which declare each setting once: its key, stored values, labels, default and the settings it depends on;
  • the stock Graphics label research (victory_core::settings::stock_labels): VIctory's English for the stock Graphics rows, 69 by their label ids and 8 nameless rows by their place after a named row, the help of 5 rows that have none and the headings of 2 untitled groups, and the way those groups are recognised (by a row they hold);
  • the DLSS Frame Generation multiplier limit (streamline::dlss_framegen_multiplier_limit);
  • the start plumbing that reads the Upscaler choice (VICTORY_MENU_UPSCALER) in victory play and play-foxhound.ps1.

Both PRs patch the same Settings menu, so only one of each mechanism is kept. From #1981: the tab registration cave (with #1382's section adder as well there would be two Graphics tabs), the text-lookup hook (it also names the steppers' values; #1382's text-map injection and DirectStorage scan are not taken) and its own site writer (#1382's loader redirect, patch and memory helpers are not taken). Choices are saved when Settings is left, not on every step as in #1382. Where the rows behave differently from #1382's branch: Frame Generation Type switches live except to and from FSR 4, and the DLSS model applies from the next upscaling.

The settings

A choice is pending until Settings is left; the menu's NO puts it back. "Live" means it applies while playing. No row makes the game reset its graphics device by default: that reset hung in game (see the known issue below), so every change that needs it is saved when Settings is left and applies the next time the game starts. VICTORY_LIVE_RESETS=1 (experimental, off by default) turns the live resets back on, for investigating the hang.

Row Where Applies
Resolution Display > Video Next start. The pick is saved as resolution= in pc-settings.txt when Settings is left (NO drops it) and the next start begins at it; the game's resolutionFullscreen is never written, so the game never resets its device for it. With VICTORY_LIVE_RESETS=1: live, through the game's device reset, where the output can change (Series X with the native output path, not in a DLAA session or with VICTORY_NATIVE_4K=1 without a saved size). Values: the sizes the display the game's window is on offers (the primary display before the window is there), 1280x720 up to 3840x2160, plus 2560x1440 and 3840x2160 always
Refresh Rate Display > Video Live, no device reset. In Fullscreen the monitor is switched to the rate at its current resolution; Windowed, Borderless and 60 Hz keep the desktop's rate. Saved as refresh= in pc-settings.txt, taken by the layer within a quarter of a second of the menu being left. The game's refreshRate is never written. Values: 60 Hz plus the higher rates of the display the game's window is on
Window Mode Display > Video Live, no device reset. Applied to the title's window within a quarter of a second of the menu being left (window= in pc-settings.txt); no buffers are made again, so frame generation runs on across a change. The game's adapterIndex is never written. Values: Windowed, Borderless, Fullscreen (a borderless popup over the monitor, no exclusive mode)
VSync Display > Video Live, no device reset. Applied to VIctory's presents within a quarter of a second of the menu being left (vsync= in pc-settings.txt). The game's vSync is never written. Values: Off, Every Refresh (Present(1)), Every Second Refresh (Present(2)); through DLSS Frame Generation's swap chain, which takes a sync interval of 1 at most, every second refresh is every refresh
Triple Buffering Display > Video Live, no device reset. On keeps the eight swap chain buffers of multi-frame generation (#1233), Off leaves two, by ResizeBuffers within a quarter of a second of the menu being left (triple= in pc-settings.txt). The game's tripleBuffered is never written: with the Series X profile, three of the title's output targets are more than its UI pool holds. Frame generation's swap chains keep their own buffers. Values: Off, On
DLSS Frame Generation Display > Video, and F1's FRAME GENERATION Live at every start with DLSS: the launchers now make frame generation ready and dormant by default (on from the start with --framegen), and it applies at the next present after Settings is left. A start with victory play --no-framegen-ready (play-foxhound.ps1 -NoFrameGenReady), or without DLSS, takes it at the next start. Saved in victory-settings.txt. Values: Off, 2X to 6X, within what the picked type can run and the driver's multiplier limit, as in F1
Frame Generation Type Display > Video, and F1's FRAME GEN TYPE Live except FSR 4: Auto, DLSS and FSR 3 switch while playing where frame generation is ready, the swap chain made again between two frames. To or from experimental FSR 4 (#1106) at the next start: its PC upscaler takes DLSS's place at a start. FSR 3 shows 2X whatever the level says
DLSS Model Display > Video, and F1's DLSS MODEL Live where DLSS upscales: from the next upscaling (set_dlss_preset; Auto names one per DLSS mode). A run without DLSS takes it at the next start. Values: Default, Auto, K, J, M, L
Console Display > Video (new row), and F1's CONSOLE Next start. The title reads the console type once, at its start, and it selects the renderer, the memory heaps and the pools. Values: Series X, Series S (Faster)
Upscaler Display, a new Upscaling section Next start, where the launchers read it: Title runs the game's own upscaler (no DLSS, no Streamline, frame generation not prepared), DLSS runs DLSS, Auto follows the saved DLSS quality. The renderer choice and Streamline are set up before the title starts. Values: Auto, Title, DLSS
Series X Picture Display (new row), and F1's SERIES X PICTURE Next start, saved when Settings is left. With VICTORY_LIVE_RESETS=1: 2560x1440 and 3840x2160 through the Resolution path, and 1080p to 1440p below 3840x2160 output where the title's own temporal pass runs, both through the game's device reset. Offered only when the Console row is Series X
DLSS Quality; Series S Render Resolution Display, the Upscaling section (DLSS Quality) and a new row (Series S Render Resolution); F1's DLSS and SERIES S PICTURE Next start, at every output size, saved when Settings is left. With VICTORY_LIVE_RESETS=1: live where DLSS upscales, below 3840x2160 output, through a same-size device reset (DLAA only up to 2560x1440's pixels, and not while FSR 3 frame generation runs). Values: Quality, Balanced, Performance, Ultra Performance, DLAA (native), Off; Series S Render Resolution 1280x720 (the game), 1113x626, 960x540, 640x360 (fastest), offered only on Series S and not with the Title upscaler, and kept paired with DLSS Quality
The stock Graphics rows Graphics tab (Graphics and Advanced Graphics sections) All named, editable at every output size. Next start: before SetSettings runs (Accept, or the menu's own apply when Settings is left) their changes are put back, so the game never resets its device for them, and kept as VIctory's choice: saved as stock= in pc-settings.txt with YES, dropped with NO. At every start the settings-store stub writes the kept values into each settings store the title makes, before its graphics device is created, so they apply and stay from start to start (in the stock game most of these rows, the enum-typed ones, are not saved at all). Without the native output path (Series S) the stub is not there, so the rows are read-only and say so. Render scaling (scalingMode) is not kept where its scene would have more pixels than 2560x1440 (see below). With VICTORY_LIVE_RESETS=1: as before, the game applies them itself through its device reset below 3840x2160 output, and at 3840x2160 only with VICTORY_STOCK_GRAPHICS_4K=1

How it fits together:

  • Every change to the title is a patch of its image, made only after the site matches the retail build's stock bytes (BLAKE3). On another build nothing is patched. VICTORY_PC_SETTINGS=0 turns the rows and their patches off. The rows' patches are written after the image is mapped (apps/victory/src/pc_settings.rs); the native output path's go into the prepared image in the cache, as #541's do.
  • The English labels come from a hook at the title's text lookup (0x14375D280): it asks victory_gpu::pc_text first, and every other key goes on to the game's dictionaries. pc_text answers, in order: VIctory's own keys; #1981's wording for the stock rows; then every text of victory_core::settings::stock_labels, #1382's research. Eight Advanced Graphics rows have no label key at all; VIctory gives them keys of their own as their widgets are made. The five stock rows without a description key (Alpha Transmission and four Ray-Traced shadow rows) get VIctory's, and the two groups the title builds without a heading (its Display and Advanced groups) are named at the per-tab build (0x239D631), each recognised by a row it holds. No stock row's label is blank. The Settings widget pool is made with 16 more widgets than its tunable asks (0x5B038BA), room for the rows VIctory adds.
  • The console menu has no key that saves. It applies its working copy when Settings is left, asking SAVE SETTINGS? after a change that needs a device reset; YES applies and saves, NO puts the old settings back. VIctory's own rows (Resolution, Refresh Rate, Window Mode, VSync, Triple Buffering, the launcher's rows and the five VIctory rows) keep their choice pending until the menu is left and dropped by its NO; then it is saved, and the layer takes what the run can use. Without #937's ✕ Save, nothing applies until Settings is left.
  • The five VIctory rows (Console, Series X Picture, Series S Render Resolution, Upscaler, DLSS Quality) ride on members the console build keeps on its hidden Internal tab, relabelled as the launcher's rows are; they are never written. An enum gate at the widget factory's type-14 entry sends their enums to the stepper, the bool gate and the rows' vtable swap go by one table of all the rows' members, and the members' tabs are patched to the Display tab. Every site is checked against the retail build's bytes first.
  • With VICTORY_LIVE_RESETS=1, a scene change made live writes into the image the scene's scale literal and FidelityFX mode (DLSS Quality, Series S Render Resolution, where DLSS upscales) or the temporal scale (1080p to 1440p, only with no upscaler, where the title's own temporal pass runs), then toggles outputIndex in what is handed to SetSettings: the title's settings-change detector compares that field and its apply ignores it, so a same-size device reset follows and the title sizes its scene again. A scene already applied at Accept is not applied again when Settings is left, so there is one reset, not two.
  • graphics_choices declares the launcher's and the graphics settings once, with restart_choices!: console profile, Series X picture, Series S render resolution, upscaler, DLSS quality, frame generation level and provider, and DLSS model. The stored values are byte for byte the ones the F1 menu and the game's rows already save in victory-settings.txt; which rows another makes available, the Series S pairing of render resolution with DLSS quality, and the provider's multiplier range are functions of the stored values. F1's DLSS, FRAME GENERATION, FRAME GEN TYPE, CONSOLE, SERIES X PICTURE, SERIES S PICTURE and DLSS MODEL read their values and names from it, as the game's launcher rows and VIctory rows do (pc_rows' own tables are gone). F1's FRAME GENERATION and the game's DLSS Frame Generation row step through what the active provider runs, within the multiplier limit: FSR 3 and FSR 4 Off and 2X; DLSS Frame Generation Off and 2X up to the driver's most frames once a present reports it, else 6 on an RTX 50 or later and 2 before; under Auto, whichever of them is active. A saved level past that is lowered to the highest one offered, when Settings is left and at the next start.
  • Dependent rows (as AwkGrep256 asked on this PR): a row whose conditions don't hold — Series X Picture without Series X, Series S Render Resolution without Series S or with the Title upscaler, DLSS Quality while DLSS isn't the upscaler in use — is shown greyed: the widget's state and its ENABLED and VISIBLE properties are written as the title's own get publishes them (the property call at 0x239EEE0, #1382's keys), and the row ignores its steps. A change of the parent row greys or frees them at once, in the menu. The conditions are checked again when Settings is left: a pending choice whose conditions no longer hold is refused, not saved, and the row shows the saved value again.
  • Frame generation can be turned on, changed and turned off while playing, from F1 or the rows. Turning it on or off, or changing its kind, makes the swap chain again between two frames (Streamline's DLSS-G guide, section 18). While it's off, nothing of it runs: DLSS-G is unloaded, the swap chain is our own and Reflex is off (on only while frame generation runs, which covers #250's change). A start with frame generation on, or made ready and dormant, can change it while playing; any other start takes the choice at the next start. Turned on, the textures are held under 80 % of the card's budget, and it waits up to 5 s for that room.
  • The launchers no longer set VICTORY_TEXTURE_ROOM_PERCENT (80 % with frame generation on, 86 % ready, for the whole run); the layer holds 80 % only while frame generation runs or is about to. #471's VICTORY_FRAMEGEN_ROOM_RESERVE stays: the launchers set it whenever frame generation is asked for (on from the start, or --framegen-ready; not by the new default's readiness, so a start that never asks keeps the texture room it had), and where no frame-generation backend is available the layer still keeps textures under 80 %. play-foxhound keeps 74 % for -FrameGen above 2x, from e1681b6. The first start's shader preload (#1897) now happens only with DLSS frame generation on from the start. Both frame generations are made ready whichever type is picked (FSR 3 still not with DLAA, #663), so MFG Unlocker (#1089) is now left out when FSR 3 is picked, where VICTORY_FRAMEGEN=1 alone used to tell it apart.
  • MFG Unlocker (#1089), if turned on in F1, now also loads at every start with DLSS (not with --no-framegen-ready, nor with FSR 3 picked), because frame generation is made ready there by default; before, it loaded only with frame generation on or --framegen-ready.
  • There is no Monitor row: the DLSS Frame Generation row sits on its member, outputIndex. Under VIctory the title never acts on that member (the device setup's copy of the adapter and output indexes is patched to zero, and the settings' apply never reads it), so a Monitor row has nothing title-side to set. Which display the game is on is VIctory's window: the Resolution and Refresh Rate rows list the modes and rates of exactly the display the window is on (the primary one before the window exists, as at the start, where the saved size is checked), which is also the display whose rate Fullscreen changes. A host-side Monitor row that moves the window needs a row with no member behind it, as #1382's row-append code adds; that is a follow-up with AwkGrep256.

Frame generation is put away on the title's reset. With VICTORY_LIVE_RESETS=1, a Resolution change, a stock Graphics change below 3840x2160, or a scene change made live makes the title reset its graphics device: it destroys its upscaler and makes it again. While frame generation runs, the present goes through its swap chain, DLSS's or FSR 3's, and Streamline's DLSS-G guide, section 12 (DLSS-G and DXGI), asks for DLSS-G to be off across such a change:

"As a general rule, when the host is changing resolution, switching between full-screen and windowed mode, or performing any other operation that could cause SwapChain::Present to deadlock, DLSS-G must be turned off using the sl::DLSSGOptions::mode field."

So when the title destroys its upscaler (ffxDestroyContext), what was sent runs, and frame generation's swap chain is made VIctory's own again, frame generation off, as for a change of frame generation (section 18: "the swap chain must be torn down and recreated every time DLSS-G is switched on or off"). None of frame generation's is made, and anything asked waits, until the title upscales again. Then frame generation is asked again as it was, and its swap chain comes back at one of the next presents once the card has room for it. The Refresh Rate, Window Mode, VSync and Triple Buffering rows do not reset the device. This is the guide's rule, not a fix for the hang below: one of the two hung resets ran with frame generation off, through VIctory's own swap chain.

A change for every Series X start. With the rows on, which is the default on the retail build, every Series X session runs the native output path so that Resolution can change: at the saved size, else at VICTORY_NATIVE_1440P's (#1808's monitor shape), else at the stock 3840x2160 output with the stock 2560x1440 scene. That path sizes the UI pool for 3840x2160 (128 MiB, where the stock title has 64 MiB), grows the scene pool to 1,597 MiB through #1274's heap_budget::prepare_scene_pool (reserved; units no target uses cost no memory), and keeps the title's own output buffers at two: its triple-buffering setting made three, more than the pool holds. The Triple Buffering row still sets VIctory's swap chain. VICTORY_PC_SETTINGS=0 gives back the stock path.

Known issue: the title's device reset hangs. The game resets its graphics device when SetSettings is handed settings whose reset-triggering fields changed (resolution, outputIndex, refreshRate, vSync, tripleBuffered and the graphics fields). In game that reset hung four times: two same-size resets at a 3840x2160 output, a VSync change under frame generation, and a Resolution change from 2560x1600 to 1920x1080. All four logs end the same way: the title destroys its upscaler, makes it again, and asks for its big address-space reservation (XMemVirtualAlloc, 1957 MB, a placeholder: address space only, no large pages), which never returns. The process could not be killed afterwards and the PC needed a reboot. The allocation path is the same as on main, and a review of the locks the path takes after the reservation found no cycle. The best fit so far is a stall inside the kernel: in the reservation itself, or behind the process heap lock whose owner is stuck in a kernel memory call (one hang's thread dump had five threads waiting on the heap lock). About 1 GB of RAM was free 3 s before the last hang. #2862 reports an out-of-memory crash when a stock Graphics change is confirmed. The cause is not found yet; the next hang will be recorded with a WPR trace (context switches with stacks, the GPU and virtual allocation), which shows what the stuck threads wait on.

Until it is found, nothing in this PR makes the game reset its device by default:

  • Refresh Rate, Window Mode, VSync and Triple Buffering are VIctory's own and never write the title's members.
  • Resolution, Series X Picture, DLSS Quality and Series S Render Resolution are saved when Settings is left and apply at the next start, at every output size.
  • The stock Graphics rows stay editable, but their changes are put back before SetSettings runs, on both paths that hand it the working copy: Accept (SAVE SETTINGS? YES) and the menu's own apply (0x23A5A50) when it is left. They are kept as VIctory's choice and written into each settings store at the next start, before the device is created (see the table). A test checks that by default neither path hands SetSettings a changed reset-triggering field, at 2560x1600 and at 3840x2160.
  • VICTORY_LIVE_RESETS=1 (experimental, off by default) restores the live paths for investigating the hang: Resolution and the scene rows through the device reset, and the stock rows applied by the game below 3840x2160 output (at 3840x2160 only with VICTORY_STOCK_GRAPHICS_4K=1).
  • Stock render scaling (scalingMode) is never applied or kept where its scene would have more pixels than 2560x1440. The title commits that render-target heap at its start (stock 2199 MB), and raising it would cost 5.8 GB of commit on every start. A changed value is put back. An output change that pushes a kept ratio past that sets 2/3 (where 2/3 does not fit either, the largest value that does).
  • Diagnostics for the next hang: console memory calls of 64 MiB or more (XMemVirtualAlloc, XMemAllocatePhysicalPages, XMemMapPhysicalPages) log a line as they start (size, kind, protection, flags, thread) and one as they return (result, elapsed ms), and a call of any size that took over a second logs its return too. The guard logs what Settings hands SetSettings: every field that differs between the working copy and the committed settings, with its offset, old and new value (display fields and scalingMode by name) and their count.

Commits (SHAs as pushed):

  1. 0f869c09 PC settings: Display > Video rows and a Graphics tab in the game's own Settings menu
  2. b8a58233 PC settings: Fullscreen takes the Refresh Rate row; Triple Buffering sets the swap chain's buffers
  3. 3e0f508f PC settings: every Resolution size starts, and Resolution changes the output live
  4. 52cbe2ee Frame generation turned on, changed and off while playing; --framegen-ready makes it ready and dormant
  5. ca15ff1f PC settings: DLSS Frame Generation, Frame Generation Type and DLSS Model rows in DISPLAY > VIDEO
  6. 3ae50c82 Settings: the typed Choice core and stock Graphics labels from #1382 (co-authored by AwkGrep256)
  7. 2c9249b6 xmem: big and slow console memory calls are logged as they start and return
  8. 95e0ed2e Settings: typed choices for the launcher's and the graphics settings, from #1382 (co-authored by AwkGrep256)
  9. 49fab593 PC settings: Refresh Rate, Window Mode and Triple Buffering are VIctory's own, applied live without the game's device reset
  10. 2af28967 PC settings: the launcher rows take their values and names from the typed choices (co-authored by AwkGrep256)
  11. 41770005 F1: the typed rows take the typed choices; FRAME GENERATION offers what the card generates; DLSS MODEL is live (co-authored by AwkGrep256)
  12. 31c278df PC settings: Accept names what it changes; stock Graphics rows are not applied at 3840x2160 output; render scaling stays within the render-target heap
  13. e4c669c7 PC settings: every stock Graphics row is named, from #1382's research (co-authored by AwkGrep256)
  14. 273397a3 Launchers: the Upscaler choice is read at start (co-authored by AwkGrep256)
  15. 071c103e PC settings: Console, Series X Picture, Series S Render Resolution, Upscaler and DLSS Quality rows; leaving the menu is guarded like Accept (co-authored by AwkGrep256)
  16. 891182f6 PC settings: DLSS Quality, Series S Render Resolution and Series X Picture 1080to1440 apply live below 3840x2160 output
  17. de99c1a5 PC settings: the stock rows without help get theirs, the two untitled groups get headings, the widget pool has room for our rows (co-authored by AwkGrep256)
  18. a6124c37 PC settings: a site whose protection cannot be restored or whose instruction cache cannot be flushed is an error (asked for by AwkGrep256 on this PR)
  19. f6e97356 PC settings: launcher rows validate and grey under their conditions at save (co-authored by AwkGrep256) (asked for by AwkGrep256 on this PR)
  20. 041e66a0 PC settings: the live scene's literals are written as a patch site is, and leaving the menu unchanged writes no scene
  21. daa60c86 PC settings: the caves' code is decoded and checked by tools/cave-decode
  22. 812f4539 PC settings: Resolution and the scene rows apply at the next start; live only with VICTORY_LIVE_RESOLUTION=1
  23. fad4eee5 PC settings: stock Graphics changes are kept and applied at every start; live resets only with VICTORY_LIVE_RESETS=1
  24. e6ed9c2b Launchers: frame generation made ready, dormant, at every start with DLSS; --no-framegen-ready not

The heads pushed before crashed in game despite green gates: c1fe1931 at start (the widget-pool cave stored to a mistyped address over a site holding a branch target), and 83e22501 when Settings was opened (the group-headings cave clobbered rdx, which the call it displaces takes) and when Settings was left (the menu-apply guard called GetCurrent through [rcx+0x48] where the title calls [rax+0x48]). Those three are fixed in commits 15 and 17. Every cave is now decoded and compared instruction by instruction, with the retail sites it replays or mirrors, by tools/cave-decode (commit 21). This head was pushed without the scripted in-game run (see "Not verified" below).

Left out from the source branch: everything of #937 (the PlayStation prompts, VICTORY_FILE_PATCH, png and zopfli, the controller picture), and the ✕ Save button with its caves and settings_save.rs, because its prompt was put on the screen by #937's patch of data.rpf.

Docs: docs/pc-settings.md (new: the rows, when a change applies, the text, the stock Graphics rows), docs/dlss.md (turning frame generation on and off while playing; the title's device reset), the README, and the code sketch in docs/native-graphics-proposal.md, which called the set_framegen this replaces.

Cargo.lock changes in one way only: two lines, both dependencies between this repository's own crates. The victory app now depends on victory-gpu, and victory-gpu on victory-core, for the typed settings. No outside crate is added or changes version. The Cargo.toml files also ask windows-sys for more features: three for victory, one (Win32_Graphics_Gdi) for victory-gpu. The consequence: victory-gpu's build script hashes Cargo.lock into the shader cache key, so everyone's shader cache is translated again once, at the first start after updating.

Switches

Switch Effect Status
VICTORY_PC_SETTINGS=0 turns the whole feature off new
VICTORY_LIVE_RESETS=1 experimental, off by default: the rows that need the game's device reset apply live through it (Resolution, the scene rows, the stock Graphics rows below 3840x2160), for investigating the hang; without it they apply at the next start new
VICTORY_STOCK_GRAPHICS_4K=1 with VICTORY_LIVE_RESETS=1, the stock Graphics rows apply live at a 3840x2160 output too new
VICTORY_MENU_UPSCALER (victory-settings.txt) read at start by victory play and play-foxhound.ps1: title runs the game's own upscaler (no DLSS, no Streamline, frame generation not prepared), dlss runs DLSS (Quality where the saved mode is off), auto or unset follows the saved DLSS mode new
VICTORY_FRAMEGEN_X=0 frame generation made ready but off, until F1 or the game's Settings turns it on new value
VICTORY_FRAMEGEN_SCRIPT=<seconds>:<times>[:<kind>],... a check with nobody at the keys: that many seconds after the first present, frame generation is asked as a settings menu asks it (replaces VICTORY_FRAMEGEN_CYCLE) new
victory play --no-framegen-ready, play-foxhound.ps1 -NoFrameGenReady a start with frame generation not made ready (the launchers now make it ready and dormant at every start with DLSS; --framegen-ready / -FrameGenReady is still taken and wins) changed default
VICTORY_FULLSCREEN=1 the older borderless switch: a popup covering the screen from the start; the Window Mode row is then not followed existing
VICTORY_TEARING=0 no tearing presents, whatever the VSync row says existing
VICTORY_DISPLAY_MODE=WxH the display mode reported to the title at start existing
VICTORY_DISPLAY_REFRESH=<hz> an extra refresh rate in the reported mode list and in the Refresh Rate row existing

How to try

  1. Retail 1.0.2.1. The patches are made only where the site matches the retail build's stock bytes; on another build nothing is patched. The rows are on by default.
  2. Start as usual with the Series X profile. Settings > Display shows the Video rows, and the Graphics tab comes after the console's tabs. Change a row and leave Settings: YES to SAVE SETTINGS? keeps the change, NO puts it back.
  3. To change frame generation while playing, start as usual with DLSS: the launchers make it ready and dormant by default. Then F1 (FRAME GENERATION, FRAME GEN TYPE) or the game's rows turn it on, change it and turn it off.
  4. The Graphics tab's stock rows step at every output size. Leaving Settings with YES keeps the changes for the next start: they are put back before SetSettings runs, so the game does not reset its device, and saved as stock= in pc-settings.txt; the log says settings rows: stock choice <name> saved; applies the next time the game starts, and at the next start settings rows: stock choice <name> = <value> applies at this start. VICTORY_LIVE_RESETS=1 (experimental) lets the game apply them live instead, through its device reset.
  5. The five VIctory rows are on the Display page: Console at the end of the Video section, the two picture rows after it, and Upscaler and DLSS Quality in an Upscaling section. Their changes, like Resolution's, are saved when Settings is left and apply at the next start.
  6. What is saved where: VIctory's rows in pc-settings.txt (resolution=, refresh=, window=, vsync=, triple=, and the stock Graphics choices as stock=), the launcher's and the typed choices in victory-settings.txt; both in VICTORY_HOME, else %LOCALAPPDATA%\victory. Removing a row's line there, with the game closed, goes back to its default until the row is chosen again, as docs/pc-settings.md says for each.
  7. Log lines of a change: settings rows: Resolution WxH saved; the next start runs at it, display settings: the swap chain has N buffers (Triple Buffering on), and at a reset with frame generation frame generation: the title resets its graphics device (its upscaler went): ....

How it was tested

  • GPU and profile: the combined branch has not been run in game. The branch before the combination was, on an RTX 5060 Ti 16 GB (Windows 11, driver 621.24), Series X profile, DLSS Quality, frame generation on.
  • Before: main not run in game for this PR.
  • After: not run in game on the combined branch; on the branch before it, see "Run in game so far".
  • For shader changes, the wave sizes tested (32 and/or 64 lanes): no shader changes.
  • cargo test passed for the crates it touches: see "Verified" below.

Verified: unit tests, builds and policy.

On the final head (e6ed9c2b, on main 41adb551), Windows 11:

  • cargo check --workspace --tests: each of the 24 commits builds on its own.
  • cargo test --workspace --no-fail-fast (with VICTORY_DISPLAY_PROFILE_TEST_IMAGE set), on this branch rebased onto main 41adb551: 2313 passed, 6 failed. Five fail on that main too: three bcpack::tests::oracle_parity_*, xtask's policy::tests::repository_passes_policy and shader_cache::tests::every_switch_of_the_translator_is_in_the_key. The sixth is the timing-sensitive xmem test below, which failed in main's own run too.
  • Seen while gating and also seen on main: two timing-sensitive tests that fail now and then under the full parallel run, xmem::tests::a_read_by_range_waits_only_for_a_remapping_that_meets_it and host::card_steps::tests::places_written_after_sending_are_learned. Both failed in main 41adb551's own full run; alone they pass. In one earlier full run, the victory-hle test binary stopped with an access violation (0xC0000005). That did not happen again in 15 further runs on this branch or 17 on main, so its cause is open.
  • The caves' code, decoded: cave_dump (with VICTORY_CAVE_DUMP set) writes every cave and the retail sites they replay or mirror, and cargo run --manifest-path tools/cave-decode/Cargo.toml -- <dump> decodes them with iced-x86 and compares, instruction for instruction: 28 caves, 9 sites, 12 mirrors, no difference. With the apply guard's old call [rcx+0x48] put back into the dump, it reports both caves that have it. The tool is its own workspace, so iced-x86 never enters the main Cargo.lock (the only lock change is the one above).
  • cargo clippy --workspace and --all-features: no warning or error that main 41adb551 does not have. tools/cave-decode: no warnings.
  • cargo build --release: builds.
  • cargo xtask policy: one violation, the one main has (crates/victory-loader/src/heap_sites/frame_users.rs).
  • The scripted in-game run (the release build starts the title, goes into the world, opens Settings, steps through every tab, leaves it and plays on) was not run on this head; see below.

Not verified. This head (e6ed9c2b) has not been run in game at all: no smoke run, no A/B, no live check. It was pushed before those runs, by the PR author's decision. The two heads pushed before it, c1fe1931 and 83e22501, crashed in game (at start, and when Settings was opened and left) although every static gate above was green on both. Green gates here do not show that this head starts, opens Settings or plays. Treat it as untested in game until a run says otherwise.

To be run on this head, each its own run, one device reset per boot:

  1. VSync alone: at 2560x1600, then at 3840x2160. Expected: the presents change and the title does not reset its device.
  2. Resolution from 2560x1600 to 3840x2160. Expected: the reset completes and the title upscales again at the new size.
  3. A same-size reset at 3840x2160 through a stock Graphics change, on a VICTORY_STOCK_GRAPHICS_4K=1 build.
  4. One stock Graphics change at 2560x1600.
  5. Frame generation on and off around a reset: put away when the title destroys its upscaler, asked again when it upscales again.
  6. Frame generation ready but dormant (the new default), against a start without it (--no-framegen-ready), in the world (A/B). If dormant costs more than run-to-run noise, the default goes back to not ready.
  7. A DLSS quality change below 3840x2160.
  8. Series S render resolution.

Also not run in game on any build of this branch: Fullscreen switching the monitor's rate; the host-side Refresh Rate, Window Mode and Triple Buffering rows; the Resolution and Refresh Rate lists following the window to a second display; the launcher's rows with FSR 4 and Auto; the live DLSS model change; frame generation turned on, changed and off while playing; frame generation ready and dormant as the default start, and MFG Unlocker loaded at it; the five VIctory rows, and 1080p to 1440p made live; the guard at Accept and at the menu's apply; the new labels, help texts and group headings in the menu, and the larger widget pool; the start-time clamp of a saved render scaling and its description. Nor the Series S profile or Linux/Wine.

Run in game so far.

On this branch before the combination (release builds, 2026-11-29, the machine above), going by the run logs:

  • The game started at 2560x1600 and at 3840x2160 with the 128 MiB UI pool and the 1,597 MiB scene pool, and Settings was changed there.
  • One Resolution change, 2560x1600 to 3840x2160, completed: the device reset made the upscaler again and its ~3.6 GB allocation, the swap chain was made again, and the title upscaled at the new size.
  • Two Settings commits at a 3840x2160 output, each with VSync changed and the size unchanged, made the title reset its device, and the reset never ended: the known issue above. Both builds wrote VSync into the title's settings, before the VSync row was made host-side; the second session (11:47 UTC) ran ccf72c27. One ran with frame generation on, the other with it off.

On the source branch, an older main with #937 and the ✕ Save, going by its run logs:

  • The game started at 2560x1600, 1920x1200, 1920x1080 and 2560x1440 and got as far as the Settings rows, which each of those runs read, with no exception logged. That was with a UI pool sized for each output; the third commit sizes it once, for 3840x2160.
  • Resolution picks were saved for the next start (Resolution 1920x1200 saved; the next start runs at it, and 1920x1440, 2048x1536, 3840x2160).
  • Window Mode was changed to Windowed, Borderless and Fullscreen (window mode: the game's row changed), VSync was changed, and Refresh Rate took 100, 119 and 120 Hz. No run logged the monitor being switched to a rate.
  • The Graphics tab was looked at; the first two limits below come from it.

Known limits:

  • Anisotropic Filtering (Graphics tab, stock row) shows its position as "1 / 0": the game gives that row no maximum, so the stepper's count is 0. Neither #1981 nor #1382 names the stock rows' values.
  • FSR Quality, Volumetrics Quality and Water Quality (Graphics tab, stock rows) show only a position like "3 / 5", with no value name. They're left as they are because which end of each range is which wasn't established.
  • Two stock rows are named differently by #1981 and by #1382's research: label id 0xAADB87CF (Volumetric Lighting Quality here, Vehicle texture quality there) and 0x8A446CC3 (Volumetric Raymarch Quality here, Volumetric lighting quality there). #1981's names are shown; which is right has not been checked in game. The five rows only #1382's research names, and the two nameless rows it named, are in sentence case beside the Title Case of the rest.
  • The confirm dialog shown when backing out of Settings with changes (YES/NO, the game's apply and save confirm) shows the YES/NO prompts but an empty message body. Its cause isn't established; it was seen with the rows on, on the source branch.
  • Through DLSS Frame Generation's swap chain, VSync's Every Second Refresh is Every Refresh.

Checked for overlap

  • I searched the open pull requests for the same issue and for the files this touches. #1382 patches the same Settings menu; it is combined into this PR with its author's agreement, and its tab, text-map and loader mechanisms are not taken. Since the source branch's last push, #1808 (the native output follows the monitor's shape) and #1897 (a new version's first start makes every shader first) have landed, and this builds on them, as on #250 (Reflex only while frame generation is on), #471 (a texture reserve where no frame-generation backend is available), #681 (no FSR 3 with DLAA), #1089 (MFG Unlocker only with DLSS frame generation), #1106 (experimental FSR 4), #1164 (DLSS MODEL AUTO), #1233 (eight swap chain buffers) and #1274 (the scene pool through heap_budget). Still open and touching the same files: #1727 (HDR10: host.rs, host/menu.rs), #1938 (Reflex and the awake card: streamline.rs), #1739 and #1977 (play.rs, host/menu.rs). Each already conflicts with main in a trial merge, and #1981's five commits add no conflicted file to any of them; the combination's commits were not merged against them in trial.
<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5547979563 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1981). Originally posted by [abilliontokens](https://github.com/abilliontokens) on 2026-11-29T05:41:15Z. --- Fixes #: none of its own. Related: #914 (how to change the resolution), #1063 (a fullscreen switch), #1382 (AwkGrep256's typed settings and stock Graphics research, folded into this PR) and Marvisak/VIctory#2862 (an out-of-memory crash on confirming a stock Graphics change). ## What it changes The retail build still has its PC display settings, but the console menu hides them and its dictionaries have no text for them. This shows them in the game's own Settings menu and makes each one do something on a PC. It's the settings part of the branch behind #937, rebuilt on `main` at 41adb551, without #937 and without its ✕ Save button: no new crates, no binary asset, nothing written to the game's files. **Credit.** This is the combined PR proposed in the #1981 comments (Option B), which AwkGrep256 agreed to: #1981's menu mechanisms, with AwkGrep256's #1382 folded in and AwkGrep256 as co-author of the commits that carry his code and research. From #1382: - the typed `Choice` / `Opt` core and the `restart_choices!` macro (`victory_core::settings`), which declare each setting once: its key, stored values, labels, default and the settings it depends on; - the stock Graphics label research (`victory_core::settings::stock_labels`): VIctory's English for the stock Graphics rows, 69 by their label ids and 8 nameless rows by their place after a named row, the help of 5 rows that have none and the headings of 2 untitled groups, and the way those groups are recognised (by a row they hold); - the DLSS Frame Generation multiplier limit (`streamline::dlss_framegen_multiplier_limit`); - the start plumbing that reads the Upscaler choice (`VICTORY_MENU_UPSCALER`) in `victory play` and `play-foxhound.ps1`. Both PRs patch the same Settings menu, so only one of each mechanism is kept. From #1981: the tab registration cave (with #1382's section adder as well there would be two Graphics tabs), the text-lookup hook (it also names the steppers' values; #1382's text-map injection and DirectStorage scan are not taken) and its own site writer (#1382's loader redirect, patch and memory helpers are not taken). Choices are saved when Settings is left, not on every step as in #1382. Where the rows behave differently from #1382's branch: Frame Generation Type switches live except to and from FSR 4, and the DLSS model applies from the next upscaling. ### The settings A choice is pending until Settings is left; the menu's NO puts it back. "Live" means it applies while playing. No row makes the game reset its graphics device by default: that reset hung in game (see the known issue below), so every change that needs it is saved when Settings is left and applies the next time the game starts. `VICTORY_LIVE_RESETS=1` (experimental, off by default) turns the live resets back on, for investigating the hang. | Row | Where | Applies | |---|---|---| | Resolution | Display > Video | Next start. The pick is saved as `resolution=` in `pc-settings.txt` when Settings is left (NO drops it) and the next start begins at it; the game's `resolutionFullscreen` is never written, so the game never resets its device for it. With `VICTORY_LIVE_RESETS=1`: live, through the game's device reset, where the output can change (Series X with the native output path, not in a DLAA session or with `VICTORY_NATIVE_4K=1` without a saved size). Values: the sizes the display the game's window is on offers (the primary display before the window is there), 1280x720 up to 3840x2160, plus 2560x1440 and 3840x2160 always | | Refresh Rate | Display > Video | Live, no device reset. In Fullscreen the monitor is switched to the rate at its current resolution; Windowed, Borderless and 60 Hz keep the desktop's rate. Saved as `refresh=` in `pc-settings.txt`, taken by the layer within a quarter of a second of the menu being left. The game's `refreshRate` is never written. Values: 60 Hz plus the higher rates of the display the game's window is on | | Window Mode | Display > Video | Live, no device reset. Applied to the title's window within a quarter of a second of the menu being left (`window=` in `pc-settings.txt`); no buffers are made again, so frame generation runs on across a change. The game's `adapterIndex` is never written. Values: Windowed, Borderless, Fullscreen (a borderless popup over the monitor, no exclusive mode) | | VSync | Display > Video | Live, no device reset. Applied to VIctory's presents within a quarter of a second of the menu being left (`vsync=` in `pc-settings.txt`). The game's `vSync` is never written. Values: Off, Every Refresh (`Present(1)`), Every Second Refresh (`Present(2)`); through DLSS Frame Generation's swap chain, which takes a sync interval of 1 at most, every second refresh is every refresh | | Triple Buffering | Display > Video | Live, no device reset. On keeps the eight swap chain buffers of multi-frame generation (#1233), Off leaves two, by `ResizeBuffers` within a quarter of a second of the menu being left (`triple=` in `pc-settings.txt`). The game's `tripleBuffered` is never written: with the Series X profile, three of the title's output targets are more than its UI pool holds. Frame generation's swap chains keep their own buffers. Values: Off, On | | DLSS Frame Generation | Display > Video, and F1's FRAME GENERATION | Live at every start with DLSS: the launchers now make frame generation ready and dormant by default (on from the start with `--framegen`), and it applies at the next present after Settings is left. A start with `victory play --no-framegen-ready` (`play-foxhound.ps1 -NoFrameGenReady`), or without DLSS, takes it at the next start. Saved in `victory-settings.txt`. Values: Off, 2X to 6X, within what the picked type can run and the driver's multiplier limit, as in F1 | | Frame Generation Type | Display > Video, and F1's FRAME GEN TYPE | Live except FSR 4: Auto, DLSS and FSR 3 switch while playing where frame generation is ready, the swap chain made again between two frames. To or from experimental FSR 4 (#1106) at the next start: its PC upscaler takes DLSS's place at a start. FSR 3 shows 2X whatever the level says | | DLSS Model | Display > Video, and F1's DLSS MODEL | Live where DLSS upscales: from the next upscaling (`set_dlss_preset`; Auto names one per DLSS mode). A run without DLSS takes it at the next start. Values: Default, Auto, K, J, M, L | | Console | Display > Video (new row), and F1's CONSOLE | Next start. The title reads the console type once, at its start, and it selects the renderer, the memory heaps and the pools. Values: Series X, Series S (Faster) | | Upscaler | Display, a new Upscaling section | Next start, where the launchers read it: Title runs the game's own upscaler (no DLSS, no Streamline, frame generation not prepared), DLSS runs DLSS, Auto follows the saved DLSS quality. The renderer choice and Streamline are set up before the title starts. Values: Auto, Title, DLSS | | Series X Picture | Display (new row), and F1's SERIES X PICTURE | Next start, saved when Settings is left. With `VICTORY_LIVE_RESETS=1`: 2560x1440 and 3840x2160 through the Resolution path, and 1080p to 1440p below 3840x2160 output where the title's own temporal pass runs, both through the game's device reset. Offered only when the Console row is Series X | | DLSS Quality; Series S Render Resolution | Display, the Upscaling section (DLSS Quality) and a new row (Series S Render Resolution); F1's DLSS and SERIES S PICTURE | Next start, at every output size, saved when Settings is left. With `VICTORY_LIVE_RESETS=1`: live where DLSS upscales, below 3840x2160 output, through a same-size device reset (DLAA only up to 2560x1440's pixels, and not while FSR 3 frame generation runs). Values: Quality, Balanced, Performance, Ultra Performance, DLAA (native), Off; Series S Render Resolution 1280x720 (the game), 1113x626, 960x540, 640x360 (fastest), offered only on Series S and not with the Title upscaler, and kept paired with DLSS Quality | | The stock Graphics rows | Graphics tab (Graphics and Advanced Graphics sections) | All named, editable at every output size. Next start: before SetSettings runs (Accept, or the menu's own apply when Settings is left) their changes are put back, so the game never resets its device for them, and kept as VIctory's choice: saved as `stock=` in `pc-settings.txt` with YES, dropped with NO. At every start the settings-store stub writes the kept values into each settings store the title makes, before its graphics device is created, so they apply and stay from start to start (in the stock game most of these rows, the enum-typed ones, are not saved at all). Without the native output path (Series S) the stub is not there, so the rows are read-only and say so. Render scaling (`scalingMode`) is not kept where its scene would have more pixels than 2560x1440 (see below). With `VICTORY_LIVE_RESETS=1`: as before, the game applies them itself through its device reset below 3840x2160 output, and at 3840x2160 only with `VICTORY_STOCK_GRAPHICS_4K=1` | How it fits together: - Every change to the title is a patch of its image, made only after the site matches the retail build's stock bytes (BLAKE3). On another build nothing is patched. `VICTORY_PC_SETTINGS=0` turns the rows and their patches off. The rows' patches are written after the image is mapped (`apps/victory/src/pc_settings.rs`); the native output path's go into the prepared image in the cache, as #541's do. - The English labels come from a hook at the title's text lookup (`0x14375D280`): it asks `victory_gpu::pc_text` first, and every other key goes on to the game's dictionaries. `pc_text` answers, in order: VIctory's own keys; #1981's wording for the stock rows; then every text of `victory_core::settings::stock_labels`, #1382's research. Eight Advanced Graphics rows have no label key at all; VIctory gives them keys of their own as their widgets are made. The five stock rows without a description key (Alpha Transmission and four Ray-Traced shadow rows) get VIctory's, and the two groups the title builds without a heading (its Display and Advanced groups) are named at the per-tab build (`0x239D631`), each recognised by a row it holds. No stock row's label is blank. The Settings widget pool is made with 16 more widgets than its tunable asks (`0x5B038BA`), room for the rows VIctory adds. - The console menu has no key that saves. It applies its working copy when Settings is left, asking SAVE SETTINGS? after a change that needs a device reset; YES applies and saves, NO puts the old settings back. VIctory's own rows (Resolution, Refresh Rate, Window Mode, VSync, Triple Buffering, the launcher's rows and the five VIctory rows) keep their choice pending until the menu is left and dropped by its NO; then it is saved, and the layer takes what the run can use. Without #937's ✕ Save, nothing applies until Settings is left. - The five VIctory rows (Console, Series X Picture, Series S Render Resolution, Upscaler, DLSS Quality) ride on members the console build keeps on its hidden Internal tab, relabelled as the launcher's rows are; they are never written. An enum gate at the widget factory's type-14 entry sends their enums to the stepper, the bool gate and the rows' vtable swap go by one table of all the rows' members, and the members' tabs are patched to the Display tab. Every site is checked against the retail build's bytes first. - With `VICTORY_LIVE_RESETS=1`, a scene change made live writes into the image the scene's scale literal and FidelityFX mode (DLSS Quality, Series S Render Resolution, where DLSS upscales) or the temporal scale (1080p to 1440p, only with no upscaler, where the title's own temporal pass runs), then toggles `outputIndex` in what is handed to SetSettings: the title's settings-change detector compares that field and its apply ignores it, so a same-size device reset follows and the title sizes its scene again. A scene already applied at Accept is not applied again when Settings is left, so there is one reset, not two. - `graphics_choices` declares the launcher's and the graphics settings once, with `restart_choices!`: console profile, Series X picture, Series S render resolution, upscaler, DLSS quality, frame generation level and provider, and DLSS model. The stored values are byte for byte the ones the F1 menu and the game's rows already save in `victory-settings.txt`; which rows another makes available, the Series S pairing of render resolution with DLSS quality, and the provider's multiplier range are functions of the stored values. F1's DLSS, FRAME GENERATION, FRAME GEN TYPE, CONSOLE, SERIES X PICTURE, SERIES S PICTURE and DLSS MODEL read their values and names from it, as the game's launcher rows and VIctory rows do (`pc_rows`' own tables are gone). F1's FRAME GENERATION and the game's DLSS Frame Generation row step through what the active provider runs, within the multiplier limit: FSR 3 and FSR 4 Off and 2X; DLSS Frame Generation Off and 2X up to the driver's most frames once a present reports it, else 6 on an RTX 50 or later and 2 before; under Auto, whichever of them is active. A saved level past that is lowered to the highest one offered, when Settings is left and at the next start. - Dependent rows (as AwkGrep256 asked on this PR): a row whose conditions don't hold — Series X Picture without Series X, Series S Render Resolution without Series S or with the Title upscaler, DLSS Quality while DLSS isn't the upscaler in use — is shown greyed: the widget's state and its ENABLED and VISIBLE properties are written as the title's own get publishes them (the property call at `0x239EEE0`, #1382's keys), and the row ignores its steps. A change of the parent row greys or frees them at once, in the menu. The conditions are checked again when Settings is left: a pending choice whose conditions no longer hold is refused, not saved, and the row shows the saved value again. - Frame generation can be turned on, changed and turned off while playing, from F1 or the rows. Turning it on or off, or changing its kind, makes the swap chain again between two frames (Streamline's DLSS-G guide, section 18). While it's off, nothing of it runs: DLSS-G is unloaded, the swap chain is our own and Reflex is off (on only while frame generation runs, which covers #250's change). A start with frame generation on, or made ready and dormant, can change it while playing; any other start takes the choice at the next start. Turned on, the textures are held under 80 % of the card's budget, and it waits up to 5 s for that room. - The launchers no longer set `VICTORY_TEXTURE_ROOM_PERCENT` (80 % with frame generation on, 86 % ready, for the whole run); the layer holds 80 % only while frame generation runs or is about to. #471's `VICTORY_FRAMEGEN_ROOM_RESERVE` stays: the launchers set it whenever frame generation is asked for (on from the start, or `--framegen-ready`; not by the new default's readiness, so a start that never asks keeps the texture room it had), and where no frame-generation backend is available the layer still keeps textures under 80 %. play-foxhound keeps 74 % for `-FrameGen` above 2x, from e1681b6. The first start's shader preload (#1897) now happens only with DLSS frame generation on from the start. Both frame generations are made ready whichever type is picked (FSR 3 still not with DLAA, #663), so MFG Unlocker (#1089) is now left out when FSR 3 is picked, where `VICTORY_FRAMEGEN=1` alone used to tell it apart. - MFG Unlocker (#1089), if turned on in F1, now also loads at every start with DLSS (not with `--no-framegen-ready`, nor with FSR 3 picked), because frame generation is made ready there by default; before, it loaded only with frame generation on or `--framegen-ready`. - There is no Monitor row: the DLSS Frame Generation row sits on its member, `outputIndex`. Under VIctory the title never acts on that member (the device setup's copy of the adapter and output indexes is patched to zero, and the settings' apply never reads it), so a Monitor row has nothing title-side to set. Which display the game is on is VIctory's window: the Resolution and Refresh Rate rows list the modes and rates of exactly the display the window is on (the primary one before the window exists, as at the start, where the saved size is checked), which is also the display whose rate Fullscreen changes. A host-side Monitor row that moves the window needs a row with no member behind it, as #1382's row-append code adds; that is a follow-up with AwkGrep256. **Frame generation is put away on the title's reset.** With `VICTORY_LIVE_RESETS=1`, a Resolution change, a stock Graphics change below 3840x2160, or a scene change made live makes the title reset its graphics device: it destroys its upscaler and makes it again. While frame generation runs, the present goes through its swap chain, DLSS's or FSR 3's, and Streamline's DLSS-G guide, section 12 (DLSS-G and DXGI), asks for DLSS-G to be off across such a change: > "As a general rule, when the host is changing resolution, switching between full-screen and windowed mode, or performing any other operation that could cause `SwapChain::Present` to deadlock, DLSS-G must be turned off using the `sl::DLSSGOptions::mode` field." So when the title destroys its upscaler (`ffxDestroyContext`), what was sent runs, and frame generation's swap chain is made VIctory's own again, frame generation off, as for a change of frame generation (section 18: "the swap chain must be torn down and recreated every time DLSS-G is switched on or off"). None of frame generation's is made, and anything asked waits, until the title upscales again. Then frame generation is asked again as it was, and its swap chain comes back at one of the next presents once the card has room for it. The Refresh Rate, Window Mode, VSync and Triple Buffering rows do not reset the device. This is the guide's rule, not a fix for the hang below: one of the two hung resets ran with frame generation off, through VIctory's own swap chain. **A change for every Series X start.** With the rows on, which is the default on the retail build, every Series X session runs the native output path so that Resolution can change: at the saved size, else at `VICTORY_NATIVE_1440P`'s (#1808's monitor shape), else at the stock 3840x2160 output with the stock 2560x1440 scene. That path sizes the UI pool for 3840x2160 (128 MiB, where the stock title has 64 MiB), grows the scene pool to 1,597 MiB through #1274's `heap_budget::prepare_scene_pool` (reserved; units no target uses cost no memory), and keeps the title's own output buffers at two: its triple-buffering setting made three, more than the pool holds. The Triple Buffering row still sets VIctory's swap chain. `VICTORY_PC_SETTINGS=0` gives back the stock path. **Known issue: the title's device reset hangs.** The game resets its graphics device when SetSettings is handed settings whose reset-triggering fields changed (resolution, outputIndex, refreshRate, vSync, tripleBuffered and the graphics fields). In game that reset hung four times: two same-size resets at a 3840x2160 output, a VSync change under frame generation, and a Resolution change from 2560x1600 to 1920x1080. All four logs end the same way: the title destroys its upscaler, makes it again, and asks for its big address-space reservation (`XMemVirtualAlloc`, 1957 MB, a placeholder: address space only, no large pages), which never returns. The process could not be killed afterwards and the PC needed a reboot. The allocation path is the same as on `main`, and a review of the locks the path takes after the reservation found no cycle. The best fit so far is a stall inside the kernel: in the reservation itself, or behind the process heap lock whose owner is stuck in a kernel memory call (one hang's thread dump had five threads waiting on the heap lock). About 1 GB of RAM was free 3 s before the last hang. #2862 reports an out-of-memory crash when a stock Graphics change is confirmed. The cause is not found yet; the next hang will be recorded with a WPR trace (context switches with stacks, the GPU and virtual allocation), which shows what the stuck threads wait on. Until it is found, nothing in this PR makes the game reset its device by default: - Refresh Rate, Window Mode, VSync and Triple Buffering are VIctory's own and never write the title's members. - Resolution, Series X Picture, DLSS Quality and Series S Render Resolution are saved when Settings is left and apply at the next start, at every output size. - The stock Graphics rows stay editable, but their changes are put back before SetSettings runs, on both paths that hand it the working copy: Accept (SAVE SETTINGS? YES) and the menu's own apply (0x23A5A50) when it is left. They are kept as VIctory's choice and written into each settings store at the next start, before the device is created (see the table). A test checks that by default neither path hands SetSettings a changed reset-triggering field, at 2560x1600 and at 3840x2160. - `VICTORY_LIVE_RESETS=1` (experimental, off by default) restores the live paths for investigating the hang: Resolution and the scene rows through the device reset, and the stock rows applied by the game below 3840x2160 output (at 3840x2160 only with `VICTORY_STOCK_GRAPHICS_4K=1`). - Stock render scaling (`scalingMode`) is never applied or kept where its scene would have more pixels than 2560x1440. The title commits that render-target heap at its start (stock 2199 MB), and raising it would cost 5.8 GB of commit on every start. A changed value is put back. An output change that pushes a kept ratio past that sets 2/3 (where 2/3 does not fit either, the largest value that does). - Diagnostics for the next hang: console memory calls of 64 MiB or more (`XMemVirtualAlloc`, `XMemAllocatePhysicalPages`, `XMemMapPhysicalPages`) log a line as they start (size, kind, protection, flags, thread) and one as they return (result, elapsed ms), and a call of any size that took over a second logs its return too. The guard logs what Settings hands SetSettings: every field that differs between the working copy and the committed settings, with its offset, old and new value (display fields and scalingMode by name) and their count. Commits (SHAs as pushed): 1. 0f869c09 PC settings: Display > Video rows and a Graphics tab in the game's own Settings menu 2. b8a58233 PC settings: Fullscreen takes the Refresh Rate row; Triple Buffering sets the swap chain's buffers 3. 3e0f508f PC settings: every Resolution size starts, and Resolution changes the output live 4. 52cbe2ee Frame generation turned on, changed and off while playing; --framegen-ready makes it ready and dormant 5. ca15ff1f PC settings: DLSS Frame Generation, Frame Generation Type and DLSS Model rows in DISPLAY > VIDEO 6. 3ae50c82 Settings: the typed Choice core and stock Graphics labels from #1382 (co-authored by AwkGrep256) 7. 2c9249b6 xmem: big and slow console memory calls are logged as they start and return 8. 95e0ed2e Settings: typed choices for the launcher's and the graphics settings, from #1382 (co-authored by AwkGrep256) 9. 49fab593 PC settings: Refresh Rate, Window Mode and Triple Buffering are VIctory's own, applied live without the game's device reset 10. 2af28967 PC settings: the launcher rows take their values and names from the typed choices (co-authored by AwkGrep256) 11. 41770005 F1: the typed rows take the typed choices; FRAME GENERATION offers what the card generates; DLSS MODEL is live (co-authored by AwkGrep256) 12. 31c278df PC settings: Accept names what it changes; stock Graphics rows are not applied at 3840x2160 output; render scaling stays within the render-target heap 13. e4c669c7 PC settings: every stock Graphics row is named, from #1382's research (co-authored by AwkGrep256) 14. 273397a3 Launchers: the Upscaler choice is read at start (co-authored by AwkGrep256) 15. 071c103e PC settings: Console, Series X Picture, Series S Render Resolution, Upscaler and DLSS Quality rows; leaving the menu is guarded like Accept (co-authored by AwkGrep256) 16. 891182f6 PC settings: DLSS Quality, Series S Render Resolution and Series X Picture 1080to1440 apply live below 3840x2160 output 17. de99c1a5 PC settings: the stock rows without help get theirs, the two untitled groups get headings, the widget pool has room for our rows (co-authored by AwkGrep256) 18. a6124c37 PC settings: a site whose protection cannot be restored or whose instruction cache cannot be flushed is an error (asked for by AwkGrep256 on this PR) 19. f6e97356 PC settings: launcher rows validate and grey under their conditions at save (co-authored by AwkGrep256) (asked for by AwkGrep256 on this PR) 20. 041e66a0 PC settings: the live scene's literals are written as a patch site is, and leaving the menu unchanged writes no scene 21. daa60c86 PC settings: the caves' code is decoded and checked by tools/cave-decode 22. 812f4539 PC settings: Resolution and the scene rows apply at the next start; live only with VICTORY_LIVE_RESOLUTION=1 23. fad4eee5 PC settings: stock Graphics changes are kept and applied at every start; live resets only with VICTORY_LIVE_RESETS=1 24. e6ed9c2b Launchers: frame generation made ready, dormant, at every start with DLSS; --no-framegen-ready not The heads pushed before crashed in game despite green gates: c1fe1931 at start (the widget-pool cave stored to a mistyped address over a site holding a branch target), and 83e22501 when Settings was opened (the group-headings cave clobbered `rdx`, which the call it displaces takes) and when Settings was left (the menu-apply guard called GetCurrent through `[rcx+0x48]` where the title calls `[rax+0x48]`). Those three are fixed in commits 15 and 17. Every cave is now decoded and compared instruction by instruction, with the retail sites it replays or mirrors, by `tools/cave-decode` (commit 21). This head was pushed without the scripted in-game run (see "Not verified" below). Left out from the source branch: everything of #937 (the PlayStation prompts, `VICTORY_FILE_PATCH`, `png` and `zopfli`, the controller picture), and the ✕ Save button with its caves and `settings_save.rs`, because its prompt was put on the screen by #937's patch of `data.rpf`. Docs: `docs/pc-settings.md` (new: the rows, when a change applies, the text, the stock Graphics rows), `docs/dlss.md` (turning frame generation on and off while playing; the title's device reset), the README, and the code sketch in `docs/native-graphics-proposal.md`, which called the `set_framegen` this replaces. `Cargo.lock` changes in one way only: two lines, both dependencies between this repository's own crates. The `victory` app now depends on `victory-gpu`, and `victory-gpu` on `victory-core`, for the typed settings. No outside crate is added or changes version. The Cargo.toml files also ask `windows-sys` for more features: three for `victory`, one (`Win32_Graphics_Gdi`) for `victory-gpu`. The consequence: `victory-gpu`'s build script hashes `Cargo.lock` into the shader cache key, so everyone's shader cache is translated again once, at the first start after updating. ## Switches | Switch | Effect | Status | |---|---|---| | `VICTORY_PC_SETTINGS=0` | turns the whole feature off | new | | `VICTORY_LIVE_RESETS=1` | experimental, off by default: the rows that need the game's device reset apply live through it (Resolution, the scene rows, the stock Graphics rows below 3840x2160), for investigating the hang; without it they apply at the next start | new | | `VICTORY_STOCK_GRAPHICS_4K=1` | with `VICTORY_LIVE_RESETS=1`, the stock Graphics rows apply live at a 3840x2160 output too | new | | `VICTORY_MENU_UPSCALER` (`victory-settings.txt`) | read at start by `victory play` and `play-foxhound.ps1`: `title` runs the game's own upscaler (no DLSS, no Streamline, frame generation not prepared), `dlss` runs DLSS (Quality where the saved mode is off), `auto` or unset follows the saved DLSS mode | new | | `VICTORY_FRAMEGEN_X=0` | frame generation made ready but off, until F1 or the game's Settings turns it on | new value | | `VICTORY_FRAMEGEN_SCRIPT=<seconds>:<times>[:<kind>],...` | a check with nobody at the keys: that many seconds after the first present, frame generation is asked as a settings menu asks it (replaces `VICTORY_FRAMEGEN_CYCLE`) | new | | `victory play --no-framegen-ready`, `play-foxhound.ps1 -NoFrameGenReady` | a start with frame generation not made ready (the launchers now make it ready and dormant at every start with DLSS; `--framegen-ready` / `-FrameGenReady` is still taken and wins) | changed default | | `VICTORY_FULLSCREEN=1` | the older borderless switch: a popup covering the screen from the start; the Window Mode row is then not followed | existing | | `VICTORY_TEARING=0` | no tearing presents, whatever the VSync row says | existing | | `VICTORY_DISPLAY_MODE=WxH` | the display mode reported to the title at start | existing | | `VICTORY_DISPLAY_REFRESH=<hz>` | an extra refresh rate in the reported mode list and in the Refresh Rate row | existing | ## How to try 1. Retail 1.0.2.1. The patches are made only where the site matches the retail build's stock bytes; on another build nothing is patched. The rows are on by default. 2. Start as usual with the Series X profile. Settings > Display shows the Video rows, and the Graphics tab comes after the console's tabs. Change a row and leave Settings: YES to SAVE SETTINGS? keeps the change, NO puts it back. 3. To change frame generation while playing, start as usual with DLSS: the launchers make it ready and dormant by default. Then F1 (FRAME GENERATION, FRAME GEN TYPE) or the game's rows turn it on, change it and turn it off. 4. The Graphics tab's stock rows step at every output size. Leaving Settings with YES keeps the changes for the next start: they are put back before SetSettings runs, so the game does not reset its device, and saved as `stock=` in `pc-settings.txt`; the log says `settings rows: stock choice <name> saved; applies the next time the game starts`, and at the next start `settings rows: stock choice <name> = <value> applies at this start`. `VICTORY_LIVE_RESETS=1` (experimental) lets the game apply them live instead, through its device reset. 5. The five VIctory rows are on the Display page: Console at the end of the Video section, the two picture rows after it, and Upscaler and DLSS Quality in an Upscaling section. Their changes, like Resolution's, are saved when Settings is left and apply at the next start. 6. What is saved where: VIctory's rows in `pc-settings.txt` (`resolution=`, `refresh=`, `window=`, `vsync=`, `triple=`, and the stock Graphics choices as `stock=`), the launcher's and the typed choices in `victory-settings.txt`; both in `VICTORY_HOME`, else `%LOCALAPPDATA%\victory`. Removing a row's line there, with the game closed, goes back to its default until the row is chosen again, as `docs/pc-settings.md` says for each. 7. Log lines of a change: `settings rows: Resolution WxH saved; the next start runs at it`, `display settings: the swap chain has N buffers (Triple Buffering on)`, and at a reset with frame generation `frame generation: the title resets its graphics device (its upscaler went): ...`. ## How it was tested - GPU and profile: the combined branch has not been run in game. The branch before the combination was, on an RTX 5060 Ti 16 GB (Windows 11, driver 621.24), Series X profile, DLSS Quality, frame generation on. - Before: `main` not run in game for this PR. - After: not run in game on the combined branch; on the branch before it, see "Run in game so far". - For shader changes, the wave sizes tested (32 and/or 64 lanes): no shader changes. - `cargo test` passed for the crates it touches: see "Verified" below. **Verified: unit tests, builds and policy.** On the final head (e6ed9c2b, on `main` 41adb551), Windows 11: - `cargo check --workspace --tests`: each of the 24 commits builds on its own. - `cargo test --workspace --no-fail-fast` (with `VICTORY_DISPLAY_PROFILE_TEST_IMAGE` set), on this branch rebased onto `main` 41adb551: 2313 passed, 6 failed. Five fail on that `main` too: three `bcpack::tests::oracle_parity_*`, xtask's `policy::tests::repository_passes_policy` and `shader_cache::tests::every_switch_of_the_translator_is_in_the_key`. The sixth is the timing-sensitive xmem test below, which failed in `main`'s own run too. - Seen while gating and also seen on `main`: two timing-sensitive tests that fail now and then under the full parallel run, `xmem::tests::a_read_by_range_waits_only_for_a_remapping_that_meets_it` and `host::card_steps::tests::places_written_after_sending_are_learned`. Both failed in `main` 41adb551's own full run; alone they pass. In one earlier full run, the `victory-hle` test binary stopped with an access violation (0xC0000005). That did not happen again in 15 further runs on this branch or 17 on `main`, so its cause is open. - The caves' code, decoded: `cave_dump` (with `VICTORY_CAVE_DUMP` set) writes every cave and the retail sites they replay or mirror, and `cargo run --manifest-path tools/cave-decode/Cargo.toml -- <dump>` decodes them with iced-x86 and compares, instruction for instruction: 28 caves, 9 sites, 12 mirrors, no difference. With the apply guard's old `call [rcx+0x48]` put back into the dump, it reports both caves that have it. The tool is its own workspace, so iced-x86 never enters the main `Cargo.lock` (the only lock change is the one above). - `cargo clippy --workspace` and `--all-features`: no warning or error that `main` 41adb551 does not have. `tools/cave-decode`: no warnings. - `cargo build --release`: builds. - `cargo xtask policy`: one violation, the one `main` has (`crates/victory-loader/src/heap_sites/frame_users.rs`). - The scripted in-game run (the release build starts the title, goes into the world, opens Settings, steps through every tab, leaves it and plays on) was not run on this head; see below. **Not verified.** This head (e6ed9c2b) has not been run in game at all: no smoke run, no A/B, no live check. It was pushed before those runs, by the PR author's decision. The two heads pushed before it, c1fe1931 and 83e22501, crashed in game (at start, and when Settings was opened and left) although every static gate above was green on both. Green gates here do not show that this head starts, opens Settings or plays. Treat it as untested in game until a run says otherwise. To be run on this head, each its own run, one device reset per boot: 1. VSync alone: at 2560x1600, then at 3840x2160. Expected: the presents change and the title does not reset its device. 2. Resolution from 2560x1600 to 3840x2160. Expected: the reset completes and the title upscales again at the new size. 3. A same-size reset at 3840x2160 through a stock Graphics change, on a `VICTORY_STOCK_GRAPHICS_4K=1` build. 4. One stock Graphics change at 2560x1600. 5. Frame generation on and off around a reset: put away when the title destroys its upscaler, asked again when it upscales again. 6. Frame generation ready but dormant (the new default), against a start without it (`--no-framegen-ready`), in the world (A/B). If dormant costs more than run-to-run noise, the default goes back to not ready. 7. A DLSS quality change below 3840x2160. 8. Series S render resolution. Also not run in game on any build of this branch: Fullscreen switching the monitor's rate; the host-side Refresh Rate, Window Mode and Triple Buffering rows; the Resolution and Refresh Rate lists following the window to a second display; the launcher's rows with FSR 4 and Auto; the live DLSS model change; frame generation turned on, changed and off while playing; frame generation ready and dormant as the default start, and MFG Unlocker loaded at it; the five VIctory rows, and 1080p to 1440p made live; the guard at Accept and at the menu's apply; the new labels, help texts and group headings in the menu, and the larger widget pool; the start-time clamp of a saved render scaling and its description. Nor the Series S profile or Linux/Wine. **Run in game so far.** On this branch before the combination (release builds, 2026-11-29, the machine above), going by the run logs: - The game started at 2560x1600 and at 3840x2160 with the 128 MiB UI pool and the 1,597 MiB scene pool, and Settings was changed there. - One Resolution change, 2560x1600 to 3840x2160, completed: the device reset made the upscaler again and its ~3.6 GB allocation, the swap chain was made again, and the title upscaled at the new size. - Two Settings commits at a 3840x2160 output, each with VSync changed and the size unchanged, made the title reset its device, and the reset never ended: the known issue above. Both builds wrote VSync into the title's settings, before the VSync row was made host-side; the second session (11:47 UTC) ran ccf72c27. One ran with frame generation on, the other with it off. On the source branch, an older `main` with #937 and the ✕ Save, going by its run logs: - The game started at 2560x1600, 1920x1200, 1920x1080 and 2560x1440 and got as far as the Settings rows, which each of those runs read, with no exception logged. That was with a UI pool sized for each output; the third commit sizes it once, for 3840x2160. - Resolution picks were saved for the next start (`Resolution 1920x1200 saved; the next start runs at it`, and 1920x1440, 2048x1536, 3840x2160). - Window Mode was changed to Windowed, Borderless and Fullscreen (`window mode: the game's row changed`), VSync was changed, and Refresh Rate took 100, 119 and 120 Hz. No run logged the monitor being switched to a rate. - The Graphics tab was looked at; the first two limits below come from it. Known limits: - Anisotropic Filtering (Graphics tab, stock row) shows its position as "1 / 0": the game gives that row no maximum, so the stepper's count is 0. Neither #1981 nor #1382 names the stock rows' values. - FSR Quality, Volumetrics Quality and Water Quality (Graphics tab, stock rows) show only a position like "3 / 5", with no value name. They're left as they are because which end of each range is which wasn't established. - Two stock rows are named differently by #1981 and by #1382's research: label id `0xAADB87CF` (Volumetric Lighting Quality here, Vehicle texture quality there) and `0x8A446CC3` (Volumetric Raymarch Quality here, Volumetric lighting quality there). #1981's names are shown; which is right has not been checked in game. The five rows only #1382's research names, and the two nameless rows it named, are in sentence case beside the Title Case of the rest. - The confirm dialog shown when backing out of Settings with changes (YES/NO, the game's apply and save confirm) shows the YES/NO prompts but an empty message body. Its cause isn't established; it was seen with the rows on, on the source branch. - Through DLSS Frame Generation's swap chain, VSync's Every Second Refresh is Every Refresh. ## Checked for overlap - [x] I searched the open pull requests for the same issue and for the files this touches. #1382 patches the same Settings menu; it is combined into this PR with its author's agreement, and its tab, text-map and loader mechanisms are not taken. Since the source branch's last push, #1808 (the native output follows the monitor's shape) and #1897 (a new version's first start makes every shader first) have landed, and this builds on them, as on #250 (Reflex only while frame generation is on), #471 (a texture reserve where no frame-generation backend is available), #681 (no FSR 3 with DLAA), #1089 (MFG Unlocker only with DLSS frame generation), #1106 (experimental FSR 4), #1164 (DLSS MODEL AUTO), #1233 (eight swap chain buffers) and #1274 (the scene pool through `heap_budget`). Still open and touching the same files: #1727 (HDR10: `host.rs`, `host/menu.rs`), #1938 (Reflex and the awake card: `streamline.rs`), #1739 and #1977 (`play.rs`, `host/menu.rs`). Each already conflicts with `main` in a trial merge, and #1981's five commits add no conflicted file to any of them; the combination's commits were not merged against them in trial.
AwkGrep256 commented 2026-11-29 11:25:45 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by AwkGrep256 on 2026-11-29T11:25:45Z.


Hey @abilliontokens! I've been comparing #1981 with my #1382 and the upstream research in Marvisak/VIctory#2862.

First, I want to say that I genuinely like several things you've added here. In particular, the PC display controls and the live Frame Generation lifecycle are valuable additions. Being able to enable/disable FG, change its multiplier or switch providers while playing, when the presenter is prepared, is something I also wanted to implement eventually.

I think there's an opportunity to combine both approaches rather than maintain two parallel settings implementations.

1. What each implementation brings

Area My #1382 Your #1981 Potential combined result
🧩 Settings architecture Typed Choice / Opt, declarative restart_choices! macro, shared F1/native settings Dedicated PC row callbacks and launcher settings One typed source of truth, with adapters for each UI
🖥️ Display Series X/S render profiles, upscaler, DLSS quality Monitor resolution, refresh rate, window mode, VSync, triple buffering Both rendering and actual PC output controls
🎮 Frame Generation Typed choices, provider dependencies, shared settings and availability Live enable/disable, provider switching, swap-chain lifecycle, --framegen-ready Your runtime implementation driven by shared typed settings
🔬 DLSS Model Not yet a dedicated native row Default, Auto, K, J, M, L, with live model changes Add a typed DlssModel setting and preserve your runtime integration
🏷️ Stock Graphics Complete visible stock-row label research, including rows without name IDs Restores stock rows but still documents five missing labels and several unnamed option values Combine the catalogue and research with the stock-row implementation
💾 Persistence Shared typed settings and F1/native integration launcher_settings.rs, pending selections, save/revert hooks One persistence API and consistent pending/apply semantics

Current implementation and validation status

Legend: 🟩 implemented in a branch/prototype · 🟨 integration or validation needed · ⬜ pending

Milestone Status
Stock row identification and labels 🟩🟩🟩🟩🟩
Typed settings abstraction 🟩🟩🟩🟩🟩
PC display/runtime implementation 🟩🟩🟩🟩🟩
Shared backend integration 🟨⬜⬜⬜⬜
Combined in-game validation ⬜⬜⬜⬜⬜

The important distinction is that the implementation exists, but neither branch should be considered fully validated as a combined implementation.

Your PR reports successful builds and Rust tests, but explicitly says the current branch hasn't been run in-game. My latest branch also needs its outstanding focused tests and in-game checks rerun after rebasing.

2. A possible improvement: declarative typed settings

One thing I'd particularly like to explore is reusing my Choice / Opt / GraphicsChoice abstractions for your launcher-owned rows.

Currently, pc_rows.rs maintains separate tables:

const FRAMEGEN_VALUES: [(&str, &str); 6] = [
    ("0", "Off"),
    ("2", "2X"),
    ("3", "3X"),
    ("4", "4X"),
    ("5", "5X"),
    ("6", "6X"),
];

const FG_TYPE_VALUES: [(&str, &str); 4] = [
    ("auto", "Auto"),
    ("dlss", "DLSS"),
    ("fsr", "FSR 3"),
    ("fsr4", "FSR 4 (Experimental)"),
];

const MODEL_VALUES: [(&str, &str); 6] = [
    ("", "Default"),
    ("auto", "Auto"),
    ("k", "K"),
    ("j", "J"),
    ("m", "M"),
    ("l", "L"),
];

There's nothing inherently wrong with these tables, especially for a focused implementation. However, they duplicate setting metadata that could live in the actual setting types.

For example, the same choices could be declared through the existing macro:

restart_choices! {
    FrameGenProvider {
        key: FG_TYPE,
        name: ("victory_fg_provider", "Frame Generation Type"),

        #[default]
        Auto => ("auto", "Auto"),

        Dlss => ("dlss", "DLSS"),
        Fsr => ("fsr", "FSR 3"),
        Fsr4 => ("fsr4", "FSR 4 (Experimental)"),
    }

    DlssModel {
        key: DLSS_PRESET,
        name: ("victory_dlss_model", "DLSS Model"),

        #[default]
        Default => ("", "Default"),

        Auto => ("auto", "Auto"),
        K => ("k", "K"),
        J => ("j", "J"),
        M => ("m", "M"),
        L => ("l", "L"),
    }
}

FrameGeneration already has a typed definition in my implementation.

The macro generates the enum, its Choice implementation and its static option metadata. This means stored values, labels and ordering are defined together rather than maintained in multiple places.

The PC row adapter could then retrieve the metadata generically:

fn choice_value<C: Choice>(
    index: usize,
) -> Option<(&'static str, &'static str)> {
    C::OPTIONS
        .get(index)
        .map(|option| (option.stored, option.label))
}

And map the existing launcher rows to their corresponding types:

match row {
    Row::FrameGen =>
        choice_value::<FrameGeneration>(index),

    Row::FgType =>
        choice_value::<FrameGenProvider>(index),

    Row::DlssModel =>
        choice_value::<DlssModel>(index),

    // Dynamic PC display options retain their
    // existing host-specific implementations.
    _ => None,
}

The important part is that this doesn't require replacing your low-level row integration.

For example:

  • Resolution and Refresh Rate should continue using your dynamic monitor enumeration.
  • Window Mode, VSync and other fixed choices can potentially use the same typed metadata.
  • Frame Generation can retain its provider/driver-dependent option count.
  • Your native row callbacks remain responsible for translating selections into the game's UI.

This would let us reuse the same typed option definitions across F1 and native settings without maintaining parallel string tables.

It's also a lightweight, declarative Rust approach: static metadata is defined once, and the UI-specific behavior is supplied through adapters.

3. Preserve your live runtime implementation

I especially don't want us to lose the runtime work in this PR.

Your current implementation has a useful separation:

  • A selection stays pending while the Settings menu is open.
  • NO/revert discards it.
  • Leaving Settings saves the choice.
  • The runtime applies whatever the current session can actually support.

I'd preserve this lifecycle.

The existing runtime entry points are particularly useful:

// Frame Generation: request a change for a later present.
request_framegen(times, kind);

// DLSS model: take the new preset from the next upscaling.
set_dlss_preset(preset);

We should keep the distinction between live-capable and restart-required choices too. In particular, switching to or from experimental FSR 4 remains restart-only.

The --framegen-ready dormant initialization is another part I'd like to retain. It gives us a useful way to prepare the runtime without immediately enabling generation.

One additional benefit of the typed approach is that we can centralize the setting's metadata and validation without putting the runtime lifecycle inside the UI implementation.

4. Stock Graphics research and restoration

One contribution I'd particularly like to bring into this collaboration is the stock Graphics reverse-engineering work.

I identified and mapped all 76 visible stock Graphics rows, not just their captions. This includes tracing their text/name IDs where available and identifying rows that have no name ID at all, for which I supplied VIctory-owned labels.

The work is documented in Marvisak/VIctory#2862 and demonstrated in-game in #2863.

This also covers missing subsection headings and descriptions for rows that previously had no help text.

I noticed #1981 still documents:

  • Five stock Graphics rows without labels.
  • FSR Quality, Volumetrics Quality and Water Quality displaying numeric positions instead of option names.
  • Anisotropic Filtering displaying 1 / 0.

I'd be happy to contribute the complete row mapping and text research to address these gaps.

One important safety consideration: #2862 documents an OOM when confirming a stock Graphics change. My implementation deliberately keeps stock setters blocked while restoring their readability.

I'd keep stock-label restoration and enabling stock editing as separate milestones until that issue is understood and resolved.

5. Proposed integration strategy

There are 11 overlapping files between the two PRs, and #1382 is based on an older main commit than this PR.

I see two reasonable approaches:

Option A — Two stacked PRs (my preference)

  1. Foundation: typed shared settings, native Graphics controls, common persistence and stock-label improvements.
  2. PC integration: your display controls, runtime lifecycle, output handling and DLSS Model row, building on the foundation.

Option B — One integration PR

Create a shared branch based on current main, combine the relevant changes and submit one PR for review.

Either approach is fine with me. I mainly want to avoid independently merging competing implementations of the same settings and persistence paths.


@trustno1-coder, I'd especially appreciate your guidance on the preferred integration approach.

The earlier native Graphics proposal #75 was incorporated into main in 8fc2254 and shipped in v2026.11.27.10, so #1382 is the implementation follow-up to that direction.

Would you prefer a shared integration branch with two stacked PRs, or one combined PR?

@abilliontokens, thanks again for the PC display and live Frame Generation work. I'd be happy to coordinate on a shared branch, contribute the typed settings abstraction and stock-label research, and help integrate your runtime work.

I think there's a real opportunity here to make the native settings experience considerably more complete while keeping the implementation maintainable for future contributors.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7255105398 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1981#issuecomment-7255105398). Originally posted by [AwkGrep256](https://github.com/AwkGrep256) on 2026-11-29T11:25:45Z. --- Hey @abilliontokens! I've been comparing #1981 with my [#1382](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1382) and the upstream research in [Marvisak/VIctory#2862](https://github.com/Marvisak/VIctory/issues/2862). First, I want to say that I genuinely like several things you've added here. In particular, the PC display controls and the live Frame Generation lifecycle are valuable additions. Being able to enable/disable FG, change its multiplier or switch providers while playing, when the presenter is prepared, is something I also wanted to implement eventually. I think there's an opportunity to combine both approaches rather than maintain two parallel settings implementations. ## 1. What each implementation brings | Area | My #1382 | Your #1981 | Potential combined result | |---|---|---|---| | 🧩 Settings architecture | Typed `Choice` / `Opt`, declarative `restart_choices!` macro, shared F1/native settings | Dedicated PC row callbacks and launcher settings | One typed source of truth, with adapters for each UI | | 🖥️ Display | Series X/S render profiles, upscaler, DLSS quality | Monitor resolution, refresh rate, window mode, VSync, triple buffering | Both rendering and actual PC output controls | | 🎮 Frame Generation | Typed choices, provider dependencies, shared settings and availability | Live enable/disable, provider switching, swap-chain lifecycle, `--framegen-ready` | Your runtime implementation driven by shared typed settings | | 🔬 DLSS Model | Not yet a dedicated native row | Default, Auto, K, J, M, L, with live model changes | Add a typed `DlssModel` setting and preserve your runtime integration | | 🏷️ Stock Graphics | Complete visible stock-row label research, including rows without name IDs | Restores stock rows but still documents five missing labels and several unnamed option values | Combine the catalogue and research with the stock-row implementation | | 💾 Persistence | Shared typed settings and F1/native integration | `launcher_settings.rs`, pending selections, save/revert hooks | One persistence API and consistent pending/apply semantics | ### Current implementation and validation status Legend: 🟩 implemented in a branch/prototype · 🟨 integration or validation needed · ⬜ pending | Milestone | Status | |---|---| | Stock row identification and labels | 🟩🟩🟩🟩🟩 | | Typed settings abstraction | 🟩🟩🟩🟩🟩 | | PC display/runtime implementation | 🟩🟩🟩🟩🟩 | | Shared backend integration | 🟨⬜⬜⬜⬜ | | Combined in-game validation | ⬜⬜⬜⬜⬜ | The important distinction is that the implementation exists, but neither branch should be considered fully validated as a combined implementation. Your PR reports successful builds and Rust tests, but explicitly says the current branch hasn't been run in-game. My latest branch also needs its outstanding focused tests and in-game checks rerun after rebasing. ## 2. A possible improvement: declarative typed settings One thing I'd particularly like to explore is reusing my `Choice` / `Opt` / `GraphicsChoice` abstractions for your launcher-owned rows. Currently, `pc_rows.rs` maintains separate tables: ```rust const FRAMEGEN_VALUES: [(&str, &str); 6] = [ ("0", "Off"), ("2", "2X"), ("3", "3X"), ("4", "4X"), ("5", "5X"), ("6", "6X"), ]; const FG_TYPE_VALUES: [(&str, &str); 4] = [ ("auto", "Auto"), ("dlss", "DLSS"), ("fsr", "FSR 3"), ("fsr4", "FSR 4 (Experimental)"), ]; const MODEL_VALUES: [(&str, &str); 6] = [ ("", "Default"), ("auto", "Auto"), ("k", "K"), ("j", "J"), ("m", "M"), ("l", "L"), ]; ``` There's nothing inherently wrong with these tables, especially for a focused implementation. However, they duplicate setting metadata that could live in the actual setting types. For example, the same choices could be declared through the existing macro: ```rust restart_choices! { FrameGenProvider { key: FG_TYPE, name: ("victory_fg_provider", "Frame Generation Type"), #[default] Auto => ("auto", "Auto"), Dlss => ("dlss", "DLSS"), Fsr => ("fsr", "FSR 3"), Fsr4 => ("fsr4", "FSR 4 (Experimental)"), } DlssModel { key: DLSS_PRESET, name: ("victory_dlss_model", "DLSS Model"), #[default] Default => ("", "Default"), Auto => ("auto", "Auto"), K => ("k", "K"), J => ("j", "J"), M => ("m", "M"), L => ("l", "L"), } } ``` `FrameGeneration` already has a typed definition in my implementation. The macro generates the enum, its `Choice` implementation and its static option metadata. This means stored values, labels and ordering are defined together rather than maintained in multiple places. The PC row adapter could then retrieve the metadata generically: ```rust fn choice_value<C: Choice>( index: usize, ) -> Option<(&'static str, &'static str)> { C::OPTIONS .get(index) .map(|option| (option.stored, option.label)) } ``` And map the existing launcher rows to their corresponding types: ```rust match row { Row::FrameGen => choice_value::<FrameGeneration>(index), Row::FgType => choice_value::<FrameGenProvider>(index), Row::DlssModel => choice_value::<DlssModel>(index), // Dynamic PC display options retain their // existing host-specific implementations. _ => None, } ``` The important part is that this doesn't require replacing your low-level row integration. For example: - Resolution and Refresh Rate should continue using your dynamic monitor enumeration. - Window Mode, VSync and other fixed choices can potentially use the same typed metadata. - Frame Generation can retain its provider/driver-dependent option count. - Your native row callbacks remain responsible for translating selections into the game's UI. This would let us reuse the same typed option definitions across F1 and native settings without maintaining parallel string tables. It's also a lightweight, declarative Rust approach: static metadata is defined once, and the UI-specific behavior is supplied through adapters. ## 3. Preserve your live runtime implementation I especially don't want us to lose the runtime work in this PR. Your current implementation has a useful separation: - A selection stays pending while the Settings menu is open. - NO/revert discards it. - Leaving Settings saves the choice. - The runtime applies whatever the current session can actually support. I'd preserve this lifecycle. The existing runtime entry points are particularly useful: ```rust // Frame Generation: request a change for a later present. request_framegen(times, kind); // DLSS model: take the new preset from the next upscaling. set_dlss_preset(preset); ``` We should keep the distinction between live-capable and restart-required choices too. In particular, switching to or from experimental FSR 4 remains restart-only. The `--framegen-ready` dormant initialization is another part I'd like to retain. It gives us a useful way to prepare the runtime without immediately enabling generation. One additional benefit of the typed approach is that we can centralize the setting's metadata and validation without putting the runtime lifecycle inside the UI implementation. ## 4. Stock Graphics research and restoration One contribution I'd particularly like to bring into this collaboration is the stock Graphics reverse-engineering work. I identified and mapped **all 76 visible stock Graphics rows**, not just their captions. This includes tracing their text/name IDs where available and identifying rows that have no name ID at all, for which I supplied VIctory-owned labels. The work is documented in [Marvisak/VIctory#2862](https://github.com/Marvisak/VIctory/issues/2862) and demonstrated in-game in [#2863](https://github.com/Marvisak/VIctory/pull/2863). This also covers missing subsection headings and descriptions for rows that previously had no help text. I noticed #1981 still documents: - Five stock Graphics rows without labels. - FSR Quality, Volumetrics Quality and Water Quality displaying numeric positions instead of option names. - Anisotropic Filtering displaying `1 / 0`. I'd be happy to contribute the complete row mapping and text research to address these gaps. One important safety consideration: #2862 documents an OOM when confirming a stock Graphics change. My implementation deliberately keeps stock setters blocked while restoring their readability. I'd keep stock-label restoration and enabling stock editing as separate milestones until that issue is understood and resolved. ## 5. Proposed integration strategy There are 11 overlapping files between the two PRs, and #1382 is based on an older main commit than this PR. I see two reasonable approaches: **Option A — Two stacked PRs (my preference)** 1. Foundation: typed shared settings, native Graphics controls, common persistence and stock-label improvements. 2. PC integration: your display controls, runtime lifecycle, output handling and DLSS Model row, building on the foundation. **Option B — One integration PR** Create a shared branch based on current main, combine the relevant changes and submit one PR for review. Either approach is fine with me. I mainly want to avoid independently merging competing implementations of the same settings and persistence paths. --- @trustno1-coder, I'd especially appreciate your guidance on the preferred integration approach. The earlier native Graphics proposal [#75](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/75) was incorporated into main in [8fc2254](https://github.com/trustno1-coder/VIctory-NVIDIA/commit/8fc2254) and shipped in v2026.11.27.10, so #1382 is the implementation follow-up to that direction. Would you prefer a shared integration branch with two stacked PRs, or one combined PR? @abilliontokens, thanks again for the PC display and live Frame Generation work. I'd be happy to coordinate on a shared branch, contribute the typed settings abstraction and stock-label research, and help integrate your runtime work. I think there's a real opportunity here to make the native settings experience considerably more complete while keeping the implementation maintainable for future contributors.
abilliontokens commented 2026-11-29 13:22:24 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by abilliontokens on 2026-11-29T13:22:24Z.


@AwkGrep256 thanks for the careful comparison. We read #1382 and #2862 side by side with #1981, and we'd like to go with Option B: one combined PR. We'd fold your work into #1981, with you as co-author on the commits that carry your code and research. If @trustno1-coder prefers the stacked Option A, the same pieces split cleanly into a foundation PR and a PC-integration PR on top.

What we'd take from #1382

  • The typed Choice / Opt core and restart_choices! (victory-core settings). The DISPLAY rows' option tables (DLSS Frame Generation, Frame Generation Type, DLSS Model) and the F1 menu's rows would derive from one typed declaration. #1981's pending-until-close lifecycle stays as you suggested: NO drops a choice, leaving Settings saves it, and the runtime applies what the session can take.
  • Your stock Graphics research, as the data for our text hook. It closes the rows #1981 leaves blank: the four Advanced rows, the two nameless rows (accessory textures and distant objects, which we had missed), the display group's four rows, the help text for rows that have none, and the two untitled group headings.
  • The rows #1981 lacks: console profile, Series X picture, Series S render resolution (paired with DLSS quality), upscaler and DLSS quality. These are saved for the next start.
  • The driver-reported DLSS FG multiplier limit for the Frame Generation row's range.

What we'd keep from #1981 instead of the #1382 equivalents. Both PRs patch the same Settings menu, so only one of each mechanism can be active:

  • the tab registration cave, not the section-adder intercept (otherwise there are two Graphics tabs);
  • the text-lookup hook, not the text-map injection and DirectStorage scan (the hook also serves the stepper value names);
  • #1981's own site writer, not the loader redirect/patch/memory helpers.

PC display rows. VSync, Refresh Rate, Window Mode and Triple Buffering become host-side. They never write the title's members and apply live, so they no longer ask the title to reset its graphics device. Resolution stays a title reset by design, because the title must remake its output targets.

A hang we haven't root-caused yet. Two of the three title device resets we've run at 3840x2160 output hung, both with the size unchanged; the reset stops about 100 ms after the upscaler is remade. We haven't identified which changed field makes the title reset. Stock Graphics rows are applied through the same reset path, so until that's found and fixed, editing them at 3840x2160 can hang the game. We saw your #2862 report of an OOM when a stock change is confirmed; in our build the equivalent is that render scaling 1:1 at 3840x2160 needs a render-target heap larger than the stock one, which we're addressing. For the combined PR that means:

  • instrumenting the reset so the next hang names where it stops, then fixing it before the rows are called verified;
  • stating the risk in the row descriptions and the PR body until then;
  • carrying its own live check: one stock change at 2560x1600, then at 3840x2160.

Where we differ from your current #1382 behaviour:

  • Frame Generation Type switches live (except FSR 4).
  • The DLSS model applies from the next upscaling.
  • Choices are saved when Settings is left rather than on every step.

Does this split work for you? If you'd rather keep authorship of specific files, or you have newer label wording than pr1382-head (a013d463), point us to the commit and we'll take that.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7256488801 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1981#issuecomment-7256488801). Originally posted by [abilliontokens](https://github.com/abilliontokens) on 2026-11-29T13:22:24Z. --- @AwkGrep256 thanks for the careful comparison. We read #1382 and #2862 side by side with #1981, and we'd like to go with **Option B: one combined PR**. We'd fold your work into #1981, with you as co-author on the commits that carry your code and research. If @trustno1-coder prefers the stacked Option A, the same pieces split cleanly into a foundation PR and a PC-integration PR on top. **What we'd take from #1382** - The typed `Choice` / `Opt` core and `restart_choices!` (victory-core `settings`). The DISPLAY rows' option tables (DLSS Frame Generation, Frame Generation Type, DLSS Model) and the F1 menu's rows would derive from one typed declaration. #1981's pending-until-close lifecycle stays as you suggested: NO drops a choice, leaving Settings saves it, and the runtime applies what the session can take. - Your stock Graphics research, as the data for our text hook. It closes the rows #1981 leaves blank: the four Advanced rows, the two nameless rows (accessory textures and distant objects, which we had missed), the display group's four rows, the help text for rows that have none, and the two untitled group headings. - The rows #1981 lacks: console profile, Series X picture, Series S render resolution (paired with DLSS quality), upscaler and DLSS quality. These are saved for the next start. - The driver-reported DLSS FG multiplier limit for the Frame Generation row's range. **What we'd keep from #1981 instead of the #1382 equivalents.** Both PRs patch the same Settings menu, so only one of each mechanism can be active: - the tab registration cave, not the section-adder intercept (otherwise there are two Graphics tabs); - the text-lookup hook, not the text-map injection and DirectStorage scan (the hook also serves the stepper value names); - #1981's own site writer, not the loader redirect/patch/memory helpers. **PC display rows.** VSync, Refresh Rate, Window Mode and Triple Buffering become host-side. They never write the title's members and apply live, so they no longer ask the title to reset its graphics device. Resolution stays a title reset by design, because the title must remake its output targets. **A hang we haven't root-caused yet.** Two of the three title device resets we've run at 3840x2160 output hung, both with the size unchanged; the reset stops about 100 ms after the upscaler is remade. We haven't identified which changed field makes the title reset. Stock Graphics rows are applied through the same reset path, so until that's found and fixed, editing them at 3840x2160 can hang the game. We saw your #2862 report of an OOM when a stock change is confirmed; in our build the equivalent is that render scaling 1:1 at 3840x2160 needs a render-target heap larger than the stock one, which we're addressing. For the combined PR that means: - instrumenting the reset so the next hang names where it stops, then fixing it before the rows are called verified; - stating the risk in the row descriptions and the PR body until then; - carrying its own live check: one stock change at 2560x1600, then at 3840x2160. Where we differ from your current #1382 behaviour: - Frame Generation Type switches live (except FSR 4). - The DLSS model applies from the next upscaling. - Choices are saved when Settings is left rather than on every step. Does this split work for you? If you'd rather keep authorship of specific files, or you have newer label wording than `pr1382-head` (a013d463), point us to the commit and we'll take that.
abilliontokens commented 2026-11-29 13:22:57 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by abilliontokens on 2026-11-29T13:22:57Z.


One correction to my last comment: stock Graphics rows will be read-only while the output is 3840x2160, and editable at smaller sizes, not editable everywhere with a stated risk. That holds until the reset hang is found and fixed, and a stock change at 3840x2160 is re-checked.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7256495772 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1981#issuecomment-7256495772). Originally posted by [abilliontokens](https://github.com/abilliontokens) on 2026-11-29T13:22:57Z. --- One correction to my last comment: stock Graphics rows will be **read-only while the output is 3840x2160, and editable at smaller sizes**, not editable everywhere with a stated risk. That holds until the reset hang is found and fixed, and a stock change at 3840x2160 is re-checked.
AwkGrep256 commented 2026-11-29 13:52:52 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by AwkGrep256 on 2026-11-29T13:52:52Z.


Thanks @abilliontokens! This split works for me. I'm happy to go with Option B: one combined PR, folding the relevant #1382 work into #1981, with co-authorship on the commits carrying my code and research.

I agree that we should avoid maintaining two competing implementations of the same settings infrastructure. I think we can get a much stronger result by combining the shared settings architecture with your PC-specific runtime implementation.

Here's my understanding of the proposed integration so we're all on the same page.

📋 TL;DR — Proposed Combined Architecture

Area Bring from #1382 Keep from #1981 Combined Result
🦀 Settings architecture Typed Choice / Opt, GraphicsChoice, restart_choices! Dedicated PC row callbacks One typed source of truth with UI-specific adapters
🖥️ Graphics settings Console profiles, Series X/S resolutions, upscaler, DLSS quality PC output/display controls Complete console-rendering and PC-display settings
🔒 Native availability Dependency-aware options, native disabled/locked states and validation Native menu integration Genuine GTA disabled states driven by shared dependency logic
🎮 Frame Generation Typed choices, provider-dependent multiplier limits (FSR 3/4 up to 2×, DLSS up to 6×) Live FG lifecycle, provider switching, swap-chain integration Dynamic options in one shared row with existing runtime support
🔬 DLSS Model Typed setting definition Live model switching Typed metadata with application from the next upscaling
🏷️ Stock Graphics Complete stock-row identification, labels, descriptions and headings Existing stock-row restoration and text resolver More complete native Graphics catalogue
💾 Persistence Shared settings definitions and F1 integration Pending selections, save/revert lifecycle Consistent settings across both interfaces

⚙️ Low-Level Implementation Differences

These are areas where I agree we should choose one implementation rather than combine both mechanisms.

Component #1382 Approach #1981 Approach Decision / Trade-off
Tab registration Section-adder interception Registration cave ✅ Keep #1981 to avoid duplicate tabs
Text handling Text-map injection, DirectStorage discovery and fallback scanning Central text-lookup hook ✅ Keep #1981; avoids dictionary discovery and mutation
Memory patching Reusable loader helpers (write_code, redirect_call, read_memory) Dedicated PC-settings site writer ✅ Keep #1981's site-specific integration, while retaining reusable infrastructure where useful

🔍 Engineering Trade-offs

Text handling

  • #1382 avoids routing every game text lookup through an additional hook, but depends on discovering and modifying the game's internal text map.
  • #1981 avoids that discovery and map mutation, centralizing custom text resolution.
  • The trade-off is an additional call on the text-lookup path. Its performance impact should be measured rather than assumed.

Memory patching

  • #1382 provides reusable loader-level abstractions, including protection restoration and instruction-cache handling.
  • #1981 uses a more specialized site-writing implementation.
  • I'm happy to retain the specialized approach, but I'd like failures from protection restoration and instruction-cache flushing to be propagated rather than silently ignored.

Settings architecture

This is where I think the biggest opportunity is.

Rather than maintaining separate option tables in pc_rows.rs, PC rows could consume the same typed definitions:

Choice → Opt → GraphicsChoice → UI-specific adapters.

This keeps labels, stored values, ordering, defaults and dependencies together without forcing dynamic PC functionality into the generic settings layer.

🔒 Native Availability & Dependency-Aware Options

Another important feature from #1382 is the ability to use GTA's native disabled/locked presentation for dependent settings.

For example, DLSS-specific options should become unavailable when DLSS is not the selected upscaler.

  • Uses GTA's actual greyed-out appearance and lock indicator, rather than merely preventing input.
  • Availability updates dynamically when the parent setting changes.
  • Options become selectable again when their requirements are satisfied.
  • Dependencies are validated when applying or saving settings to prevent invalid combinations.

I'd like to preserve this behaviour through the shared settings definitions rather than reimplementing it separately for the PC menu.

⚡ Dynamic Frame Generation Multipliers

#1382 also implements provider-dependent multiplier availability within the same native settings row.

Provider Available Multipliers
AMD FSR 3 OFF / 2×
AMD FSR 4 OFF / 2×
NVIDIA DLSS Frame Generation OFF / 2× / 3× / 4× / 5× / 6×
  • 🔄 Available choices update when the selected provider changes.
  • 🎮 Uses the active presenter/provider when Auto selection is enabled.
  • 🟢 Respects NVIDIA's supported DLSS Frame Generation multiplier limit.
  • 🚫 Unsupported multipliers cannot be selected.
  • 📋 Reuses one multiplier row instead of creating separate controls for each provider.

These behaviours should remain connected to the shared typed settings architecture, while the existing PC runtime continues handling actual Frame Generation application.

🎮 Runtime and Persistence Decisions

Functionality Proposed Behaviour
VSync Host-side, live
Refresh Rate Host-side, live
Window Mode Host-side, live
Triple Buffering Host-side, live
Resolution Title output reset, by design
Frame Generation Type Live switching, except FSR 4
Frame Generation multiplier Live when the presenter is prepared
DLSS Model Applied from the next upscaling
Settings confirmation Pending changes until leaving Settings
NO / Revert Discard pending selections
Leaving Settings Save selections

The distinction between UI, persistence and runtime application is important. I'd like to preserve that separation.

⚠️ Outstanding Issue: 3840×2160 Device Reset

I agree this needs to be treated as a real validation gate rather than just a known limitation.

Task Status
Instrument device reset to identify where it hangs 🟨
Identify and fix the underlying issue ⬜
Verify stock Graphics changes at 2560×1600 ⬜
Verify stock Graphics changes at 3840×2160 ⬜
Keep stock Graphics rows read-only at 3840×2160 until fixed ✅
Allow editing at smaller output resolutions ✅

I agree with the correction: stock Graphics rows should remain read-only at 3840×2160 until the reset issue is resolved and verified.

📊 Integration Progress

Legend: 🟩 Existing implementation/research · 🟨 Integration or additional work · ⬜ Not yet validated

Workstream Current Position
Typed settings foundation (#1382) 🟩🟩🟩🟩🟩
PC display/runtime implementation (#1981) 🟩🟩🟩🟩🟨
Stock Graphics research 🟩🟩🟩🟩🟩
Native dependency-aware availability 🟩🟩🟩🟩🟩
Dynamic FG multiplier restrictions 🟩🟩🟩🟩🟩
Shared backend integration 🟨🟨⬜⬜⬜
3840×2160 reset investigation 🟨⬜⬜⬜⬜
Combined in-game validation ⬜⬜⬜⬜⬜

These bars represent the existence and integration state of individual work, not completed validation of the combined branch.

🤝 Proposed Next Steps

  1. Use #1981 as the integration base.
  2. Port the typed settings foundation from #1382.
  3. Integrate the stock Graphics research and missing settings.
  4. Preserve native dependency-aware locking and provider-dependent FG multiplier restrictions.
  5. Preserve the existing PC-specific runtime and pending/save lifecycle.
  6. Resolve the 3840×2160 reset issue.
  7. Run focused Rust tests, diagnostics builds and a complete combined in-game validation pass.

@abilliontokens — thanks again for being open to collaboration and preserving the work rather than duplicating it. I'm happy to help with the integration, typed settings adapters and stock Graphics research.

@trustno1-coder — I'd appreciate your input on the proposed direction. Are you happy with Option B (one combined PR), or would you prefer the two stacked PR approach?

I'm happy to follow whichever structure makes review and long-term maintenance easiest.

Ultimately, I think the goal should be one maintainable settings architecture, with the flexibility of the PC runtime implementation and without duplicating the underlying settings definitions.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7256871603 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1981#issuecomment-7256871603). Originally posted by [AwkGrep256](https://github.com/AwkGrep256) on 2026-11-29T13:52:52Z. --- Thanks @abilliontokens! This split works for me. I'm happy to go with **Option B: one combined PR**, folding the relevant [#1382](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1382) work into [#1981](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1981), with co-authorship on the commits carrying my code and research. I agree that we should avoid maintaining two competing implementations of the same settings infrastructure. I think we can get a much stronger result by combining the shared settings architecture with your PC-specific runtime implementation. Here's my understanding of the proposed integration so we're all on the same page. ## 📋 TL;DR — Proposed Combined Architecture | Area | Bring from #1382 | Keep from #1981 | Combined Result | |:---|:---|:---|:---| | 🦀 Settings architecture | Typed `Choice` / `Opt`, `GraphicsChoice`, `restart_choices!` | Dedicated PC row callbacks | One typed source of truth with UI-specific adapters | | 🖥️ Graphics settings | Console profiles, Series X/S resolutions, upscaler, DLSS quality | PC output/display controls | Complete console-rendering and PC-display settings | | 🔒 Native availability | Dependency-aware options, native disabled/locked states and validation | Native menu integration | Genuine GTA disabled states driven by shared dependency logic | | 🎮 Frame Generation | Typed choices, provider-dependent multiplier limits (FSR 3/4 up to 2×, DLSS up to 6×) | Live FG lifecycle, provider switching, swap-chain integration | Dynamic options in one shared row with existing runtime support | | 🔬 DLSS Model | Typed setting definition | Live model switching | Typed metadata with application from the next upscaling | | 🏷️ Stock Graphics | Complete stock-row identification, labels, descriptions and headings | Existing stock-row restoration and text resolver | More complete native Graphics catalogue | | 💾 Persistence | Shared settings definitions and F1 integration | Pending selections, save/revert lifecycle | Consistent settings across both interfaces | ## ⚙️ Low-Level Implementation Differences These are areas where I agree we should choose one implementation rather than combine both mechanisms. | Component | #1382 Approach | #1981 Approach | Decision / Trade-off | |:---|:---|:---|:---| | Tab registration | Section-adder interception | Registration cave | ✅ Keep #1981 to avoid duplicate tabs | | Text handling | Text-map injection, DirectStorage discovery and fallback scanning | Central text-lookup hook | ✅ Keep #1981; avoids dictionary discovery and mutation | | Memory patching | Reusable loader helpers (`write_code`, `redirect_call`, `read_memory`) | Dedicated PC-settings site writer | ✅ Keep #1981's site-specific integration, while retaining reusable infrastructure where useful | ### 🔍 Engineering Trade-offs **Text handling** - #1382 avoids routing every game text lookup through an additional hook, but depends on discovering and modifying the game's internal text map. - #1981 avoids that discovery and map mutation, centralizing custom text resolution. - The trade-off is an additional call on the text-lookup path. Its performance impact should be measured rather than assumed. **Memory patching** - #1382 provides reusable loader-level abstractions, including protection restoration and instruction-cache handling. - #1981 uses a more specialized site-writing implementation. - I'm happy to retain the specialized approach, but I'd like failures from protection restoration and instruction-cache flushing to be propagated rather than silently ignored. **Settings architecture** This is where I think the biggest opportunity is. Rather than maintaining separate option tables in `pc_rows.rs`, PC rows could consume the same typed definitions: `Choice` → `Opt` → `GraphicsChoice` → UI-specific adapters. This keeps labels, stored values, ordering, defaults and dependencies together without forcing dynamic PC functionality into the generic settings layer. ### 🔒 Native Availability & Dependency-Aware Options Another important feature from #1382 is the ability to use GTA's native disabled/locked presentation for dependent settings. For example, DLSS-specific options should become unavailable when DLSS is not the selected upscaler. - Uses GTA's actual greyed-out appearance and lock indicator, rather than merely preventing input. - Availability updates dynamically when the parent setting changes. - Options become selectable again when their requirements are satisfied. - Dependencies are validated when applying or saving settings to prevent invalid combinations. I'd like to preserve this behaviour through the shared settings definitions rather than reimplementing it separately for the PC menu. ### ⚡ Dynamic Frame Generation Multipliers #1382 also implements provider-dependent multiplier availability within the same native settings row. | Provider | Available Multipliers | |:---|:---| | AMD FSR 3 | OFF / 2× | | AMD FSR 4 | OFF / 2× | | NVIDIA DLSS Frame Generation | OFF / 2× / 3× / 4× / 5× / 6× | - 🔄 Available choices update when the selected provider changes. - 🎮 Uses the active presenter/provider when Auto selection is enabled. - 🟢 Respects NVIDIA's supported DLSS Frame Generation multiplier limit. - 🚫 Unsupported multipliers cannot be selected. - 📋 Reuses one multiplier row instead of creating separate controls for each provider. These behaviours should remain connected to the shared typed settings architecture, while the existing PC runtime continues handling actual Frame Generation application. ## 🎮 Runtime and Persistence Decisions | Functionality | Proposed Behaviour | |:---|:---| | VSync | Host-side, live | | Refresh Rate | Host-side, live | | Window Mode | Host-side, live | | Triple Buffering | Host-side, live | | Resolution | Title output reset, by design | | Frame Generation Type | Live switching, except FSR 4 | | Frame Generation multiplier | Live when the presenter is prepared | | DLSS Model | Applied from the next upscaling | | Settings confirmation | Pending changes until leaving Settings | | NO / Revert | Discard pending selections | | Leaving Settings | Save selections | The distinction between UI, persistence and runtime application is important. I'd like to preserve that separation. ## ⚠️ Outstanding Issue: 3840×2160 Device Reset I agree this needs to be treated as a real validation gate rather than just a known limitation. | Task | Status | |:---|:---:| | Instrument device reset to identify where it hangs | 🟨 | | Identify and fix the underlying issue | ⬜ | | Verify stock Graphics changes at 2560×1600 | ⬜ | | Verify stock Graphics changes at 3840×2160 | ⬜ | | Keep stock Graphics rows read-only at 3840×2160 until fixed | ✅ | | Allow editing at smaller output resolutions | ✅ | I agree with the correction: stock Graphics rows should remain read-only at 3840×2160 until the reset issue is resolved and verified. ## 📊 Integration Progress **Legend:** 🟩 Existing implementation/research · 🟨 Integration or additional work · ⬜ Not yet validated | Workstream | Current Position | |:---|:---| | Typed settings foundation (#1382) | 🟩🟩🟩🟩🟩 | | PC display/runtime implementation (#1981) | 🟩🟩🟩🟩🟨 | | Stock Graphics research | 🟩🟩🟩🟩🟩 | | Native dependency-aware availability | 🟩🟩🟩🟩🟩 | | Dynamic FG multiplier restrictions | 🟩🟩🟩🟩🟩 | | Shared backend integration | 🟨🟨⬜⬜⬜ | | 3840×2160 reset investigation | 🟨⬜⬜⬜⬜ | | Combined in-game validation | ⬜⬜⬜⬜⬜ | *These bars represent the existence and integration state of individual work, not completed validation of the combined branch.* ## 🤝 Proposed Next Steps 1. Use #1981 as the integration base. 2. Port the typed settings foundation from #1382. 3. Integrate the stock Graphics research and missing settings. 4. Preserve native dependency-aware locking and provider-dependent FG multiplier restrictions. 5. Preserve the existing PC-specific runtime and pending/save lifecycle. 6. Resolve the 3840×2160 reset issue. 7. Run focused Rust tests, diagnostics builds and a complete combined in-game validation pass. @abilliontokens — thanks again for being open to collaboration and preserving the work rather than duplicating it. I'm happy to help with the integration, typed settings adapters and stock Graphics research. @trustno1-coder — I'd appreciate your input on the proposed direction. Are you happy with **Option B (one combined PR)**, or would you prefer the two stacked PR approach? I'm happy to follow whichever structure makes review and long-term maintenance easiest. Ultimately, I think the goal should be one maintainable settings architecture, with the flexibility of the PC runtime implementation and without duplicating the underlying settings definitions.
abilliontokens commented 2026-11-29 16:43:32 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by abilliontokens on 2026-11-29T16:43:32Z.


Heads-up: the current head (c1fe1931) crashes ~2 s after start (0xC0000005) — a mistyped RVA in the last commit's widget-pool cave writes to unmapped memory, and its site also covered a branch target it didn't replay. Builds, 2280 tests, clippy and the policy check all passed on it, so I'm adding a boot check (title reaches the main menu) to the gate list, plus a test that validates each cave's RVAs against the retail image. Back to draft until the fix is pushed and re-gated.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7259128340 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1981#issuecomment-7259128340). Originally posted by [abilliontokens](https://github.com/abilliontokens) on 2026-11-29T16:43:32Z. --- Heads-up: the current head (c1fe1931) crashes ~2 s after start (0xC0000005) — a mistyped RVA in the last commit's widget-pool cave writes to unmapped memory, and its site also covered a branch target it didn't replay. Builds, 2280 tests, clippy and the policy check all passed on it, so I'm adding a boot check (title reaches the main menu) to the gate list, plus a test that validates each cave's RVAs against the retail image. Back to draft until the fix is pushed and re-gated.
abilliontokens commented 2026-11-29 17:36:03 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by abilliontokens on 2026-11-29T17:36:03Z.


Back to draft. Head 83e22501 crashes as soon as the in-game Settings menu is opened. Commit 17's group-heading cave calls a host function before the displaced call to 0x239E0A0 and doesn't preserve rdx, which that call takes as an argument. A fix is ready (rdx is saved around the host call). Every cave is now being audited for clobbered registers, stack alignment and replayed instructions against the retail image. This goes back to ready only after the fixes, full gates, and a run that starts the game and opens every Settings tab.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7259817860 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1981#issuecomment-7259817860). Originally posted by [abilliontokens](https://github.com/abilliontokens) on 2026-11-29T17:36:03Z. --- Back to draft. Head 83e22501 crashes as soon as the in-game Settings menu is opened. Commit 17's group-heading cave calls a host function before the displaced call to 0x239E0A0 and doesn't preserve rdx, which that call takes as an argument. A fix is ready (rdx is saved around the host call). Every cave is now being audited for clobbered registers, stack alignment and replayed instructions against the retail image. This goes back to ready only after the fixes, full gates, and a run that starts the game and opens every Settings tab.
abilliontokens commented 2026-11-30 03:09:59 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by abilliontokens on 2026-11-30T03:09:59Z.


Update on the stock Graphics rows, replacing what I said at 13:22: by default no row asks the game to reset its graphics device any more, because the reset hung at 2560x1600 as well as at 3840x2160. Stock Graphics rows stay editable at every size, but a change is saved when Settings is left and applied the next time the game starts (VIctory writes it into the game's settings before the device is created). Resolution, Series X picture, DLSS quality and Series S render resolution work the same way. VSync, Refresh Rate, Window Mode, Triple Buffering, DLSS Model and frame generation still apply live. VICTORY_LIVE_RESETS=1 brings back the live resets for investigating the hang. This is on the local branch and goes up once the game passes the boot-and-Settings smoke run.

@AwkGrep256 I saw your new #1382 commits (85a6c0be): we'll fold them in with you as co-author. One clash to settle: our DLSS Frame Generation row is built on outputIndex (the hidden Monitor member), which your Monitor work needs. We're working out options and will propose one here.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7267644606 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1981#issuecomment-7267644606). Originally posted by [abilliontokens](https://github.com/abilliontokens) on 2026-11-30T03:09:59Z. --- Update on the stock Graphics rows, replacing what I said at 13:22: by default **no row asks the game to reset its graphics device** any more, because the reset hung at 2560x1600 as well as at 3840x2160. Stock Graphics rows stay editable at every size, but a change is saved when Settings is left and applied the next time the game starts (VIctory writes it into the game's settings before the device is created). Resolution, Series X picture, DLSS quality and Series S render resolution work the same way. VSync, Refresh Rate, Window Mode, Triple Buffering, DLSS Model and frame generation still apply live. `VICTORY_LIVE_RESETS=1` brings back the live resets for investigating the hang. This is on the local branch and goes up once the game passes the boot-and-Settings smoke run. @AwkGrep256 I saw your new #1382 commits (85a6c0be): we'll fold them in with you as co-author. One clash to settle: our DLSS Frame Generation row is built on `outputIndex` (the hidden Monitor member), which your Monitor work needs. We're working out options and will propose one here.
abilliontokens commented 2026-11-30 03:11:37 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by abilliontokens on 2026-11-30T03:11:37Z.


@AwkGrep256 on the outputIndex clash, a proposal. With this PR's patches the game never acts on outputIndex: its adapter copy is patched so the device always gets adapter 0 / output 0, and its apply never reads that member. So a Monitor row here could only be host-side anyway (VIctory moving its window to the chosen display), whichever member it sits on.

For #1981 we'd keep the DLSS Frame Generation row on outputIndex and leave Monitor hidden, and make the Resolution and Refresh Rate lists come from the display the window is on rather than the primary one. A host-side Monitor row fits better as a follow-up PR built on your memberless-row work (it would also free the frame-generation row from needing a spare member), with you leading it if you'd like.

From your newer commits (a013d463..85a6c0be) we'd take nothing into this PR: setting.rs/monitor.rs have no consumer yet, and our pending-until-close lifecycle replaces the immediate save. Your Clippy cleanups (victory-shader imports, crash::unwind_copy cfg) fix main's own warnings, so they'd sit better in their own PR to main. Does that work for you?

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7267669631 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1981#issuecomment-7267669631). Originally posted by [abilliontokens](https://github.com/abilliontokens) on 2026-11-30T03:11:37Z. --- @AwkGrep256 on the outputIndex clash, a proposal. With this PR's patches the game never acts on `outputIndex`: its adapter copy is patched so the device always gets adapter 0 / output 0, and its apply never reads that member. So a Monitor row here could only be host-side anyway (VIctory moving its window to the chosen display), whichever member it sits on. For #1981 we'd keep the DLSS Frame Generation row on `outputIndex` and leave Monitor hidden, and make the Resolution and Refresh Rate lists come from the display the window is on rather than the primary one. A host-side Monitor row fits better as a follow-up PR built on your memberless-row work (it would also free the frame-generation row from needing a spare member), with you leading it if you'd like. From your newer commits (a013d463..85a6c0be) we'd take nothing into this PR: `setting.rs`/`monitor.rs` have no consumer yet, and our pending-until-close lifecycle replaces the immediate save. Your Clippy cleanups (victory-shader imports, `crash::unwind_copy` cfg) fix main's own warnings, so they'd sit better in their own PR to main. Does that work for you?
AwkGrep256 commented 2026-11-30 12:05:08 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by AwkGrep256 on 2026-11-30T12:05:08Z.


@AwkGrep256 on the outputIndex clash, a proposal. With this PR's patches the game never acts on outputIndex: its adapter copy is patched so the device always gets adapter 0 / output 0, and its apply never reads that member. So a Monitor row here could only be host-side anyway (VIctory moving its window to the chosen display), whichever member it sits on.

For #1981 we'd keep the DLSS Frame Generation row on outputIndex and leave Monitor hidden, and make the Resolution and Refresh Rate lists come from the display the window is on rather than the primary one. A host-side Monitor row fits better as a follow-up PR built on your memberless-row work (it would also free the frame-generation row from needing a spare member), with you leading it if you'd like.

From your newer commits (a013d46..85a6c0b) we'd take nothing into this PR: setting.rs/monitor.rs have no consumer yet, and our pending-until-close lifecycle replaces the immediate save. Your Clippy cleanups (victory-shader imports, crash::unwind_copy cfg) fix main's own warnings, so they'd sit better in their own PR to main. Does that work for you?

That makes sense. One thing I'd like to clarify regarding commit 51c1408

Besides the Monitor model, this commit introduces a broader set of reusable setting abstractions in victory-core: ToggleSetting, RangeSetting, ChoiceSetting, DynamicChoice, ActionSetting, InfoSetting, and SettingGroup/SettingRef.

The idea is to have a common, platform-independent description of different setting types, with the actual UI, persistence and runtime application handled by their respective adapters.

I understand why setting.rs doesn't need to be included in #1981 yet if there isn't a concrete consumer, and I'm fine keeping the current integration focused on the typed Choice/Opt foundation.

I'd just like to preserve this work as groundwork for future settings interfaces rather than lose the opportunity to share the abstractions when more setting types are needed.

Would you prefer to revisit this when we implement the host-side Monitor selector, or keep the core settings API narrower for now?

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7277923054 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/1981#issuecomment-7277923054). Originally posted by [AwkGrep256](https://github.com/AwkGrep256) on 2026-11-30T12:05:08Z. --- > @AwkGrep256 on the outputIndex clash, a proposal. With this PR's patches the game never acts on `outputIndex`: its adapter copy is patched so the device always gets adapter 0 / output 0, and its apply never reads that member. So a Monitor row here could only be host-side anyway (VIctory moving its window to the chosen display), whichever member it sits on. > > For #1981 we'd keep the DLSS Frame Generation row on `outputIndex` and leave Monitor hidden, and make the Resolution and Refresh Rate lists come from the display the window is on rather than the primary one. A host-side Monitor row fits better as a follow-up PR built on your memberless-row work (it would also free the frame-generation row from needing a spare member), with you leading it if you'd like. > > From your newer commits ([a013d46](https://github.com/trustno1-coder/VIctory-NVIDIA/commit/a013d46303c0a5d211dfda08e4bd69a37a5956dd)..[85a6c0b](https://github.com/trustno1-coder/VIctory-NVIDIA/commit/85a6c0be4e5ced38093f6805941af87c0397238e)) we'd take nothing into this PR: `setting.rs`/`monitor.rs` have no consumer yet, and our pending-until-close lifecycle replaces the immediate save. Your Clippy cleanups (victory-shader imports, `crash::unwind_copy` cfg) fix main's own warnings, so they'd sit better in their own PR to main. Does that work for you? That makes sense. One thing I'd like to clarify regarding commit [51c1408](https://github.com/trustno1-coder/VIctory-NVIDIA/commit/51c1408c8013a2c1da20c0a198ddb7c2f24ed535) Besides the Monitor model, this commit introduces a broader set of reusable setting abstractions in `victory-core`: `ToggleSetting`, `RangeSetting`, `ChoiceSetting`, `DynamicChoice`, `ActionSetting`, `InfoSetting`, and `SettingGroup`/`SettingRef`. The idea is to have a common, platform-independent description of different setting types, with the actual UI, persistence and runtime application handled by their respective adapters. I understand why `setting.rs` doesn't need to be included in #1981 yet if there isn't a concrete consumer, and I'm fine keeping the current integration focused on the typed Choice/Opt foundation. I'd just like to preserve this work as groundwork for future settings interfaces rather than lose the opportunity to share the abstractions when more setting types are needed. Would you prefer to revisit this when we implement the host-side Monitor selector, or keep the core settings API narrower for now?
This pull request cannot be merged automatically due to conflicts.
Merge manually to resolve the conflicts.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'upstream-pr/1981:upstream-pr/1981'
git switch 'upstream-pr/1981'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'main'
git merge --no-ff 'upstream-pr/1981'
git switch 'upstream-pr/1981'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/1981'
git switch 'upstream-pr/1981'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/1981'
git switch 'main'
git merge --squash 'upstream-pr/1981'
git switch 'main'
git merge --ff-only 'upstream-pr/1981'
git switch 'main'
git merge 'upstream-pr/1981'
git push origin 'main'
Sign in to join this conversation.
No reviewers
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
trustno1-coder/VIctory-NVIDIA!1981
No description provided.