agc_driver_image_table_packed_guards fails on AMD hardware (RADV, RDNA2 and RDNA3): unrecoverable packed table format was not poisoned #22512

Closed
opened 2026-11-17 18:24:38 +00:00 by Colewiz7 · 0 comments
Colewiz7 commented 2026-11-17 18:24:38 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by Colewiz7 on 2026-11-17T18:24:38Z.


What happens

agc_driver_image_table_packed_guards fails on every run on two AMD GPUs with RADV: AGC graphics: unrecoverable packed table format was not poisoned. The log does contain image table: ... invalid format, so of the two conditions the test requires at ImageTablePacked.cpp:495 it is poisoned.faults != 0u that fails. Passes in CI on lavapipe.

Title, test or build step

ctest agc_driver_image_table_packed_guards

AnyPS5 commit

main 1c521f686b, no pull requests merged on top.

System

CachyOS, Linux 7.3.4, GCC 16.2.1, Release. AMD Radeon RX 7900 XT (RADV NAVI31) and Ryzen 7 7800X3D iGPU (RADV RAPHAEL_MENDOCINO), Mesa 26.2.6.

Host report

AnyPS5 host report (format 1)
commit: 1c521f686b0f
[system]
os: Linux 7.3.4-1-cachyos x86_64
cpu: AMD Ryzen 7 7800X3D 8-Core Processor
cpu_threads: 16
memory_mib: 31177
cpu_gate: passed
[sdl]
linked: 2.33.0
compiled: 2.33.0
[gpu]
device: AMD Radeon RX 7900 XT (RADV NAVI31)
type: discrete
vendor_id: 0x1002
device_id: 0x744c
vulkan_api: 1.4.354
driver: radv
driver_info: Mesa 26.2.6-arch3.1
driver_version: 26.2.6
driver_version_raw: 0x06802006
subgroup_size: 64
device_local_mib: 20464
candidates: AMD Radeon RX 7900 XT (RADV NAVI31), AMD Ryzen 7 7800X3D 8-Core Processor (RADV RAPHAEL_MENDOCINO)
present_modes: unknown
present_mode_requested: default
[vulkan]
VK_KHR_8bit_storage: extension required present
VK_KHR_buffer_device_address: extension required present
VK_KHR_shader_float_controls: extension required present
bufferDeviceAddress: feature required present
fragmentStoresAndAtomics: feature required present
samplerAnisotropy: feature required present
shaderInt64: feature required present
shaderSignedZeroInfNanPreserveFloat32: feature required present
storageBuffer8BitAccess: feature required present
textureCompressionBC: feature required present
vertexPipelineStoresAndAtomics: feature required present
VK_EXT_external_memory_host: extension optional present
VK_EXT_fragment_shader_interlock: extension optional present
VK_EXT_hdr_metadata: extension optional present
VK_EXT_memory_budget: extension optional present
VK_EXT_mesh_shader: extension optional present
VK_EXT_present_mode_fifo_latest_ready: extension optional missing
VK_EXT_provoking_vertex: extension optional present
VK_EXT_sample_locations: extension optional present
VK_EXT_sampler_filter_minmax: extension optional present
VK_EXT_shader_demote_to_helper_invocation: extension optional present
VK_EXT_shader_image_atomic_int64: extension optional present
VK_KHR_draw_indirect_count: extension optional present
VK_KHR_driver_properties: extension optional present
VK_KHR_fragment_shader_barycentric: extension optional present
VK_KHR_maintenance5: extension optional present
VK_KHR_present_mode_fifo_latest_ready: extension optional missing
VK_KHR_shader_atomic_int64: extension optional present
VK_KHR_shader_clock: extension optional present
VK_KHR_shader_terminate_invocation: extension optional present
VK_KHR_spirv_1_4: extension optional present
[shader_cache]
state: disabled
[environment]
ANYPS5_GPU: 7900 XT
ANYPS5_HOST_REPORT: 1
ANYPS5_NO_SHADER_CACHE: 1
ANYPS5_REQUIRE_VULKAN: 1
APS5_NO_PIPELINE_JOURNAL: 1

Steps to reproduce

cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DBUILD_TESTING=ON
cmake --build build --parallel
ANYPS5_REQUIRE_VULKAN=1 ANYPS5_GPU="7900 XT" ctest --test-dir build -R '^agc_driver_image_table_packed_guards$' --output-on-failure

Fails in under 0.1 s.

Log

AGC graphics: unrecoverable packed table format was not poisoned
[gpu] deferred write-back failed: image table: shader 0x5558aa1f00f0 stage 4 pc 0x68 selected the descriptor at 0x555895feb160 (words 58960002 04e00055 0000800f 90010fac 00000000 00000010 00000000 00000000): invalid format

What was checked

GPU Runs Result
RX 7900 XT, gfx1100, RADV, Mesa 26.2.6 10 10 failed
Ryzen 7 7800X3D iGPU (Raphael, gfx1036 RDNA2), RADV, Mesa 26.2.6 10 10 failed
CI Linux lavapipe, run 44139466643 (main b1727795a2) 1 passed

The poison case was last changed in 0b01a068e0 (test(agc): keep packed-table poison sentinel on an unmapped format, 2026-11-12). Not investigated past the test output.

