kyty: kyty_shim_vram_budget segfaults in amdvlk64.dll and logs VUID-vkResetQueryPool-firstQuery-02741 on AMD Windows

オープン
#739 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
38/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
cpp
領域
testing

調査の方向性

Start with tracking issue #705 and inspect the kyty_shim_vram_budget test and its Vulkan query reset and submission flow. Run the provided ctest command under the validation layer to reproduce the four VUID-vkResetQueryPool-firstQuery-02741 errors and crash. Done means the test completes without the validation errors or segfault on the reported AMD Windows setup.

索引モデルが issue の本文から書いたものです。

説明

Commit: db7808f91d0812fe559831b496c2ca3abd4e0821 (AnyKyty)
Hardware / OS: Windows 11 (10.0.26300.0), Intel Core i9-9900K, AMD Radeon RX 6800 (AMD proprietary driver 26.11.2, Vulkan 1.4.315), Khronos validation layer 1.4.363
Tracking: #705

Behavior

kyty_shim_vram_budget segfaults both plain (0.57 s solo) and under VK_LAYER_KHRONOS_validation (1.52 s) inside amdvlk64.dll. Under validation, it also emits 4 VUID-vkResetQueryPool-firstQuery-02741 errors before the crash.

Reproduction

ctest --test-dir build -R "^kyty_shim_vram_budget$" --output-on-failure -V

First VUID- line and crash location

Validation Error: [ VUID-vkResetQueryPool-firstQuery-02741 ] | MessageID = 0x8fe408f
The Vulkan spec states: Submitted commands that refer to the range specified by firstQuery and queryCount in queryPool must have completed execution (https://docs.vulkan.org/spec/latest/chapters/queries.html#VUID-vkResetQueryPool-firstQuery-02741)
FATAL: unhandled exception 0xc0000005 on thread 45624 ''
  rip 0x00007ffe76e9e9d5 amdvlk64.dll+0x20e9d5
  read of 0x0000000000000008

AI-assisted: yes. Built, ran, and drafted with an AI assistant.

主要言語
C++
スター
214
フォーク
7
平均マージ
7時間 53分
マージ済み PR(30日)
280

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

simnJS/AnyPS5 のほかの issue

simnJS/AnyPS5 の issue をすべて見る

似ている issue

C++ の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。