UI: Vice City UI v3 — Categorized F1 Menu, Live Scale & Corner, Compact F3 + 1% Low, etc #4712

Open
github-bot wants to merge 5 commits from github-bot/gh-4711 into main AGit
Owner

@⁠ArnoX5 on GitHub · 2026-12-01 03:02 UTC · original
ArnoX5:ui/vice-city-categories → main · +547 −82 · 3 files · 5 commits · open

Summary

Follow-up polish to #4635 implementing community feedback from Discussion #4661 plus live overlay customization, a Compact F3 HUD with 1% LOW FPS, conflict warnings, and one-click bug-report specs—with zero new dependencies and zero Cargo.toml changes.

Huge thanks to @⁠freyandere for suggesting the categorized F1 layout and top console/build header on the F3 panel!

F1 Settings Menu (menu.rs)

  • 9 Clean Categories (suggested by @⁠freyandere): Grouped all 48 settings and 10 actions under non-selectable neon-pink section headers (DISPLAY, DLSS & FRAME GENERATION, FRAME RATE & STATS, CONTROLS, LIGHTING & IMAGE, ADVANCED GRAPHICS, PERFORMANCE & COMPATIBILITY, MODS / EXPERIMENTAL, ACTIONS). Arrow keys, hold-to-scroll, scroll wheel, and gamepad skip headers automatically.
  • PageUp / PageDown Section Jump: Snap straight between categories (with key repeat when held), shown right in the header help bar.
  • Slim Right-Edge Scrollbar: Shows scroll position at a glance and makes lower categories immediately discoverable.
  • Live UI SCALE (VICTORY_UI_PCT): Resize the entire overlay live (AUTO, 80%–200%) without editing scripts—automatically capped to screen height so it never clips on 1080p displays.
  • Live OVERLAY CORNER (VICTORY_OVERLAY_CORNER): Move the F3 panel and FPS pill live to Top-Left, Top-Right, Bottom-Left, or Bottom-Right so they stay clear of GTA 6’s top-left tutorial/Focus popups.
  • Pending-Restart Badge: Amber N NEED(S) RESTART counter in the header whenever non-live settings differ from launch (clears automatically if reverted).
  • Smart Conflict Warnings: Flags incompatible active combos in coral with a ! tag and explains the fix in the footer (RAY TRACING + HARDWARE RT, FRAME GEN with both THIN LISTS and ASYNC SUBMIT off, or FORCE 3X / MFG UNLOCKER without DLSS FG).
  • One-Click COPY SPECS & SETTINGS (FOR BUG REPORTS) (ACTIONS): Copies a formatted Markdown summary (Build, GPU—even when set to AUTO, Console/Res, DLSS/Preset, FG/Type, RT, and modified switches) straight to the Windows clipboard for Ctrl + V into GitHub Issues.
  • Dynamic Auto-Widening (menu_layout()): Computes width and column alignment once at startup from the longest label/value (including GPU names), keeping the 676 floor while safely widening for longer entries in future updates.

F3 Stats Panel (panel.rs)

  • Top SERIES X / BUILD Header (suggested by @⁠freyandere): Displays active console profile (SERIES X / SERIES S) and live build version (BUILD V...) right above a divider for instant clarity in screenshots and bug reports.
  • 3-State F3 Cycle (OFF → COMPACT → FULL):
    • Compact: Clean gaming HUD (SERIES X/S · BUILD, FPS, 1% LOW, FRAME, FG, DLSS, VRAM, RAM, CPU + live FPS sparkline).
    • Full: Complete developer telemetry + all 4 sparklines (FPS, CPU, RAM, VRAM).
    • Stays synced with F1’s STATS PANEL (F3) setting; existing VICTORY_PANEL=1 configs map directly to FULL.
  • Live 1% LOW FPS: Shown under FPS in both Compact and Full modes with amber/coral pacing alerts.
  • Dynamic Width & Height + Free-Flow FPS Sparkline: Tighter 182 base width that auto-sizes both dimensions to fit future rows/labels without clipping, plus a raw-FPS sparkline that auto-scales cleanly to any frame rate (10-FPS steps, 30-FPS floor) with the live ceiling printed on the bar.
