GUI Scaling Issue at Reduced Game Resolution #642

Open
opened 2026-11-27 16:04:33 +00:00 by github-bot · 1 comment
Owner

@⁠user2949 on GitHub · 2026-11-27 15:57 UTC · original

Overview

When GTA VI runs at reduced output and render resolutions, menu text, button prompts, and other GUI elements appear disproportionately large relative to the game window.

The UI does not scale correctly with the displayed game image, making the interface difficult to use.

This issue specifically concerns GUI scaling and is separate from the intermittent black-face texture issue.

System Environment

Component Specification
Game game_scarlett_master.exe
Game Version 1.0.2.1
Emulator VIctory-Belobug-AMD
CPU Intel Core i7-14700F
GPU AMD Radeon RX 6600 XT (8 GB)
System RAM 32 GB DDR5
Display Resolution 3840×2160
Reported Performance Approximately 16 - 24 FPS

Launch Configuration

The following command reproduces the configuration associated with the reported performance:

scripts\play.ps1 -Exe "I:\GTA6.Xbox.v1.0.2.1-CYBERLEEK\game_scarlett_master.exe" -Build release -LowMemory -More @{
  VICTORY_RELAY = '2'
}

Effective Configuration

Setting Value Description
VICTORY_OUTPUT 1280x720 Game output resolution
VICTORY_RENDER_SCALE 0.75 Internal rendering scale
Internal Render Resolution 960x540 Effective 3D rendering resolution
VICTORY_RELAY 2 Relay mode
VICTORY_PORT_DESCRIPTORS 1 Enables descriptor fast path
VICTORY_WINDOW_BUDGET_MB 1024 Window-memory budget

The launcher also enables:

  • VICTORY_TEXTURE_NO_WAIT=1
  • VICTORY_THIN=1
  • VICTORY_CARD_STEPS=2

Important: The -More override is necessary because -LowMemory sets VICTORY_RELAY=0. The command explicitly overrides this setting to 2.

The reported 24–30 FPS was achieved with relay mode 2. VICTORY_GPU_TIMING was not enabled during this configuration.

Steps to Reproduce

  1. Launch the game using the command provided above.
  2. Open a menu or gameplay scene containing visible UI elements.
  3. Observe the menu text, HUD, and button prompts relative to the game window.
  4. Compare the UI element sizes and positioning against the displayed game image.
  5. Check whether the UI maintains its expected proportions when rendered at the reduced output resolution.

Actual Result

UI elements appear disproportionately large relative to the rendered game image.

The interface does not scale appropriately with the output resolution or displayed window size.

A previously supplied screenshot demonstrated:

  • Oversized account-selection prompts.
  • Menu text and button prompts appearing larger than expected.
  • UI elements occupying a disproportionate amount of screen space.
  • Unused black space beneath the rendered game area.

The issue makes the interface difficult to navigate and use at reduced resolutions.

Expected Result

UI elements should maintain their correct size, proportions, and positioning within the displayed game window when the output resolution changes.

Reducing the 3D render resolution to 960×540 should not cause the GUI to become disproportionately large.

Ideally, the UI scaling system should operate independently of the internal 3D rendering resolution, where appropriate.

The interface should maintain consistent proportions regardless of the selected output resolution or internal render scale.

Performance Context

Performance reportedly increased from approximately 5–6 FPS to 24–30 FPS after setting VICTORY_RELAY=2.

This improvement is consistent with relay mode restoring CPU/GPU submission overlap.

LowMemory Configuration

The -LowMemory preset also:

  • Reduces the output resolution.
  • Enables the descriptor fast path.
  • Configures a 1 GiB window-memory budget.

The VICTORY_WINDOW_BUDGET_MB=1024 setting applies only to eligible idle copies. It is not a limit on total system RAM or GPU VRAM usage.

Memory-Retention Optimizations

The release executable was rebuilt after restoring the following memory-retention bounds:

Resource Limit
Prelude pool 128
Idle host-list pool 256 lists / 128 MiB
Thin backing wrappers 64
Card-step lists 8
Default submission depth 32

These changes compiled successfully, but their individual impact on FPS has not been benchmarked.

