fix(vk): keep Windows Vulkan presentation compatible with Streamline #2275

Merged
HumanBean merged 7 commits from stoome/Longshot:fix/vulkan-streamline-compat into main 2026-11-22 18:46:18 +00:00
Contributor

Summary

On Windows, Vulkan shims can intercept the executable’s loader imports while missing calls made directly by the renderer DLL. Streamline 2.14.16 can also submit a null signal semaphore on a fence-only image acquire and release its old swapchain images while creating their replacement. These three paths can leave MFG Unlocker’s device unprepared, crash a frame acquire, or lose the device when the frame-generation setting changes.

To reproduce with the affected setup, use native Vulkan with OptiScaler v10.0.0-pre1_20261111, MFG Unlocker 1.7.1, and stock Streamline 2.14.16. Under [FrameGen], set Enabled=true, FGInput=DLSSG, FGOutput=DLSSG, and FGNvngxReplacement=MFGUnlocker. Enter gameplay with DLSS frame generation, select 2×, switch to 6× and 5×, then turn frame generation off. The Windows loader callback, create_swapchain, present_image_with_trial, and acquire_ahead are the entry points to review.

This series makes Windows resolve Vulkan through the executable, retires the old NVIDIA swapchain before entering the replacement hook, and supplies and consumes an acquire semaphore on both Windows NVIDIA acquire paths. The CPU fence still gates the copy. Completed signals from abandoned acquires are consumed before their semaphores are reclaimed.

Testing

The submitted branch at aa46316 is based on 67ba729. All seven commits in the submission checkout have the same source trees as their counterparts in the tested series ending at b694ff6.

Tested: On Windows, main at a2dc538 and the patched build both compiled and linked with LLVM-MinGW. Eleven focused Clang checks and seven focused GCC checks passed on that base. The regression checks failed for the expected loader, swapchain, and acquire behavior. Mutation checks caught missing semaphore wiring in each acquire path, a missing submission wait, and disabled reclamation. The existing audio, menu text, and capture fixtures passed after updates for the new host callback and semaphore retirement. The UTF-8 paths check also passed.

After rebasing onto 67ba729, the tested head at b694ff6 compiled and linked again with LLVM-MinGW. All 17 focused checks passed, including the GPU architecture and device policy checks. Each regression fixture reproduced its intended failure on the rebased series before its fix. The exported seven-commit series replayed with git am.

An earlier v3.0.0 build with the compatibility fixes completed two 2× → 6× → 5× → Off cycles with OptiScaler, MFG Unlocker and stock Streamline 2.14.16. Current main has a second acquire path, which this series also covers with a regression test.

The author reported that MFG Unlocker worked in a manual game test on their PC. The build hash, exact multiplier sequence and provider log results are pending confirmation for that run.

On the RTX 3090 with stock Vulkan, the patched build went windowed → fullscreen → windowed on both bases. The rebased game log reported b694ff6 and showed three swapchains at 1720×720, 3440×1440 and 1720×720. Frames advanced after each change and the game quit with exit code 0.

Changed-file lint and the secret scan passed. Workflow lint reports ShellCheck SC2016 at .forgejo/workflows/build-windows.yml:82 on both main and the patch.

The strict Windows suite ran on the a2dc538 base in batches with a 90-second per-check limit. Including isolated reruns, 861 checks passed on main and 862 on the patch. Both sides had 35 failures and five timeouts in this local setup. tests/test_job_queue.py interrupted the runner on both sides, including in isolation. The control bridge relaunch check failed once on the patch and passed on rerun. The CRT fixture passed on a fresh main checkout after a previous interrupted run had left its shader source modified. The full-suite checklist stays open.

