Startup crash on 5K2K ultrawide at 150% scaling — 0x80000003 at +0x247AF2D #2424

Closed
opened 2026-11-29 13:00:34 +00:00 by github-bot · 7 comments
Owner

@⁠mbrauntn on GitHub · 2026-11-29 12:56 UTC · original

[Bug] Startup crash on 5K2K ultrawide monitor — auto-selected 3408×1440 triggers 0x80000003

Environment

  • VIctory-NVIDIA: v2026.11.29.01
  • GPU: NVIDIA GeForce RTX 4090, 24 GB
  • Operating system: Windows 11
  • Console profile: Xbox Series X
  • Title executable: game_scarlett_master.exe, build 1.0.2.1
  • DLSS: Performance
  • Frame generation: DLSS 2×

Monitor configuration

Three monitors, all running at their native resolutions with Windows display scaling set to 150%.

Display Position Native resolution Scaling
1 Right 3840×2160 150%
2 Left 3840×2160 150%
3 Center, primary 5120×2160 150%

Windows desktop coordinates reported through System.Windows.Forms.Screen.AllScreens:

Device Bounds Primary
DISPLAY6 X=-2560, Y=0, 2560×1440 No
DISPLAY7 X=0, Y=0, 3413×1440 Yes
DISPLAY8 X=3413, Y=0, 2560×1440 No

These are DPI-scaled logical dimensions, not the physical monitor resolutions.

Problem

When launched with automatic resolution selection, VIctory chooses:

display        3408x1440 SDR, scene 1704x720

The title consistently crashes during startup:

VIctory: first-chance exception 0x80000003
at victory-image-b99f876b74d4a77f.dll+0x247af2d

VIctory: unhandled exception 0x80000003
at victory-image-b99f876b74d4a77f.dll+0x247af2d

The error is reproducible with the current configuration.

Shader preloading, pipeline compilation, and NVIDIA Streamline initialization complete successfully before the failure.

Investigation and results

Test Result
Automatic display resolution Crashes
Explicit --res 1440 Crashes
DLSS Performance + DLSS 2× frame generation Crashes
PowerShell environment variable VICTORY_NATIVE_SIZE=2560x1440 Override ignored; still uses 3408×1440 and crashes
--set VICTORY_NATIVE_SIZE=2560x1440 Starts successfully without the breakpoint crash

Confirmed workaround

.\victory.exe play .\game_scarlett_master.exe `
    --res 1440 `
    --dlss performance `
    --framegen 2 `
    --fg-type dlss `
    --fps 1000 `
    --set VICTORY_NATIVE_SIZE=2560x1440

This allows the game to start without changing Windows display resolution, scaling, monitor arrangement, or the game executable.

Findings

1. Automatic resolution selection appears to use DPI-scaled dimensions

The primary monitor's physical resolution is:

5120×2160

At 150% scaling, the application-visible dimensions are approximately:

3413×1440

VIctory automatically selects:

3408×1440

These values closely correspond. The five-pixel width difference may be caused by alignment, but this has not been verified in the source.

2. The selected ultrawide output triggers a title breakpoint

The startup exception consistently occurs at:

+0x247AF2D

Forcing conventional 16:9 output through VICTORY_NATIVE_SIZE=2560x1440 avoids the failure.

This establishes that the failure depends on the selected rendering configuration. It does not yet prove whether the underlying cause is aspect ratio, render-target dimensions, DPI handling, or another interaction.

3. Launcher environment-variable handling

Setting:

$env:VICTORY_NATIVE_SIZE = '2560x1440'

does not change the effective output resolution when using the play launcher.

Passing the same option through:

--set VICTORY_NATIVE_SIZE=2560x1440

works.

This suggests the launcher does not propagate this environment variable into its effective game settings.

Suggested investigation

  1. Check automatic native-resolution calculation on DPI-scaled ultrawide displays.
  2. Investigate the title's assertion at +0x247AF2D.
  3. Check whether ultrawide scene dimensions are supported during title initialization.
  4. Ensure VICTORY_NATIVE_SIZE can be passed through the launcher environment.
  5. Consider documenting a fixed 16:9 rendering option for incompatible display configurations.