Performance note: The 24–30 FPS figure is user-reported and was not independently measured by the emulator maintainers.

Investigation Notes

An earlier diagnostic log reported the following resolution values:

Resolution Type Reported Value
Display Resolution 3840×2160
Title Output Resolution 1920×1080

However, this diagnostic log does not document the current 1280×720 configuration.

Current Resolution Breakdown

Resolution Type Value
Physical Display Resolution 3840×2160
Title Output Resolution 1280×720
Internal Render Resolution 960×540

If the game's UI layout or scaling system references a different resolution source than the actual output resolution, this could explain the observed behavior.

For example, the UI might be using the physical display dimensions or an outdated title output resolution when calculating element sizes and positions.

However, this is only a potential explanation. The actual root cause has not yet been confirmed.

No GUI scaling code was modified during the performance optimization work.

Requested Investigation

Please investigate how the game's UI dimensions and scaling calculations relate to the following resolution sources:

1. Physical Display Resolution

The actual display resolution reported by the system:

3840×2160

Determine whether the UI scaling system references the physical display dimensions instead of the configured game output dimensions.

2. Output Resolution

The resolution configured by VIctory:

1280×720

Determine whether the title correctly receives and uses this resolution for UI layout and viewport calculations.

3. Internal Render Resolution

The effective 3D rendering resolution after applying VICTORY_RENDER_SCALE=0.75:

960×540

Determine whether the internal render scale unintentionally affects UI dimensions, viewport calculations, or coordinate transformations.

4. Displayed Window Dimensions

The final dimensions at which the game image is presented.

Investigate whether the presentation pipeline correctly scales the rendered output and maintains the expected UI proportions.

Potential Areas to Investigate

The following areas may help identify the source of the scaling issue:

  • Resolution references: Whether UI calculations use physical display dimensions, title output dimensions, or internal render dimensions.
  • Viewport dimensions: Whether the UI viewport receives the correct output dimensions.
  • UI scaling calculations: Whether scaling factors are calculated using the correct resolution source.
  • Coordinate transformations: Whether UI coordinates are transformed correctly between the internal rendering surface and the final output.
  • Aspect ratio handling: Whether the presentation pipeline introduces unexpected scaling or unused screen space.
  • Resolution synchronization: Whether the UI receives updated dimensions when the output resolution is changed.
  • Rendering and presentation pipeline: Whether the UI is rendered at the expected resolution or incorrectly scaled during final composition.

These are investigation areas, not confirmed causes.

Primary Objective

Identify why GUI elements become disproportionately large at reduced output resolutions and determine whether the issue originates from:

  1. Incorrect resolution references.
  2. UI scaling calculations.
  3. Incorrect viewport dimensions.
  4. Coordinate transformation errors.
  5. The final image presentation or composition pipeline.

The goal is to ensure that the game's UI scales and positions correctly regardless of the selected output resolution or internal render scale.

Any proposed fix should preserve the existing performance optimizations, including relay mode 2 and the current LowMemory configuration, without introducing unnecessary performance regressions.

