Repository navigation
ACE COMBAT 8 (PPSA24913) #21185
birdmarty
started this conversation in
Game bring-up
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Existing thread
Title
ACE COMBAT 8 (PPSA24913)
Content version tested
01.001.001
AnyPS5 commit
ee25ae6
System tested
Windows 11 build 26300, Intel Core i9-9900K, 32 GiB RAM, AMD Radeon RX 6800 (AMD proprietary driver 26.10.1, Vulkan 1.4.315), Clang 21.1.8 (MinGW-w64)
Furthest point
Menu
What is shown
With
-noraytracingand compute SPIR-V size limits enabled (see How it was run), the game boots cleanly (firstDrawat ~4.0s,firstPresentat ~4.5–5.3s), renders the boot logos/intro, and reaches the main menu with full 3D hangar/background graphics, UI, audio, and controller input working.Performance & Behavior Breakdown
0s – 244s): Runs stably at ~11–14 FPS (p50 = 73–90 ms,p90 = 83–106 ms) at3840x2160internal resolution scaled to1920x1080output (2,537frames presented in a 510s run;1,750frames presented in a 301s run).shader-disk-cacherecorded1,075cache hits and173recompiled shaders across the runs).APS5_MAX_COMPUTE_SPIRV_WORDS=200000, 6 mission compute shaders between217kand479kSPIR-V words are skipped and the GPU driver crashes (Vulkan result -4) the instant mission audio begins.APS5_MAX_COMPUTE_SPIRV_WORDS=500000(so only the823,949-word startup compute shader is skipped while the217k–479k-word mission compute shaders compile and run) allows the game to continue past the initial New Game audio and compile an additional 85 mission shaders (999 hits, 85 misses). During that shader compilation burst, audio briefly cuts out for ~5 seconds and then rapidly catches up by playing the buffered audio packets.VK_ERROR_DEVICE_LOST(Vulkan result -4) on batch85388(also triggered immediately if attempting to take a window screenshot during this state).Current blocker
There are three distinct blockers depending on the stage of execution (default launch vs. ray-tracing disabled vs. New Game transition):
Blocker 1: Default launch without
-noraytracingthrows insceAgcWriteDataPatchSetAddressOrOffsetLaunching
./app.exewithout-noraytracingimmediately aborts on the UE5 RHI thread (Thread.cpp:957) because UE5 callssceAgcWriteDataPatchSetAddressOrOffseton a command buffer packet whose opcode byte((cmd[0] >> 8) & 0xff)is not0x37(WRITE_DATA), throwing incore/libs/prx/libSceAgc/Patch/src/WaitRegMem.cpp:15:Without
-noraytracing, registration also logs deferred preparation for UE5 ray-tracing shaders using type8headers ands_swappc_b64computed call targets:Blocker 2: 823,949-word SPIR-V compute shader (
0x1d800b6000) stallsqworker 0x0> 10s and trips UE5's shipping GC watchdog (app.exe+0x2f3ba4f)With
-noraytracingalone, the game presents 2 frames (firstPresentat4.5s) and then crashes withEXCEPTION_ACCESS_VIOLATION(0xc0000005) writing to0x0000000000000000atapp.exe+0x2f3ba4f:app.exe+0x2edc8d2is UE5'sIncrementalDestroyGarbage(D:\jenkins\ws\ac8\branches\certification\main\UE5\Engine\Source\Runtime\CoreUObject\Private\UObject\GarbageCollection.cpp). In shipping builds,gc.EnableTimeoutOnPendingDestroyedObjectInShipping(app.exe+0xce5d4e4, default1) enforces a 10.0-second timeout (0xa8a86f8 = 10.0) while pollingFRenderCommandFence::IsFenceCompleteon objects pending destruction (Check IsReadyForFinishDestroy). When the GPU fence does not complete within 10s,app.exe+0x2f3ba4floadsrax = 0xdeadbeefcafebabe,r10d = 0x546c6148('HalT'), and intentionally writesrbxto[0x0].0x1d800b6000recompiles into 823,949 SPIR-V words (~3.3 MB of SPIR-V). Compiling that module invkCreateComputePipelines(amdvlk64.dll) blocksqworker 0x0for >10 seconds.APS5_MAX_COMPUTE_SPIRV_WORDS=500000(or200000) +APS5_SKIP_REFUSED_DISPATCHES=1skips0x1d800b6000(823,949 SPIR-V words) and allows the game to reach the menus and run continuously.200kand500kSPIR-V words across startup and New Game load:0x1bc00ba000(214,184words)0x1c006c8000(217,633words),0x1c00555000/0x1c0059b000(240,454words),0x1c00ab8000/0x1c0062e000(248,062words),0x1e803da000/0x1e80b28000(353,374words),0x1d407ec000/0x1d40678000(355,184words),0x1dc05e8000/0x1dc06ac000(434,655words),0x2000170000/0x200040b000(479,113words).Blocker 3: New Game mission transition black screen &
VK_ERROR_DEVICE_LOST(Vulkan result -4) on batch85388After loading New Game with
APS5_MAX_COMPUTE_SPIRV_WORDS=500000,APS5_TEXTURE_CACHE_MIB=4096, andAPS5_GPU_CHECKPOINTS=1, the game gets past the initial audio transition, compiles 85 more shaders, and then hangs the GPU on recorded batch85388(5 s timeline wait), aborting withVulkan result -4(VK_ERROR_DEVICE_LOST):Other notable warnings in the logs
APS5_TEXTURE_CACHE_MIB): On a 16 GB RX 6800, default cached storage images grew to7,783 MiB(active storage image cache budget 7784 MiB), pushingdevice-local heap 1(13,504 MiBbudget) within 1/8th of capacity ([buffers] staging shadow of 140776 bytes refused: its device-local heap is within an eighth of its budget). CappingAPS5_TEXTURE_CACHE_MIB=4096prevented the device-local heap exhaustion.[copy] image copy 0x326d000000 -> 0x31e6420000 (0x560000 bytes) refused: image byte coverage[gpu] texture 0x30b5c90000 (format 36) has mixed DCC keys at 0x30b6500000; its texels are read as storedHow it was run
$env:APS5_PLAYGO_UNLISTED_CHUNKS = "installed"
$env:APS5_OUTPUT_RESOLUTION = "1920x1080"
$env:APS5_MAX_COMPUTE_SPIRV_WORDS = "500000"
$env:APS5_SKIP_REFUSED_DISPATCHES = "1"
$env:APS5_SKIP_REFUSED_DRAWS = "1"
$env:APS5_TEXTURE_CACHE_MIB = "4096"
$env:APS5_GPU_CHECKPOINTS = "1"
$env:APS5_TRACE_SUMMARY_EVERY = "30"
$env:APS5_TRACE_BENCH = "1"
$env:APS5_REPORT = "1"
.\app.exe -v -noraytracing -NOVERIFYGC
All reactions