Implementation & Maintainer Notes
  • Zero-allocation hot path: panel::mode() (0/1/2) and panel::corner_pos() (0–3) use AtomicU8, shared cleanly between panel.rs and menu.rs’s FPS pill.
  • Zero D3D12 buffer churn: Compact ↔ Full and dynamic width/height reuse the existing backing Buffers via draw_w / draw_h clipping, with a 50ms minimum window guard on mode-flip redraws to prevent artificial FPS spikes.
  • 1% Low calculation: Rolling 240-frame ring buffer (f64::total_cmp, 99th-percentile worst frametime), cleared automatically when the panel is turned off.
  • Clipboard FFI: Self-contained copy_to_clipboard() using user32/kernel32 unsafe extern "system" bindings (matching font.rs’s gdi32 pattern), UTF-16LE (CF_UNICODETEXT), with GlobalFree cleanup on error.
  • Clippy cleanup: Resolved all workspace Clippy lints (too_many_arguments, manual_div_ceil, manual_is_multiple_of, collapsible_if) across font.rs, menu.rs, and panel.rs.

Screenshots

``GTA 6 - Vice City UI - NEW 1 ``GTA 6 - Vice City UI - NEW 2 ``GTA 6 - Vice City UI - NEW 3 ``GTA 6 - Vice City UI - NEW 4

Note for Maintainers (Per-Row Default Values)

Per-item default indicators were intentionally left out of this PR because menu.rs only sees the merged environment after victory-settings.txt is applied, while actual play defaults live in play.rs / play-nvidia.ps1. Using item.values().first() matches most items cleanly, but differs from launcher defaults on a few switches (e.g., VICTORY_AMBIENT_AIR, VICTORY_CARD_BUFFERS_MIN_KB, and launcher-passed DLSS/FRAMEGEN). If play.rs / play-nvidia.ps1 exposes the baseline play defaults (e.g., via an env var or shared defaults table) in a future update, menu.rs—including @⁠freyandere’s upcoming DEFAULT column follow-up—can display 100% accurate per-row defaults without drifting out of sync.

Verification

  • cargo clippy --workspace --all-targets --locked -- -D warnings — 0 warnings, 0 errors
  • cargo clippy --workspace --all-targets --locked --features diagnostics -- -D warnings — 0 warnings, 0 errors
  • cargo test -p victory-gpu --locked — 1,096 passed, 0 failed
  • cargo build --release — verified in-game on Windows 11 (RTX 4070 Ti SUPER, console=series-x, build=release)

(Note: "Allow edits by maintainers" is enabled—feel free to tweak or build on this directly.)