Failures and timeouts observed on both builds
  • Failures in nx2/: test_import_windows.py.
  • Failures in tests/: test_auto_handheld.py, test_close_waits_for_save.py, test_compile_zero_byte.py, test_crash_dialog.py, test_damaged_rom_files.py, test_dev_ab.py, test_dev_build.py, test_dev_migrate.py, test_dev_packs.py, test_dev_update.py, test_draw_stream_visibility.py, test_fs_save_commit.py, test_fsr_uniform_ownership.py, test_fsr3fi_hud_layer.py, test_fsr3fi_hudless_colour.py, test_game_menu_mouse_buttons.py, test_guest_copies.py, test_hold_toggle.py, test_input_movie.py, test_linux_preflight.py, test_lower_atomg_cas.py, test_menu_i18n.py, test_menu_keys.py, test_menu_slider_ends.py, test_mise_build.py, test_pads_after_menu.py, test_perf_report.py, test_recording_admission.py, test_sampler_admission.py, test_sdiv_overflow.py, test_sim_turf_pools.py, test_switch_table.py, test_tls_objects.py, and test_vibration_menu.py.
  • Timeouts in tests/: test_cv_handoff_threads.py, test_fpxkeep.py, test_prepare_stall.py, test_recorder_sync.py, and test_seed_reader.py.

Still to test:

  • By hand on Linux, build the host and verify UTF-8 path handling. The Windows LLVM-MinGW build and UTF-8 path check passed.
  • By hand or in Forgejo CI, rerun the full strict suite against the submitted head and its current base.
  • By hand on Windows with NVIDIA, repeat the stock Vulkan A/B on the 67ba729 base. The earlier run used a2dc538.
  • @Beanstalk exercise frame generation, alt-tab and window recreation on Linux and on Windows with AMD. Confirm gameplay resumes after each transition.

Measurements

Verdict: All three Vulkan regression fixtures reproduced their intended failures before their fixes on the 67ba729 base and passed on the source tree submitted at aa46316. The earlier stock Vulkan A/B on a2dc538 measured 78.2 FPS on main and 82.2 FPS on the patch, a 5.1% increase in that run set. A stock performance comparison on the rebased head remains open.

Baseline: The timing comparison used a2dc538, the head of main when testing began. The current head at 67ba729 includes ASTC and device policy changes that landed during testing.

Setup used dev.py ab on Windows 11 build 28000, NVIDIA RTX 3090 with driver 621.01, Kokiri Forest, 67% render resolution, and no third-party Vulkan hook. Four 15-second samples ran in A1, B1, A2, B2 order after warm-up. All four loaded gameplay and quit normally. The patched binary was built at 5fc73f6. main then advanced to 67ba729, and git range-diff confirmed all seven patches carried over unchanged.

Measure Before: main @ a2dc538 After: previous patch revision @ 5fc73f6
FPS, first run 78.2 81.0
FPS, second run 78.2 83.4
Median frame time, first and second runs 12.61 ms, 12.61 ms 12.16 ms, 11.89 ms
p99 frame time, first and second runs 16.50 ms, 16.81 ms 16.37 ms, 14.65 ms
Cold frames, first and second runs 8, 2 3, 1

The benchmark tool withheld its write-up because HOS_CONTROL is a unique named pipe for every run. Reanalyzing the four captured results with only this per-run identifier excluded found no remaining differences in the benchmark's settings check. The FPS table includes cold frames, which were more frequent on main.

Regression checks

Setup: The game-free Vulkan fixtures ran on Windows with LLVM-MinGW and used the same inputs for both sides. The before measurements come from each test-only commit in the series before its corresponding fix.

Check Before: main @ 67ba729 After: this PR @ aa46316
Executable loader callback Fixture at ad17303 shows the renderer bypassing the executable’s resolver Fix 2b756e9 covers the callback, older-host fallback and missing-resolver cases
Replacement swapchain Fixture at 0759a97 shows the hook seeing the old chain before teardown Fix f638e77 retires the old chain, image views and per-image semaphores first
Windows NVIDIA acquire Fixture at 8768856 shows both acquire paths omitting the semaphore Fix 643b9a8 signals it on both paths and the copy consumes it after CPU fence readiness

Risks

Windows NVIDIA uses a small number of additional Vulkan synchronization objects and a different recreation order. A discarded acquire whose fence never signals retains its synchronization objects until the process exits. Retirement probes at most one such entry per successful copy. The ABI advances from 44 to 45, so build and ship the executable and renderer together. Reverting the series restores the prior behavior. Player saves and options require no migration.

Checklist