aaaa tr
**@⁠user2949** on GitHub · 2026-11-27 15:57 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/642) ## Overview When GTA VI runs at reduced output and render resolutions, menu text, button prompts, and other GUI elements appear disproportionately large relative to the game window. The UI does not scale correctly with the displayed game image, making the interface difficult to use. This issue specifically concerns GUI scaling and is separate from the intermittent black-face texture issue. ## System Environment | Component | Specification | | --- | --- | | Game | `game_scarlett_master.exe` | | Game Version | `1.0.2.1` | | Emulator | VIctory-Belobug-AMD | | CPU | Intel Core i7-14700F | | GPU | AMD Radeon RX 6600 XT (8 GB) | | System RAM | 32 GB DDR5 | | Display Resolution | 3840×2160 | | Reported Performance | Approximately 16 - 24 FPS | ## Launch Configuration The following command reproduces the configuration associated with the reported performance: scripts\play.ps1 -Exe "I:\GTA6.Xbox.v1.0.2.1-CYBERLEEK\game_scarlett_master.exe" -Build release -LowMemory -More @{ VICTORY_RELAY = '2' } ### Effective Configuration | Setting | Value | Description | | --- | --- | --- | | `VICTORY_OUTPUT` | `1280x720` | Game output resolution | | `VICTORY_RENDER_SCALE` | `0.75` | Internal rendering scale | | Internal Render Resolution | `960x540` | Effective 3D rendering resolution | | `VICTORY_RELAY` | `2` | Relay mode | | `VICTORY_PORT_DESCRIPTORS` | `1` | Enables descriptor fast path | | `VICTORY_WINDOW_BUDGET_MB` | `1024` | Window-memory budget | The launcher also enables: - `VICTORY_TEXTURE_NO_WAIT=1` - `VICTORY_THIN=1` - `VICTORY_CARD_STEPS=2` Important: The `-More` override is necessary because `-LowMemory` sets `VICTORY_RELAY=0`. The command explicitly overrides this setting to `2`. The reported 24–30 FPS was achieved with relay mode 2. `VICTORY_GPU_TIMING` was not enabled during this configuration. ## Steps to Reproduce 1. Launch the game using the command provided above. 2. Open a menu or gameplay scene containing visible UI elements. 3. Observe the menu text, HUD, and button prompts relative to the game window. 4. Compare the UI element sizes and positioning against the displayed game image. 5. Check whether the UI maintains its expected proportions when rendered at the reduced output resolution. ## Actual Result UI elements appear disproportionately large relative to the rendered game image. The interface does not scale appropriately with the output resolution or displayed window size. A previously supplied screenshot demonstrated: - Oversized account-selection prompts. - Menu text and button prompts appearing larger than expected. - UI elements occupying a disproportionate amount of screen space. - Unused black space beneath the rendered game area. The issue makes the interface difficult to navigate and use at reduced resolutions. ## Expected Result UI elements should maintain their correct size, proportions, and positioning within the displayed game window when the output resolution changes. Reducing the 3D render resolution to 960×540 should not cause the GUI to become disproportionately large. Ideally, the UI scaling system should operate independently of the internal 3D rendering resolution, where appropriate. The interface should maintain consistent proportions regardless of the selected output resolution or internal render scale. ## Performance Context Performance reportedly increased from approximately 5–6 FPS to 24–30 FPS after setting `VICTORY_RELAY=2`. This improvement is consistent with relay mode restoring CPU/GPU submission overlap. ### LowMemory Configuration The `-LowMemory` preset also: - Reduces the output resolution. - Enables the descriptor fast path. - Configures a 1 GiB window-memory budget. The `VICTORY_WINDOW_BUDGET_MB=1024` setting applies only to eligible idle copies. It is not a limit on total system RAM or GPU VRAM usage. ### Memory-Retention Optimizations The release executable was rebuilt after restoring the following memory-retention bounds: | Resource | Limit | | --- | --- | | Prelude pool | 128 | | Idle host-list pool | 256 lists / 128 MiB | | Thin backing wrappers | 64 | | Card-step lists | 8 | | Default submission depth | 32 | These changes compiled successfully, but their individual impact on FPS has not been benchmarked. Performance note: The 24–30 FPS figure is user-reported and was not independently measured by the emulator maintainers. ## Investigation Notes An earlier diagnostic log reported the following resolution values: | Resolution Type | Reported Value | | --- | --- | | Display Resolution | 3840×2160 | | Title Output Resolution | 1920×1080 | However, this diagnostic log does not document the current 1280×720 configuration. ### Current Resolution Breakdown | Resolution Type | Value | | --- | --- | | Physical Display Resolution | 3840×2160 | | Title Output Resolution | 1280×720 | | Internal Render Resolution | 960×540 | If the game's UI layout or scaling system references a different resolution source than the actual output resolution, this could explain the observed behavior. For example, the UI might be using the physical display dimensions or an outdated title output resolution when calculating element sizes and positions. However, this is only a potential explanation. The actual root cause has not yet been confirmed. No GUI scaling code was modified during the performance optimization work. ## Requested Investigation Please investigate how the game's UI dimensions and scaling calculations relate to the following resolution sources: ### 1. Physical Display Resolution The actual display resolution reported by the system: 3840×2160 Determine whether the UI scaling system references the physical display dimensions instead of the configured game output dimensions. ### 2. Output Resolution The resolution configured by VIctory: 1280×720 Determine whether the title correctly receives and uses this resolution for UI layout and viewport calculations. ### 3. Internal Render Resolution The effective 3D rendering resolution after applying `VICTORY_RENDER_SCALE=0.75`: 960×540 Determine whether the internal render scale unintentionally affects UI dimensions, viewport calculations, or coordinate transformations. ### 4. Displayed Window Dimensions The final dimensions at which the game image is presented. Investigate whether the presentation pipeline correctly scales the rendered output and maintains the expected UI proportions. ## Potential Areas to Investigate The following areas may help identify the source of the scaling issue: - Resolution references: Whether UI calculations use physical display dimensions, title output dimensions, or internal render dimensions. - Viewport dimensions: Whether the UI viewport receives the correct output dimensions. - UI scaling calculations: Whether scaling factors are calculated using the correct resolution source. - Coordinate transformations: Whether UI coordinates are transformed correctly between the internal rendering surface and the final output. - Aspect ratio handling: Whether the presentation pipeline introduces unexpected scaling or unused screen space. - Resolution synchronization: Whether the UI receives updated dimensions when the output resolution is changed. - Rendering and presentation pipeline: Whether the UI is rendered at the expected resolution or incorrectly scaled during final composition. These are investigation areas, not confirmed causes. ## Primary Objective Identify why GUI elements become disproportionately large at reduced output resolutions and determine whether the issue originates from: 1. Incorrect resolution references. 2. UI scaling calculations. 3. Incorrect viewport dimensions. 4. Coordinate transformation errors. 5. The final image presentation or composition pipeline. The goal is to ensure that the game's UI scales and positions correctly regardless of the selected output resolution or internal render scale. Any proposed fix should preserve the existing performance optimizations, including relay mode 2 and the current LowMemory configuration, without introducing unnecessary performance regressions. <!-- Failed to upload "VIctory-Belobug-AMD.zip" --> <img width="1920" height="988" alt="aaaa" src="https://github.com/user-attachments/assets/34c27ef5-877e-4a91-a6bc-2f24c6b7d0cd" /> <img width="1920" height="988" alt="tr" src="https://github.com/user-attachments/assets/f7aedcbe-a8a8-461d-89e6-d5b12e916fe4" />
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-27 16:04:33 +00:00
Author
Owner