**@⁠ArnoX5** on GitHub · 2026-12-01 03:02 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711) `ArnoX5:ui/vice-city-categories` → `main` · +547 −82 · 3 files · 5 commits · open ### Summary Follow-up polish to #4635 implementing community feedback from Discussion #4661 plus live overlay customization, a Compact F3 HUD with `1% LOW` FPS, conflict warnings, and one-click bug-report specs—with **zero new dependencies** and **zero `Cargo.toml` changes**. Huge thanks to @⁠freyandere for suggesting the categorized F1 layout and top console/build header on the F3 panel! ### F1 Settings Menu (`menu.rs`) - **9 Clean Categories (suggested by @⁠freyandere):** Grouped all 48 settings and 10 actions under non-selectable neon-pink section headers (`DISPLAY`, `DLSS & FRAME GENERATION`, `FRAME RATE & STATS`, `CONTROLS`, `LIGHTING & IMAGE`, `ADVANCED GRAPHICS`, `PERFORMANCE & COMPATIBILITY`, `MODS / EXPERIMENTAL`, `ACTIONS`). Arrow keys, hold-to-scroll, scroll wheel, and gamepad skip headers automatically. - **`PageUp` / `PageDown` Section Jump:** Snap straight between categories (with key repeat when held), shown right in the header help bar. - **Slim Right-Edge Scrollbar:** Shows scroll position at a glance and makes lower categories immediately discoverable. - **Live `UI SCALE` (`VICTORY_UI_PCT`):** Resize the entire overlay live (`AUTO`, `80%`–`200%`) without editing scripts—automatically capped to screen height so it never clips on 1080p displays. - **Live `OVERLAY CORNER` (`VICTORY_OVERLAY_CORNER`):** Move the F3 panel and FPS pill live to **Top-Left**, **Top-Right**, **Bottom-Left**, or **Bottom-Right** so they stay clear of GTA 6’s top-left tutorial/Focus popups. - **Pending-Restart Badge:** Amber `N NEED(S) RESTART` counter in the header whenever non-live settings differ from launch (clears automatically if reverted). - **Smart Conflict Warnings:** Flags incompatible active combos in coral with a `!` tag and explains the fix in the footer (`RAY TRACING` + `HARDWARE RT`, `FRAME GEN` with both `THIN LISTS` and `ASYNC SUBMIT` off, or `FORCE 3X` / `MFG UNLOCKER` without `DLSS` FG). - **One-Click `COPY SPECS & SETTINGS (FOR BUG REPORTS)` (`ACTIONS`):** Copies a formatted Markdown summary (Build, GPU—even when set to `AUTO`, Console/Res, DLSS/Preset, FG/Type, RT, and modified switches) straight to the Windows clipboard for `Ctrl + V` into GitHub Issues. - **Dynamic Auto-Widening (`menu_layout()`):** Computes width and column alignment once at startup from the longest label/value (including GPU names), keeping the `676` floor while safely widening for longer entries in future updates. ### F3 Stats Panel (`panel.rs`) - **Top `SERIES X / BUILD` Header (suggested by @⁠freyandere):** Displays active console profile (`SERIES X` / `SERIES S`) and live build version (`BUILD V...`) right above a divider for instant clarity in screenshots and bug reports. - **3-State `F3` Cycle (`OFF` → `COMPACT` → `FULL`):** - **Compact:** Clean gaming HUD (`SERIES X/S · BUILD`, `FPS`, `1% LOW`, `FRAME`, `FG`, `DLSS`, `VRAM`, `RAM`, `CPU` + live FPS sparkline). - **Full:** Complete developer telemetry + all 4 sparklines (`FPS`, `CPU`, `RAM`, `VRAM`). - Stays synced with F1’s `STATS PANEL (F3)` setting; existing `VICTORY_PANEL=1` configs map directly to `FULL`. - **Live `1% LOW` FPS:** Shown under `FPS` in both Compact and Full modes with amber/coral pacing alerts. - **Dynamic Width & Height + Free-Flow FPS Sparkline:** Tighter `182` base width that auto-sizes both dimensions to fit future rows/labels without clipping, plus a raw-FPS sparkline that auto-scales cleanly to any frame rate (10-FPS steps, 30-FPS floor) with the live ceiling printed on the bar. <details> <summary><b>Implementation & Maintainer Notes</b></summary> - **Zero-allocation hot path:** `panel::mode()` (`0`/`1`/`2`) and `panel::corner_pos()` (`0`–`3`) use `AtomicU8`, shared cleanly between `panel.rs` and `menu.rs`’s FPS pill. - **Zero D3D12 buffer churn:** Compact ↔ Full and dynamic width/height reuse the existing backing `Buffers` via `draw_w` / `draw_h` clipping, with a `50ms` minimum window guard on mode-flip redraws to prevent artificial FPS spikes. - **1% Low calculation:** Rolling 240-frame ring buffer (`f64::total_cmp`, 99th-percentile worst frametime), cleared automatically when the panel is turned off. - **Clipboard FFI:** Self-contained `copy_to_clipboard()` using `user32`/`kernel32` `unsafe extern "system"` bindings (matching `font.rs`’s `gdi32` pattern), UTF-16LE (`CF_UNICODETEXT`), with `GlobalFree` cleanup on error. - **Clippy cleanup:** Resolved all workspace Clippy lints (`too_many_arguments`, `manual_div_ceil`, `manual_is_multiple_of`, `collapsible_if`) across `font.rs`, `menu.rs`, and `panel.rs`. </details> ### Screenshots <img width="3840" height="2160" alt="``GTA 6 - Vice City UI - NEW 1" src="https://github.com/user-attachments/assets/ea7880bd-f31c-4cfe-adc2-b0a8e577f1c9" /> <img width="3840" height="2160" alt="``GTA 6 - Vice City UI - NEW 2" src="https://github.com/user-attachments/assets/7693a1fa-b38b-4a1a-b0f5-d37bb16ea4fa" /> <img width="3840" height="2160" alt="``GTA 6 - Vice City UI - NEW 3" src="https://github.com/user-attachments/assets/550f6c2e-e9fb-4809-8c92-5fd1ceb6a0c2" /> <img width="3840" height="2160" alt="``GTA 6 - Vice City UI - NEW 4" src="https://github.com/user-attachments/assets/14b4305e-911f-41c3-adc1-842d26fb9d68" /> ### Note for Maintainers (Per-Row Default Values) Per-item default indicators were intentionally left out of this PR because `menu.rs` only sees the merged environment after `victory-settings.txt` is applied, while actual play defaults live in `play.rs` / `play-nvidia.ps1`. Using `item.values().first()` matches most items cleanly, but differs from launcher defaults on a few switches (e.g., `VICTORY_AMBIENT_AIR`, `VICTORY_CARD_BUFFERS_MIN_KB`, and launcher-passed `DLSS`/`FRAMEGEN`). If `play.rs` / `play-nvidia.ps1` exposes the baseline play defaults (e.g., via an env var or shared defaults table) in a future update, `menu.rs`—including @⁠freyandere’s upcoming `DEFAULT` column follow-up—can display 100% accurate per-row defaults without drifting out of sync. ### Verification - `cargo clippy --workspace --all-targets --locked -- -D warnings` — **0 warnings, 0 errors** - `cargo clippy --workspace --all-targets --locked --features diagnostics -- -D warnings` — **0 warnings, 0 errors** - `cargo test -p victory-gpu --locked` — **1,096 passed, 0 failed** - `cargo build --release` — verified in-game on Windows 11 (RTX 4070 Ti SUPER, `console=series-x`, `build=release`) *(Note: "Allow edits by maintainers" is enabled—feel free to tweak or build on this directly.)*
github-bot locked as GitHub sync and limited conversation to collaborators 2026-12-01 03:04:50 +00:00
Author
Owner