Additional notes

The game successfully ran using an earlier locally modified VIctory version. The current issue was reproduced with upstream v2026.11.29.01.

No changes to Windows scaling, monitor arrangement, or game binaries were necessary to establish the workaround.

Crash logs from the failed and successful launches are available.

**@⁠mbrauntn** on GitHub · 2026-11-29 12:56 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2424) # [Bug] Startup crash on 5K2K ultrawide monitor — auto-selected 3408×1440 triggers 0x80000003 ## Environment - **VIctory-NVIDIA:** v2026.11.29.01 - **GPU:** NVIDIA GeForce RTX 4090, 24 GB - **Operating system:** Windows 11 - **Console profile:** Xbox Series X - **Title executable:** `game_scarlett_master.exe`, build 1.0.2.1 - **DLSS:** Performance - **Frame generation:** DLSS 2× ### Monitor configuration Three monitors, all running at their native resolutions with Windows display scaling set to 150%. | Display | Position | Native resolution | Scaling | |---|---|---|---| | 1 | Right | 3840×2160 | 150% | | 2 | Left | 3840×2160 | 150% | | 3 | Center, primary | 5120×2160 | 150% | Windows desktop coordinates reported through `System.Windows.Forms.Screen.AllScreens`: | Device | Bounds | Primary | |---|---|---| | DISPLAY6 | X=-2560, Y=0, 2560×1440 | No | | DISPLAY7 | X=0, Y=0, 3413×1440 | Yes | | DISPLAY8 | X=3413, Y=0, 2560×1440 | No | These are DPI-scaled logical dimensions, not the physical monitor resolutions. ## Problem When launched with automatic resolution selection, VIctory chooses: ```text display 3408x1440 SDR, scene 1704x720 ``` The title consistently crashes during startup: ```text VIctory: first-chance exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x247af2d VIctory: unhandled exception 0x80000003 at victory-image-b99f876b74d4a77f.dll+0x247af2d ``` The error is reproducible with the current configuration. Shader preloading, pipeline compilation, and NVIDIA Streamline initialization complete successfully before the failure. ## Investigation and results | Test | Result | |---|---| | Automatic display resolution | Crashes | | Explicit `--res 1440` | Crashes | | DLSS Performance + DLSS 2× frame generation | Crashes | | PowerShell environment variable `VICTORY_NATIVE_SIZE=2560x1440` | Override ignored; still uses 3408×1440 and crashes | | `--set VICTORY_NATIVE_SIZE=2560x1440` | **Starts successfully without the breakpoint crash** | ### Confirmed workaround ```powershell .\victory.exe play .\game_scarlett_master.exe ` --res 1440 ` --dlss performance ` --framegen 2 ` --fg-type dlss ` --fps 1000 ` --set VICTORY_NATIVE_SIZE=2560x1440 ``` This allows the game to start without changing Windows display resolution, scaling, monitor arrangement, or the game executable. ## Findings ### 1. Automatic resolution selection appears to use DPI-scaled dimensions The primary monitor's physical resolution is: `5120×2160` At 150% scaling, the application-visible dimensions are approximately: `3413×1440` VIctory automatically selects: `3408×1440` These values closely correspond. The five-pixel width difference may be caused by alignment, but this has not been verified in the source. ### 2. The selected ultrawide output triggers a title breakpoint The startup exception consistently occurs at: `+0x247AF2D` Forcing conventional 16:9 output through `VICTORY_NATIVE_SIZE=2560x1440` avoids the failure. This establishes that the failure depends on the selected rendering configuration. It does not yet prove whether the underlying cause is aspect ratio, render-target dimensions, DPI handling, or another interaction. ### 3. Launcher environment-variable handling Setting: ```powershell $env:VICTORY_NATIVE_SIZE = '2560x1440' ``` does not change the effective output resolution when using the `play` launcher. Passing the same option through: ```text --set VICTORY_NATIVE_SIZE=2560x1440 ``` works. This suggests the launcher does not propagate this environment variable into its effective game settings. ## Suggested investigation 1. Check automatic native-resolution calculation on DPI-scaled ultrawide displays. 2. Investigate the title's assertion at `+0x247AF2D`. 3. Check whether ultrawide scene dimensions are supported during title initialization. 4. Ensure `VICTORY_NATIVE_SIZE` can be passed through the launcher environment. 5. Consider documenting a fixed 16:9 rendering option for incompatible display configurations. ## Additional notes The game successfully ran using an earlier locally modified VIctory version. The current issue was reproduced with upstream v2026.11.29.01. No changes to Windows scaling, monitor arrangement, or game binaries were necessary to establish the workaround. Crash logs from the failed and successful launches are available.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-29 13:00:34 +00:00
Author
Owner
**@⁠mbrauntn** on GitHub · 2026-11-29 13:06 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2424#issuecomment-7256299592) [victory-nvidia-play-20261129-123156-36596.log](https://github.com/user-attachments/files/35571927/victory-nvidia-play-20261129-123156-36596.log) [victory-nvidia-play-20261129-123307-39576.log](https://github.com/user-attachments/files/35571926/victory-nvidia-play-20261129-123307-39576.log) [victory-nvidia-play-20261129-123421-37000.log](https://github.com/user-attachments/files/35571928/victory-nvidia-play-20261129-123421-37000.log) [victory-startup-crash-console.txt](https://github.com/user-attachments/files/35571925/victory-startup-crash-console.txt)
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-29 15:59 UTC · original

