[RTX 5060 Laptop 8 GB] Series S + #211 + #578: menus and loading art render, world stays black; missing pc_format fallbacks (85/86/115, 67) and host view heap capped #904

Open
opened 2026-11-26 04:14:08 +00:00 by github-bot · 6 comments
Owner

@⁠DavHsiao on GitHub · 2026-11-24 13:50 UTC · original

[RTX 5060 Laptop 8 GB] Series S + #211 + #578: menus and loading art render, world stays black; missing pc_format fallbacks (85/86/115, 67) and host view heap capped

Kind: reproduction data + two PR verifications + one format-fallback finding. No game files, no dumps attached.

Environment

VIctory main @ c7a5f49; patches applied locally as described below
Build cargo build --profile diag -p victory --features diagnostics
OS Windows 11 Home (Chinese) build 26300
CPU Intel Core i7-14650HX (16C/24T)
GPU NVIDIA GeForce RTX 5060 Laptop GPU, 8 GB, driver 32.0.16.2124 (32-lane waves)
RAM 23.7 GiB, pagefile 16 GiB (commit limit 39.7 GiB)
Title GTA VI 1.0.2.1, game_scarlett_master.exe, BLAKE3 b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93

Run line:

victory.exe run <game dir>\game_scarlett_master.exe --execute --console series-s

with VICTORY_LOG=info VICTORY_CAPTURE=<dir> VICTORY_KEYS=20:Enter,35:Enter.

Result summary

Configuration Menus / loading art World Run length Peak memory
release build, Series X, unpatched black at 30 fps, never advances — dies ~100 s, 0x80070006 8.4 GB WS
release build, Series S, unpatched solid black (all captured frames 1,586-byte PNGs) — dies ~110 s 11.9 GB WS
+ #211 only, Series S renders correctly (see captures) still black ~110 s, driver E_OUTOFMEMORY on pipeline creation 11.9 GB WS
+ #211 + #578, Series S renders correctly black but stable, 1–3 fps, 95–432 draws/frame 8 min, stopped by hand 7.2 / 8.0 GB VRAM
#638 show-target subset + #578, Series S renders correctly no displayable target exists 225 s, TDR 11.5 GB WS
above + pc_format fallbacks renders correctly still black, no host texture = 0 240 s, TDR 11.0 GB WS

1. #211 fixes the Series S black screen (confirmed working)

Unpatched queue::present reads only plane_parameters[0]. In Series S mode the title presents two planes, and the picture lives in plane 1 (3840×2160 UI/scene overlay), so the window shows only the 1080p plane 0, which is black during menus.

With #211 applied:

INFO victory_gpu::host: presenting to a window width=3840 height=2160 format=28
capture frame-1024.png   1,568,477 bytes   (Rockstar logo splash, correct)
capture frame-2048.png   1,775,100 bytes   (loading art, correct)

Before #211 every captured frame was a 1,586-byte all-black PNG. So the PR does what it says on this GPU.

2. #578 removes the TDR, the world then renders black (matches #778)

With #211 + #578, Series S runs 8 minutes in the world without a device removal:

20:29:42 t= 33s ws= 4,351MB gpu= 18% win='... 30 fps  33.3 ms/frame   4 draws/frame'
20:31:20 t=131s ws=10,419MB gpu=101% win='...  2 fps 633.2 ms/frame 236 draws/frame'
20:37:16 t=487s ws= 9,465MB gpu= 87% win='...  2 fps 616.2 ms/frame 240 draws/frame'

with exactly the two refusals the PR intends:

WARN victory_gpu::pipeline::host: no host pipeline: a mesh program written for 64-lane waves,
     on a host without them (logged once) shaders=[mesh d4111a6e6ea49d91, pixel c0a7fe77b1862e10]
WARN victory_gpu::pipeline::host: no host pipeline: a shader requiring 64-lane waves,
     on a host without them (logged once) shaders=[compute 88994c3496045f51]

The picture is still black, as #778 predicted. On this card 8 minutes is the longest stable world run we could get; the earlier 100–133 s failures were all DXGI_ERROR_DEVICE_HUNG.

3. "Under the black frame": there is no displayable target (Series S, 8 GB)

With the diagnostics subset of #638 (VICTORY_SHOW_TARGET=busiest, VICTORY_CAPTURE_BUSY=150,4; both unmerged, so main alone cannot reproduce this section — the underlying driver refusals are section 4 and do reproduce on main), the frames the title's own presented plane is black on have no displayable render target at all:

INFO capture: VICTORY_SHOW_TARGET: this frame's targets frame=1024
     list=["0: 33x33 f10 (1 binds)", "1: 3840x2160 f28 (1 binds)", "2: 3840x2160 f19 (1 binds)"]
INFO capture: VICTORY_SHOW_TARGET: this frame's targets frame=2048
     list=["0: 33x33 f10 (1 binds)", "1: 4096x1 f41 (1 binds)", "2: 4096x1 f41 (1 binds)",
           "3: 3840x2160 f28 (1 binds)", "4: 3840x2160 f19 (1 binds)"]