@⁠DaniVilla01 on GitHub · 2026-11-27 16:04 UTC · original

Thanks for the report and screenshot. The UI does appear clipped at the screen edges, but the screenshot alone does not show whether this is caused by the output resolution, the internal render scale, the window/presentation size, or a combination.

Could you confirm the exact VIctory commit/build and play.ps1 version used? The command includes -LowMemory, which is not present in the scripts/play.ps1 version I checked, so it would also help to know whether that script was modified or came from another checkout. Please include the effective VICTORY_OUTPUT and VICTORY_RENDER_SCALE values (or confirm they were unset).

If possible, please compare the same menu and window/output size at internal scale 1.0 and at 960×540, with screenshots of both. That should help separate UI scaling/clipping from the rendered image or presentation area. No need to change the other performance settings for this test.

**@⁠DaniVilla01** on GitHub · 2026-11-27 16:04 UTC · [original](https://github.com/Belobug/VIctory-Belobug-AMD/issues/642#issuecomment-7222817262) Thanks for the report and screenshot. The UI does appear clipped at the screen edges, but the screenshot alone does not show whether this is caused by the output resolution, the internal render scale, the window/presentation size, or a combination. Could you confirm the exact VIctory commit/build and play.ps1 version used? The command includes -LowMemory, which is not present in the scripts/play.ps1 version I checked, so it would also help to know whether that script was modified or came from another checkout. Please include the effective VICTORY_OUTPUT and VICTORY_RENDER_SCALE values (or confirm they were unset). If possible, please compare the same menu and window/output size at internal scale 1.0 and at 960×540, with screenshots of both. That should help separate UI scaling/clipping from the rendered image or presentation area. No need to change the other performance settings for this test.
This discussion has been locked. Commenting is limited to contributors.
No description provided.