[GH #40] My game opens a window, shows a black screen for about 50 seconds, and then closes; log attached below. PC Specs: i7 9700k RTX 3060 16GB DDR4 The game opens, displays a black screen for 50 seconds, and then closes. #40

Open
opened 2026-11-25 05:09:08 +00:00 by jovictornm · 1 comment
jovictornm commented 2026-11-25 05:09:08 +00:00 (Migrated from github.com)

Imported from Zettrox/ztrx. Originally posted by jovictornm on 2026-11-25T05:07:46Z.


My game opens a window, stays on a black screen for about 50 seconds, and then closes; log attached below.

PC Specs:

i7 9700k
RTX 3060
16GB DDR4

ztrx.log

<!-- greyfinch-sync:Zettrox/ztrx:issue:6597647263 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/issues/40). Originally posted by [jovictornm](https://github.com/jovictornm) on 2026-11-25T05:07:46Z. --- My game opens a window, stays on a black screen for about 50 seconds, and then closes; log attached below. PC Specs: i7 9700k RTX 3060 16GB DDR4 [ztrx.log](https://github.com/user-attachments/files/35394321/ztrx.log)
xiaotu030202 commented 2026-11-25 12:07:12 +00:00 (Migrated from github.com)
Author

Imported from Zettrox/ztrx. Originally posted by xiaotu030202 on 2026-11-25T11:39:01Z.


The same fault is reported several times, and it has a known cause with a fix in flight. Recording it once here so it can be pointed at rather than re-diagnosed per report.

The fingerprint

VIctory: unhandled exception 0xc0000005 at victory-image-…dll+0xb5a5f8 (read 0x68: nothing mapped there)
  rax 0x0  rcx 0x0  r13 0x0  r14 0x0

Reports with this exact address:

where
#7 Windows 10 LTSC 21H2, RTX 3060 — "happens every time… on XCL it works just fine"
#26 Windows 10, RTX 3060 — plus a second data point on Windows 11 in that thread
#40 Windows 10, i7-9700K / RTX 3060 — black screen ~50 s then closes
#97 Windows 10, RTX 3050 — window at ~30 fps then closes after a few seconds
fxceless/victory-fork#826 Windows 10 19045, RTX 3060 Ti, ~frame 90

The cause

PR #21 states it directly:

Windows 10's inbox D3D12 runtime stops at shader model 6.5. There the title's root signatures (flags 0xc01) are refused (root signature: Unsupported bit-flag set) and it crashes about 7 s after start (access violation at +0xb5a5f8).

So it is not a dump problem and not the GPU: the OS's own D3D12 is too old for the shader model the title's root signatures need. That is why #7's dump "works just fine on XCL" — a different layer, a different D3D12 path — and why the same address appears with a 3060, a 3050 and a 3060 Ti on Windows 10.

The read 0x68 with rax = 0 is the title dereferencing a null it gets back when its root signature creation fails; the fault address is downstream of the refused signature, not a separate bug.

What to do about it

Until #21 lands, the workaround is what #26 found independently:

git fetch origin pull/21/head:windows10-agility
git checkout windows10-agility
# then put an Agility SDK runtime in the D3D12 folder:
# target\release\d3d12\D3D12Core.dll

#21 makes victory.exe load Microsoft's Agility SDK runtime from the repository's D3D12/ folder (version read from the DLL's own export, so any Microsoft.Direct3D.D3D12 package works). Without the folder the build is unchanged.

Two related reports are not this: the +0x1ce6e13 address in #29 is an incomplete asset set (see Key-rs's reproduction there), and +0x1330a44 is what a complete set reaches instead. Worth keeping apart, because they send people in opposite directions.

One thing worth changing in the README

README.md lists Windows 10 as supported with no mention of the shader model ceiling. If that line stayed after #21 merges, someone on Windows 10 without the D3D12/ folder still hits this within seconds and has no way to tell why from the log. #21's own note says it prints an stderr line when an opted-in build runs without the runtime, which covers the opted-in case; the default-on-Windows-10 case is the one that reads as "ztrx is broken on my machine".

Anyone with a Windows 10 report that has a different address than +0xb5a5f8 — say so here and it is a genuinely different fault; everything above shares one.

<!-- greyfinch-sync:Zettrox/ztrx:comment:7161320392 --> Imported from [Zettrox/ztrx](https://github.com/Zettrox/ztrx/issues/40#issuecomment-7161320392). Originally posted by [xiaotu030202](https://github.com/xiaotu030202) on 2026-11-25T11:39:01Z. --- The same fault is reported several times, and it has a known cause with a fix in flight. Recording it once here so it can be pointed at rather than re-diagnosed per report. ## The fingerprint ``` VIctory: unhandled exception 0xc0000005 at victory-image-…dll+0xb5a5f8 (read 0x68: nothing mapped there) rax 0x0 rcx 0x0 r13 0x0 r14 0x0 ``` Reports with this exact address: | | where | |---|---| | **#7** | Windows 10 LTSC 21H2, RTX 3060 — "happens every time… on XCL it works just fine" | | **#26** | Windows 10, RTX 3060 — plus a second data point on Windows 11 in that thread | | **#40** | Windows 10, i7-9700K / RTX 3060 — black screen ~50 s then closes | | **#97** | Windows 10, RTX 3050 — window at ~30 fps then closes after a few seconds | | **fxceless/victory-fork#826** | Windows 10 19045, RTX 3060 Ti, ~frame 90 | ## The cause **PR #21** states it directly: > Windows 10's inbox D3D12 runtime stops at shader model 6.5. There the title's root signatures (flags `0xc01`) are refused (`root signature: Unsupported bit-flag set`) and it crashes about 7 s after start (access violation at `+0xb5a5f8`). So it is not a dump problem and not the GPU: **the OS's own D3D12 is too old for the shader model the title's root signatures need.** That is why `#7`'s dump "works just fine on XCL" — a different layer, a different D3D12 path — and why the same address appears with a 3060, a 3050 and a 3060 Ti on Windows 10. The `read 0x68` with `rax = 0` is the title dereferencing a null it gets back when its root signature creation fails; the fault address is downstream of the refused signature, not a separate bug. ## What to do about it Until #21 lands, the workaround is what `#26` found independently: ```powershell git fetch origin pull/21/head:windows10-agility git checkout windows10-agility # then put an Agility SDK runtime in the D3D12 folder: # target\release\d3d12\D3D12Core.dll ``` #21 makes `victory.exe` load Microsoft's Agility SDK runtime from the repository's `D3D12/` folder (version read from the DLL's own export, so any `Microsoft.Direct3D.D3D12` package works). Without the folder the build is unchanged. Two related reports are **not** this: the `+0x1ce6e13` address in #29 is an incomplete asset set (see Key-rs's reproduction there), and `+0x1330a44` is what a complete set reaches instead. Worth keeping apart, because they send people in opposite directions. ## One thing worth changing in the README `README.md` lists Windows 10 as supported with no mention of the shader model ceiling. If that line stayed after #21 merges, someone on Windows 10 without the `D3D12/` folder still hits this within seconds and has no way to tell why from the log. #21's own note says it prints an stderr line when an opted-in build runs without the runtime, which covers the opted-in case; the default-on-Windows-10 case is the one that reads as "ztrx is broken on my machine". Anyone with a Windows 10 report that has a *different* address than `+0xb5a5f8` — say so here and it is a genuinely different fault; everything above shares one.
Sign in to join this conversation.
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
Zettrox/ztrx#40
No description provided.