Repository navigation
Conversation
|
Tested on NVIDIA and Windows 10, without the debug layer: it fixes the black screen here too. Setup: Windows 10 22H2 (19045), i7-8700K, RTX 2070 SUPER 8 GB (driver 610.88), diag build of
The device was removed ( AI-assisted (Claude Code); I ran everything above myself. |
|
Tested 24a387d on Windows with an RTX 4070 SUPER in Series S mode. On main (d2a4bae), the window stayed black. With this PR alone, I could see the profile selector, choose Player, and use the first-run settings. The navigation options and button prompts were readable in French. The last screen I saw was purple. The log ended with a memory allocation failure before I reached the world. I recommend merging this PR. It fixes the black menus on my setup and lets me get through the settings. |
…S black UI/menus) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
Independent A/B test on Setup — Windows 11 Pro x64 build 26300, Ryzen 5 9600X, 16 GB RAM, RTX 5060 installed. Both builds used Rust 1.98.1, the
Both processes were still running at the end of the observation. The monitored logs showed no commit-limit error, device removal, or unhandled exception. The same temporary measurement in both builds logged only the black/non-black result of VIctory's existing grid probe at every 30th frame and at powers of two. No frame captures were saved. The automated observation establishes that the sampled output became non-black with the PR. Menu readability and gameplay were outside this measurement. AI-assisted test automation and report. |
|
Tested this PR locally on top of
Before vs. After (Series S)
|
|
Confirmed the Series S profile-screen fix on Windows 11 WARP. I tested upstream
Regression test. The attached patch adds a Windows WARP test that calls the production
The same test failed on main and passed with the PR. The ordinary diagnostic git apply presentx-two-planes.patch
$env:VICTORY_D3D12_WARP = '1'
cargo test --locked -p victory-gpu --lib --features diagnostics queue::present_tests::presentx_blends_two_solid_planes -- --ignored --exact --nocapture --test-threads=1Ryzen 7 9800X3D, Windows 11 Pro 26300.9974, WARP 10.0.26100.9818, Rust 1.98.1. The title comparison covers the profile screen. Baseline title runs. Test execution and reporting were assisted by Codex on this PC. |
|
Follow-up A/B on Both builds used Rust 1.98.1, the
I kept the candidate running for 155 seconds. It was still running at the cutoff, and all 69 sampled frames from the first non-black sample through the cutoff were non-black. The monitored logs showed no device removal or Win32 commit-limit error. The probe recorded only black/non-black values from VIctory's existing grid. No frame captures were saved. For context, a separate earlier manual run with #211 on AI-assisted test automation and report. |
…Marvisak#358 Marvisak#89 Marvisak#331 Marvisak#86 Marvisak#83 Marvisak#211 Marvisak#260 Marvisak#275) Conflict in crates/victory-gpu/src/descriptor/host.rs: gpu-state (Marvisak#251) moved the dynamic-slot search into free_table(); gpu-draw (Marvisak#86) bounds the search by the heap's spare slots instead of DYNAMIC. free_table() works over taken.len(), which is the spare count, so the helper is kept with gpu-draw's spare-based cursor wrap. Both sides' tests kept. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
… PresentX planes Merges https://github.com/fxceless/victory-fork (main, 4e17478) into this fork. The two rewrote the same GPU and shader code (20 files, 80 conflicts), so the merged tree is fxceless's tree, with two additions it does not have, re-applied on top: - The FidelityFX upscaler answered by AMD's PC FidelityFX SDK when VICTORY_FFX_DIR is set (the pc-fsr branch, f96ad82): applied unchanged. - PR Marvisak#211's multi-plane PresentX compositing (Series S menus): several planes are composited in a list of their own; a single plane keeps fxceless's present path, including presents sent ahead. Dropped in favour of fxceless's own implementations: this fork's lazy host textures and VRAM report, bounds root constants, rectangle geometry shader, mesh index/position changes, the diagnostics switches added with them, and PRs Marvisak#89, Marvisak#492 and Marvisak#578 (fxceless has its own target formats and wave64 handling; Marvisak#578 refused every wave64 compute program on 32-lane GPUs). That work stays reachable on the try/pr-211-578 branch at 575a4ee. Builds with and without the diagnostics feature; the workspace tests pass. Not run in the game yet. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
|
Independent Series S test on Windows 11 Pro build 26200, Ryzen 7 5700X3D, 32 GiB RAM, RTX 3060 Ti 8 GiB, NVIDIA driver 616.56. I ran the #1638 NVIDIA stack with #242, then repeated with #211 integrated using the same profile and cache starting point. The Series S output before #211 was black in the sampled frames, including frames 600 and 1400. With composition, the intro and loading image came back. The center sample went from 0% colored pixels to 99.7% at frame 600 and 87.3% at frame 1400. Both compositor tests passed on this system. I stopped at low Windows commit headroom during loading, so this verifies the display change through the intro and loading screen. Gameplay and its HUD remain unverified in this run. Exact source revision. AI-assisted. |
…us) onto Marvisak#1024 + Marvisak#346 + Marvisak#334 + integ/next One conflict, crates/victory-gpu/src/host.rs tests: the stack adds `adapter_filter_parses_index_and_name` and the capability tests, Marvisak#211 adds `present_compositor_builds_both_pipeline_states`, at the same place. The shared text holds the `#[test]` before and the closing brace after, so the stack's last test is closed in the hunk and Marvisak#211's follows as its own test (not nested). `Host::present` (single plane fast path, compositor for 2+) and `queue::present` merged without conflict; the stack does not change either. No non-textual fix needed (cargo check --all-targets --all-features). No negative report on Marvisak#211: the Series S menus render on RTX 2070 SUPER, RTX 4070 SUPER, RTX 3060 Laptop, RTX 4080, RX 7600 and WARP, and the device removals seen later in the world also happen in Series X mode without it.
…6B16A16_FLOAT) onto Marvisak#211 + Marvisak#1024 + Marvisak#346 + Marvisak#334 + integ/next Conflicts, both in tests: 1. crates/victory-gpu/src/descriptor/host.rs: the stack's tests (`raw_views_start_on_16_bytes` and the raw/structured view tests after it, from Marvisak#1426/Marvisak#704) and Marvisak#492's four `rgb9e5_srv_*` tests at the same place; git interleaved them over shared lines (a resource description's `SampleDesc`, a closing brace), so the two hunks are not separable texts. Resolved by keeping the stack's tests exactly as they were and adding Marvisak#492's four tests whole, as Marvisak#492 has them, before `dynamic_slots_are_held_until_released` (where Marvisak#492 put them). The resulting diff of the file against the previous head equals Marvisak#492's own (+235/-5 against main). 2. crates/victory-gpu/src/resource.rs: the stack's `get_desc_reports_the_allocated_mip_chain` and Marvisak#492's `r9g9b9e5_target_format_substitutes_rgba16f` / `r9g9b9e5_render_target_and_uav_textures_create_on_host` at the end of the module. The shared text holds the `#[test]` before and the closing braces after: the stack's test is closed in the hunk and Marvisak#492's follow as separate tests (not nested). The non-test changes (`target_format`, `fits` taking a resource description, `fits_texture_srv`, RTV and pipeline formats) merged without conflict. `fits` has no other caller in the stack. Uploads from title memory still skip render-target/UAV textures (`texture::title_written`), so no 4-byte RGB9E5 rows are detiled into a substituted 8-byte texture. Known open point from the review, not fixed by Marvisak#492: a copy between a substituted target and a sampled-only RGB9E5 texture would mismatch formats on the host; no report shows the title doing that. No non-textual fix needed (cargo check --all-targets --all-features).
…sak#98, Marvisak#334 to Marvisak#492, validation) The line rebuilt on the bundles' current heads (Marvisak#1402 119b763, Marvisak#1492 5bbc098 without Marvisak#98, Marvisak#1504 1d41891, Marvisak#1511 ca601f0) with every merge replayed, and the merges after this file's first version (Marvisak#334, Marvisak#346, Marvisak#1024, Marvisak#211, Marvisak#492): merge order, the runner's numbers on 967d3ae (RTX 571, WARP 570 + the known Marvisak#1084 failure, all features 580; Marvisak#98's one test leaves), what is not included (Marvisak#98, Marvisak#282 for Marvisak#346, Marvisak#693 for Marvisak#1024, Marvisak#306's latest commit), and the open pull requests whose head is contained here (109, from the 18:24 collection). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…ries S black UI/menus)
|
Tested a local adaptation of this PR on Windows with an RTX 5070 and about 15 GB RAM, using This was not an unmodified PR build: it was adapted on top of an fxceless-based local stack, with the fork's asynchronous presentation path replaced by synchronous presentation. The compositor initialization test passed, but the game result is not isolated to this PR. In a later run without a free-RAM cutoff, the process ended after roughly 121 seconds. Its log reported |
GPU tests: check blended pixels after compositor initialization recovers
|
Follow-up to my earlier report: I tried Series S again on a cleaner local baseline: stack8 at The log reports |
…l at the world)
In Series S mode the title asks for its FidelityFX upscale output as a
1920x1080 R9G9B9E5_SHAREDEXP texture with render target and unordered
access. PC D3D12 never allows either use in that format: the texture was
refused, and the render target view made for it in that format removed
the device ("CreateRenderTargetView: The format (0x43, R9G9B9E5_SHAREDEXP)
cannot be used with a RenderTarget view", then DXGI_ERROR_INVALID_CALL),
the moment the world began. Series X does not hit it: its title does not
upscale by default.
target_format now gives R16G16B16A16_FLOAT for R9G9B9E5_SHAREDEXP on every
host (PR Marvisak#492's rule, lost when this fork's tree replaced the one that had
it). Texture creation, clear values, render target views, pipeline formats
and the view checks all go through target_format, so they agree.
shortcut: a view of the stand-in reads the alpha written there, where
RGB9E5 reads 1.
Tests: the mapping, and the title's exact texture made on the host GPU.
Also fixes PR Marvisak#211's PresentX test for this fork's rtv() (an Option), which
did not compile with the diagnostics feature.
Verified in the game: Series S no longer loses the device; FSR upscales
(first upscale result=0) and the world runs.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
|
I tested #211 on Linux/Proton, merged onto latest main. PR head 8cd5cc6, merged onto main 70564ae (merge commit f4581aa) in a local worktree. Diagnostics build: System: CachyOS 7.3.5, Ryzen 5 5600X, RTX 3060 Ti 8 GB, driver 620.73.04. Runtime: Proton Experimental An earlier Series S run on main was a black screen on my machine. With #211:
The run later ended after ~78 s with AI-assisted: build/run/capture analysis; I verified the display was actually not black and rendered the menu and intro. |
|
Automated triage for the maintainers. Closing because it breaks a repository rule (see If this is mistaken, reply here with what was missed (or push a change and say so) and it will be looked at again. Thank you for the contribution. |
|
This looks like a false positive from automated triage — this PR only modifies crates/victory-gpu/src/host.rs and crates/victory-gpu/src/queue.rs, contains no game assets, binaries, or console SDK code/headers, uses only synthetic 32×32 render-target tests and a standard 10-line fullscreen-triangle HLSL shader, keeps everything offline, and passes cargo xtask policy. In case the SDK struct name in the Plane doc comment / PR description tripped the check, I've replaced it with a neutral description of the observed 0x48-byte stride. Could this be re-checked and reopened? |
Problem
When running with
--console series-s, GTA VI callsPresentXwith 2 planes:1920×10803D scene buffer (black during menus)3840×2160UI/HUD overlay planePreviously,
queue::presentonly readplane_parameters[0]and ignored planes1..planes, causing--console series-sto display a solid black screen on menus and lose the UI/HUD overlay in gameplay.Changes
crates/victory-gpu/src/queue.rs:Pad
Planeto the observed 72-byte (0x48) array stride (const _: () = assert!(size_of::<Plane>() == 0x48);) soplane_parameters[1..]indexes cleanly.Host::present, restoring each plane's resource state afterward.crates/victory-gpu/src/host.rs:CopyResourcefast path whenplanes.len() == 1.planes.len() >= 2, size the swap chain to the maximum(width, height)across planes and lazily compile a small built-in fullscreen-triangle compositor (Compositor, viaD3DCompile):1..are composited on top with premultiplied alpha (ONE,INV_SRC_ALPHA).VICTORY_CAPTURE) and black-frame probes read back the composited backbuffer.Verification
--profile diag -p victory --features diagnosticscleanly with 0 warnings in modified code.--console series-s+VICTORY_D3D12_DEBUG=1+VICTORY_CAPTURE:frame-150.pngandframe-256.pngwere 100% solid black ((0, 0, 0)), whileVICTORY_DUMP_TARGETSshowed the menu rendered onto the3840×2160Plane 1 texture.presenting to a window width=3840 height=2160 format=28, 0 D3D12 debug layer errors from the compositor, andframe-150.png/frame-256.pngrender the crisp 4K menu UI cleanly.