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

Open
ArnoX5 wants to merge 5 commits from upstream-pr/4711 into main
ArnoX5 commented 2026-12-01 03:02:00 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ArnoX5 on 2026-12-01T03:02:00Z.


Summary

Follow-up polish to #4634 implementing community feedback from Discussion #4660 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.)

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:issue:5578084459 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711). Originally posted by [ArnoX5](https://github.com/ArnoX5) on 2026-12-01T03:02:00Z. --- ### Summary Follow-up polish to #4634 implementing community feedback from Discussion #4660 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.)*
techdev211 commented 2026-12-01 03:09:41 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by techdev211 on 2026-12-01T03:09:41Z.


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

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7299392189 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7299392189). Originally posted by [techdev211](https://github.com/techdev211) on 2026-12-01T03:09:41Z. --- Awsome! great work so far, cant wait to test it out.
freyandere commented 2026-12-01 03:21:00 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by freyandere on 2026-12-01T03:21:00Z.


https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4710

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.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7299612381 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7299612381). Originally posted by [freyandere](https://github.com/freyandere) on 2026-12-01T03:21:00Z. --- https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4710 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.
ArnoX5 commented 2026-12-01 03:38:02 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ArnoX5 on 2026-12-01T03:38:02Z.


#4710

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?

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7299907526 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7299907526). Originally posted by [ArnoX5](https://github.com/ArnoX5) on 2026-12-01T03:38:02Z. --- > [#4710](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4710) > > 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 commented 2026-12-01 03:39:02 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ArnoX5 on 2026-12-01T03:39:02Z.


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.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7299923971 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7299923971). Originally posted by [ArnoX5](https://github.com/ArnoX5) on 2026-12-01T03:39:02Z. --- > 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.
freyandere commented 2026-12-01 03:56:21 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by freyandere on 2026-12-01T03:56:21Z.


#4710
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 #4711 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 #4720, which duplicates #4710, and put #4710 into draft until then.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7300214794 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7300214794). Originally posted by [freyandere](https://github.com/freyandere) on 2026-12-01T03:56:21Z. --- > > [#4710](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4710) > > 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 #4711 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 #4720, which duplicates #4710, and put #4710 into draft until then.
TayHD commented 2026-12-01 04:26:52 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by TayHD on 2026-12-01T04:26:52Z.


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

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7300744079 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7300744079). Originally posted by [TayHD](https://github.com/TayHD) on 2026-12-01T04:26:52Z. --- Im also looking at implementing NativeUI menus which this can greatly benefit from.
freyandere commented 2026-12-01 04:45:01 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by freyandere on 2026-12-01T04:45:01Z.


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.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7301060049 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7301060049). Originally posted by [freyandere](https://github.com/freyandere) on 2026-12-01T04:45:01Z. --- > 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.
ArnoX5 commented 2026-12-01 04:50:19 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ArnoX5 on 2026-12-01T04:50:19Z.


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

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7301153113 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7301153113). Originally posted by [ArnoX5](https://github.com/ArnoX5) on 2026-12-01T04:50:19Z. --- @techdev211 The Final version (as of now) has been uploaded. Now, you can test and merge it anytime. Thank you.
ArnoX5 commented 2026-12-01 05:07:22 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ArnoX5 on 2026-12-01T05:07:22Z.


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

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7301443308 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7301443308). Originally posted by [ArnoX5](https://github.com/ArnoX5) on 2026-12-01T05:07:22Z. --- @trustno1-coder The Final version (as of now) has been uploaded. Now, you can test and merge it anytime. Thank you.
ArnoX5 commented 2026-12-01 05:09:19 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by ArnoX5 on 2026-12-01T05:09:19Z.


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

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7301476084 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7301476084). Originally posted by [ArnoX5](https://github.com/ArnoX5) on 2026-12-01T05:09:19Z. --- @freyandere Read the last part of the description bro, regarding the Default values of every row.
freyandere commented 2026-12-01 05:12:43 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by freyandere on 2026-12-01T05:12:43Z.


@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.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7301533621 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7301533621). Originally posted by [freyandere](https://github.com/freyandere) on 2026-12-01T05:12:43Z. --- > [@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.
freyandere commented 2026-12-01 06:51:05 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by freyandere on 2026-12-01T06:51:05Z.


Posted PR draft with proper fixes.
https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4764

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

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7303354246 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7303354246). Originally posted by [freyandere](https://github.com/freyandere) on 2026-12-01T06:51:05Z. --- Posted PR draft with proper fixes. https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4764 Posted a video in discussion (https://github.com/trustno1-coder/VIctory-NVIDIA/discussions/4753)
Matartos commented 2026-12-01 08:54:12 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Matartos on 2026-12-01T08:54:12Z.


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!

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7305937508 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7305937508). Originally posted by [Matartos](https://github.com/Matartos) on 2026-12-01T08:54:12Z. --- 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!
Razen114514 commented 2026-12-01 09:08:50 +00:00 (Migrated from github.com)

Imported from trustno1-coder/VIctory-NVIDIA. Originally posted by Razen114514 on 2026-12-01T09:08:50Z.


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.

<!-- greyfinch-sync:trustno1-coder/VIctory-NVIDIA:comment:7306281713 --> Imported from [trustno1-coder/VIctory-NVIDIA](https://github.com/trustno1-coder/VIctory-NVIDIA/pull/4711#issuecomment-7306281713). Originally posted by [Razen114514](https://github.com/Razen114514) on 2026-12-01T09:08:50Z. --- 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 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/4711:upstream-pr/4711'
git switch 'upstream-pr/4711'

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/4711'
git switch 'upstream-pr/4711'
git rebase 'main'
git switch 'main'
git merge --ff-only 'upstream-pr/4711'
git switch 'upstream-pr/4711'
git rebase 'main'
git switch 'main'
git merge --no-ff 'upstream-pr/4711'
git switch 'main'
git merge --squash 'upstream-pr/4711'
git switch 'main'
git merge --ff-only 'upstream-pr/4711'
git switch 'main'
git merge 'upstream-pr/4711'
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!4711
No description provided.