Skip to content

d3d12: log CheckFeatureSupport answers for boot trace diagnostics - #732

Open
kotekompotek wants to merge 1 commit into
ProjectLeonida:mainfrom
kotekompotek:work/d3d12-check-feature-support-answer-logging
Open

kotekompotek wants to merge 1 commit into
ProjectLeonida:mainfrom
kotekompotek:work/d3d12-check-feature-support-answer-logging

Conversation

@kotekompotek

@kotekompotek kotekompotek commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

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.

@abnalstlll-byte abnalstlll-byte left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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

@kotekompotek
kotekompotek force-pushed the work/d3d12-check-feature-support-answer-logging branch from 5d7a0f4 to ced21a4 Compare November 24, 2026 15:02
@aslan2142 aslan2142 added missing claim Needs a claim in #14 and removed missing claim Needs a claim in #14 labels Nov 24, 2026
@kotekompotek
kotekompotek force-pushed the work/d3d12-check-feature-support-answer-logging branch from ced21a4 to f6c10bb Compare November 25, 2026 09:17
@kotekompotek

Copy link
Copy Markdown
Contributor Author

Rebased on current ubi/main (3f81d46), 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

Copy link
Copy Markdown
Contributor Author

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants