AGC: rendering to extra 1x1 mip levels beyond the image chain is unsupported (PPSA99902) #7066
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Imported from boykopovar/AnyPS5. Originally posted by Amoenus on 2026-10-17T09:54:15Z.
3 December proposed fix: #7085 at
6e70d4e7ebb8includes tested main700fae9438229ae6e7d2f00f79a10cb827ea21d7. Both query-fixture/cache-version conflicts are resolved; merged #22724 is removed from dependencies, leaving #6280. Result cache format 113 distinguishes the updated stack from main/prior-parent/existing-child formats.Full native/selected-fixture builds, ordinary/profiling host suites and 78/78 execution CTests pass across RTX 5080/AMD Radeon Graphics (72 clean; six with exactly main's depth-plane warnings). Main passes 80/80; current comparisons add resinfo, sampled draw-cache and relocated-data/recipe checks. Separate BY compiler-refusals remain explicit. Seven backing/barrier/readback/ClearMip bodies and the complete rendering fixture are unchanged. Current source pins, audit and raw logs. Earlier 1 December evidence and ClearMip controls retain their actual pins.
#28176 tracks the separate #27616 sampled-load proposal; no duplicate implementation or local child qualification. This remains component validation, not a new game/FPS or complete-stack claim. AI-assisted: yes (Codex).
Historical maintenance status - 30 October2026
Proposed fix #7085 is refreshed at
ecad0bc7e108,incorporating mainb1b5353cfcee098ed17e3ba8a6e616bee97c9215. #12559 is merged and included,with its actual-format/four-byte clear encoding routed through the extra-image wrapper. Legal physical image barriers and both recorder probes remain.Current qualification and complete evidence:77passes(70physical-GPU/7CPU),two intended recorded-writeback omission failures. Main19,candidate45,restored candidate13;recorded/immediate/readback modes each pass3/3 per GPU,including arraySlice2. The same recorded test fails both GPUs when dirty registration alone is omitted. Both merged typed/integer clear checks pass on main/change. The47-field format51 codec retains targetMerge and levelUses;round trips and old-format rejection pass. No nonzero descriptor.baseArray claim.
Native/real fixture builds,conventions,whitespace and stable binary inventories pass. RTX5080/NVIDIA621.01 and Radeon Graphics1002:13c0/AMD26.10.1 on Windows11 Enterprise26200,required Vulkan,loaded Khronos1.4.363 and actual GPU verified. Zero selected Vulkan errors/warnings/VUIDs,skips/timeouts;30s bound. Cppcheck/clang-tidy retain72 advisories at unchanged-main/prior-head contexts,no parser/configuration failures/timeouts.
#6280 remains functional prerequisite;preserve#9884/#12246/#10064/#9999 order and downstream#7085->#10743. #12559 no longer blocks landing. Issue stays open pending upstream capability. No fresh title/FPS or combined open-dependency-stack result. Historical evidence below keeps its pins. AI-assisted:yes(Codex).
Historical 21 October qualification
2026-10-21 UTC: proposed fix #7085 refreshed, qualified and published at
306f9926e6. Fork and upstream PR heads now match. Tested main isa806c69bfebe67eea82cdc0f07336a9618af4578; adapted #6280 base isa3fa6c873d435ab0b24f2c6e8fc144f281b13295.The identical-fixture negative control
68d4a7baf9fails3/3 per physical RTX5080/Radeon Graphics at the mip10/512x256x1/12 guest levels color-target refusal below; the candidate passes3/3 per GPU. Full default and explicit library/relinker/fixture builds pass. Main/control/candidate have 73/79/85 assertion passes, with six retained negative-control failures. Both the new 1D comparison fixture and cache round trips pass; the combined codec retains non-defaultremappedDepth1D/levelUsesand its42-field guard.All three phases retain the same six ordinary-sRGB-copy
VUID-VkImageViewCreateInfo-usage-02275errors, tracked by #862. Other selected checks have zero VUID/errors/warnings; no skips/timeouts. Vulkan required, application shader cache/pipeline journal disabled, actual GPUs and loaded Khronos1.4.363 verified, serial30-second bounds. Windows11 Enterprise26200, RTX5080 610.62/32.0.16.1062 and Radeon Graphics32.0.21036.18; driver caches/implicit layers uncontrolled. The current PR description records exact groups, compiler warnings and11 inherited analyzer findings; no all-validation/analyzer-clean claim.Own nine-file delta remains+492/-97 with unchanged own added/removed line sequences. The rebase preserves merged #7966's depth1D extent remap and #6280's physical mip cap. Exact #6280
0e1f2ab53b(@fdfawef324) and merged #69341b70ce290f(@JJenkx) retain their original history; only #6280 remains pending. The shared adapted base is not an unmodified standalone #6280 result. Literal main lacks the new extra-mip fixture and is not counted as executing it.Newer checked main
6696def6e6clean-merges; that newer composition is not runtime-tested here. The original title reproduction below retains its own source pins; this refresh has no new game/FPS, Linux or console result. Issue remains open pending the capability landing upstream. AI-assisted: yes (Codex); author responsible.Original cap/guard reproduction and baseline evidence, retained at its tested pins
Previously qualified main7c fork candidate
As of 2026-10-19T23:47:33.083439+00:00, the fork branch points to
77dfe9541e, while GitHub's upstream PR API still reportsea9ee6fd09. The validation below belongs to the linked fork candidate; the PR-description refresh is pending that head synchronization.Proposed fix: #7085; qualified fork candidate, refreshed on main
7c2334d208at 77dfe9541e. Separate legal 1x1x1 backing represents admitted storage/color levels beyond the physical chain, retaining guest geometry and explicit unsupported-consumer refusals. Own delta is unchanged from the prior published fix: nine files, 589 added/removed lines. Exact #62800e1f2ab53band merged #69341b70ce290fretain their original authors/history; only #6280 remains pending.Current matching full Windows build passes. Main/change selection passes 60 / 72 executions (48/60 physical-GPU and12 CPU). Each GPU group repeats three times on verified RTX5080 and Radeon Graphics with loaded Khronos, Vulkan required, shader cache/pipeline journal off and30-second bounds. Both pins have the same six existing sRGB-copy02275 validation errors; no new identifier/count/warnings, skips or timeouts. The PR lists exact groups, drivers and scope.
The rebase retains main's DCC-mip block-tracking restriction alongside the prerequisite's full-chain guard. Cppcheck/clang-tidy report3/3 advisories, all six locations with unchanged contexts in main; no parser/configuration failures or timeouts. The explicit comparison base retains the existing41-field cache compatibility guard and is not an unmodified-prerequisite runtime result. No new standalone game, Linux, speed or console result. The original title reproduction below remains historical. Issue stays open pending merge.
AI-assisted: yes (Codex); author responsible.
What stops
Sonic Unleashed Recompiled (PPSA99902) renders to mip level 10 of a 512x256x1 surface declaring 12 guest levels. With #6280's invalid-image guard, both physical GPUs stop at:
This is a remaining color-rendering capability, separate from #6280's image-creation cap and shader-query work. The guard should remain until the extra guest levels are represented correctly. This report does not ask #6280 to take on the additional capability.
Reproduction and exact scope
Fork composition
2103bdec779e39ee96d7e4c135e36a141833b5b5merges @fdfawef324's unchanged #6280 headc80ba9e310a8a828195e273f0ca732ac6278174cinto our retained title integration3311d7be5ece49069e9b1481b4fe605385ed75af, containing mainbf2053816976bb9c821e37df58ef64a7362b81c7. Adapted integer-export #6235 and exact independentBlend #6782 are retained. Dependencies and historical title work are tracked in #3036. This is a composed-title reproduction, not an unchanged-main or standalone-PR game result.Fresh ordinary Windows conversion and all 127 libraries matching that exact build, original game configuration unchanged, isolated fresh user data, Vulkan required, shader cache disabled, Khronos core validation 1.4.363 confirmed loaded:
10de:2c021002:13c0Both exit
0xC0000409, without timeout, input or captured frame. Executable, guest module, libraries and dependency hashes match across devices; original protected dump/configuration hashes are unchanged. No core validation errors or warnings occur before this early refusal. This does not establish validation cleanliness later in startup.Control: without #6280, current integration
3311d7be5logs tenVUID-VkImageCreateInfo-mipLevels-00958errors per GPU and runs farther before its separate DCC/device-loss stops (#3036, #5336). That path does not establish valid extra-level rendering. The earlierfbc24c0fcexperiment on mainadb0e7a8cbalready reached the same NVIDIA guard; this refresh confirms it on both GPUs with the current retained fixes.Relevant code and expected capability
In #6280,
DescribeSurfaceretains all guest mip geometry but capsSurfaceGeometry::imageLevels;RequireImageLevelinGraphics/src/Texture.cpprejects this color target. The missing representation must preserve the guest-address and alias relationships of the extra 1x1 levels through rendering and any admitted reads/publication. Mapping a separately addressed guest texel onto the last physical mip, or discarding its writes, would change guest results. The failing scalar diagnostic does not establish the title target's format, tiling or exact per-level offsets; those must be checked before choosing backing or asserting independent storage.Possible implementation direction, not a validated fix: separate backing for the extra levels, using their existing guest geometry and offsets, with explicit alias/lifetime handling. A regression fixture should first prove the decoded geometry: use different values for levels 9, 10 and 11 where they address distinct texels, and explicitly check shared-tail aliasing and padding. Render one and verify the required sibling/alias behavior and guest bounds; cover admitted sampled/storage reads and writeback, or retain explicit refusals for unimplemented consumers. Include array/layer and tiling behavior where admitted. No console semantics beyond the observed guest access are established here.
Component validation and duplicate check
Full relinker/libs and affected fixtures build on Windows GCC 15.2.0 r7 and Ubuntu 24.04 GCC 13.3. Graphics and shader-cache groups pass 3/3 per OS (12 processes).
agc_driver_image_levels_past_chainpasses 3/3 on each physical GPU and Mesa 25.2.8 llvmpipe (9 processes); physical runs have zero core errors/warnings. The existing mixed-LOD llvmpipe subcases are explicitly excluded for its documented pre-25.3 behavior. Conventions pass. These tests validate the cap/guard composition, not the missing capability or the whole suite.Searched the exact exception, extra-1x1/mip-chain and rendering terms. #6280 is the related partial implementation; #3036 is broad bring-up tracking. Closed #4070 concerns an ordinary packed tail losing its resident image, rather than guest levels beyond the extent's physical chain; #1409 concerns depth/stencil storage. No separate focused extra-level-rendering issue was found.
AI-assisted: yes (Codex); author responsible. No game assets or shaders attached.