Ready for review

  • One topic, on current main; the title is a Conventional Commit.
  • Tested on my own PC, in the game for a change the game runs, as Testing says.
  • mise run test passes (any failure that also fails on main is named).
  • Measured against main, or Measurements says why there is nothing to measure.
  • No game files, build output or hand-edited generated files; third_party/ untouched; nothing GPL-incompatible.

When it applies

  • A fix: a game-free test that fails on main and passes here.
  • A check under tests/ that reads changed source is updated, not weakened.
  • MKWVK_API_VERSION bumped (MkwVkHost or MkwVkRenderer in gpu/vk/vk_api.h changed).
  • [-] Host code builds on Windows (llvm-mingw) and Linux, with UTF-8 paths.
  • AI assistance recorded with Assisted-by: / Co-Authored-By: trailers.

Ready to merge

  • Everything in Still to test has run, its results in Tested.
  • Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers").
  • Approved in review, every comment answered.
  • CI passes on the head; on current main, measured again or a comment says why the numbers still hold.
## Summary On Windows, Vulkan shims can intercept the executable’s loader imports while missing calls made directly by the renderer DLL. Streamline 2.14.16 can also submit a null signal semaphore on a fence-only image acquire and release its old swapchain images while creating their replacement. These three paths can leave MFG Unlocker’s device unprepared, crash a frame acquire, or lose the device when the frame-generation setting changes. To reproduce with the affected setup, use native Vulkan with OptiScaler `v10.0.0-pre1_20261111`, MFG Unlocker 1.7.1, and stock Streamline 2.14.16. Under `[FrameGen]`, set `Enabled=true`, `FGInput=DLSSG`, `FGOutput=DLSSG`, and `FGNvngxReplacement=MFGUnlocker`. Enter gameplay with DLSS frame generation, select 2×, switch to 6× and 5×, then turn frame generation off. The Windows loader callback, `create_swapchain`, `present_image_with_trial`, and `acquire_ahead` are the entry points to review. This series makes Windows resolve Vulkan through the executable, retires the old NVIDIA swapchain before entering the replacement hook, and supplies and consumes an acquire semaphore on both Windows NVIDIA acquire paths. The CPU fence still gates the copy. Completed signals from abandoned acquires are consumed before their semaphores are reclaimed. ## Testing The submitted branch at `aa46316` is based on `67ba729`. All seven commits in the submission checkout have the same source trees as their counterparts in the tested series ending at `b694ff6`. **Tested:** On Windows, `main` at `a2dc538` and the patched build both compiled and linked with LLVM-MinGW. Eleven focused Clang checks and seven focused GCC checks passed on that base. The regression checks failed for the expected loader, swapchain, and acquire behavior. Mutation checks caught missing semaphore wiring in each acquire path, a missing submission wait, and disabled reclamation. The existing audio, menu text, and capture fixtures passed after updates for the new host callback and semaphore retirement. The UTF-8 paths check also passed. After rebasing onto `67ba729`, the tested head at `b694ff6` compiled and linked again with LLVM-MinGW. All 17 focused checks passed, including the GPU architecture and device policy checks. Each regression fixture reproduced its intended failure on the rebased series before its fix. The exported seven-commit series replayed with `git am`. An earlier v3.0.0 build with the compatibility fixes completed two 2× → 6× → 5× → Off cycles with OptiScaler, MFG Unlocker and stock Streamline 2.14.16. Current `main` has a second acquire path, which this series also covers with a regression test. The author reported that MFG Unlocker worked in a manual game test on their PC. The build hash, exact multiplier sequence and provider log results are pending confirmation for that run. On the RTX 3090 with stock Vulkan, the patched build went windowed → fullscreen → windowed on both bases. The rebased game log reported `b694ff6` and showed three swapchains at 1720×720, 3440×1440 and 1720×720. Frames advanced after each change and the game quit with exit code 0. Changed-file lint and the secret scan passed. Workflow lint reports ShellCheck `SC2016` at `.forgejo/workflows/build-windows.yml:82` on both `main` and the patch. The strict Windows suite ran on the `a2dc538` base in batches with a 90-second per-check limit. Including isolated reruns, 861 checks passed on `main` and 862 on the patch. Both sides had 35 failures and five timeouts in this local setup. `tests/test_job_queue.py` interrupted the runner on both sides, including in isolation. The control bridge relaunch check failed once on the patch and passed on rerun. The CRT fixture passed on a fresh `main` checkout after a previous interrupted run had left its shader source modified. The full-suite checklist stays open. <details> <summary>Failures and timeouts observed on both builds</summary> - Failures in `nx2/`: `test_import_windows.py`. - Failures in `tests/`: `test_auto_handheld.py`, `test_close_waits_for_save.py`, `test_compile_zero_byte.py`, `test_crash_dialog.py`, `test_damaged_rom_files.py`, `test_dev_ab.py`, `test_dev_build.py`, `test_dev_migrate.py`, `test_dev_packs.py`, `test_dev_update.py`, `test_draw_stream_visibility.py`, `test_fs_save_commit.py`, `test_fsr_uniform_ownership.py`, `test_fsr3fi_hud_layer.py`, `test_fsr3fi_hudless_colour.py`, `test_game_menu_mouse_buttons.py`, `test_guest_copies.py`, `test_hold_toggle.py`, `test_input_movie.py`, `test_linux_preflight.py`, `test_lower_atomg_cas.py`, `test_menu_i18n.py`, `test_menu_keys.py`, `test_menu_slider_ends.py`, `test_mise_build.py`, `test_pads_after_menu.py`, `test_perf_report.py`, `test_recording_admission.py`, `test_sampler_admission.py`, `test_sdiv_overflow.py`, `test_sim_turf_pools.py`, `test_switch_table.py`, `test_tls_objects.py`, and `test_vibration_menu.py`. - Timeouts in `tests/`: `test_cv_handoff_threads.py`, `test_fpxkeep.py`, `test_prepare_stall.py`, `test_recorder_sync.py`, and `test_seed_reader.py`. </details> **Still to test:** - By hand on Linux, build the host and verify UTF-8 path handling. The Windows LLVM-MinGW build and UTF-8 path check passed. - By hand or in Forgejo CI, rerun the full strict suite against the submitted head and its current base. - By hand on Windows with NVIDIA, repeat the stock Vulkan A/B on the `67ba729` base. The earlier run used `a2dc538`. - @Beanstalk exercise frame generation, alt-tab and window recreation on Linux and on Windows with AMD. Confirm gameplay resumes after each transition. ## Measurements **Verdict:** All three Vulkan regression fixtures reproduced their intended failures before their fixes on the `67ba729` base and passed on the source tree submitted at `aa46316`. The earlier stock Vulkan A/B on `a2dc538` measured 78.2 FPS on `main` and 82.2 FPS on the patch, a 5.1% increase in that run set. A stock performance comparison on the rebased head remains open. Baseline: The timing comparison used `a2dc538`, the head of `main` when testing began. The current head at `67ba729` includes ASTC and device policy changes that landed during testing. Setup used `dev.py ab` on Windows 11 build 28000, NVIDIA RTX 3090 with driver 621.01, Kokiri Forest, 67% render resolution, and no third-party Vulkan hook. Four 15-second samples ran in A1, B1, A2, B2 order after warm-up. All four loaded gameplay and quit normally. The patched binary was built at `5fc73f6`. `main` then advanced to `67ba729`, and `git range-diff` confirmed all seven patches carried over unchanged. | Measure | Before: main @ `a2dc538` | After: previous patch revision @ `5fc73f6` | |---|---:|---:| | FPS, first run | 78.2 | 81.0 | | FPS, second run | 78.2 | 83.4 | | Median frame time, first and second runs | 12.61 ms, 12.61 ms | 12.16 ms, 11.89 ms | | p99 frame time, first and second runs | 16.50 ms, 16.81 ms | 16.37 ms, 14.65 ms | | Cold frames, first and second runs | 8, 2 | 3, 1 | The benchmark tool withheld its write-up because `HOS_CONTROL` is a unique named pipe for every run. Reanalyzing the four captured results with only this per-run identifier excluded found no remaining differences in the benchmark's settings check. The FPS table includes cold frames, which were more frequent on `main`. ### Regression checks **Setup:** The game-free Vulkan fixtures ran on Windows with LLVM-MinGW and used the same inputs for both sides. The before measurements come from each test-only commit in the series before its corresponding fix. | Check | Before: main @ `67ba729` | After: this PR @ `aa46316` | |---|---|---| | Executable loader callback | Fixture at `ad17303` shows the renderer bypassing the executable’s resolver | Fix `2b756e9` covers the callback, older-host fallback and missing-resolver cases | | Replacement swapchain | Fixture at `0759a97` shows the hook seeing the old chain before teardown | Fix `f638e77` retires the old chain, image views and per-image semaphores first | | Windows NVIDIA acquire | Fixture at `8768856` shows both acquire paths omitting the semaphore | Fix `643b9a8` signals it on both paths and the copy consumes it after CPU fence readiness | ## Risks Windows NVIDIA uses a small number of additional Vulkan synchronization objects and a different recreation order. A discarded acquire whose fence never signals retains its synchronization objects until the process exits. Retirement probes at most one such entry per successful copy. The ABI advances from 44 to 45, so build and ship the executable and renderer together. Reverting the series restores the prior behavior. Player saves and options require no migration. ## Checklist ### Ready for review - [x] One topic, on current `main`; the title is a Conventional Commit. - [x] Tested on my own PC, in the game for a change the game runs, as Testing says. - [x] `mise run test` passes (any failure that also fails on `main` is named). - [x] Measured against `main`, or Measurements says why there is nothing to measure. - [x] No game files, build output or hand-edited generated files; `third_party/` untouched; nothing GPL-incompatible. ### When it applies - [x] A fix: a game-free test that fails on `main` and passes here. - [x] A check under `tests/` that reads changed source is updated, not weakened. - [x] `MKWVK_API_VERSION` bumped (`MkwVkHost` or `MkwVkRenderer` in `gpu/vk/vk_api.h` changed). - [-] Host code builds on Windows (llvm-mingw) and Linux, with UTF-8 paths. - [x] AI assistance recorded with `Assisted-by:` / `Co-Authored-By:` trailers. ### Ready to merge - [ ] Everything in Still to test has run, its results in Tested. - [ ] Tier 1 hardware it can affect is tested (docs/dev/standards.md, "Hardware tiers"). - [ ] Approved in review, every comment answered. - [ ] CI passes on the head; on current `main`, measured again or a comment says why the numbers still hold.
Assisted-by: OpenAI Codex
Assisted-by: OpenAI Codex
Assisted-by: OpenAI Codex
Assisted-by: OpenAI Codex
Assisted-by: OpenAI Codex
Assisted-by: OpenAI Codex
test(vk): keep host and capture fixtures current
Some checks are pending
CI / Conventional Commit title (pull_request) Blocked by required conditions
CI / Python source checks (ubuntu-24.04, part 1/2) (pull_request) Blocked by required conditions
CI / Python source checks (ubuntu-24.04, part 2/2) (pull_request) Blocked by required conditions
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Blocked by required conditions
CI / Workflow lint (actionlint) (pull_request) Blocked by required conditions
CI / Website build and checks (pull_request) Blocked by required conditions
Guide screenshots / Guide images and local UI source review (pull_request) Blocked by required conditions
Third-party parts / As their notes say (pull_request) Blocked by required conditions
Third-party parts / The same as upstream (pull_request) Blocked by required conditions
Website / Website on Cloudflare (pull_request_target) Has been skipped
PR description / Description follows the template (pull_request_target) Successful in 3s
aa4631676b
Assisted-by: OpenAI Codex
Author
Contributor

