fix(video): movies keep their 16:9 shape on screens narrower than 16:9 #2358

Merged
HumanBean merged 1 commit from PirateKingIsh/Longshot:fix/narrow-movies into main 2026-11-23 16:16:03 +00:00
Contributor

Summary

On a picture narrower than 16:9, pre-rendered movies are stretched to the picture's full height: about 11% too tall at 16:10 and 33% at 4:3. The title screen's background is one of them, and it is the one checked here. To see it on main, set Output resolution to 1920×1200 or 1440×1080, restart, and watch the moon in the first shot of the title-screen movie.

The MOVIE patch in nx2/oot_wide.py moves the top and bottom of the viewport inward by equal amounts on narrow screens. Movies keep their 16:9 proportions with bars above and below. Wider pictures still use the existing side bars.

Thanks to dyst for diagnosing the 4:3 output in #2345, tracing the regression to b44c9cd44 (Monitor's shape for screens narrower than 16:9) and describing the same fix there.

Fixes #2345.

Part of #1399.

Testing

Tested: Windows 11, Vulkan, RTX 5090, NVIDIA 621.24. Started from the repository's kokiri-start save on main and on this branch. Ran the title-screen movie at 1920×1080 (16:9), 1920×1200 (16:10), and 1440×1080 (4:3). The 1440×1080 run exercises the 4:3 output shape from #2345. The moon is round with black bars above and below at both narrow shapes. At 16:9 the movie still fills the picture. The before/after screenshots use the same title-screen scene.

The game-free movie test failed on main at 16:10, 4:3, and 5:4 because the vertical bounds stayed at full height. It passed all seven cases on this branch, including 32:9, 21:9 and 16:9. All nine targeted tests passed without skips. On Linux (Ubuntu 22.04, GCC 11.4), tests/test_movie_shape.py passes through tests/run_all.py with test_wide_ui.py, test_widescreen_shapes.py and test_oot_wide_save_picture.py, and fails on main's MOVIE in the same three cases; that is a game-free check, not a Linux game run. The full Windows runner recorded 789 passes, 42 failures, and 127 skips. Main reproduced the 41 failures below. The other check, test_gpu_hang_watch.py, passed on main and on an isolated branch rerun.

nx2/test_nup_paths.py, nx2/test_version_long_paths.py, tests/test_auto_handheld.py, tests/test_build_long_paths.py, tests/test_cmpflags.py, tests/test_control.py, tests/test_copy_writable.py, tests/test_crash_dialog.py, tests/test_dev_ab.py, tests/test_dev_build.py, tests/test_dev_migrate.py, tests/test_dev_packs.py, tests/test_dev_update.py, tests/test_fastfp_fma.py, tests/test_fma_soft.py, tests/test_fpx_sticky.py, tests/test_fpxkeep.py, tests/test_game_menu_mouse_buttons.py, tests/test_input_movie.py, tests/test_job_queue.py, tests/test_linux_preflight.py, tests/test_long_paths.py, tests/test_make_game_cache.py, tests/test_native_zstd.py, tests/test_nfc_model_info.py, tests/test_no_gpu_start.py, tests/test_options_path.py, tests/test_pads_after_menu.py, tests/test_perf_report.py, tests/test_pipeline_cache_file.py, tests/test_pipeline_cache_save.py, tests/test_pipeline_state_computes.py, tests/test_portable_builder_home.py, tests/test_portable_builder_startup.py, tests/test_saveload_warm_cache.py, tests/test_sdiv_overflow.py, tests/test_spawn_emit.py, tests/test_vbytes.py, tests/test_vecfp.py, tests/test_vfpx_elem.py, tests/test_work_lock.py

Still to test:

  • Steam Deck at its native 1280×800: start the title-screen movie and check for a round moon and evenly sized black bars above and below (@Beanstalk test the title-screen movie at native 1280×800).
  • Linux, in the game (by hand or the Test Farm): the title-screen movie at 16:10 and 4:3, expecting the same round moon and even black bars.
  • A movie outside the title screen, by hand: New Game's opening movie (Skip opening off) at 16:10, expecting the same bars above and below.

