AGC (RTX 4090 Ada, Linux): full baseline sweep with and without validation on main (0 VUIDs, 0 failures) #26143

Open
opened 2026-11-23 10:23:25 +00:00 by GeremC · 0 comments
GeremC commented 2026-11-23 10:23:25 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by GeremC on 2026-11-23T10:23:25Z.


AI-assisted: yes (Claude Code)

Full test sweep on RTX 4090 (Ada, AD102) on Linux

Field Value
Commit main f5b7e1d1ac. The run without validation used a build with only a documentation commit on top (#26107, since merged). The run with validation and the solo runs used a build with #26132 on top, which patches only SDL's PulseAudio backend. Neither touches AGC, the recompiler or VideoOut
OS Linux Mint 22.3 (Ubuntu 24.04 noble base), kernel 7.0.0-43-generic, Wayland session
CPU / RAM Intel Core i7-13700K (16C/24T), 31,772 MiB RAM
GPU NVIDIA GeForce RTX 4090 (vendor=0x10de, device=0x2684, AD102, subgroup 32), VBIOS 95.02.18.80.CD
Driver NVIDIA proprietary 580.178.04 (Vulkan 1.4.312)
Vulkan loader Distribution loader 1.3.275 (libvulkan1 1.3.275.0-1build1)
Validation layer VK_LAYER_KHRONOS_validation from LunarG SDK 1.4.363.1, added with VK_ADD_LAYER_PATH
Toolchain g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0, CMake 3.28.3, Ninja 1.11.1, Python 3.12.3, Release, BUILD_TESTING=ON
Environment (both) ANYPS5_NO_SHADER_CACHE=1, ANYPS5_REQUIRE_VULKAN=1, ANYPS5_GPU=4090
Validation flags VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation, VK_LOADER_DEBUG=layer (unset for the run without validation)
Commands ctest --test-dir build -V -j 8 in both modes, then ctest --test-dir build -R "^<test>$" -V -j 1 10 times per test in both modes for the tests tracked on other NVIDIA GPUs

Sweep summary

Metric With validation (-j 8) Without validation (-j 8)
Total tests 6677 6677
Passed 6613 6613
Failed / timed out 0 0
Skipped 64 64 (same list)
VUID / SYNC-HAZARD errors 0 n/a
Elapsed time 318.98 s 342.24 s

Max GPU temperature over each run, sampled every 10 s: 43 °C. No test took more than 21 s; the longest were the four agc_driver_prepared_shaders* tests (19.3-20.3 s) and agc_driver (about 16 s) in both modes.

Vulkan validation, GPU selection and capability probes

  • GPU selection: in the validation sweep, every Selected GPU line (1,747) names the NVIDIA GeForce RTX 4090; none selects llvmpipe.
  • Layer insertion: VK_LOADER_DEBUG=layer logged Insert instance layer "VK_LAYER_KHRONOS_validation" 1,926 times and Inserted device layer "VK_LAYER_KHRONOS_validation" 1,921 times, always from .../vulkan-sdk/1.4.363.1/x86_64/lib/libVkLayer_khronos_validation.so. was not found but was requested by env var VK_INSTANCE_LAYERS appears 0 times.
  • Validation diagnostics: 0 VUID-, 0 SYNC-HAZARD, 0 Validation Error lines. The 65 Validation Warning lines are the same classes and counts as on the RTX 4070 Laptop in #26078:
    • 60 Undefined-Value-ShaderOutputNotConsumed-DynamicRendering (0x46877e3e): agc_driver_packed_float_blend (10), agc_driver_packed_unorm4444_partial_write (10), agc_driver_unclamped_normalized_blend (10), agc_driver_alpha_to_coverage (3), the agc_driver_draw_cache_reuse* family (27)
    • 3 Undefined-Value-OutputNotWritten-DynamicRendering (0x82d5604b): agc_driver_fragment_user_data_tail
    • 1 Undefined-Value-ShaderOutputNotConsumed (0x9805298c): agc_sampled_import_pieces
    • 1 VALIDATION-SETTINGS (0x7f1922d7)
  • Write-watch probe: [write-watch] host imports resolve write protection: no (0 of 4 scratch pages written after a GPU read, 0 after a GPU write, 4 after the import); imported ranges stay watched
  • Float-controls probes:
    • [float-controls] f32 denormal flush: hardware (0 of 5472 probe results differ from the emulated flush)
    • [float-controls] f16 to f32 NaN results: emulated (8184 of 262144 probe results differ, first 0xd9a47c01: 0x7f802000 emulated, 0x7fffffff native); f32 to f16 NaN results: emulated (98328 of 220032 probe results differ, first 0x7f800001: 0x00007e00 emulated, 0x00007fff native)
    • [float-controls] f16 NaN results with IEEE_MODE clear: selected (736 of 2048 probe results differ from the selected NaN). This differs from the RTX 4070 Laptop on driver 595.99.02 in #26078, which reports 1504 of 2048; the other two probes match it exactly.
  • Other GPU feature lines: tessellationAvailable=1 mesh=1 depthClip=1 depthRangeUnrestricted=1 pipelineLibrary=1 (pipelineLibrary=0 in 7 tests that disable it), Wave32 programs run on subgroups of 32: compute 1, mesh 1, single-wave wave64 compute spans full subgroups: 1, of any size: 0, Pixel interpolation driver=4 hostInterpolationFirst=0, Shader clock driver=4 narrowSubgroupClock=0.

Tests failing on other NVIDIA GPUs or in other reports: 10x solo here

Each test was run 10 times with -j 1, with and without validation. All passed, with 0 VUID- lines in every log.

Test 10x with validation 10x without validation
agc_driver_msaa_dcc_unwatch 10/10 (≤0.43 s) 10/10 (≤0.45 s)
agc_driver_cached_image_multisample_guard 10/10 (≤0.41 s) 10/10 (≤0.38 s)
agc_driver_store_over_untracked 10/10 (≤0.70 s) 10/10 (≤0.64 s)
agc_driver_stencil_plane_memory 10/10 (≤0.46 s) 10/10 (≤0.42 s)
agc_driver_image_table_packed_guards 10/10 (≤0.44 s) 10/10 (≤0.40 s)
agc_driver_bda_device 10/10 (≤4.05 s) 10/10 (≤3.57 s)
agc_driver_cpu_label_wake 10/10 (≤0.42 s) 10/10 (≤0.37 s)
agc_storage_write_back_host_retile 10/10 (≤1.03 s) 10/10 (≤0.63 s)
agc_driver_graphics 10/10 (≤14.30 s) 10/10 (≤9.75 s)
agc_graphics_profile_draw 10/10 (≤12.41 s) 10/10 (≤9.67 s)
agc_driver_layered_array_color_draw 10/10 (≤0.45 s) 10/10 (≤0.38 s)
agc_driver_layered_volume_mesh 10/10 (≤0.55 s) 10/10 (≤0.51 s)
agc_driver_layered_volume_vertex_no_gpl 10/10 (≤0.49 s) 10/10 (≤0.45 s)
agc_driver_volume_mip_targets 10/10 (≤0.47 s) 10/10 (≤0.42 s)
agc_driver_lds_tree_reduction (#10758) 10/10 (≤0.40 s) 10/10 (≤0.36 s)
agc_driver_native_depth_bare_publication 10/10 (≤0.64 s) 10/10 (≤0.57 s)
agc_driver_native_depth_uneven_plane 10/10 (≤0.67 s) 10/10 (≤0.60 s)
agc_driver_mesh_vector_window_writes 10/10 (≤0.66 s) 10/10 (≤0.60 s)
agc_driver_headless_present_mode 10/10 (≤0.43 s) 10/10 (≤0.40 s)

Times are wall time per ctest call, including its start-up.

Display tests with a real compositor

The 64 skipped tests include every video_out_flip_*, video_out_frame_dump_*, video_out_host_fullscreen_* and video_out_telemetry_caption test, because the build's ANYPS5_VIDEO_OUT_TEST_DRIVER is offscreen, which has no Vulkan surface. I ran each of the 64 skipped tests' registered command and environment once more with SDL_VIDEODRIVER set to wayland, then to x11 (XWayland), on the session's display, without validation:

Driver Passed Skipped (exit 77) Failed
wayland 34 30 0
x11 34 30 0

All the display tests pass with both drivers. The 30 that still skip report device limits (does not import shared memory through dma-buf, lacks VK_EXT_headless_surface, lacks VK_EXT_shader_stencil_export, imports shared memory through host pointers, and similar), guest_environment_binding_unload (the platform loader retained libkernel) or guest_net_raw_protocol (no raw socket without privileges).

A note for Ubuntu 24.04 hosts

My first validation sweep used the distribution's vulkan-validationlayers 1.3.275.0-1 and reported 18 failures and 2,443 VUID- lines. They were VUID-VkDeviceCreateInfo-pNext-pNext (an unknown VkStructureType 1000574000, "based on the Valid Usage documentation for version 275 of the Vulkan header"), VUID-vkCmdDraw-None-07629, VUID-vkCmdDrawIndexed-None-08608 and VUID-vkCmdCopyImage-srcImage-01548/01551 (colour to depth copies). With the 1.4.363 layer on the same build, there are no failures and no VUID- lines. CONTRIBUTING.md already asks for a layer at least as new as VK_HEADER_VERSION 335; Ubuntu 24.04's package is older than that.

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6557159459 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/26143). Originally posted by [GeremC](https://github.com/GeremC) on 2026-11-23T10:23:25Z. --- AI-assisted: yes (Claude Code) ### Full test sweep on RTX 4090 (Ada, AD102) on Linux | Field | Value | |---|---| | **Commit** | `main` `f5b7e1d1ac`. The run without validation used a build with only a documentation commit on top (#26107, since merged). The run with validation and the solo runs used a build with #26132 on top, which patches only SDL's PulseAudio backend. Neither touches AGC, the recompiler or VideoOut | | **OS** | Linux Mint 22.3 (Ubuntu 24.04 noble base), kernel `7.0.0-43-generic`, Wayland session | | **CPU / RAM** | Intel Core i7-13700K (16C/24T), 31,772 MiB RAM | | **GPU** | NVIDIA GeForce RTX 4090 (`vendor=0x10de`, `device=0x2684`, AD102, subgroup 32), VBIOS `95.02.18.80.CD` | | **Driver** | NVIDIA proprietary `580.178.04` (Vulkan `1.4.312`) | | **Vulkan loader** | Distribution loader `1.3.275` (`libvulkan1 1.3.275.0-1build1`) | | **Validation layer** | `VK_LAYER_KHRONOS_validation` from LunarG SDK `1.4.363.1`, added with `VK_ADD_LAYER_PATH` | | **Toolchain** | `g++ (Ubuntu 13.3.0-6ubuntu2~24.04.1) 13.3.0`, CMake `3.28.3`, Ninja `1.11.1`, Python `3.12.3`, Release, `BUILD_TESTING=ON` | | **Environment (both)** | `ANYPS5_NO_SHADER_CACHE=1`, `ANYPS5_REQUIRE_VULKAN=1`, `ANYPS5_GPU=4090` | | **Validation flags** | `VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation`, `VK_LOADER_DEBUG=layer` (unset for the run without validation) | | **Commands** | `ctest --test-dir build -V -j 8` in both modes, then `ctest --test-dir build -R "^<test>$" -V -j 1` 10 times per test in both modes for the tests tracked on other NVIDIA GPUs | ### Sweep summary | Metric | With validation (`-j 8`) | Without validation (`-j 8`) | |---|---|---| | **Total tests** | 6677 | 6677 | | **Passed** | 6613 | 6613 | | **Failed / timed out** | 0 | 0 | | **Skipped** | 64 | 64 (same list) | | **VUID / SYNC-HAZARD errors** | 0 | n/a | | **Elapsed time** | 318.98 s | 342.24 s | Max GPU temperature over each run, sampled every 10 s: 43 °C. No test took more than 21 s; the longest were the four `agc_driver_prepared_shaders*` tests (19.3-20.3 s) and `agc_driver` (about 16 s) in both modes. ### Vulkan validation, GPU selection and capability probes - **GPU selection:** in the validation sweep, every `Selected GPU` line (1,747) names the `NVIDIA GeForce RTX 4090`; none selects llvmpipe. - **Layer insertion:** `VK_LOADER_DEBUG=layer` logged `Insert instance layer "VK_LAYER_KHRONOS_validation"` 1,926 times and `Inserted device layer "VK_LAYER_KHRONOS_validation"` 1,921 times, always from `.../vulkan-sdk/1.4.363.1/x86_64/lib/libVkLayer_khronos_validation.so`. `was not found but was requested by env var VK_INSTANCE_LAYERS` appears 0 times. - **Validation diagnostics:** `0` `VUID-`, `0` `SYNC-HAZARD`, `0` `Validation Error` lines. The `65` `Validation Warning` lines are the same classes and counts as on the RTX 4070 Laptop in #26078: - `60` `Undefined-Value-ShaderOutputNotConsumed-DynamicRendering` (`0x46877e3e`): `agc_driver_packed_float_blend` (10), `agc_driver_packed_unorm4444_partial_write` (10), `agc_driver_unclamped_normalized_blend` (10), `agc_driver_alpha_to_coverage` (3), the `agc_driver_draw_cache_reuse*` family (27) - `3` `Undefined-Value-OutputNotWritten-DynamicRendering` (`0x82d5604b`): `agc_driver_fragment_user_data_tail` - `1` `Undefined-Value-ShaderOutputNotConsumed` (`0x9805298c`): `agc_sampled_import_pieces` - `1` `VALIDATION-SETTINGS` (`0x7f1922d7`) - **Write-watch probe:** `[write-watch] host imports resolve write protection: no (0 of 4 scratch pages written after a GPU read, 0 after a GPU write, 4 after the import); imported ranges stay watched` - **Float-controls probes:** - `[float-controls] f32 denormal flush: hardware (0 of 5472 probe results differ from the emulated flush)` - `[float-controls] f16 to f32 NaN results: emulated (8184 of 262144 probe results differ, first 0xd9a47c01: 0x7f802000 emulated, 0x7fffffff native); f32 to f16 NaN results: emulated (98328 of 220032 probe results differ, first 0x7f800001: 0x00007e00 emulated, 0x00007fff native)` - `[float-controls] f16 NaN results with IEEE_MODE clear: selected (736 of 2048 probe results differ from the selected NaN)`. This differs from the RTX 4070 Laptop on driver 595.99.02 in #26078, which reports 1504 of 2048; the other two probes match it exactly. - **Other GPU feature lines:** `tessellationAvailable=1 mesh=1 depthClip=1 depthRangeUnrestricted=1 pipelineLibrary=1` (`pipelineLibrary=0` in 7 tests that disable it), `Wave32 programs run on subgroups of 32: compute 1, mesh 1`, `single-wave wave64 compute spans full subgroups: 1, of any size: 0`, `Pixel interpolation driver=4 hostInterpolationFirst=0`, `Shader clock driver=4 narrowSubgroupClock=0`. ### Tests failing on other NVIDIA GPUs or in other reports: 10x solo here Each test was run 10 times with `-j 1`, with and without validation. All passed, with `0` `VUID-` lines in every log. | Test | 10x with validation | 10x without validation | |---|---|---| | `agc_driver_msaa_dcc_unwatch` | 10/10 (≤0.43 s) | 10/10 (≤0.45 s) | | `agc_driver_cached_image_multisample_guard` | 10/10 (≤0.41 s) | 10/10 (≤0.38 s) | | `agc_driver_store_over_untracked` | 10/10 (≤0.70 s) | 10/10 (≤0.64 s) | | `agc_driver_stencil_plane_memory` | 10/10 (≤0.46 s) | 10/10 (≤0.42 s) | | `agc_driver_image_table_packed_guards` | 10/10 (≤0.44 s) | 10/10 (≤0.40 s) | | `agc_driver_bda_device` | 10/10 (≤4.05 s) | 10/10 (≤3.57 s) | | `agc_driver_cpu_label_wake` | 10/10 (≤0.42 s) | 10/10 (≤0.37 s) | | `agc_storage_write_back_host_retile` | 10/10 (≤1.03 s) | 10/10 (≤0.63 s) | | `agc_driver_graphics` | 10/10 (≤14.30 s) | 10/10 (≤9.75 s) | | `agc_graphics_profile_draw` | 10/10 (≤12.41 s) | 10/10 (≤9.67 s) | | `agc_driver_layered_array_color_draw` | 10/10 (≤0.45 s) | 10/10 (≤0.38 s) | | `agc_driver_layered_volume_mesh` | 10/10 (≤0.55 s) | 10/10 (≤0.51 s) | | `agc_driver_layered_volume_vertex_no_gpl` | 10/10 (≤0.49 s) | 10/10 (≤0.45 s) | | `agc_driver_volume_mip_targets` | 10/10 (≤0.47 s) | 10/10 (≤0.42 s) | | `agc_driver_lds_tree_reduction` (#10758) | 10/10 (≤0.40 s) | 10/10 (≤0.36 s) | | `agc_driver_native_depth_bare_publication` | 10/10 (≤0.64 s) | 10/10 (≤0.57 s) | | `agc_driver_native_depth_uneven_plane` | 10/10 (≤0.67 s) | 10/10 (≤0.60 s) | | `agc_driver_mesh_vector_window_writes` | 10/10 (≤0.66 s) | 10/10 (≤0.60 s) | | `agc_driver_headless_present_mode` | 10/10 (≤0.43 s) | 10/10 (≤0.40 s) | Times are wall time per `ctest` call, including its start-up. ### Display tests with a real compositor The 64 skipped tests include every `video_out_flip_*`, `video_out_frame_dump_*`, `video_out_host_fullscreen_*` and `video_out_telemetry_caption` test, because the build's `ANYPS5_VIDEO_OUT_TEST_DRIVER` is `offscreen`, which has no Vulkan surface. I ran each of the 64 skipped tests' registered command and environment once more with `SDL_VIDEODRIVER` set to `wayland`, then to `x11` (XWayland), on the session's display, without validation: | Driver | Passed | Skipped (exit 77) | Failed | |---|---|---|---| | `wayland` | 34 | 30 | 0 | | `x11` | 34 | 30 | 0 | All the display tests pass with both drivers. The 30 that still skip report device limits (`does not import shared memory through dma-buf`, `lacks VK_EXT_headless_surface`, `lacks VK_EXT_shader_stencil_export`, `imports shared memory through host pointers`, and similar), `guest_environment_binding_unload` (`the platform loader retained libkernel`) or `guest_net_raw_protocol` (no raw socket without privileges). ### A note for Ubuntu 24.04 hosts My first validation sweep used the distribution's `vulkan-validationlayers 1.3.275.0-1` and reported 18 failures and 2,443 `VUID-` lines. They were `VUID-VkDeviceCreateInfo-pNext-pNext` (an unknown `VkStructureType 1000574000`, "based on the Valid Usage documentation for version 275 of the Vulkan header"), `VUID-vkCmdDraw-None-07629`, `VUID-vkCmdDrawIndexed-None-08608` and `VUID-vkCmdCopyImage-srcImage-01548/01551` (colour to depth copies). With the 1.4.363 layer on the same build, there are no failures and no `VUID-` lines. CONTRIBUTING.md already asks for a layer at least as new as `VK_HEADER_VERSION` 335; Ubuntu 24.04's package is older than that.
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#26143
No description provided.