Repository navigation
fix(agc): leave the float-controls probe's pipelines out of compute captures - #8968
Conversation
…aptures The start-up f32 denormal flush probe already stays out of the pipeline counters and the pipeline journal, but APS5_DUMP_COMPUTE_PIPELINES still captured its pipelines. On a device that runs the probe, every capture directory gained twelve driver-internal records that count toward the 128-record limit, and agc_compute_pipeline_capture_run found 14 captures for a fixture with two programs.
|
Some comparisons could not be completed because a pull request conflicts with the base branch. Review these shared files manually before concluding that there is no overlap.
|
|
RTX 4090 (Ada) on Windows, head
NVIDIA GeForce RTX 4090, driver 617.42, Windows 11 Pro 26200, WinLibs GCC 15.2.0 r7, Release, AI-assisted: yes (Claude Code) |
|
AMD iGPU on Linux (RADV) data point: head Setup
On this machine the same failure shows on current |
…float-probe # Conflicts: # core/libs/prx/libSceAgcDriver/Execution/src/VulkanDevice.cpp
|
Checked the new condition against the journal guard ( |
What
Replaces #8465, which the open-PR limit closed before it could be reopened.
The start-up f32 denormal flush probe (
ProbeFloat32FlushToZero, fromac14d6317) creates compute pipelines through the normal dispatch path whileprobingFloatControlsis set. That flag already keeps them out ofcomputePipelinesCreatedand the pipeline journal (RecordComputePipeline), but not out ofAPS5_DUMP_COMPUTE_PIPELINES.So on every device that runs the probe (
shaderDenormFlushToZeroFloat32plus adenormBehaviorIndependenceother than NONE), each capture directory gets twelve driver-internal records. They count toward the 128-record limit and are not the title's pipelines.agc_compute_pipeline_capture_runfails there, because it expects 1 to 12 captures:Its fixture (
agc_driver_branch_past_endpgm_tests) has two programs: it captures 14 with the probe and 2 withAPS5_NO_HW_F32_FLUSH=1. The probe was added after the capture test, and lavapipe does not run the probe, so Linux CI does not see it.The capture condition now also checks
!state->probingFloatControls, like the journal.BUILD.mdsays the probe's pipelines are not captured.Overlap: #8432 rewrites the same
if(wide environment on Windows). Whichever lands second needs a one-line merge.Tested
Arch Linux (Omarchy), kernel 7.2.5, GCC 16.2.1, Release,
BUILD_TESTING=ON,ANYPS5_ENABLE_SPIRV_TOOLS=ON, basemain71401e331.Focused tests:
ANYPS5_REQUIRE_VULKAN=1 ANYPS5_NO_SHADER_CACHE=1 VK_INSTANCE_LAYERS=VK_LAYER_KHRONOS_validation ctest --test-dir build -j1 -V -R 'compute_pipeline|branch_past_endpgm|float_flush|denorm'. That is 28 tests, includingagc_compute_pipeline_capture*,agc_compute_pipeline_replay,agc_driver_branch_past_endpgm,agc_driver_f32_denormal_flushand the*_denormal_modestests. Three runs each:mainmain: the failure isagc_compute_pipeline_capture_runevery time, with the message above.2 captured pipelines replayed without dispatch. The probe still runs and still selects hardware flush ([float-controls] f32 denormal flush: hardware).VK_LAYER_KHRONOS_validationin every Vulkan test of every run (VK_LOADER_DEBUG=layer). No log containswas not found but was requested by env var VK_INSTANCE_LAYERS, and neither side logs aVUID-line.Full suite with the same environment,
ctest -j16 --timeout 120, run on base44e3389c8before updating to the currentmain:main: 1704/1709.agc_driver_guest_memory_lifetime: agc_driver_guest_memory_lifetime fails on RADV since the host-import cut larger-side keep (16473dbbe, #6499 family) #7784, fixed by fix(agc): retire host imports before range cuts #7849.agc_driver_bda_device: agc_driver_bda_device times out in vkWaitForFences since the BDA anchor lookup (#5859, d422c760c) #7584 / fix(shader): retain adjacent anchor byte loads on RADV #7829.agc_driver_tessellation: the Mesa crash, agc_driver_tessellation segfaults on RADV with Mesa 26.2+: nir_opt_varyings corrupts the TCS input offset's use list (Mesa bug) #5444.agc_driver_image_array_window_past_layer_limit: being looked at separately.tools/check_skips.py: 22 skips, all expected.Checklist
main; no other open PR implements the same functionsNotImplemented_nid_no_patch); silent stubs are listed under Silent stubs in their library's technical debt file.mdfiles or images added to the repository (attach them to this PR)