d3d12: log CheckFeatureSupport answers for boot trace diagnostics #732

Open
github-bot wants to merge 1 commit from github-bot/gh-732 into main AGit
Owner

@⁠kotekompotek on GitHub · 2026-11-24 13:02 UTC · original
kotekompotek:work/d3d12-check-feature-support-answer-logging → main · +8 −2 · 2 files · 1 commits · open

Claimed in the coordination issue as: coordination issue #14

What and why

  • Rebased onto current main (resolving pc_opts / kConsoleOptionsSize context conflict in runtime/shims/d3d12_vulkan_device.cpp).
  • Added log_once(...) diagnostics in CheckFeatureSupport (FEATURE_LEVELS, ARCHITECTURE/ARCHITECTURE1, OPTIONS, OPTIONS1, OPTIONS5, OPTIONS7) and synced docs/boot.md.

Tested

  • tests/test_docs_*.py + tests/test_i18n_index.py passed, python -I tests/test_boot_trace.py (32/32 OK), CTest d3d12_com (Passed, 1.61s) and d3d12_d24_support (Passed, 0.42s) passed, and d3d12_vulkan_device_test --filter feature logged the CheckFeatureSupport lines.

GPUs tested: NVIDIA GeForce GTX 1050 (driver 582.28, Windows)

AI-assisted: yes

Checklist

  • Based on current main and merges cleanly (a conflicting pull request is labeled needs rebase).
  • One topic; follow-up work goes in a new pull request.
  • No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here.
  • A new translator rule is in the contract table of docs/design.md, with how it was confirmed.
**@⁠kotekompotek** on GitHub · 2026-11-24 13:02 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/732) `kotekompotek:work/d3d12-check-feature-support-answer-logging` → `main` · +8 −2 · 2 files · 1 commits · open Claimed in the coordination issue as: coordination issue #14 ### What and why - Rebased onto current `main` (resolving `pc_opts` / `kConsoleOptionsSize` context conflict in `runtime/shims/d3d12_vulkan_device.cpp`). - Added `log_once(...)` diagnostics in `CheckFeatureSupport` (`FEATURE_LEVELS`, `ARCHITECTURE`/`ARCHITECTURE1`, `OPTIONS`, `OPTIONS1`, `OPTIONS5`, `OPTIONS7`) and synced `docs/boot.md`. ### Tested - `tests/test_docs_*.py` + `tests/test_i18n_index.py` passed, `python -I tests/test_boot_trace.py` (`32/32 OK`), CTest `d3d12_com` (`Passed`, 1.61s) and `d3d12_d24_support` (`Passed`, 0.42s) passed, and `d3d12_vulkan_device_test --filter feature` logged the `CheckFeatureSupport` lines. GPUs tested: NVIDIA GeForce GTX 1050 (driver 582.28, Windows) AI-assisted: yes ### Checklist - [x] Based on current `main` and merges cleanly (a conflicting pull request is labeled `needs rebase`). - [x] One topic; follow-up work goes in a new pull request. - [x] No game data, keys or decryption (CONTRIBUTING.md), including in logs or reports quoted here. - [ ] A new translator rule is in the contract table of `docs/design.md`, with how it was confirmed.
github-bot locked as GitHub sync and limited conversation to collaborators 2026-11-26 09:18:35 +00:00
Author
Owner

@⁠abnalstlll-byte on GitHub · 2026-11-24 13:14 UTC · original · approved these changes

LGTM. Adds useful log_once diagnostics for CheckFeatureSupport query answers (FEATURE_LEVELS, ARCHITECTURE, OPTIONS, OPTIONS1, OPTIONS5, OPTIONS7) and syncs docs/boot.md.

**@⁠abnalstlll-byte** on GitHub · 2026-11-24 13:14 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/732#pullrequestreview-6039828592) · **approved these changes** LGTM. Adds useful log_once diagnostics for CheckFeatureSupport query answers (FEATURE_LEVELS, ARCHITECTURE, OPTIONS, OPTIONS1, OPTIONS5, OPTIONS7) and syncs docs/boot.md.
Author
Owner

@⁠kotekompotek on GitHub · 2026-11-25 09:17 UTC · original

Rebased on current ubi/main (3f81d46ac), no conflicts. Verified on the rebased head: python -m pytest tests/test_boot_trace.py (34 passed), d3d12_com + d3d12_d24_support (2/2 Passed, Windows/GTX 1050 host + WARP).

AI-assisted: yes

**@⁠kotekompotek** on GitHub · 2026-11-25 09:17 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/732#issuecomment-7158142926) Rebased on current ubi/main (3f81d46ac), no conflicts. Verified on the rebased head: `python -m pytest tests/test_boot_trace.py` (34 passed), `d3d12_com` + `d3d12_d24_support` (2/2 Passed, Windows/GTX 1050 host + WARP). AI-assisted: yes
Author
Owner

@⁠kotekompotek on GitHub · 2026-11-25 17:01 UTC · original

Note on the red jobs at this head: both failures are baseline, not this diff — linux-gpu-tools cs_imgatomic_ext (6/64 sint words, llvmpipe) and windows vk_xdxr_postbuild_readback (prints "skipped" but exits nonzero) fail identically on every PR rebased after ~15:00 UTC, including merged #808's own checks. Reported in #1608. Locally (GTX 1050, MSVC Debug) the tests this change touches pass.

**@⁠kotekompotek** on GitHub · 2026-11-25 17:01 UTC · [original](https://github.com/ubiquitarianism/leonida/pull/732#issuecomment-7168877225) Note on the red jobs at this head: both failures are baseline, not this diff — `linux-gpu-tools` `cs_imgatomic_ext` (6/64 sint words, llvmpipe) and `windows` `vk_xdxr_postbuild_readback` (prints "skipped" but exits nonzero) fail identically on every PR rebased after ~15:00 UTC, including merged #808's own checks. Reported in #1608. Locally (GTX 1050, MSVC Debug) the tests this change touches pass.
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin '+refs/pull/732/head:github-bot/gh-732'
git switch 'github-bot/gh-732'

Merge

Merge the changes and update on Forgejo.
git switch 'main'
git merge --no-ff 'github-bot/gh-732'
git switch 'github-bot/gh-732'
git rebase 'main'
git switch 'main'
git merge --ff-only 'github-bot/gh-732'
git switch 'github-bot/gh-732'
git rebase 'main'
git switch 'main'
git merge --no-ff 'github-bot/gh-732'
git switch 'main'
git merge --squash 'github-bot/gh-732'
git switch 'main'
git merge --ff-only 'github-bot/gh-732'
git switch 'main'
git merge 'github-bot/gh-732'
git push origin 'main'
This discussion has been locked. Commenting is limited to contributors.
No description provided.