Measurements

Verdict: Both narrow outputs match the 16:9 control within 0.3%. The bars are pure black in all 18 after captures at each narrow shape.

Setup: Windows 11, RTX 5090, and NVIDIA 621.24. Median moon width divided by height from four full-moon title-screen frames per run. Bar heights count consecutive black pixel rows at each picture edge.

Title-screen measurement Before: main @ 0e32bc10 After: this PR @ 3d6f7579 (built from its tree before the commit)
16:9 moon width / height 1.003 1.006
16:10 moon width / height 0.906 1.006
4:3 moon width / height 0.755 1.008
16:10 top / bottom bars 0 / 0 px 60 / 60 px
4:3 top / bottom bars 0 / 0 px 135 / 135 px

The change adjusts movie framing. These captures measure geometry, and the runs used different shader-cache warmup states, so they do not establish a frame-time comparison.

Risks

The changed viewport is shared by pre-rendered movies. A movie with different viewport assumptions could be framed incorrectly. A revert restores the previous framing. Saves and settings need 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: the existing checks that read nx2/oot_wide.py needed no change and all pass.
  • Screenshots of the same spot on main and here, for a change that shows on screen.
  • Docs updated.
  • AI assistance recorded with Assisted-by: / Co-Authored-By: trailers. AI help: OpenAI Codex (Sol) made the change, the test and the runs; Claude found the cause and reviewed the evidence.

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 a picture narrower than 16:9, pre-rendered movies are stretched to the picture's full height: about 11% too tall at 16:10 and 33% at 4:3. The title screen's background is one of them, and it is the one checked here. To see it on main, set **Output resolution** to 1920×1200 or 1440×1080, restart, and watch the moon in the first shot of the title-screen movie. The MOVIE patch in nx2/oot_wide.py moves the top and bottom of the viewport inward by equal amounts on narrow screens. Movies keep their 16:9 proportions with bars above and below. Wider pictures still use the existing side bars. Thanks to dyst for diagnosing the 4:3 output in #2345, tracing the regression to b44c9cd44 (Monitor's shape for screens narrower than 16:9) and describing the same fix there. Fixes #2345. Part of #1399. ## Testing **Tested:** Windows 11, Vulkan, RTX 5090, NVIDIA 621.24. Started from the repository's kokiri-start save on main and on this branch. Ran the title-screen movie at 1920×1080 (16:9), 1920×1200 (16:10), and 1440×1080 (4:3). The 1440×1080 run exercises the 4:3 output shape from #2345. The moon is round with black bars above and below at both narrow shapes. At 16:9 the movie still fills the picture. The before/after screenshots use the same title-screen scene. The game-free movie test failed on main at 16:10, 4:3, and 5:4 because the vertical bounds stayed at full height. It passed all seven cases on this branch, including 32:9, 21:9 and 16:9. All nine targeted tests passed without skips. On Linux (Ubuntu 22.04, GCC 11.4), `tests/test_movie_shape.py` passes through `tests/run_all.py` with `test_wide_ui.py`, `test_widescreen_shapes.py` and `test_oot_wide_save_picture.py`, and fails on main's `MOVIE` in the same three cases; that is a game-free check, not a Linux game run. The full Windows runner recorded 789 passes, 42 failures, and 127 skips. Main reproduced the 41 failures below. The other check, test_gpu_hang_watch.py, passed on main and on an isolated branch rerun. `nx2/test_nup_paths.py`, `nx2/test_version_long_paths.py`, `tests/test_auto_handheld.py`, `tests/test_build_long_paths.py`, `tests/test_cmpflags.py`, `tests/test_control.py`, `tests/test_copy_writable.py`, `tests/test_crash_dialog.py`, `tests/test_dev_ab.py`, `tests/test_dev_build.py`, `tests/test_dev_migrate.py`, `tests/test_dev_packs.py`, `tests/test_dev_update.py`, `tests/test_fastfp_fma.py`, `tests/test_fma_soft.py`, `tests/test_fpx_sticky.py`, `tests/test_fpxkeep.py`, `tests/test_game_menu_mouse_buttons.py`, `tests/test_input_movie.py`, `tests/test_job_queue.py`, `tests/test_linux_preflight.py`, `tests/test_long_paths.py`, `tests/test_make_game_cache.py`, `tests/test_native_zstd.py`, `tests/test_nfc_model_info.py`, `tests/test_no_gpu_start.py`, `tests/test_options_path.py`, `tests/test_pads_after_menu.py`, `tests/test_perf_report.py`, `tests/test_pipeline_cache_file.py`, `tests/test_pipeline_cache_save.py`, `tests/test_pipeline_state_computes.py`, `tests/test_portable_builder_home.py`, `tests/test_portable_builder_startup.py`, `tests/test_saveload_warm_cache.py`, `tests/test_sdiv_overflow.py`, `tests/test_spawn_emit.py`, `tests/test_vbytes.py`, `tests/test_vecfp.py`, `tests/test_vfpx_elem.py`, `tests/test_work_lock.py` **Still to test:** - Steam Deck at its native 1280×800: start the title-screen movie and check for a round moon and evenly sized black bars above and below (@Beanstalk test the title-screen movie at native 1280×800). - Linux, in the game (by hand or the Test Farm): the title-screen movie at 16:10 and 4:3, expecting the same round moon and even black bars. - A movie outside the title screen, by hand: New Game's opening movie (Skip opening off) at 16:10, expecting the same bars above and below. ## Measurements **Verdict:** Both narrow outputs match the 16:9 control within 0.3%. The bars are pure black in all 18 after captures at each narrow shape. Setup: Windows 11, RTX 5090, and NVIDIA 621.24. Median moon width divided by height from four full-moon title-screen frames per run. Bar heights count consecutive black pixel rows at each picture edge. | Title-screen measurement | Before: main @ 0e32bc10 | After: this PR @ 3d6f7579 (built from its tree before the commit) | |---|---:|---:| | 16:9 moon width / height | 1.003 | 1.006 | | 16:10 moon width / height | 0.906 | 1.006 | | 4:3 moon width / height | 0.755 | 1.008 | | 16:10 top / bottom bars | 0 / 0 px | 60 / 60 px | | 4:3 top / bottom bars | 0 / 0 px | 135 / 135 px | The change adjusts movie framing. These captures measure geometry, and the runs used different shader-cache warmup states, so they do not establish a frame-time comparison. ## Risks The changed viewport is shared by pre-rendered movies. A movie with different viewport assumptions could be framed incorrectly. A revert restores the previous framing. Saves and settings need 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: the existing checks that read `nx2/oot_wide.py` needed no change and all pass. - [x] Screenshots of the same spot on main and here, for a change that shows on screen. - [x] Docs updated. - [x] AI assistance recorded with Assisted-by: / Co-Authored-By: trailers. AI help: OpenAI Codex (Sol) made the change, the test and the runs; Claude found the cause and reviewed the evidence. ### 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.
fix(video): movies keep their 16:9 shape on screens narrower than 16:9
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) 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 5s
3d6f757924
Narrow output resolutions stretched the title-screen movie and
cutscenes over the whole picture. Inset the movie viewport's top and
bottom bounds symmetrically to fit 16:9. Keep the horizontal inset
for wider output resolutions.