Update: v2026.11.29.01 has a start-up crash (0x80000003 during System Init, often on non-16:9 or scaled displays) that we have fixed for the next build. The workaround until then is to run setx VICTORY_NATIVE_SIZE 2560x1440 once, open a new terminal and start again. If it still crashes, please attach the log from %LOCALAPPDATA%\VIctory\logs. If you need it playable right now, v2026.11.28.03 is the last build without these regressions.

**@⁠trustno1-coder** on GitHub · 2026-11-29 15:59 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2424#issuecomment-7258531015) Update: v2026.11.29.01 has a start-up crash (0x80000003 during System Init, often on non-16:9 or scaled displays) that we have fixed for the next build. The workaround until then is to run `setx VICTORY_NATIVE_SIZE 2560x1440` once, open a new terminal and start again. If it still crashes, please attach the log from %LOCALAPPDATA%\VIctory\logs. If you need it playable right now, v2026.11.28.03 is the last build without these regressions.
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-29 16:34 UTC · original

Correction to the workaround above: setx only reaches programs started after you sign out and back in, so it often never reaches the game. Start it with the size given directly instead:

victory.exe play --set VICTORY_NATIVE_SIZE=2560x1440

That workaround is only for the crash at System Init on a non-16:9 output size. If your log has a line XMemVirtualAlloc refused size=6538919936, it is a different crash (Windows refused the game a 6.5 GB memory reservation); closing other programs and setting the page file to "System managed" may help there, and v2026.11.28.03 works meanwhile.

**@⁠trustno1-coder** on GitHub · 2026-11-29 16:34 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2424#issuecomment-7259005638) Correction to the workaround above: `setx` only reaches programs started after you sign out and back in, so it often never reaches the game. Start it with the size given directly instead: ``` victory.exe play --set VICTORY_NATIVE_SIZE=2560x1440 ``` That workaround is only for the crash at System Init on a non-16:9 output size. If your log has a line `XMemVirtualAlloc refused size=6538919936`, it is a different crash (Windows refused the game a 6.5 GB memory reservation); closing other programs and setting the page file to "System managed" may help there, and v2026.11.28.03 works meanwhile.
Author
Owner

@⁠mbrauntn on GitHub · 2026-11-29 19:00 UTC · original

Thanks for the update.

I can confirm that passing --set VICTORY_NATIVE_SIZE=2560x1440 directly resolves the System Init crash on my ultrawide display.

I also investigated the separate runtime crashes, pipeline OOM errors and prolonged map-opening stalls. Increasing the Windows pagefile to a fixed 64 GB has eliminated all three symptoms so far.

Interestingly, actual pagefile usage remains below 136 MB, indicating that the additional system commit capacity, rather than actual paging, is the important factor.

