Intel UHD A78B on Windows: native depth stencil tests abort on the graphics pipeline library path #25697

Closed
opened 2026-11-22 15:03:48 +00:00 by mihiii1337 · 0 comments
mihiii1337 commented 2026-11-22 15:03:48 +00:00 (Migrated from github.com)
Contributor

Imported from boykopovar/AnyPS5. Originally posted by mihiii1337 on 2026-11-22T15:03:48Z.


What happens

On Intel UHD 8086:a78b with driver 31.0.101.5081, two native D32S8 stencil tests abort on the graphics pipeline library path. Observed exits include AGC graphics: vkQueueSubmit recorder: Vulkan result -4 and Windows exception 0xc0000374. Both tests complete on the same GPU when APS5_NO_GPL=1.

Title, test or build step

agc_driver_native_depth_stencil and agc_driver_native_depth_stencil_view from agc_driver_native_multisample_depth_tests. No title is required.

AnyPS5 commit

Unmodified main at b7d463d4381c816c05f7f7f7c31bd10d089f75f0 for the reproduction below.

System

Windows 11 Home 26300, WinLibs GCC 15.2.0 r7 UCRT, Release, Intel UHD Raptor Lake-S Mobile 8086:a78b, driver 31.0.101.5081. Same-machine control: RTX 4070 Laptop 10de:2860, driver 621.01. Vulkan loader 1.4.357 and Khronos validation 1.4.369.

Steps to reproduce

With BUILD_TESTING=ON and NativeMultisampleDepth selected if using the execution-test allowlist:

cmake --build build --target agc_driver_native_multisample_depth_tests
$env:ANYPS5_GPU='Intel'
$env:ANYPS5_REQUIRE_VULKAN='1'
$env:ANYPS5_NO_SHADER_CACHE='1'
$env:APS5_NO_PIPELINE_JOURNAL='1'
$env:VK_INSTANCE_LAYERS='VK_LAYER_KHRONOS_validation'
$env:VK_LOADER_DEBUG='driver,layer'
$env:APS5_NO_GPL=$null
ctest --test-dir build -V -R '^agc_driver_native_depth_(stencil|stencil_view)$'
$env:APS5_NO_GPL='1'
ctest --test-dir build -V -R '^agc_driver_native_depth_(stencil|stencil_view)$'

I restricted the loader to the installed Intel ICD for the Intel series, checked the selected physical adapter and the pipelineLibrary=1/0 line in each test, and alternated settings. The failing stencil tests stop in under a second on this machine.

Same stock binary, three rounds stencil passed stencil_view passed
Intel, default 0/3 0/3
Intel, APS5_NO_GPL=1 3/3 3/3
RTX, each of the two settings 3/3 3/3

Log

One validated default run on Intel:

Selected GPU ... vendor=0x8086 device=0xa78b subgroup=32
Vulkan features ... pipelineLibrary=1
Validation Error: [ VUID-VkSubmitInfo-pSignalSemaphores-03242 ]
AGC graphics: vkQueueSubmit recorder: Vulkan result -4

When present, the VUID reported signal value 56 and current value 18446744073709551615. The failure signature varies across runs.

What was checked

I also kept the GPL-enabled Vulkan context (including Dynamic Rendering and the fixed push layouts) and changed just the pipeline selection in Graphics/src/Pipeline.cpp after the libraryKeys(...) check. A temporary switch forced the existing whole-pipeline path for draws that had qualified for libraries. Both columns below use the same diagnostic binary. Implicit layers were disabled.

Intel diagnostic series Default path (stencil, stencil_view) Whole pipeline with GPL context
Khronos validation as the only layer 1/3, 0/3 3/3, 3/3
No instance layers 1/3, 3/3 3/3, 3/3

The no-layer default still reproduced the stencil abort. This narrows the issue to the library path and its associated pipeline state. The failing operation or component is still undetermined. In the same diagnostic, other_identity with whole pipelines reached the separate byte-2 assertion from #25666 in 6/6 runs. Related stencil readback reports are in #16883.

AI-assisted: yes