Tested in game: Windows 11 build 28000, RTX 3090, NVIDIA driver 621.01. Tested build b694ff6, which has the same committed source as submission head aa46316. With stock Vulkan, I switched from windowed to fullscreen and back. The swapchain recreated both times, gameplay continued, and the game exited cleanly. MFG Unlocker also worked in my manual game test.

Tested in game: Windows 11 build 28000, RTX 3090, NVIDIA driver 621.01. Tested build b694ff6, which has the same committed source as submission head aa46316. With stock Vulkan, I switched from windowed to fullscreen and back. The swapchain recreated both times, gameplay continued, and the game exited cleanly. MFG Unlocker also worked in my manual game test.
stoome changed title from WIP: fix(vk): keep Windows Vulkan presentation compatible with Streamline to fix(vk): keep Windows Vulkan presentation compatible with Streamline 2026-11-22 17:48:43 +00:00
stoome changed title from fix(vk): keep Windows Vulkan presentation compatible with Streamline to WIP: fix(vk): keep Windows Vulkan presentation compatible with Streamline 2026-11-22 17:58:03 +00:00
stoome changed title from WIP: fix(vk): keep Windows Vulkan presentation compatible with Streamline to fix(vk): keep Windows Vulkan presentation compatible with Streamline 2026-11-22 18:01:43 +00:00
Owner
@review
HumanBean added this to the WIP project 2026-11-22 18:13:24 +00:00
BeanBot left a comment