@⁠techdev211 on GitHub · 2026-12-01 03:09 UTC · original

Awsome! great work so far, cant wait to test it out.

**@⁠techdev211** on GitHub · 2026-12-01 03:09 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7299392189) Awsome! great work so far, cant wait to test it out.
Author
Owner

@⁠freyandere on GitHub · 2026-12-01 03:21 UTC · original

#4711

Please check it out seems like we are on the same path.
Thank you so much for mentioning me, while testing of the build, missed your message that you are working on it.

**@⁠freyandere** on GitHub · 2026-12-01 03:21 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7299612381) https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/pulls/4711 Please check it out seems like we are on the same path. Thank you so much for mentioning me, while testing of the build, missed your message that you are working on it.
Author
Owner

@⁠ArnoX5 on GitHub · 2026-12-01 03:38 UTC · original

#4711

Please check it out seems like we are on the same path. Thank you so much for mentioning me, while testing of the build, missed your message that you are working on it.

@⁠freyandere Yeah, I checked out yours and changed the placement of my build number to how you did it, (if that's okay?). Yours looked much better and made more sense. I have also added a bunch of other features to this alongside what you had suggested. So, I think I should keep this up even though your exists already, no?

**@⁠ArnoX5** on GitHub · 2026-12-01 03:38 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7299907526) > [#4711](https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/pulls/4711) > > Please check it out seems like we are on the same path. Thank you so much for mentioning me, while testing of the build, missed your message that you are working on it. @⁠freyandere Yeah, I checked out yours and changed the placement of my build number to how you did it, (if that's okay?). Yours looked much better and made more sense. I have also added a bunch of other features to this alongside what you had suggested. So, I think I should keep this up even though your exists already, no?
Author
Owner

@⁠ArnoX5 on GitHub · 2026-12-01 03:39 UTC · original · edited 2026-12-01 03:51 UTC

Awsome! great work so far, cant wait to test it out.

@⁠techdev211 I'm preparing a huge v3 update to this. Pls wait for that. Don't merge this yet.

**@⁠ArnoX5** on GitHub · 2026-12-01 03:39 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7299923971) · edited 2026-12-01 03:51 UTC > Awsome! great work so far, cant wait to test it out. @⁠techdev211 I'm preparing a huge v3 update to this. Pls wait for that. Don't merge this yet.
Author
Owner

@⁠freyandere on GitHub · 2026-12-01 03:56 UTC · original

#4711
Please check it out seems like we are on the same path. Thank you so much for mentioning me, while testing of the build, missed your message that you are working on it.