World frames (2,378–2,396, 1,300–6,300 draws each) capture as 640×360, every sampled pixel (0,0,0) — i.e. shown() found no target that is ≥1280 wide, 16:9 and displayable, and the present fell back to the title's own (black) plane 0.

That is not "the world is dark": the world's colour targets did not exist on the host, because of section 4.

4. pc_format has no fallback for three formats this driver refuses as render targets

The world asks for two 2560×1440 targets that the driver rejects with E_INVALIDARG:

WARN victory_gpu::resource: no host texture error=0x80070057 (E_INVALIDARG)
     desc=ResourceDesc { dimension: 3, width: 2560, height: 1440, mip_levels: 1,
                         format: 86, sample_count: 1, layout: 0, flags: 5 }
WARN victory_gpu::resource: no host texture error=0x80070057
     desc=ResourceDesc { dimension: 3, width: 2560, height: 1440, mip_levels: 1,
                         format: 115, sample_count: 1, layout: 0, flags: 1 }

(format 86 = B5G5R5A1_UNORM, format 115 = B4G4R4A4_UNORM; #778 reports the same two on an RTX 3070.)

host_texture() calls CreateCommittedResource once and gives up. A stand-in table in pc_format() — which both the resource and the views go through — removes every refusal. This is proposed separately as its own pull request, since it is independent of both PRs above.

pub(crate) fn pc_format(format: u32) -> u32 {
    match format {
        118 => 45,
        119 => 46,
        120 => 47,
        // These are refused as render targets on this driver.
        85 | 86 | 115 => 28,   // B5G6R5 / B5G5R5A1 / B4G4R4A4 -> R8G8B8A8_UNORM
        67 => 10,              // R9G9B9E5_SHAREDEXP -> R16G16B16A16_FLOAT
        other => other,
    }
}

Measured effect, same run line:

no host texture lines world capture
unpatched 2 (formats 86, 115) black
85|86|115 -> 28 1 (format 67 @⁠1920×1080) black
+ 67 -> 10 0 black

So all three targets now exist, and the world is still black — the remaining cause is the dropped wave64 mesh/compute work from #578, not the formats. But the fallback is still worth having: without it these targets silently never exist, which makes every later stage of the frame meaningless.

Colours from the stand-in formats are wrong by construction (16-bit packed and shared-exponent data read as 8-bit/16-float); these are only for looking at frames, not for correctness.

5. host view heap is capped below what the title asks for (Series X)

Series X mode dies about 133 s in with a 34 MB host allocation failure, right after:

WARN victory_gpu::descriptor::host: host view heap capped at 1000000 error=0x80070057 count=1245184

The title wants 1,245,184 descriptors, the cap is 1,000,000 (20% short). Series S stays under it, which is one reason it survives longer.

6. A TDR still happens ~225–240 s into the world with #578 applied

Every patched run ends the same way, well after #578's refusal messages:

WARN victory_gpu::host: slow host submission ms=377 lists=20
ERROR victory_gpu::host: host GPU device removed after a submission of 28 lists; no breadcrumbs
      (0x887A0004); device removed: GPU 不响应更多的命令 (0x887A0006)

TdrDelay/TdrDdiDelay were raised from 10 to 60 in the registry for the later runs (not yet rebooted, so not in effect); the failing submission is 377–504 ms, so it is not a timeout being reported.

Reproduction

git clone https://github.com/Marvisak/VIctory.git
cd VIctory
cargo build --profile diag -p victory --features diagnostics     # target\diag\victory.exe
copy victory.example.toml victory.toml                            # set [paths] game_dir outside the repo

set VICTORY_LOG=info
set VICTORY_CAPTURE=D:\captures
set VICTORY_KEYS=20:Enter,35:Enter          # push through the first-boot screens
target\diag\victory.exe run <game dir>\game_scarlett_master.exe --execute --console series-s

Series S is the mode that gets furthest on an 8 GB card; Series X dies earlier (section 5).

Suggested split for review

  1. #211: confirmed working on a third GPU class (RTX 5060 Laptop, 8 GB) — Series S menus, splash and loading art all render correctly with it applied.
  2. #578: confirmed working — removes every DXGI_ERROR_DEVICE_HUNG we saw, at the cost of the black world it documents.
  3. New, small: pc_format stand-in formats for 85/86/115 (→28) and 67 (→10), so those render targets exist at all. Independent of 1 and 2; no host texture goes from 2 to 0 in world frames.
  4. New, separate: host view heap cap 1,000,000 vs 1,245,184 requested — needs the cap raised or the descriptor table path reworked before Series X can get past the world load.

Attachments

  • rockstar-splash.png — Series S, #211 applied, frame 1024 (captured, not a window grab)
  • world-loading-art.png — Series S, #211 applied, frame 2048
  • world-frame-showtarget.png — Series S, #638 show mode, frame 2378: pure black 640×360
  • world-loading-art-jason.png — Series X, frame 2048 (the second loading art)
world-frame-showtarget world-loading-art world-loading-art-jason rockstar-splash
  • #886 (RTX 3060: world ~1 fps, 273 shaders do not translate, 14 compute pipelines refused, GPU hang) — same NVIDIA world failure, Series X only.
  • #778 (RTX 3070: the same two 2560×1440 formats refused, #578 turns the hang into a black world).
  • #468, #496 (NVIDIA black world + DXGI_ERROR_DEVICE_HUNG), #233 (wave64 compute on 32-lane hosts).
**@⁠DavHsiao** on GitHub · 2026-11-24 13:50 UTC · [original](https://github.com/Marvisak/VIctory/issues/904) # [RTX 5060 Laptop 8 GB] Series S + #211 + #578: menus and loading art render, world stays black; missing `pc_format` fallbacks (85/86/115, 67) and `host view heap` capped **Kind:** reproduction data + two PR verifications + one format-fallback finding. No game files, no dumps attached. ## Environment | | | |---|---| | VIctory | `main` @ `c7a5f49`; patches applied locally as described below | | Build | `cargo build --profile diag -p victory --features diagnostics` | | OS | Windows 11 Home (Chinese) build 26300 | | CPU | Intel Core i7-14650HX (16C/24T) | | GPU | NVIDIA GeForce RTX 5060 Laptop GPU, **8 GB**, driver 32.0.16.2124 (32-lane waves) | | RAM | 23.7 GiB, pagefile 16 GiB (commit limit 39.7 GiB) | | Title | GTA VI 1.0.2.1, `game_scarlett_master.exe`, BLAKE3 `b99f876b74d4a77f03af5f878223b27bd647b5c35a79d5decd9f716504239e93` | Run line: ``` victory.exe run <game dir>\game_scarlett_master.exe --execute --console series-s ``` with `VICTORY_LOG=info VICTORY_CAPTURE=<dir> VICTORY_KEYS=20:Enter,35:Enter`. ## Result summary | Configuration | Menus / loading art | World | Run length | Peak memory | |---|---|---|---|---| | release build, Series X, unpatched | black at 30 fps, never advances | — | dies ~100 s, `0x80070006` | 8.4 GB WS | | release build, Series S, unpatched | **solid black** (all captured frames 1,586-byte PNGs) | — | dies ~110 s | 11.9 GB WS | | **+ #211 only**, Series S | **renders correctly** (see captures) | still black | ~110 s, driver `E_OUTOFMEMORY` on pipeline creation | 11.9 GB WS | | **+ #211 + #578**, Series S | renders correctly | **black but stable, 1–3 fps, 95–432 draws/frame** | **8 min, stopped by hand** | 7.2 / 8.0 GB VRAM | | #638 show-target subset + #578, Series S | renders correctly | **no displayable target exists** | 225 s, TDR | 11.5 GB WS | | above + `pc_format` fallbacks | renders correctly | still black, **`no host texture` = 0** | 240 s, TDR | 11.0 GB WS | ## 1. #211 fixes the Series S black screen (confirmed working) Unpatched `queue::present` reads only `plane_parameters[0]`. In Series S mode the title presents two planes, and the picture lives in plane 1 (3840×2160 UI/scene overlay), so the window shows only the 1080p plane 0, which is black during menus. With #211 applied: ``` INFO victory_gpu::host: presenting to a window width=3840 height=2160 format=28 capture frame-1024.png 1,568,477 bytes (Rockstar logo splash, correct) capture frame-2048.png 1,775,100 bytes (loading art, correct) ``` Before #211 every captured frame was a 1,586-byte all-black PNG. So the PR does what it says on this GPU. ## 2. #578 removes the TDR, the world then renders black (matches #778) With #211 + #578, Series S runs **8 minutes** in the world without a device removal: ``` 20:29:42 t= 33s ws= 4,351MB gpu= 18% win='... 30 fps 33.3 ms/frame 4 draws/frame' 20:31:20 t=131s ws=10,419MB gpu=101% win='... 2 fps 633.2 ms/frame 236 draws/frame' 20:37:16 t=487s ws= 9,465MB gpu= 87% win='... 2 fps 616.2 ms/frame 240 draws/frame' ``` with exactly the two refusals the PR intends: ``` WARN victory_gpu::pipeline::host: no host pipeline: a mesh program written for 64-lane waves, on a host without them (logged once) shaders=[mesh d4111a6e6ea49d91, pixel c0a7fe77b1862e10] WARN victory_gpu::pipeline::host: no host pipeline: a shader requiring 64-lane waves, on a host without them (logged once) shaders=[compute 88994c3496045f51] ``` The picture is still black, as #778 predicted. On this card 8 minutes is the longest stable world run we could get; the earlier 100–133 s failures were all `DXGI_ERROR_DEVICE_HUNG`. ## 3. "Under the black frame": there is no displayable target (Series S, 8 GB) With the diagnostics subset of #638 (`VICTORY_SHOW_TARGET=busiest`, `VICTORY_CAPTURE_BUSY=150,4`; both unmerged, so `main` alone cannot reproduce this section — the underlying driver refusals are section 4 and do reproduce on `main`), the frames the title's own presented plane is black on have **no displayable render target at all**: ``` INFO capture: VICTORY_SHOW_TARGET: this frame's targets frame=1024 list=["0: 33x33 f10 (1 binds)", "1: 3840x2160 f28 (1 binds)", "2: 3840x2160 f19 (1 binds)"] INFO capture: VICTORY_SHOW_TARGET: this frame's targets frame=2048 list=["0: 33x33 f10 (1 binds)", "1: 4096x1 f41 (1 binds)", "2: 4096x1 f41 (1 binds)", "3: 3840x2160 f28 (1 binds)", "4: 3840x2160 f19 (1 binds)"] ``` World frames (2,378–2,396, 1,300–6,300 draws each) capture as **640×360, every sampled pixel `(0,0,0)`** — i.e. `shown()` found no target that is ≥1280 wide, 16:9 and displayable, and the present fell back to the title's own (black) plane 0. That is not "the world is dark": the world's colour targets **did not exist on the host**, because of section 4. ## 4. `pc_format` has no fallback for three formats this driver refuses as render targets The world asks for two 2560×1440 targets that the driver rejects with `E_INVALIDARG`: ``` WARN victory_gpu::resource: no host texture error=0x80070057 (E_INVALIDARG) desc=ResourceDesc { dimension: 3, width: 2560, height: 1440, mip_levels: 1, format: 86, sample_count: 1, layout: 0, flags: 5 } WARN victory_gpu::resource: no host texture error=0x80070057 desc=ResourceDesc { dimension: 3, width: 2560, height: 1440, mip_levels: 1, format: 115, sample_count: 1, layout: 0, flags: 1 } ``` (format 86 = `B5G5R5A1_UNORM`, format 115 = `B4G4R4A4_UNORM`; #778 reports the same two on an RTX 3070.) `host_texture()` calls `CreateCommittedResource` once and gives up. A stand-in table in `pc_format()` — which both the resource and the views go through — removes every refusal. This is proposed separately as its own pull request, since it is independent of both PRs above. ```rust pub(crate) fn pc_format(format: u32) -> u32 { match format { 118 => 45, 119 => 46, 120 => 47, // These are refused as render targets on this driver. 85 | 86 | 115 => 28, // B5G6R5 / B5G5R5A1 / B4G4R4A4 -> R8G8B8A8_UNORM 67 => 10, // R9G9B9E5_SHAREDEXP -> R16G16B16A16_FLOAT other => other, } } ``` Measured effect, same run line: | | `no host texture` lines | world capture | |---|---|---| | unpatched | 2 (formats 86, 115) | black | | `85\|86\|115 -> 28` | 1 (format 67 @⁠1920×1080) | black | | `+ 67 -> 10` | **0** | black | So all three targets now exist, and the world is *still* black — the remaining cause is the dropped wave64 mesh/compute work from #578, not the formats. But the fallback is still worth having: without it these targets silently never exist, which makes every later stage of the frame meaningless. Colours from the stand-in formats are wrong by construction (16-bit packed and shared-exponent data read as 8-bit/16-float); these are only for looking at frames, not for correctness. ## 5. `host view heap` is capped below what the title asks for (Series X) Series X mode dies about 133 s in with a 34 MB host allocation failure, right after: ``` WARN victory_gpu::descriptor::host: host view heap capped at 1000000 error=0x80070057 count=1245184 ``` The title wants 1,245,184 descriptors, the cap is 1,000,000 (20% short). Series S stays under it, which is one reason it survives longer. ## 6. A TDR still happens ~225–240 s into the world with #578 applied Every patched run ends the same way, well after #578's refusal messages: ``` WARN victory_gpu::host: slow host submission ms=377 lists=20 ERROR victory_gpu::host: host GPU device removed after a submission of 28 lists; no breadcrumbs (0x887A0004); device removed: GPU 不响应更多的命令 (0x887A0006) ``` `TdrDelay`/`TdrDdiDelay` were raised from 10 to 60 in the registry for the later runs (not yet rebooted, so not in effect); the failing submission is 377–504 ms, so it is not a timeout being reported. ## Reproduction ``` git clone https://github.com/Marvisak/VIctory.git cd VIctory cargo build --profile diag -p victory --features diagnostics # target\diag\victory.exe copy victory.example.toml victory.toml # set [paths] game_dir outside the repo set VICTORY_LOG=info set VICTORY_CAPTURE=D:\captures set VICTORY_KEYS=20:Enter,35:Enter # push through the first-boot screens target\diag\victory.exe run <game dir>\game_scarlett_master.exe --execute --console series-s ``` Series S is the mode that gets furthest on an 8 GB card; Series X dies earlier (section 5). ## Suggested split for review 1. **#211**: confirmed working on a third GPU class (RTX 5060 Laptop, 8 GB) — Series S menus, splash and loading art all render correctly with it applied. 2. **#578**: confirmed working — removes every `DXGI_ERROR_DEVICE_HUNG` we saw, at the cost of the black world it documents. 3. **New, small**: `pc_format` stand-in formats for 85/86/115 (→28) and 67 (→10), so those render targets exist at all. Independent of 1 and 2; `no host texture` goes from 2 to 0 in world frames. 4. **New, separate**: `host view heap` cap 1,000,000 vs 1,245,184 requested — needs the cap raised or the descriptor table path reworked before Series X can get past the world load. ## Attachments - `rockstar-splash.png` — Series S, #211 applied, frame 1024 (captured, not a window grab) - `world-loading-art.png` — Series S, #211 applied, frame 2048 - `world-frame-showtarget.png` — Series S, #638 show mode, frame 2378: pure black 640×360 - `world-loading-art-jason.png` — Series X, frame 2048 (the second loading art) <img width="640" height="360" alt="world-frame-showtarget" src="https://github.com/user-attachments/assets/c931662c-518b-4e73-bf06-190e1b54c9f6" /> <img width="1920" height="1080" alt="world-loading-art" src="https://github.com/user-attachments/assets/d813d6a6-f5a8-4ce4-b197-b85894a8e411" /> <img width="1920" height="1080" alt="world-loading-art-jason" src="https://github.com/user-attachments/assets/246a8453-3fcc-4df6-9397-03f29ecb2301" /> <img width="1920" height="1080" alt="rockstar-splash" src="https://github.com/user-attachments/assets/521a1d2f-8ec4-4714-b2f4-d0101d7410db" /> ## Related - #886 (RTX 3060: world ~1 fps, 273 shaders do not translate, 14 compute pipelines refused, GPU hang) — same NVIDIA world failure, Series X only. - #778 (RTX 3070: the same two 2560×1440 formats refused, `#578` turns the hang into a black world). - #468, #496 (NVIDIA black world + `DXGI_ERROR_DEVICE_HUNG`), #233 (wave64 compute on 32-lane hosts).
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 04:14:08 +00:00
Author
Owner

@⁠MichaelSmithAI on GitHub · 2026-11-24 13:54 UTC · original

Could you share the original format-67 no host texture line from the run with just the packed-format fallback, including the full ResourceDesc and HRESULT? If a completed-frame trace already identifies a view or a draw, dispatch or copy that writes that 1920×1080 resource, that would also help. Section 4 gives the flags for formats 86 and 115, and only the dimensions for 67.

On an RTX 4090 under Wine/vkd3d-proton 3.2, ordinary 1920×1080 format-67 texture creation succeeded. The device reported shader sampling support, with render-target and typed-UAV support both clear. Format 10 reported all three capabilities. The probe queried support and created textures; it didn't execute a shader. A global 67→10 mapping would also change valid sampled textures from four bytes per texel (packed RGB with a shared exponent) to eight (RGBA16F), so guest uploads and copies would need conversion. The original flags will help distinguish an unsupported write usage from another creation failure. Microsoft’s format support table

Your same-host comparison also gives a useful boundary: the creation warnings fell to zero while the world capture stayed black. That leaves the producer of the presented image open.

**@⁠MichaelSmithAI** on GitHub · 2026-11-24 13:54 UTC · [original](https://github.com/Marvisak/VIctory/issues/904#issuecomment-7133503719) Could you share the original format-67 `no host texture` line from the run with just the packed-format fallback, including the full `ResourceDesc` and HRESULT? If a completed-frame trace already identifies a view or a draw, dispatch or copy that writes that 1920×1080 resource, that would also help. Section 4 gives the flags for formats 86 and 115, and only the dimensions for 67. On an RTX 4090 under Wine/vkd3d-proton 3.2, ordinary 1920×1080 format-67 texture creation succeeded. The device reported shader sampling support, with render-target and typed-UAV support both clear. Format 10 reported all three capabilities. The probe queried support and created textures; it didn't execute a shader. A global 67→10 mapping would also change valid sampled textures from four bytes per texel (packed RGB with a shared exponent) to eight (RGBA16F), so guest uploads and copies would need conversion. The original flags will help distinguish an unsupported write usage from another creation failure. [Microsoft’s format support table](https://learn.microsoft.com/en-us/windows/win32/direct3ddxgi/hardware-support-for-direct3d-12-1-formats#dxgi_format_r9g9b9e5_sharedexpfnc-67) Your same-host comparison also gives a useful boundary: the creation warnings fell to zero while the world capture stayed black. That leaves the producer of the presented image open.
Author
Owner

@⁠LAKSHYA-cmd-tech on GitHub · 2026-11-24 14:01 UTC · original

Integrated the suggested pc_format fallbacks (85, 86, 115 -> 28; 67 -> 10) in downstream PR #29, eliminating render target creation refusals.

**@⁠LAKSHYA-cmd-tech** on GitHub · 2026-11-24 14:01 UTC · [original](https://github.com/Marvisak/VIctory/issues/904#issuecomment-7133717724) Integrated the suggested pc_format fallbacks (85, 86, 115 -> 28; 67 -> 10) in downstream PR #29, eliminating render target creation refusals.
Author
Owner

@⁠DavHsiao on GitHub · 2026-11-24 14:12 UTC · original

Could you share the original format-67 no host texture line from the run with just the packed-format fallback, including the full ResourceDesc and HRESULT? If a completed-frame trace already identifies a view or a draw, dispatch or copy that writes that 1920×1080 resource, that would also help. Section 4 gives the flags for formats 86 and 115, and only the dimensions for 67.

On an RTX 4090 under Wine/vkd3d-proton 3.2, ordinary 1920×1080 format-67 texture creation succeeded. The device reported shader sampling support, with render-target and typed-UAV support both clear. Format 10 reported all three capabilities. The probe queried support and created textures; it didn't execute a shader. A global 67→10 mapping would also change valid sampled textures from four bytes per texel (packed RGB with a shared exponent) to eight (RGBA16F), so guest uploads and copies would need conversion. The original flags will help distinguish an unsupported write usage from another creation failure. Microsoft’s format support table

Your same-host comparison also gives a useful boundary: the creation warnings fell to zero while the world capture stayed black. That leaves the producer of the presented image open.

Thanks — the flags question has a clean answer on this host, because we have three format-67 creation attempts that differ only in flags.

Same host throughout (RTX 5060 Laptop 8 GB, driver 32.0.16.2124, Windows 11 build 26300, main @ c7a5f49 plus the packed-format fallback):

WARN victory_gpu::resource: no host texture error=参数错误。 (0x80070057)
     desc=ResourceDesc { dimension: 3, alignment: 0, width: 1920, height: 1080,
                         depth_or_array_size: 1, mip_levels: 1, format: 67,
                         sample_count: 1, sample_quality: 0, layout: 0, flags: 5 }
WARN victory_gpu::resource: no host texture error=参数错误。 (0x80070057)
     desc=ResourceDesc { dimension: 3, alignment: 0, width: 1920, height: 1080,
                         depth_or_array_size: 1, mip_levels: 1, format: 67,
                         sample_count: 1, sample_quality: 0, layout: 0, flags: 4 }

and, from a run that was short on memory at the time:

WARN victory_gpu::resource: no host texture error=内存资源不足,无法完成此操作。 (0x8007000E)
     desc=ResourceDesc { dimension: 3, alignment: 0, width: 2560, height: 1440,
                         depth_or_array_size: 1, mip_levels: 1, format: 67,
                         sample_count: 1, sample_quality: 0, layout: 0, flags: 0 }

0x80070057 is E_INVALIDARG.

Read together, the three line up as:

flags use result
0 plain texture creation path accepted; only fails on memory (E_OUTOFMEMORY)
4 unordered access only E_INVALIDARG
5 render target + unordered access E_INVALIDARG

So on this driver format 67 as an ordinary texture is fine and as a render target or typed UAV is not. That looks like the unsupported write usage you were distinguishing from a creation failure, rather than the format being unusable at all. For completeness, the same pattern holds for the packed formats on this host: format 86 at 1280×720 flags: 5 and format 115 at 1280×720 flags: 1 are both refused with E_INVALIDARG.

You are right about the 4 → 8 bytes per texel problem, and it applies to the packed formats too (8 bits per channel standing in for 16). A global mapping in pc_format() is the wrong shape: it also rewrites textures the title only ever samples. Better three ways, in order of preference:

  1. Substitute only when the description's flags include render target or unordered access, so sampled textures keep their format and their uploads and copies stay byte-identical.
  2. Keep pc_format() pure and retry CreateCommittedResource once on failure with the stand-in, so only the resources that actually need it change.
  3. If the stand-in must stay global, at least record the substitution per resource so guest uploads and copies can convert (this is the conversion work you described).

The downstream PR #29 integrated the global form of the mapping; it would be worth narrowing it there rather than propagating it.

On the completed-frame trace: I do not have one, and the reason is worth recording. VICTORY_PRODUCERS lives in #638, whose draw.rs change calls State::clear_vertex_buffers(), which is not on main; applying that PR to a clean main fails to compile (error[E0599]: no method named clear_vertex_buffers), so I had to drop the producers module and keep only the show-target part of #638. I can port the missing helper and rerun with VICTORY_PRODUCERS=1 if that trace is what you need next.

One more piece for "leaves the producer of the presented image open", in case it helps someone reading later: with #211 applied the presented plane on Series S is the 3840×2160 overlay, and the black captures in the show-target run came from shown() returning None — no target at least 1280 wide, 16:9 and displayable — so the present fell back to the title's own plane 0. That is a different statement from "the frame was rendered and is black", and I should have said so more carefully in the report.

**@⁠DavHsiao** on GitHub · 2026-11-24 14:12 UTC · [original](https://github.com/Marvisak/VIctory/issues/904#issuecomment-7133994839) > Could you share the original format-67 `no host texture` line from the run with just the packed-format fallback, including the full `ResourceDesc` and HRESULT? If a completed-frame trace already identifies a view or a draw, dispatch or copy that writes that 1920×1080 resource, that would also help. Section 4 gives the flags for formats 86 and 115, and only the dimensions for 67. > > On an RTX 4090 under Wine/vkd3d-proton 3.2, ordinary 1920×1080 format-67 texture creation succeeded. The device reported shader sampling support, with render-target and typed-UAV support both clear. Format 10 reported all three capabilities. The probe queried support and created textures; it didn't execute a shader. A global 67→10 mapping would also change valid sampled textures from four bytes per texel (packed RGB with a shared exponent) to eight (RGBA16F), so guest uploads and copies would need conversion. The original flags will help distinguish an unsupported write usage from another creation failure. [Microsoft’s format support table](https://learn.microsoft.com/en-us/windows/win32/direct3ddxgi/hardware-support-for-direct3d-12-1-formats#dxgi_format_r9g9b9e5_sharedexpfnc-67) > > Your same-host comparison also gives a useful boundary: the creation warnings fell to zero while the world capture stayed black. That leaves the producer of the presented image open. Thanks — the flags question has a clean answer on this host, because we have three format-67 creation attempts that differ only in flags. Same host throughout (RTX 5060 Laptop 8 GB, driver 32.0.16.2124, Windows 11 build 26300, `main` @ `c7a5f49` plus the packed-format fallback): ``` WARN victory_gpu::resource: no host texture error=参数错误。 (0x80070057) desc=ResourceDesc { dimension: 3, alignment: 0, width: 1920, height: 1080, depth_or_array_size: 1, mip_levels: 1, format: 67, sample_count: 1, sample_quality: 0, layout: 0, flags: 5 } WARN victory_gpu::resource: no host texture error=参数错误。 (0x80070057) desc=ResourceDesc { dimension: 3, alignment: 0, width: 1920, height: 1080, depth_or_array_size: 1, mip_levels: 1, format: 67, sample_count: 1, sample_quality: 0, layout: 0, flags: 4 } ``` and, from a run that was short on memory at the time: ``` WARN victory_gpu::resource: no host texture error=内存资源不足,无法完成此操作。 (0x8007000E) desc=ResourceDesc { dimension: 3, alignment: 0, width: 2560, height: 1440, depth_or_array_size: 1, mip_levels: 1, format: 67, sample_count: 1, sample_quality: 0, layout: 0, flags: 0 } ``` `0x80070057` is `E_INVALIDARG`. Read together, the three line up as: | flags | use | result | |---|---|---| | `0` | plain texture | creation path accepted; only fails on memory (`E_OUTOFMEMORY`) | | `4` | unordered access only | `E_INVALIDARG` | | `5` | render target + unordered access | `E_INVALIDARG` | So on this driver format 67 as an ordinary texture is fine and as a render target or typed UAV is not. That looks like the unsupported *write usage* you were distinguishing from a creation failure, rather than the format being unusable at all. For completeness, the same pattern holds for the packed formats on this host: format 86 at 1280×720 `flags: 5` and format 115 at 1280×720 `flags: 1` are both refused with `E_INVALIDARG`. You are right about the 4 → 8 bytes per texel problem, and it applies to the packed formats too (8 bits per channel standing in for 16). A global mapping in `pc_format()` is the wrong shape: it also rewrites textures the title only ever samples. Better three ways, in order of preference: 1. Substitute only when the description's flags include render target or unordered access, so sampled textures keep their format and their uploads and copies stay byte-identical. 2. Keep `pc_format()` pure and retry `CreateCommittedResource` once on failure with the stand-in, so only the resources that actually need it change. 3. If the stand-in must stay global, at least record the substitution per resource so guest uploads and copies can convert (this is the conversion work you described). The downstream PR #29 integrated the global form of the mapping; it would be worth narrowing it there rather than propagating it. On the completed-frame trace: I do not have one, and the reason is worth recording. `VICTORY_PRODUCERS` lives in #638, whose `draw.rs` change calls `State::clear_vertex_buffers()`, which is not on `main`; applying that PR to a clean `main` fails to compile (`error[E0599]: no method named clear_vertex_buffers`), so I had to drop the `producers` module and keep only the show-target part of #638. I can port the missing helper and rerun with `VICTORY_PRODUCERS=1` if that trace is what you need next. One more piece for "leaves the producer of the presented image open", in case it helps someone reading later: with #211 applied the presented plane on Series S is the 3840×2160 overlay, and the black captures in the show-target run came from `shown()` returning `None` — no target at least 1280 wide, 16:9 and displayable — so the present fell back to the title's own plane 0. That is a different statement from "the frame was rendered and is black", and I should have said so more carefully in the report.
Author
Owner

@⁠DavHsiao on GitHub · 2026-11-24 14:13 UTC · original

Integrated the suggested pc_format fallbacks (85, 86, 115 -> 28; 67 -> 10) in downstream PR #29, eliminating render target creation refusals.

Thanks for picking this up in #29. One thing worth folding in before it spreads: the mapping is broader than it needs to be, and the flags in the original reports say why.

On my host the same format is refused only for write uses, not in general:

format 67 (R9G9B9E5_SHAREDEXP), 1920×1080 flags result
plain texture 0 (2560×1440 copy in a low-memory run) creation accepted, fails only on memory (0x8007000E)
unordered access only 4 E_INVALIDARG (0x80070057)
render target + unordered access 5 E_INVALIDARG

So a global substitution in pc_format() also rewrites textures the title only ever samples, and for 67 → 10 that doubles the bytes per texel (4 → 8), for 86/115 → 28 it doubles them again in the other direction (16-bit packed → 32-bit). Any upload or copy path that assumes the console's layout then needs a conversion that this change does not do.

Two narrower shapes that fix the same refusals without touching sampled textures:

  1. Key the table on the description's flags — substitute only when render target or unordered access is set.
  2. Leave pc_format() alone and retry CreateCommittedResource with the stand-in only after the first attempt fails, recording the substitution per resource.

Either keeps the "no host texture count goes to 0" result while leaving ordinary textures byte-identical to what the title expects.

For reference, the runs behind those lines are in the main report above: Series S, main @ c7a5f49, RTX 5060 Laptop 8 GB, driver 32.0.16.2124.

**@⁠DavHsiao** on GitHub · 2026-11-24 14:13 UTC · [original](https://github.com/Marvisak/VIctory/issues/904#issuecomment-7134021599) > Integrated the suggested pc_format fallbacks (85, 86, 115 -> 28; 67 -> 10) in downstream PR [#29](https://git.gtahub.st/github/Marvisak--VIctory/issues/29), eliminating render target creation refusals. Thanks for picking this up in #29. One thing worth folding in before it spreads: the mapping is broader than it needs to be, and the flags in the original reports say why. On my host the same format is refused only for write uses, not in general: | format 67 (`R9G9B9E5_SHAREDEXP`), 1920×1080 | flags | result | |---|---|---| | plain texture | `0` (2560×1440 copy in a low-memory run) | creation accepted, fails only on memory (`0x8007000E`) | | unordered access only | `4` | `E_INVALIDARG` (`0x80070057`) | | render target + unordered access | `5` | `E_INVALIDARG` | So a global substitution in `pc_format()` also rewrites textures the title only ever samples, and for 67 → 10 that doubles the bytes per texel (4 → 8), for 86/115 → 28 it doubles them again in the other direction (16-bit packed → 32-bit). Any upload or copy path that assumes the console's layout then needs a conversion that this change does not do. Two narrower shapes that fix the same refusals without touching sampled textures: 1. Key the table on the description's flags — substitute only when render target or unordered access is set. 2. Leave `pc_format()` alone and retry `CreateCommittedResource` with the stand-in only after the first attempt fails, recording the substitution per resource. Either keeps the "`no host texture` count goes to 0" result while leaving ordinary textures byte-identical to what the title expects. For reference, the runs behind those lines are in the main report above: Series S, `main` @ `c7a5f49`, RTX 5060 Laptop 8 GB, driver 32.0.16.2124.
Author
Owner

@⁠Marvisak on GitHub · 2026-11-25 06:50 UTC · original

Automated triage for the maintainers.

Thanks for the careful A/B runs (RTX 5060 Laptop 8 GB, Series S, c7a5f49). Where the pieces are tracked:

  • The black world after #578 removes the hang is the NVIDIA world hang / black world in #71 (the wave64 side is summarised in #778); #578 and its rebase #1922 are open.
  • The Series S present showing only plane 0: #211 was closed without merging; #1997 is the open rebase.
  • The refused 2560x1440 targets: on main, pc_format in crates/victory-gpu/src/resource.rs only remaps 118–120, so formats 86/115/67 go to the host unchanged. Note that the format 86 resource also asks for unordered access (flags 5); open PRs #1843 and #1787 drop unordered access for formats the host cannot write, which may be the cleaner fix for that one. Your stand-in table would be welcome as its own pull request against current main.

Generated by Claude Code

**@⁠Marvisak** on GitHub · 2026-11-25 06:50 UTC · [original](https://github.com/Marvisak/VIctory/issues/904#issuecomment-7155221829) <!-- victory-issue-triage v1 verdict=tracked seen=2026-11-24T14:13:04Z at=2026-11-25T06:50:56Z --> Automated triage for the maintainers. Thanks for the careful A/B runs (RTX 5060 Laptop 8 GB, Series S, `c7a5f49`). Where the pieces are tracked: - The black world after #578 removes the hang is the NVIDIA world hang / black world in #71 (the wave64 side is summarised in #778); #578 and its rebase #1922 are open. - The Series S present showing only plane 0: #211 was closed without merging; #1997 is the open rebase. - The refused 2560x1440 targets: on `main`, `pc_format` in `crates/victory-gpu/src/resource.rs` only remaps 118–120, so formats 86/115/67 go to the host unchanged. Note that the format 86 resource also asks for unordered access (flags 5); open PRs #1843 and #1787 drop unordered access for formats the host cannot write, which may be the cleaner fix for that one. Your stand-in table would be welcome as its own pull request against current `main`. --- _Generated by [Claude Code](https://claude.ai/code)_
Author
Owner

@⁠potatoe0100 on GitHub · 2026-11-26 14:11 UTC · original

The Series S part (only plane 0 presented) now has a fix on main: #1997 merged as 0736f8b and composites the extra PresentX planes. The world-side items here are still open.

AI-assisted (Claude)

**@⁠potatoe0100** on GitHub · 2026-11-26 14:11 UTC · [original](https://github.com/Marvisak/VIctory/issues/904#issuecomment-7194404102) The Series S part (only plane 0 presented) now has a fix on `main`: #1997 merged as 0736f8b and composites the extra PresentX planes. The world-side items here are still open. AI-assisted (Claude)
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/Marvisak--VIctory#904
No description provided.