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

Đang mở
#739 1 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
38/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
cpp
Lĩnh vực
testing

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
C++
Star
214
Fork
7
Merge trung bình
7 giờ 53 phút
Pull request đã merge (30 ngày)
280

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của simnJS/AnyPS5

Tất cả issue của simnJS/AnyPS5

Issue tương tự

Thêm issue về C++

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.