@⁠freyandere Yeah, I checked out yours and changed the placement of my build number to how you did it, (if that's okay?). Yours looked much better and made more sense. I have also added a bunch of other features to this alongside what you had suggested. So, I think I should keep this up even though your exists already, no?

Yes, keep yours up. It covers more than mine, and two competing category systems won't merge cleanly (both rewrite menu.rs/panel.rs). Once #4712 is merged, I'll rebase the parts yours doesn't have onto it as a smaller follow-up: collapsible sections that remember their state between runs (Space / gamepad X, Advanced Performance collapsed by default), and the Default column next to the current value. I'll close #4721, which duplicates #4711, and put #4711 into draft until then.

**@⁠freyandere** on GitHub · 2026-12-01 03:56 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7300214794) > > [#4711](https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/pulls/4711) > > Please check it out seems like we are on the same path. Thank you so much for mentioning me, while testing of the build, missed your message that you are working on it. > > [@⁠freyandere](https://github.com/freyandere) Yeah, I checked out yours and changed the placement of my build number to how you did it, (if that's okay?). Yours looked much better and made more sense. I have also added a bunch of other features to this alongside what you had suggested. So, I think I should keep this up even though your exists already, no? Yes, keep yours up. It covers more than mine, and two competing category systems won't merge cleanly (both rewrite menu.rs/panel.rs). Once #4712 is merged, I'll rebase the parts yours doesn't have onto it as a smaller follow-up: collapsible sections that remember their state between runs (Space / gamepad X, Advanced Performance collapsed by default), and the Default column next to the current value. I'll close #4721, which duplicates #4711, and put #4711 into draft until then.
github-bot changed title from UPDATE --> Vice City UI v2 — Categorized F1 Menu, Scrollbar & Auto-Sized Panels to UI: Vice City UI v3 — Categorized F1 Menu, Live Scale/Corner, Compact F3 + 1% Low, Conflict Alerts & Clipboard Specs, etc 2026-12-01 04:13:59 +00:00
github-bot changed title from UI: Vice City UI v3 — Categorized F1 Menu, Live Scale/Corner, Compact F3 + 1% Low, Conflict Alerts & Clipboard Specs, etc to UI: Vice City UI v3 — Categorized F1 Menu, Live Scale & Corner, Compact F3 + 1% Low, etc 2026-12-01 04:24:48 +00:00
Author
Owner

@⁠TayHD on GitHub · 2026-12-01 04:26 UTC · original

Im also looking at implementing NativeUI menus which this can greatly benefit from.

**@⁠TayHD** on GitHub · 2026-12-01 04:26 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7300744079) Im also looking at implementing NativeUI menus which this can greatly benefit from.
Author
Owner

@⁠freyandere on GitHub · 2026-12-01 04:45 UTC · original

Im also looking at implementing NativeUI menus which this can greatly benefit from.

As far as I understand, it's more of a mod rather than performance or settings related.

**@⁠freyandere** on GitHub · 2026-12-01 04:45 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7301060049) > Im also looking at implementing NativeUI menus which this can greatly benefit from. As far as I understand, it's more of a mod rather than performance or settings related.
Author
Owner

@⁠ArnoX5 on GitHub · 2026-12-01 05:07 UTC · original

@⁠trustno1-coder The Final version (as of now) has been uploaded. Now, you can test and merge it anytime. Thank you.

**@⁠ArnoX5** on GitHub · 2026-12-01 05:07 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7301443308) @⁠trustno1-coder The Final version (as of now) has been uploaded. Now, you can test and merge it anytime. Thank you.
Author
Owner

@⁠ArnoX5 on GitHub · 2026-12-01 05:09 UTC · original

@⁠freyandere Read the last part of the description bro, regarding the Default values of every row.

**@⁠ArnoX5** on GitHub · 2026-12-01 05:09 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7301476084) @⁠freyandere Read the last part of the description bro, regarding the Default values of every row.
Author
Owner

@⁠freyandere on GitHub · 2026-12-01 05:12 UTC · original · edited 2026-12-01 05:49 UTC

@⁠freyandere Read the last part of the description bro, regarding the Default values of every row.

Give me a second, I'll check it.

Edit:
@⁠ArnoX5
Checked those out, implementing the default section and adding Grouping to some of those menu entries for the logical order and visual Highlighting.

Outstanding job on the resizing and placement selectors.
One visual detail that I noticed is that numbers in those graphs are overlapped with the graph itself, so it hard to distinguish it.

image image

I'll attempt to fix that.