<!-- greyfinch-sync:boykopovar/AnyPS5:issue:6543925471 --> Imported from [boykopovar/AnyPS5](https://github.com/boykopovar/AnyPS5/issues/25697). Originally posted by [mihiii1337](https://github.com/mihiii1337) on 2026-11-22T15:03:48Z. --- ### What happens On Intel UHD `8086:a78b` with driver `31.0.101.5081`, two native D32S8 stencil tests abort on the graphics pipeline library path. Observed exits include `AGC graphics: vkQueueSubmit recorder: Vulkan result -4` and Windows exception `0xc0000374`. Both tests complete on the same GPU when `APS5_NO_GPL=1`. ### Title, test or build step `agc_driver_native_depth_stencil` and `agc_driver_native_depth_stencil_view` from `agc_driver_native_multisample_depth_tests`. No title is required. ### AnyPS5 commit Unmodified `main` at `b7d463d4381c816c05f7f7f7c31bd10d089f75f0` for the reproduction below. ### System Windows 11 Home 26300, WinLibs GCC 15.2.0 r7 UCRT, Release, Intel UHD Raptor Lake-S Mobile `8086:a78b`, driver `31.0.101.5081`. Same-machine control: RTX 4070 Laptop `10de:2860`, driver 621.01. Vulkan loader 1.4.357 and Khronos validation 1.4.369. ### Steps to reproduce With `BUILD_TESTING=ON` and `NativeMultisampleDepth` selected if using the execution-test allowlist: ```powershell cmake --build build --target agc_driver_native_multisample_depth_tests $env:ANYPS5_GPU='Intel' $env:ANYPS5_REQUIRE_VULKAN='1' $env:ANYPS5_NO_SHADER_CACHE='1' $env:APS5_NO_PIPELINE_JOURNAL='1' $env:VK_INSTANCE_LAYERS='VK_LAYER_KHRONOS_validation' $env:VK_LOADER_DEBUG='driver,layer' $env:APS5_NO_GPL=$null ctest --test-dir build -V -R '^agc_driver_native_depth_(stencil|stencil_view)$' $env:APS5_NO_GPL='1' ctest --test-dir build -V -R '^agc_driver_native_depth_(stencil|stencil_view)$' ``` I restricted the loader to the installed Intel ICD for the Intel series, checked the selected physical adapter and the `pipelineLibrary=1/0` line in each test, and alternated settings. The failing stencil tests stop in under a second on this machine. | Same stock binary, three rounds | `stencil` passed | `stencil_view` passed | | --- | ---: | ---: | | Intel, default | 0/3 | 0/3 | | Intel, `APS5_NO_GPL=1` | 3/3 | 3/3 | | RTX, each of the two settings | 3/3 | 3/3 | ### Log One validated default run on Intel: ```text Selected GPU ... vendor=0x8086 device=0xa78b subgroup=32 Vulkan features ... pipelineLibrary=1 Validation Error: [ VUID-VkSubmitInfo-pSignalSemaphores-03242 ] AGC graphics: vkQueueSubmit recorder: Vulkan result -4 ``` When present, the VUID reported signal value 56 and current value 18446744073709551615. The failure signature varies across runs. ### What was checked I also kept the GPL-enabled Vulkan context (including Dynamic Rendering and the fixed push layouts) and changed just the pipeline selection in `Graphics/src/Pipeline.cpp` after the `libraryKeys(...)` check. A temporary switch forced the existing whole-pipeline path for draws that had qualified for libraries. Both columns below use the same diagnostic binary. Implicit layers were disabled. | Intel diagnostic series | Default path (`stencil`, `stencil_view`) | Whole pipeline with GPL context | | --- | --- | --- | | Khronos validation as the only layer | 1/3, 0/3 | 3/3, 3/3 | | No instance layers | 1/3, 3/3 | 3/3, 3/3 | The no-layer default still reproduced the stencil abort. This narrows the issue to the library path and its associated pipeline state. The failing operation or component is still undetermined. In the same diagnostic, `other_identity` with whole pipelines reached the separate byte-2 assertion from #25666 in 6/6 runs. Related stencil readback reports are in #16883. 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#25697
No description provided.