kyty: kyty_shim_runtime_image_table_incremental crashes under Khronos validation on Windows (AMD and NVIDIA)

Aperta
#734 1 commento 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
44/100
Tipo di issue
Bug
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
cpp
Ambito
testing

Direzione di ricerca

Start with tracking issue #705 and inspect the implementation and test setup for kyty_shim_runtime_image_table_incremental. Run the provided ctest command with the Khronos validation layer enabled, then trace the invalid descriptor set and pipeline layout reported by validation. Done means the test completes without the validation errors or access violation on Windows.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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_runtime_image_table_incremental passes when run without the validation layer (2.10 s in the full run, 1.24 s solo), and crashes with an access violation when run with VK_LAYER_KHRONOS_validation (1.01 s).

This matches the validation-only kytyGpuRecord crash reported for Windows + NVIDIA (nvoglv64.dll) in #705, reproducing on AMD Windows (amdvlk64.dll) as well.

Reproduction

$env:VK_ADD_LAYER_PATH = "C:\VulkanSDK\1.4.363.0\Bin"
$env:VK_INSTANCE_LAYERS = "VK_LAYER_KHRONOS_validation"
$env:ANYPS5_REQUIRE_VULKAN = "1"
$env:ANYPS5_NO_SHADER_CACHE = "1"
ctest --test-dir build -R "^kyty_shim_runtime_image_table_incremental$" --output-on-failure -V

First VUID- lines and crash location

Validation Error: [ VUID-VkWriteDescriptorSet-dstSet-00320 ] | MessageID = 0x8e0ca77
The Vulkan spec states: dstSet must be a valid VkDescriptorSet handle (https://docs.vulkan.org/spec/latest/chapters/descriptorsets.html#VUID-VkWriteDescriptorSet-dstSet-00320)
Validation Error: [ VUID-vkCmdBindDescriptorSets-layout-parameter ] | MessageID = 0xe0b77545
The Vulkan spec states: layout must be a valid VkPipelineLayout handle (https://docs.vulkan.org/spec/latest/chapters/descriptorsets.html#VUID-vkCmdBindDescriptorSets-layout-parameter)
Validation Error: [ UNASSIGNED-Threading-Info ] | MessageID = 0x5d6b67e2
FATAL: unhandled exception 0xc0000005 on thread 30076 'kytyGpuRecord'
  rip 0x00007ffe76e7763a amdvlk64.dll+0x1e763a
  read of 0x0000000000000062

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

Lingua principale
C++
Stelle
214
Fork
7
Merge medio
7h 53m
PR unite (30g)
280

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di simnJS/AnyPS5

Tutte le issue di simnJS/AnyPS5

Issue simili

Altre issue su C++

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.