**@⁠freyandere** on GitHub · 2026-12-01 05:12 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7301533621) · edited 2026-12-01 05:49 UTC > [@⁠freyandere](https://github.com/freyandere) Read the last part of the description bro, regarding the Default values of every row. Give me a second, I'll check it. Edit: @⁠ArnoX5 Checked those out, implementing the default section and adding Grouping to some of those menu entries for the logical order and visual Highlighting. Outstanding job on the resizing and placement selectors. One visual detail that I noticed is that numbers in those graphs are overlapped with the graph itself, so it hard to distinguish it. <img width="454" height="185" alt="image" src="https://github.com/user-attachments/assets/7292afcd-9d1e-4eaa-af6e-d897aa0d9498" /> <img width="468" height="86" alt="image" src="https://github.com/user-attachments/assets/175964a3-2369-47aa-9ea8-bb6a2b358ddc" /> I'll attempt to fix that.
Author
Owner

@⁠freyandere on GitHub · 2026-12-01 06:51 UTC · original

Posted PR draft with proper fixes.
#4765

Posted a video in discussion (https://github.com/trustno1-coder/VIctory-NVIDIA/discussions/4753)

**@⁠freyandere** on GitHub · 2026-12-01 06:51 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7303354246) Posted PR draft with proper fixes. https://git.gtahub.st/github/trustno1-coder--VIctory-NVIDIA/pulls/4765 Posted a video in discussion (https://github.com/trustno1-coder/VIctory-NVIDIA/discussions/4753)
Author
Owner

@⁠Matartos on GitHub · 2026-12-01 08:54 UTC · original

Hi @⁠ArnoX5!

Now that your new UI has been merged into the official VIctory-NVIDIA project, would you consider adding multilingual support?

Suggested features:

  • External language files for community translations.
  • Automatic Windows language detection.
  • Manual language selection in F1.
  • English fallback for missing translations.
  • Unicode support for international characters.
  • Localization of F1, F2 and F3 overlays.

We already have a reviewed Polish language pack with 301 entries, available here:

https://github.com/Sym3d/VIctory-NVIDIA/pull/1

Could we adapt this translation to your new interface or integrate one of the existing localization systems?

I'd be happy to contribute Polish translations and test the interface.

Thanks for your work!

**@⁠Matartos** on GitHub · 2026-12-01 08:54 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7305937508) Hi @⁠ArnoX5! Now that your new UI has been merged into the official VIctory-NVIDIA project, would you consider adding multilingual support? Suggested features: - External language files for community translations. - Automatic Windows language detection. - Manual language selection in F1. - English fallback for missing translations. - Unicode support for international characters. - Localization of F1, F2 and F3 overlays. We already have a reviewed Polish language pack with 301 entries, available here: https://github.com/Sym3d/VIctory-NVIDIA/pull/1 Could we adapt this translation to your new interface or integrate one of the existing localization systems? I'd be happy to contribute Polish translations and test the interface. Thanks for your work!
Author
Owner

@⁠Razen114514 on GitHub · 2026-12-01 09:08 UTC · original

Numbers from a second, independent implementation of the 1% LOW figure, plus one
design point. I had my own version in #3920 and am closing it in favour of this one,
so treat these as test data rather than a competing proposal.

Host: RTX 5060 8 GB, i5-13490F, 32 GB, Windows 11 build 26200, driver 621.1.0.
Series S, 960x540 scene to a 1920x1080 output, DLSS performance, frame generation 2x,
build v2026.11.30.01 plus my branch.

What the figure read, from a screenshot and the log of the same session:

caption, F1 switch on     FPS: 9.6  1%L 4.0  FG: 19.2
log, once a second        frame times: 59 frames, median 16.7 ms, p95 19.7,
                          p99 20.2, longest 21.3; 0 over 50 ms, 0 over 100 ms;
                          1%L 20.2 ms (49.6 fps, last 100 presents)

And where it earns its place, a heavy view of that same session: the per-second lines
read 10.2-10.9 fps (97.8 / 92.6 / 91.5 ms a frame) while the 1% low read
1%L 189.9 ms (5.3 fps). Sorting those views by average puts two of them in the
opposite order to sorting by 1% low, which is the whole point of showing both.

Second host, for the tests only: an RTX 5070 Ti 16 GB on Windows 11 26200 ran
cargo test -p victory-gpu --lib at the head carrying that change: 1120 passed,
2 failed, 66 ignored, and the seven feature tests for this figure pass singly there
as well.

One design point, from the same numbers. Mine used a 100-frame window; this PR
uses 240. At the frame rates this game actually runs at that is the difference
between roughly 7 seconds of history and roughly 18, because 240 frames at 13 fps is
18 s: a stutter stays in the figure long after the view that caused it, and a quiet
corridor does not wash it out. Neither is wrong, but if the reading is meant to say
"how bad is it now", a time-based window (the last ~8 s, at least 30 frames) behaves
the same at 12 fps and at 60, which a frame count cannot.