AI-assisted: yes

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6451319830 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/22512). Originally posted by [Colewiz7](https://github.com/Colewiz7) on 2026-11-17T18:24:38Z. --- ### What happens agc_driver_image_table_packed_guards fails on every run on two AMD GPUs with RADV: `AGC graphics: unrecoverable packed table format was not poisoned`. The log does contain `image table: ... invalid format`, so of the two conditions the test requires at ImageTablePacked.cpp:495 it is `poisoned.faults != 0u` that fails. Passes in CI on lavapipe. ### Title, test or build step ctest agc_driver_image_table_packed_guards ### AnyPS5 commit main 1c521f686b0f24093d0dd175bbfe97c71634935a, no pull requests merged on top. ### System CachyOS, Linux 7.3.4, GCC 16.2.1, Release. AMD Radeon RX 7900 XT (RADV NAVI31) and Ryzen 7 7800X3D iGPU (RADV RAPHAEL_MENDOCINO), Mesa 26.2.6. ### Host report ```text AnyPS5 host report (format 1) commit: 1c521f686b0f [system] os: Linux 7.3.4-1-cachyos x86_64 cpu: AMD Ryzen 7 7800X3D 8-Core Processor cpu_threads: 16 memory_mib: 31177 cpu_gate: passed [sdl] linked: 2.33.0 compiled: 2.33.0 [gpu] device: AMD Radeon RX 7900 XT (RADV NAVI31) type: discrete vendor_id: 0x1002 device_id: 0x744c vulkan_api: 1.4.354 driver: radv driver_info: Mesa 26.2.6-arch3.1 driver_version: 26.2.6 driver_version_raw: 0x06802006 subgroup_size: 64 device_local_mib: 20464 candidates: AMD Radeon RX 7900 XT (RADV NAVI31), AMD Ryzen 7 7800X3D 8-Core Processor (RADV RAPHAEL_MENDOCINO) present_modes: unknown present_mode_requested: default [vulkan] VK_KHR_8bit_storage: extension required present VK_KHR_buffer_device_address: extension required present VK_KHR_shader_float_controls: extension required present bufferDeviceAddress: feature required present fragmentStoresAndAtomics: feature required present samplerAnisotropy: feature required present shaderInt64: feature required present shaderSignedZeroInfNanPreserveFloat32: feature required present storageBuffer8BitAccess: feature required present textureCompressionBC: feature required present vertexPipelineStoresAndAtomics: feature required present VK_EXT_external_memory_host: extension optional present VK_EXT_fragment_shader_interlock: extension optional present VK_EXT_hdr_metadata: extension optional present VK_EXT_memory_budget: extension optional present VK_EXT_mesh_shader: extension optional present VK_EXT_present_mode_fifo_latest_ready: extension optional missing VK_EXT_provoking_vertex: extension optional present VK_EXT_sample_locations: extension optional present VK_EXT_sampler_filter_minmax: extension optional present VK_EXT_shader_demote_to_helper_invocation: extension optional present VK_EXT_shader_image_atomic_int64: extension optional present VK_KHR_draw_indirect_count: extension optional present VK_KHR_driver_properties: extension optional present VK_KHR_fragment_shader_barycentric: extension optional present VK_KHR_maintenance5: extension optional present VK_KHR_present_mode_fifo_latest_ready: extension optional missing VK_KHR_shader_atomic_int64: extension optional present VK_KHR_shader_clock: extension optional present VK_KHR_shader_terminate_invocation: extension optional present VK_KHR_spirv_1_4: extension optional present [shader_cache] state: disabled [environment] ANYPS5_GPU: 7900 XT ANYPS5_HOST_REPORT: 1 ANYPS5_NO_SHADER_CACHE: 1 ANYPS5_REQUIRE_VULKAN: 1 APS5_NO_PIPELINE_JOURNAL: 1 ``` ### Steps to reproduce ```sh cmake -S . -B build -G Ninja -DCMAKE_BUILD_TYPE=Release -DCMAKE_C_COMPILER=gcc -DCMAKE_CXX_COMPILER=g++ -DBUILD_TESTING=ON cmake --build build --parallel ANYPS5_REQUIRE_VULKAN=1 ANYPS5_GPU="7900 XT" ctest --test-dir build -R '^agc_driver_image_table_packed_guards$' --output-on-failure ``` Fails in under 0.1 s. ### Log ```text AGC graphics: unrecoverable packed table format was not poisoned [gpu] deferred write-back failed: image table: shader 0x5558aa1f00f0 stage 4 pc 0x68 selected the descriptor at 0x555895feb160 (words 58960002 04e00055 0000800f 90010fac 00000000 00000010 00000000 00000000): invalid format ``` ### What was checked | GPU | Runs | Result | | --- | --- | --- | | RX 7900 XT, gfx1100, RADV, Mesa 26.2.6 | 10 | 10 failed | | Ryzen 7 7800X3D iGPU (Raphael, gfx1036 RDNA2), RADV, Mesa 26.2.6 | 10 | 10 failed | | CI Linux lavapipe, run 44139466643 (main b1727795a2) | 1 | passed | The poison case was last changed in 0b01a068e0 (test(agc): keep packed-table poison sentinel on an unmapped format, 2026-11-12). Not investigated past the test output. AI-assisted: yes
Sign in to join this conversation.
No labels
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Reference
boykopovar/AnyPS5#22512
No description provided.