Windows 10: bvh_builder fails on every PC adapter, the host D3D12 device has no ID3D12Device11 (E_NOINTERFACE)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 15/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- cpp
調査の方向性
Start with the bvh_builder test and create_device_proxy, which calls QueryInterface for the requested IID on the host device. Check first whether #634 already claims the test-skip part. The reference for the skip is root_sig after #597, and runtime/shims/d3d12_xs.cpp is where the Xbox-ABI device wrapping happens. Done means the test skips with a reason on Windows 10 without ID3D12Device11 while the LEONIDA_BVH_DEVICE=vulkan path still runs. The Vulkan CreateRootSignature gap and the default-backend hypothesis are separate work.
索引モデルが issue の本文から書いたものです。
説明
On Windows 10 22H2 (10.0.19045, no Agility SDK), with LEONIDA_GAME_DIR set to my own 1.0.2.1 copy, bvh_builder is the only ctest failure on main c432cdc: 26 of 27 pass, and root_sig and root_signature_oracle pass with their Windows 10 skips from #597. RTX 4080, driver 621.01.
bvh_builder_test |
Result |
|---|---|
| default (PC device, RTX 4080) | FAIL Xbox-ABI device proxy created as ID3D12Device11 (0x80004002) |
LEONIDA_BVH_WARP=1 (Microsoft Basic Render Driver) |
the same 0x80004002 |
LEONIDA_BVH_DEVICE=vulkan |
proxy created; the constructor's first device call (slot 16) logs unimplemented ID3D12Device::CreateRootSignature, the DLL reports Unexpected internal Failure: pDevice->CreateRootSignature(...), and the constructor throws after 0 ms |
LEONIDA_BVH_DEVICE=vulkan + LEONIDA_BVH_FLAG=1 |
the same |
Cause of the first two rows: create_device_proxy answers the requested IID with a QueryInterface on the host device, and the Windows 10 runtime has no ID3D12Device11 (it needs the Agility SDK or Windows 11), on hardware and WARP alike. So the test fails on every Windows 10 machine with a game copy, before the DLL makes a call. It's the same kind of limit as #528.
Suggested:
- Test: skip with a reason when the host device has no
ID3D12Device11, asroot_sigdoes since #597;LEONIDA_BVH_DEVICE=vulkanstill runs. I'll take this one (claiming in #634). - Vulkan device:
CreateRootSignatureis the builder's first call (A.2 indocs/d3d12_vulkan.mdcounts 17 root signatures and 53 compute PSOs on WARP). D3D-3 (#291) adds root signatures, soLEONIDA_BVH_DEVICE=vulkanis a real-DLL check for it; I'll run it on #291. - Hypothesis, not measured (the executable isn't in my copy):
D3D12XboxCreateDevice(runtime/shims/d3d12_xs.cpp) wraps the host device by default. If the game asks it forID3D12Device11too, the default backend would fail the same way on Windows 10, and onlyLEONIDA_D3D12=vulkanwould get past it.
Counts and one-line symptoms only; nothing from the DLL beyond what the test prints. AI-assisted (Claude Code in OpenCode): it ran these on this machine.
- 主要言語
- Python
- スター
- 14.9k
- フォーク
- 1.2k
- 平均マージ
- 1時間 58分
- マージ済み PR(30日)
- 40
環境構築
このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
ItsNotRexed/Leonida のほかの issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
ItsNotRexed/Leonida#3990 ·
メンテナーはふだん 1 日以内に返信
-
難易度 3/5 半日 初心者へのやさしさ 25/100
ItsNotRexed/Leonida#4257 · コメント 18 件 ·
メンテナーはふだん 1 日以内に返信
-
Python SPIR-V assembler encodes BF16 constants as IEEE half対応中かも @lumenpearson が今日担当しました。 オープンbug
難易度 3/5 半日 初心者へのやさしさ 25/100
ItsNotRexed/Leonida#4237 ·
メンテナーはふだん 1 日以内に返信
-
SPIR-V reflection rejects Int8 array length constants対応中かも @lumenpearson が今日担当しました。 オープンbug
難易度 3/5 半日 初心者へのやさしさ 22/100
ItsNotRexed/Leonida#4221 ·
メンテナーはふだん 1 日以内に返信
-
Interrupted stub rebuild can truncate a valid SPIR-V output対応中かも @lumenpearson が今日担当しました。 オープンbug
難易度 3/5 半日 初心者へのやさしさ 18/100
ItsNotRexed/Leonida#4183 ·
メンテナーはふだん 1 日以内に返信
ItsNotRexed/Leonida の issue をすべて見る
似ている issue
-
pydanty:is-working
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
pydantic/pydantic-ai#14187 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
メンテナーはふだん 1 日以内に返信
-
[Bug]: legacy_json_to_doc crashes on persisted docs with "relationships": null対応中かも @Harsh23Kashyap が今日担当しました。 オープン
難易度 1/5 1時間未満 初心者へのやさしさ 88/100
run-llama/llama_index#24392 ·
メンテナーはふだん 2 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 72/100
pathintegral-institute/mcpm.sh#568 ·
メンテナーはふだん 21 日以内に返信