Two smaller things about the calculation, since they decide what the number means:

  • The one-second p99 in the existing frame times line is that line's own longest
    frame here: at 13-18 fps a second holds 13-18 frames, and the excerpt above shows
    p99 20.2, longest 21.3 for 59 frames. Over a hundred samples the same index,
    round((n - 1) * 0.99), lands on the second slowest -- one very long frame cannot
    become the whole figure, and one long frame cannot hide either. Whatever window is
    used, the index convention should match the log line's, or the two disagree.
  • Clearing the ring when the panel is switched off (as this PR does) makes the figure
    -- for the first window after F3 comes back, which is right; worth a word in the
    caption so it does not read as broken.

I have not built this PR, so this is not a review of the diff -- only measurements of
the same feature from two hosts, offered in case they help.

**@⁠Razen114514** on GitHub · 2026-12-01 09:08 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7306281713) Numbers from a second, independent implementation of the 1% LOW figure, plus one design point. I had my own version in #3920 and am closing it in favour of this one, so treat these as test data rather than a competing proposal. **Host**: RTX 5060 8 GB, i5-13490F, 32 GB, Windows 11 build 26200, driver 621.1.0. Series S, 960x540 scene to a 1920x1080 output, DLSS performance, frame generation 2x, build `v2026.11.30.01` plus my branch. What the figure read, from a screenshot and the log of the same session: ``` caption, F1 switch on FPS: 9.6 1%L 4.0 FG: 19.2 log, once a second frame times: 59 frames, median 16.7 ms, p95 19.7, p99 20.2, longest 21.3; 0 over 50 ms, 0 over 100 ms; 1%L 20.2 ms (49.6 fps, last 100 presents) ``` And where it earns its place, a heavy view of that same session: the per-second lines read 10.2-10.9 fps (97.8 / 92.6 / 91.5 ms a frame) while the 1% low read `1%L 189.9 ms (5.3 fps)`. Sorting those views by average puts two of them in the opposite order to sorting by 1% low, which is the whole point of showing both. **Second host, for the tests only**: an RTX 5070 Ti 16 GB on Windows 11 26200 ran `cargo test -p victory-gpu --lib` at the head carrying that change: 1120 passed, 2 failed, 66 ignored, and the seven feature tests for this figure pass singly there as well. **One design point, from the same numbers.** Mine used a 100-frame window; this PR uses 240. At the frame rates this game actually runs at that is the difference between roughly 7 seconds of history and roughly 18, because 240 frames at 13 fps is 18 s: a stutter stays in the figure long after the view that caused it, and a quiet corridor does not wash it out. Neither is wrong, but if the reading is meant to say "how bad is it now", a time-based window (the last ~8 s, at least 30 frames) behaves the same at 12 fps and at 60, which a frame count cannot. Two smaller things about the calculation, since they decide what the number means: - The one-second `p99` in the existing `frame times` line is that line's own longest frame here: at 13-18 fps a second holds 13-18 frames, and the excerpt above shows `p99 20.2, longest 21.3` for 59 frames. Over a hundred samples the same index, `round((n - 1) * 0.99)`, lands on the second slowest -- one very long frame cannot become the whole figure, and one long frame cannot hide either. Whatever window is used, the index convention should match the log line's, or the two disagree. - Clearing the ring when the panel is switched off (as this PR does) makes the figure `--` for the first window after F3 comes back, which is right; worth a word in the caption so it does not read as broken. I have not built this PR, so this is not a review of the diff -- only measurements of the same feature from two hosts, offered in case they help.
This pull request has changes conflicting with the target branch.
  • crates/victory-gpu/src/host/font.rs
  • crates/victory-gpu/src/host/menu.rs
  • crates/victory-gpu/src/host/panel.rs
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/4712/head:github-bot/gh-4711'
git switch 'github-bot/gh-4711'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-4711'
git switch 'github-bot/gh-4711'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-4711'
git switch 'github-bot/gh-4711'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-4711'
git switch 'main'
git merge --squash 'github-bot/gh-4711'
git switch 'main'
git merge --ff-only 'github-bot/gh-4711'
git switch 'main'
git merge 'github-bot/gh-4711'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No reviewers
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.

Dependencies

No dependencies set

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