Fixes #2345.
Part of #1399.

Assisted-by: OpenAI Codex (Sol)
Member

Possibly related, for context:

  • issue #291 Idea: Pillarbox cutscenes when using ultrawide — Related cutscene pillarboxing idea; this fixes letterboxing on narrow screens
Possibly related, for context: - issue #291 Idea: Pillarbox cutscenes when using ultrawide — Related cutscene pillarboxing idea; this fixes letterboxing on narrow screens
Author
Contributor

Tested on my PC (Windows 11, RTX 5090, NVIDIA 621.24), starting from the repository's kokiri-start save. At 1920×1200 and 1440×1080, the title-screen moon stays round with even black bars above and below the movie. The 1440×1080 run covers the 4:3 output shape from #2345. At 1920×1080 the movie still fills the picture. The game-free viewport check fails on main and passes on this branch.

Tested on my PC (Windows 11, RTX 5090, NVIDIA 621.24), starting from the repository's kokiri-start save. At 1920×1200 and 1440×1080, the title-screen moon stays round with even black bars above and below the movie. The 1440×1080 run covers the 4:3 output shape from #2345. At 1920×1080 the movie still fills the picture. The game-free viewport check fails on main and passes on this branch.
Owner
@review
BeanBot left a comment

Recommendation: Approve. The reported Windows run shows the title-screen movie corrected at 16:10 and 4:3, but the shared movie path still needs the declared in-game checks on other Tier 1 systems and outside the title screen. CI is also still running. Nothing blocking is left: what remains is for the author before merging (below). Recommend approval; not approved on the forge.

The change centers movies in a 16:9 viewport on narrow pictures while retaining the existing wider-screen behavior. It adds a game-free geometry check and updates the player guide; the remaining cost is validation of the shared movie path.

Should fix (1): not blocking, but worth doing before merging.

  • L1 tests/test_movie_shape.py:93: The test treats a compiler command containing arguments as one executable name, although the test runner accepts such CC values. (more on the line) Do: Use the suite's compiler_command.parse_compiler for args.cc and prepend its resulting argument list to the compile command.

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

  • L2 nx2/oot_wide.py:96: The shared viewport change needs an in-game check on the Steam Deck at its native narrow resolution. (more on the line) Do: Run the title-screen movie on a Steam Deck at 1280×800 and check the image shape and both bars.
  • L3 nx2/oot_wide.py:96: The changed movie viewport needs an in-game check on the other affected Tier 1 GPU and OS combinations. (more on the line) Do: Check the title-screen movie at narrow and 16:9 output on NVIDIA Linux and AMD Windows and Linux, recording the hardware, driver, and result.
  • L4 nx2/oot_wide.py:96: The patch is shared by movies, but the reported in-game run covers only the title screen. (more on the line) Do: Run New Game with Skip opening off at 16:10 and check the movie's proportions and bars.

@fix can do L1.

Checks: Still running: 10 checks.

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

Does it help: Yes for the tested title-screen scene: on Windows with an RTX 5090, the reported moon width-to-height ratio changed from 0.906 to 1.006 at 16:10 and from 0.755 to 1.008 at 4:3, with equal bars. The PR reports that its game-free check fails on main and passes on this branch.

Other systems: The viewport patch applies to pre-rendered movies across GPUs and operating systems. The reported in-game evidence covers Windows and NVIDIA; Linux, AMD, Steam Deck, and the New Game opening movie remain untested in game. The aspect globals are initialized before the game's threads start, and the existing wide-screen branch remains unchanged.

Switches: None added, changed, or removed.

Reviewed: 3d6f757924 against 0e32bc100d: Read AGENTS.md, CONTRIBUTING.md, the pull request template, standards, the complete changed Python files and their diff, and the relevant viewport initialization, size calculations, installation site, test runner, and compiler parser. Skimmed the changed user guide and related widescreen tests. docs/review-checklist.md and the adjacent Tooling checkout were absent. No recorded runs or generated files were changed.; nothing run (a code review).

Checked and fine:

  • The narrow inset uses the initialized picture ratio and symmetrically adjusts the vertical bounds; the existing positive-margin path retains the horizontal inset.
  • The fixture exercises wide, narrow and unchanged cases and would fail for the reported narrow-screen bug on main.
  • The commit records AI assistance, and the diff contains no game-derived files, generated files, API changes, or third-party changes.