I have opened a separate issue with the findings.
Thanks for addressing the resolution regression.

**@⁠mbrauntn** on GitHub · 2026-11-29 19:00 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2424#issuecomment-7260931482) Thanks for the update. I can confirm that passing `--set VICTORY_NATIVE_SIZE=2560x1440` directly resolves the System Init crash on my ultrawide display. I also investigated the separate runtime crashes, pipeline OOM errors and prolonged map-opening stalls. Increasing the Windows pagefile to a fixed 64 GB has eliminated all three symptoms so far. Interestingly, actual pagefile usage remains below 136 MB, indicating that the additional system commit capacity, rather than actual paging, is the important factor. I have opened a separate issue with the findings. Thanks for addressing the resolution regression.
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-29 20:37 UTC · original

This issue has the start-up crash where Windows refuses the game's 6.5 GB reservation (XMemVirtualAlloc refused size=6538919936 ... os error 8, then +0x1e6c284). v2026.11.29.04 is a build with only one fix aimed at exactly this crash.

We couldn't reproduce the real crash here, so it may not fix it for you. Please try it and tell us here whether the game now starts, and attach the play log and crashes.log either way. If the play log has a line with no room at first in the title's window, include that line; it tells us whether this was the cause.

**@⁠trustno1-coder** on GitHub · 2026-11-29 20:37 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2424#issuecomment-7262223990) This issue has the start-up crash where Windows refuses the game's 6.5 GB reservation (`XMemVirtualAlloc refused size=6538919936 ... os error 8`, then `+0x1e6c284`). [v2026.11.29.04](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.29.04) is a build with only one fix aimed at exactly this crash. We couldn't reproduce the real crash here, so it may not fix it for you. Please try it and tell us here whether the game now starts, and attach the play log and crashes.log either way. If the play log has a line with `no room at first in the title's window`, include that line; it tells us whether this was the cause.
Author
Owner

@⁠mbrauntn on GitHub · 2026-11-29 23:29 UTC · original

Thanks for the update!

My original startup crash in #2424 was related to the ultrawide resolution. Forcing 2560×1440 resolved that particular startup failure.

Increasing the pagefile to 64 GB also eliminated the subsequent compilation memory pressure and associated pipeline allocation failures.

I now have v2026.11.29.05, which includes the title memory reservation correction. I will test the unmodified upstream build and provide the requested logs, including the "no room at first in the title's window" message if present.

Separately, I have identified and reproduced another cause of the runtime command-list Close() failure using a diagnostics build. That investigation is being handled independently to avoid mixing unrelated defects.

**@⁠mbrauntn** on GitHub · 2026-11-29 23:29 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2424#issuecomment-7264497276) Thanks for the update! My original startup crash in #2424 was related to the ultrawide resolution. Forcing 2560×1440 resolved that particular startup failure. Increasing the pagefile to 64 GB also eliminated the subsequent compilation memory pressure and associated pipeline allocation failures. I now have v2026.11.29.05, which includes the title memory reservation correction. I will test the unmodified upstream build and provide the requested logs, including the "no room at first in the title's window" message if present. Separately, I have identified and reproduced another cause of the runtime command-list Close() failure using a diagnostics build. That investigation is being handled independently to avoid mixing unrelated defects.
Author
Owner

@⁠trustno1-coder on GitHub · 2026-11-30 16:40 UTC · original

This should be fixed in v2026.11.29.05. If it still happens on the latest version, please open a new issue with the logs from a run on that version (the play log from %LOCALAPPDATA%\victory\logs and crashes.log).

**@⁠trustno1-coder** on GitHub · 2026-11-30 16:40 UTC · [original](https://github.com/trustno1-coder/VIctory-NVIDIA/issues/2424#issuecomment-7285048970) This should be fixed in [v2026.11.29.05](https://github.com/trustno1-coder/VIctory-NVIDIA/releases/tag/v2026.11.29.05). If it still happens on the latest version, please open a new issue with the logs from a run on that version (the play log from `%LOCALAPPDATA%\victory\logs` and `crashes.log`).
This discussion has been locked. Commenting is limited to contributors.
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#2424
No description provided.