GPU tests cs_exec64, cs_w32_permute and cs_wqm_w32: two runs, different words (Intel ANV, subgroup 8..32)
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 18/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 活発
- 技術スタック
- cmake, linux, python
- 領域
- testing-qa, tooling
調査の方向性
Start with runtime/test/shaders/check.py and scripts/run_gpu_tests.py, and the fixtures cs_exec64, cs_w32_permute and cs_wqm_w32 built by runtime/test/shaders/build.py. Reproduce the two runs on a Vulkan device to see whether the words change between runs. Done means the run is deterministic, or the fixture reports SKIP with the device subgroup range when it cannot run at 32 lanes.
索引モデルが issue の本文から書いたものです。
説明
What happens
On Intel ANV, three wave or compute fixtures fail, and two of them do not return the same words twice. Same device, same vk_* binaries, same SPIR-V: two runs of the same fixture gave two different results.
| fixture | run | what came back |
|---|---|---|
cs_w32_permute |
check.py |
out[0..7] = 0 29 8 0 0 15 183 15 |
cs_w32_permute |
run_gpu_tests.py |
218 29 8 211 0 127 183 15 |
cs_wqm_w32 |
check.py |
out[0..7] = 8 1 4 0 8 15728880 4 16 |
cs_wqm_w32 |
run_gpu_tests.py |
12 1 4 0 16 15728880 4 32 |
cs_exec64 |
both | out[0..7] = 0 0 0 0 0 0 0 0 (exit 1) |
The differing words are in the lanes the fixture reads back, so the difference is not a formatting or index difference. cs_exec64 returned all zeros both times.
System
- GPU: Intel UHD Graphics 770 (Raptor Lake-S iGPU,
0x8086:0xa780, integrated) - Driver: Mesa 26.3.1
vulkan-intel(ANV), Vulkan 1.4.363, reported subgroup range 8..32 - OS: Arch Linux, kernel 7.2.14-arch1-1
- Commit:
67204bf(main) - Tools: llvm-mc 23.1.5 (Arch, native), spirv-tools 1.4.363.0, cmake and ninja, Python 3.14.10
- No game files. Everything here is the synthetic fixtures in
runtime/test/shaders. - The iGPU was selected on a hybrid box with
VK_LOADER_DRIVERS_SELECT=*intel*.
Repro
python -I runtime/test/shaders/build.py /tmp/gpuout
VK_LOADER_DRIVERS_SELECT=*intel* python -I runtime/test/shaders/check.py /tmp/gpuout build
VK_LOADER_DRIVERS_SELECT=*intel* python -I scripts/run_gpu_tests.py --build build --work /tmp/gpurun
cs_w32_permute and cs_wqm_w32 were compared between those two commands; both were also re-run with --filter and the values moved again.
What this run cannot settle
#555 skips the wave32 lane-mask dumps below 32 lanes. This device reports a minimum of 8, so two readings fit the data: ANV picked a narrow subgroup for these entry points, or the wave32 lowering itself is wrong on ANV. The changing words point away from a clean lane-count mismatch, because a wrong subgroup size should be wrong the same way each time. I did not read ANV internals to tell them apart.
Ask
- Is there a way to pin the subgroup size for these fixtures (the harness choosing
subgroupSizeControland a required size, as #609 does for PSOs) so the same fixture can be run at 32 lanes and compared? - If a narrow subgroup explains it, should these two fixtures report SKIP with the subgroup range, the way the 64-wide checks already do, so a #166 row does not show a FAIL for a device that cannot run them as written?
Counts and symptoms only; nothing from the game is in this report. AI-assisted (Halocline, a local model, in HADAL): it built main, ran the suite and wrote this.
- 主要言語
- 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 日以内に返信