Testing: No commands from the project or tests were run, as requested. The PR reports Windows in-game comparisons and game-free checks on Windows and Linux; the listed CI checks are still running.

Overlaps and merge order: Unknown; the network is closed.


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

**Recommendation: Approve.** The reported Windows run shows the title-screen movie corrected at 16:10 and 4:3, but the shared movie path still needs the declared in-game checks on other Tier 1 systems and outside the title screen. CI is also still running. Nothing blocking is left: what remains is for the author before merging (below). Recommend approval; not approved on the forge. The change centers movies in a 16:9 viewport on narrow pictures while retaining the existing wider-screen behavior. It adds a game-free geometry check and updates the player guide; the remaining cost is validation of the shared movie path. **Should fix (1)**: not blocking, but worth doing before merging. - **L1** `tests/test_movie_shape.py:93`: The test treats a compiler command containing arguments as one executable name, although the test runner accepts such CC values. (more on the line) **Do:** Use the suite's compiler_command.parse_compiler for args.cc and prepend its resulting argument list to the compile command. **Testing before merging (3)** (runs on the systems it can change; it doesn't hold the recommendation) - **L2** `nx2/oot_wide.py:96`: The shared viewport change needs an in-game check on the Steam Deck at its native narrow resolution. (more on the line) **Do:** Run the title-screen movie on a Steam Deck at 1280×800 and check the image shape and both bars. - **L3** `nx2/oot_wide.py:96`: The changed movie viewport needs an in-game check on the other affected Tier 1 GPU and OS combinations. (more on the line) **Do:** Check the title-screen movie at narrow and 16:9 output on NVIDIA Linux and AMD Windows and Linux, recording the hardware, driver, and result. - **L4** `nx2/oot_wide.py:96`: The patch is shared by movies, but the reported in-game run covers only the title screen. (more on the line) **Do:** Run New Game with Skip opening off at 16:10 and check the movie's proportions and bars. `@fix` can do L1. **Checks:** Still running: 10 checks. <details> <summary>More: does it help, other systems, switches, what was read</summary> **Does it help:** Yes for the tested title-screen scene: on Windows with an RTX 5090, the reported moon width-to-height ratio changed from 0.906 to 1.006 at 16:10 and from 0.755 to 1.008 at 4:3, with equal bars. The PR reports that its game-free check fails on main and passes on this branch. **Other systems:** The viewport patch applies to pre-rendered movies across GPUs and operating systems. The reported in-game evidence covers Windows and NVIDIA; Linux, AMD, Steam Deck, and the New Game opening movie remain untested in game. The aspect globals are initialized before the game's threads start, and the existing wide-screen branch remains unchanged. **Switches:** None added, changed, or removed. **Reviewed:** 3d6f757924d4 against 0e32bc100dbe: Read AGENTS.md, CONTRIBUTING.md, the pull request template, standards, the complete changed Python files and their diff, and the relevant viewport initialization, size calculations, installation site, test runner, and compiler parser. Skimmed the changed user guide and related widescreen tests. docs/review-checklist.md and the adjacent Tooling checkout were absent. No recorded runs or generated files were changed.; nothing run (a code review). **Checked and fine:** - The narrow inset uses the initialized picture ratio and symmetrically adjusts the vertical bounds; the existing positive-margin path retains the horizontal inset. - The fixture exercises wide, narrow and unchanged cases and would fail for the reported narrow-screen bug on main. - The commit records AI assistance, and the diff contains no game-derived files, generated files, API changes, or third-party changes. **Testing:** No commands from the project or tests were run, as requested. The PR reports Windows in-game comparisons and game-free checks on Windows and Linux; the listed CI checks are still running. **Overlaps and merge order:** Unknown; the network is closed. </details> --- <sub>Automated code review by BeanBot (gpt-6.1-terra), asked for by HumanBean. Nothing was run; a maintainer decides.</sub>
@ -93,2 +95,2 @@
"memcpy(&_ua, &_a, 4); memcpy(&_ub, &_b, 4); recomp_store32(c, _vp + 8, _ua); recomp_store32(c, _vp + 16, _ub); } }"
" /* (nx2/oot_wide.py: movies in the middle 16:9) */")
"memcpy(&_ua, &_a, 4); memcpy(&_ub, &_b, 4); recomp_store32(c, _vp + 8, _ua); recomp_store32(c, _vp + 16, _ub); } "
"else { extern volatile float hos_wide_ratio; const float _r = hos_wide_ratio; const float _game = 16.0f / 9.0f; "
Member

L2 (should fix): The shared viewport change needs an in-game check on the Steam Deck at its native narrow resolution.

When: At 1280×800 the new vertical inset is active, but the available Deck evidence does not show whether the movie and its bars render correctly.

Do: Run the title-screen movie on a Steam Deck at 1280×800 and check the image shape and both bars.

**L2** (should fix): The shared viewport change needs an in-game check on the Steam Deck at its native narrow resolution. *When:* At 1280×800 the new vertical inset is active, but the available Deck evidence does not show whether the movie and its bars render correctly. **Do:** Run the title-screen movie on a Steam Deck at 1280×800 and check the image shape and both bars.
Member

L3 (should fix): The changed movie viewport needs an in-game check on the other affected Tier 1 GPU and OS combinations.

When: The reported game run covers NVIDIA on Windows only; the fixture does not exercise the renderer or verify the bars on Linux and AMD systems.

Do: Check the title-screen movie at narrow and 16:9 output on NVIDIA Linux and AMD Windows and Linux, recording the hardware, driver, and result.

**L3** (should fix): The changed movie viewport needs an in-game check on the other affected Tier 1 GPU and OS combinations. *When:* The reported game run covers NVIDIA on Windows only; the fixture does not exercise the renderer or verify the bars on Linux and AMD systems. **Do:** Check the title-screen movie at narrow and 16:9 output on NVIDIA Linux and AMD Windows and Linux, recording the hardware, driver, and result.
Member

L4 (should fix): The patch is shared by movies, but the reported in-game run covers only the title screen.

When: If the New Game opening uses different viewport assumptions, the title-screen result and synthetic bounds check would not reveal incorrect framing there.

Do: Run New Game with Skip opening off at 16:10 and check the movie's proportions and bars.

**L4** (should fix): The patch is shared by movies, but the reported in-game run covers only the title screen. *When:* If the New Game opening uses different viewport assumptions, the title-screen result and synthetic bounds check would not reveal incorrect framing there. **Do:** Run New Game with Skip opening off at 16:10 and check the movie's proportions and bars.
@ -0,0 +90,4 @@
with tempfile.TemporaryDirectory() as tmp:
source = Path(tmp) / "movie_shape.c"
exe = source.with_suffix(".exe" if os.name == "nt" else "")
source.write_text(FIXTURE.replace("@MOVIE@", module.MOVIE), encoding="utf-8")
Member

L1 (should fix): The test treats a compiler command containing arguments as one executable name, although the test runner accepts such CC values.

When: With CC set to a command such as ccache gcc, the runner recognizes the compiler using parse_compiler and passes the command through --cc, but subprocess.run attempts to execute a file literally named ccache gcc and the check fails before compiling.

Do: Use the suite's compiler_command.parse_compiler for args.cc and prepend its resulting argument list to the compile command.

**L1** (should fix): The test treats a compiler command containing arguments as one executable name, although the test runner accepts such CC values. *When:* With CC set to a command such as `ccache gcc`, the runner recognizes the compiler using parse_compiler and passes the command through --cc, but subprocess.run attempts to execute a file literally named `ccache gcc` and the check fails before compiling. **Do:** Use the suite's compiler_command.parse_compiler for args.cc and prepend its resulting argument list to the compile command.
HumanBean deleted branch fix/narrow-movies 2026-11-23 16:16:07 +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) 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 5s
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!2358
No description provided.