Recommendation: Approve. The code is ready: only testing is left. The submitted fixtures exercise the intended compatibility changes, but the affected injector setup still needs a confirmed run on the submitted source. Recommend approval; not approved on the forge.

The change resolves Vulkan through the Windows executable, retires NVIDIA swapchains before replacement, and supplies acquire semaphores for Streamline compatibility. It adds synchronization objects and retirement work to Windows NVIDIA presentation.

Testing before merging (2) (runs on the systems it can change; it doesn't hold the recommendation)

  • L1: The intended compatibility fix needs a confirmed game run on the submitted source. When: The earlier successful 2× → 6× → 5× → Off run predates the current second acquire path, and the reported current manual MFG Unlocker run does not yet confirm its build or multiplier sequence. Do: Repeat the stated reproduction on the submitted source, recording the build, multiplier sequence, and provider results.
  • L2: The changed presentation path still needs the listed cross-platform transition coverage and current-base stock comparison. When: Swapchain recreation and presentation are used outside the injector setup; the PR leaves Linux and Windows AMD transitions and the rebased Windows NVIDIA A/B open. Do: Run the listed Linux and Windows AMD frame-generation and window-recreation checks, and repeat the stock Windows NVIDIA comparison against the current base.

Questions (1) (not confirmed from the code; they don't hold the recommendation)

  • gpu/vk/vk_replay.cpp:6264: Can vkCreateSemaphore return VK_ERROR_DEVICE_LOST repeatedly in this path while the preceding frame-fence waits continue to succeed?

Checks: Still running: 9 checks.

More: does it help, other systems, switches, what was read

Does it help: Unproven in the affected setup on the submitted source: the game-free fixtures failed before their fixes and passed after them, and an earlier build completed the multiplier sequence. The reported manual MFG Unlocker run still lacks confirmation of its build and sequence. The older stock Vulkan comparison reported 78.2 FPS before and 81.0/83.4 FPS after, but does not measure the claimed compatibility fix on the current base.

Other systems: The semaphore and early-retirement paths affect Windows NVIDIA, including stock Vulkan without the injector. The host ABI changes on both platforms; Windows stock swapchain recreation was exercised, while the submitted description leaves Linux host building and AMD and Linux transition runs open.

Switches: None added, changed, or removed.

Reviewed: aa4631676b against 67ba729d21: Read the repository rules, standards and PR template; reviewed the production diff and synchronization callers, the changed fixture diffs and the new resolver fixture. Skimmed the larger fixture bodies and recorded runs. The requested docs/review-checklist.md and adjacent Tooling checkout were absent. Did not read the complete production files or every changed test in full.; nothing run (a code review).

Checked and fine:

  • The host interface version advances from 44 to 45 and older host copies exclude the appended callback.
  • All seven commits include AI-assistance trailers.
  • The changed file list contains no generated shader files, third-party files, or apparent game-derived output.
  • The acquire-ahead fixture clears its model and acquire-ahead environment variables before each run.

Testing: Read-only review; no builds, tests, or project scripts were run. CI was still running in the supplied results.

Overlaps and merge order: Not checked; network access is closed.


Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.

**Recommendation: Approve.** The code is ready: only testing is left. The submitted fixtures exercise the intended compatibility changes, but the affected injector setup still needs a confirmed run on the submitted source. Recommend approval; not approved on the forge. The change resolves Vulkan through the Windows executable, retires NVIDIA swapchains before replacement, and supplies acquire semaphores for Streamline compatibility. It adds synchronization objects and retirement work to Windows NVIDIA presentation. **Testing before merging (2)** (runs on the systems it can change; it doesn't hold the recommendation) - **L1**: The intended compatibility fix needs a confirmed game run on the submitted source. *When:* The earlier successful 2× → 6× → 5× → Off run predates the current second acquire path, and the reported current manual MFG Unlocker run does not yet confirm its build or multiplier sequence. **Do:** Repeat the stated reproduction on the submitted source, recording the build, multiplier sequence, and provider results. - **L2**: The changed presentation path still needs the listed cross-platform transition coverage and current-base stock comparison. *When:* Swapchain recreation and presentation are used outside the injector setup; the PR leaves Linux and Windows AMD transitions and the rebased Windows NVIDIA A/B open. **Do:** Run the listed Linux and Windows AMD frame-generation and window-recreation checks, and repeat the stock Windows NVIDIA comparison against the current base. **Questions (1)** (not confirmed from the code; they don't hold the recommendation) - `gpu/vk/vk_replay.cpp:6264`: Can vkCreateSemaphore return VK_ERROR_DEVICE_LOST repeatedly in this path while the preceding frame-fence waits continue to succeed? **Checks:** Still running: 9 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Unproven in the affected setup on the submitted source: the game-free fixtures failed before their fixes and passed after them, and an earlier build completed the multiplier sequence. The reported manual MFG Unlocker run still lacks confirmation of its build and sequence. The older stock Vulkan comparison reported 78.2 FPS before and 81.0/83.4 FPS after, but does not measure the claimed compatibility fix on the current base. **Other systems:** The semaphore and early-retirement paths affect Windows NVIDIA, including stock Vulkan without the injector. The host ABI changes on both platforms; Windows stock swapchain recreation was exercised, while the submitted description leaves Linux host building and AMD and Linux transition runs open. **Switches:** None added, changed, or removed. **Reviewed:** aa4631676b18 against 67ba729d215b: Read the repository rules, standards and PR template; reviewed the production diff and synchronization callers, the changed fixture diffs and the new resolver fixture. Skimmed the larger fixture bodies and recorded runs. The requested docs/review-checklist.md and adjacent Tooling checkout were absent. Did not read the complete production files or every changed test in full.; nothing run (a code review). **Checked and fine:** - The host interface version advances from 44 to 45 and older host copies exclude the appended callback. - All seven commits include AI-assistance trailers. - The changed file list contains no generated shader files, third-party files, or apparent game-derived output. - The acquire-ahead fixture clears its model and acquire-ahead environment variables before each run. **Testing:** Read-only review; no builds, tests, or project scripts were run. CI was still running in the supplied results. **Overlaps and merge order:** Not checked; network access is closed. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.</sub>
HumanBean deleted branch fix/vulkan-streamline-compat 2026-11-22 18:46:23 +00:00
Some checks are pending
CI / Conventional Commit title (pull_request) Blocked by required conditions
CI / Python source checks (ubuntu-24.04, part 1/2) (pull_request) Blocked by required conditions
CI / Python source checks (ubuntu-24.04, part 2/2) (pull_request) Blocked by required conditions
CI / SPIR-V fixtures (global narrow load/store, direct surface atomics, F2I immediate) (pull_request) Blocked by required conditions
CI / Workflow lint (actionlint) (pull_request) Blocked by required conditions
CI / Website build and checks (pull_request) Blocked by required conditions
Guide screenshots / Guide images and local UI source review (pull_request) Blocked by required conditions
Third-party parts / As their notes say (pull_request) Blocked by required conditions
Third-party parts / The same as upstream (pull_request) Blocked by required conditions
Website / Website on Cloudflare (pull_request_target) Has been skipped
PR description / Description follows the template (pull_request_target) Successful in 3s
Some workflows are waiting to be reviewed.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
3 participants
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
MagicBeanDev/Longshot!2275
No description provided.