Recompiler: packed pixel ancillary word read whole after its VGPR is reused ("unsupported live use (used by BitFieldUExtract 16 11, SelectU32 ...)") #2548
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 fisherjoey on 2026-10-10T04:29:11Z.
Stray (PPSA02100 v1.05, Unreal Engine 4) has 26 pixel shaders that main refuses at shader info collection. At registration they are deferred (#1836).
Setup: Linux (Nobara 44, kernel 7.2), RTX 5070 Ti, NVIDIA 595.91.07. Run on main
1be6f9f1plus the other fixes Stray needs to reach its first draws, with #1179 (b4e02e2d) as the only ancillary handling. That is the code #1179 merged.Shaders (guest addresses from the registration log):
0x200e370000 0x200e400000 0x200e410000 0x200e460000 0x200e470000 0x200e4b0000 0x200e510000 0x200e580000 0x200e5f0000 0x200e610000 0x200e640000 0x200e650000 0x200e700000 0x200e760000 0x200e770000 0x200e7a0000 0x200e7b0000 0x200e7c0000 0x200e800000 0x200e830000 0x200e840000 0x200e8c0000 0x200e8d0000 0x200e8f0000 0x200e950000 0x200e970000
Error (21 shaders end in
SelectU32 ? ?, 5 inSelectU32 0 ?):What the shaders do: the only read of the ancillary VGPR in the machine code is the first instruction,
v_bfe_u32 vN, v4, 16, 11(render target index). After that the shader uses v4 as an ordinary data register. The IR turns each later write to v4 intoSelectU32(cond, new, old), whereoldis still the raw ancillary word. In all 26 shaderscondstarts withIEqual32(HelperInvocation, 0), and some add data tests. In lanes wherecondis false, the raw word goes on throughPhiintoBitCastF32U32,FPMad32andPackFloat2x16Rtz, and from there toSetAttribute. Those readers use all 32 bits, so the word can't be rebuilt from the sample index and render target index alone.#1179 rebuilds the word from
SampleId << 8 | Layer << 16only when every reader extracts a range inside one of those two fields, and its TechnicalDebt entry says the rebuild is exact only because of that rule. #1934 extends the same rule to phis. Neither covers these shaders, and both still throw here, which is correct under #182.What modelling the other bits would need, per bit range of the RDNA 2 ancillary VGPR:
SampleIdandLayerbuiltins. Per #1179's TechnicalDebt entry, their equality with those builtins is inferred, not measured.FragmentSizeEXT/ShadingRateKHRreports the same value is unknown. Eye id would need a multiview view index, and whether a non-multiview draw always gives 0 is unknown. Bits 6, 12-15 and 29-31 have no documented meaning at all.Until the layout is known, these shaders keep failing with the error above.
AI-assisted: yes
Imported from boykopovar/AnyPS5. Originally posted by alfalfa-star on 2026-10-10T08:53:36Z.
Another title: LEGO Horizon Adventures (PPSA14632, UE5) hits the same error on
main6cc33583, for pixel shader 0x1900e51600 a few seconds after boot:Here it is fatal, not deferred. The game calls
sceAgcCreateInterpolantMappingon its own thread, which reachesDriver::ResolveShaderAbi→PrepareRegistered(..., false)→PrepareShaderWithDiagnostics. That path has no deferral, so the exception goes up through libSceAgc into game code andterminateruns:As a local stand-in, I catch the failure in
ResolveShaderAbi, mark the snapshotdeferredand record the key. The shader is then prepared at its first draw, and the title continues past it. Linux (Arch), RX 9070 XT, RADV.Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-10T11:44:03Z.
Another title: Kena: Bridge of Spirits (PPSA01746 v02.008.000, Unreal Engine 4) hits the same error. Two pixel shaders are refused at registration,
0x2009620000and0x2009660000, both ending in theSelectU32 ? ?form:Shortly after, the title faults with
write of 0x0atapp.exe+0x1c7a46b(access violation on a guest thread; no symbols). I have not established whether the missing shaders cause the fault.Before start-up the import audit (all 37 registries) shows 2215 unique imports, 972 implemented, 64 stubs and 0 absent, so the loader finds everything and this is the first stop at run time.
Windows 10 (19045), NVIDIA GeForce RTX 4080 SUPER, MinGW-w64 GCC 15.2.0 (WinLibs r7), Release. Libraries built on
mainatb5f5362dplus two unrelated stub exports (sceAudioOut2EnableChat,sceHttp2WebSocketSetPingInterval). Dump from my own digital copy; no game files shared. AI-assisted.Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-10T14:16:37Z.
Another title: Lies of P (PPSA10261 v01.005.001, Unreal Engine 4). One pixel shader is refused,
0x2015690000, with the same error:The title does not fault: it ran for 150 s while the shader cache filled (1773 shaders seen, 847 written), and the screen stayed black on the first frame. I have not shown that this one refused shader is the cause of the black screen; it was one of over 1700.
The import audit before start-up (executable and all 7 modules) shows 2103 unique imports, 896 implemented, 61 stubs and 0 absent.
I do not have a proposal for the missing ancillary bits: the hardware oracle cannot measure pixel-shader inputs, and I did not find the RDNA 2 layout in the sources I looked at (the LLVM AMDGPU usage page and a few searches of the Mesa and AMD material).
Windows 10 (19045), NVIDIA GeForce RTX 4080 SUPER, MinGW-w64 GCC 15.2.0 (WinLibs r7), Release. Libraries built on
mainat aboutba2a0a31plus some unrelated stub exports. The executable and modules were relinked from the ELF copies of the dump. Dump from my own digital copy; no game files shared. AI-assisted.Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-10T14:38:51Z.
RDNA 2 sources for the ancillary bits (the "taken from an RDNA 2 source" step in the description)
Three AMD-side sources cover every field of the ancillary VGPR except the eye id. None of them needs a console.
getPrimTypereadsancillary & 0x3with no GFX-level condition. The encoding is inLowerGlCompatibility.cpp: "comes from HW PS Input : ANCILLARY_ENA - Prim Type[1:0]"load_frag_shading_rate, used by RADV on GFX10.3 (VRS starts there). LLPCgetShadingRateasserts GFX10.3+. On GFX10.3 a rate of 1 means 2 pixels; 0 means 1 pixelload_sample_id; LLPCgl_SampleID = Ancillary[11:8]load_layer_id: 13 bits below GFX12The ISA table is section 3.5.4.1 "Pixel Shader VGPR Input Control" (pages 31-32) of the RDNA 3 and RDNA 3.5 guides. It gives the ancillary input as a 29-bit field:
RTA_Index[28:16], Sample_Num[11:8], Eye_id[7], VRSrateY[5:4], VRSrateX[3:2], Prim Typ[1:0]. The RDNA 2 and RDNA 1 guides have no such table, which is likely why it wasn't found before.What this changes:
AI-assisted: yes
Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-10T15:34:25Z.
Correction to my comment above. Two points were wrong or overstated.
HW_ORACLE.md), a GFX10.1-class part with ray tracing (Mesa: "GFX1013 is GFX10 plus ray tracing instructions"), not GFX10.3. Both VRS sources I cited apply only to GFX10.3 and later. LLPC'sgetShadingRateasserts GFX10.3+, and RADV exposes fragment shading rate only from GFX10.3. So for the PS5, bits 5:2 have no source.The GCN references are also a second AMD-authored source for prim type [1:0] and sample number [11:8], next to LLPC, which reads prim type with no GFX-level condition. PAL's ABI metadata describes the enable bit in the same words.
Corrected status for gfx1013:
GE_STEREO_CNTLandPA_STEREO_CNTLin the gc_10_3_0 headers, also present in gc_10_1_0), so an eye id there is plausible. But no source places it at bit 7 before RDNA3.This supports the description's point that these bits need a hardware measurement or a gfx1013 source.
AI-assisted: yes
Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-10T16:35:28Z.
A fix for part of this, needing no ancillary bit: AlxcBTW/AnyPS5#25 (
40a8a5a7), full fork CI green.In Taxi Chaos 2 (PPSA30279, Unreal) the refused pixel shader has the form from the description:
SelectU32(IEqual32(HelperInvocation, 0), rcp, ancillary). The write to the ancillary VGPR happens before any kill, so the condition is exactly "not a helper lane", with no data test.s_wqm, DPP, readlane or store, and only_lzimage ops. Every value derived from the word ends in a later exec select, a compare ANDed with exec before its ballot, or an export whose exec excludes helper lanes.MaskedSelectEliminatoris meant to drop exactly such a select, but it couldn't follow the exec phis the kill paths leave at block merges, or AND chains deeper than eight. With those added (phis outside loops, exec words paired per predecessor, depth 64), the select goes away. The word then has no reader left, so no bit of it is produced, and the gfx1013 layout question doesn't arise for these shaders.Covered: selects whose false lanes are never observed. That means helper-only conditions, plus data tests whose failing lanes are killed and never become active again.
Still refused: a false lane that becomes active again,
s_wqmhelper lanes feeding derivatives, uses inside loops, and walks that hit the visit limit. Those still need the layout.Tests: new
MaskedSelectandpixel_ancillarycases fail without the change. Non-GPU 446/446,agc_driver253/253 on an RTX 5070. All 54 dumped Taxi Chaos 2 requests now prepare. Compile cost: one 2008-word shader's front-end pass goes from 202 to 400 ms; the others change by a few ms.@fisherjoey @alfalfa-star @xXPBSXx, since the error text only prints the select's operands, could you check whether your shaders (Stray, LEGO Horizon Adventures, Kena, Lies of P) prepare with #25? The ones with data tests that you describe for Stray may stay refused, which would be correct.
AI-assisted: yes
Imported from boykopovar/AnyPS5. Originally posted by alfalfa-star on 2026-10-10T17:03:34Z.
@AlxcBTW I tested #25 (
40a8a5a7) on LEGO Horizon Adventures (PPSA14632) and Kena: Bridge of Spirits (PPSA01802).Setup: Linux, RX 9070 XT (RADV).
main57f96fd2+ #25, plus two local stand-ins: a shader that fails at registration orResolveShaderAbiis deferred, and a draw that throws is skipped. With them a refusal is logged instead of ending the title. Each refused shader was then replayed withagc_shader_replay.LEGO: still refused, because the walk hits
VisitLimit. It is the same single shader as without #25, reached throughsceAgcCreateInterpolantMapping→ResolveShaderAbi, with(used by SelectU32 ? ?).SelectU32(IEqual32(HelperInvocation, 0), BitFieldUExtract(x, 0, 11), ancillary). Its exec words areBallot(not helper) & Ballot(true).VisitLimitraised from 4096 to 8192 it prepares (112,570 SPIR-V words). At 16384 one more select goes (112,488). 65536 gives the same result as 16384.Kena: some prepare with a higher limit, and the rest are the loop case.
ImageSampleRaw); the other 4 have no image ops.So a higher visit limit, or one that scales with the program's size, would cover LEGO and 6 more Kena shaders. The rest of Kena needs the loop case. I can share the LEGO
.reqif it helps.AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-10T17:05:52Z.
@alfalfa-star thank you, that's exactly the data I was missing. I'll make the visit limit scale with the program instead of a fixed 4096, measure the compile cost, and check whether exec phis on back edges (Kena's remaining 10) can be proven with a loop-invariant rule or have to stay refused. I'll post here when the branch is updated.
AI-assisted: yes
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-10T17:53:44Z.
A third title: Returnal (PPSA01285 v03.000.005, Unreal Engine 4). With the missing exports of #2872 and
pthread_attr_setsolosched_np(#2658) applied locally, it reaches shader compilation on Windows and then aborts, not only refuses one shader:Over about 8 minutes, 6 shaders were refused with the ancillary error (5 with
used by SelectU32 ? ?, 1 withused by SelectU32 0 ?) before the abort above. 0 frames were presented. The abort comes from an uncaughtstd::runtime_error, so in this title a refused shader that is later needed ends the process, where Lies of P only stayed on a black first frame.I have no new information about the missing bits; the comments by AlxcBTW above are the status I know of.
Windows 10 (19045), NVIDIA GeForce RTX 4080 SUPER, MinGW-w64 GCC 15.2.0 (WinLibs r7), Release. Dump from my own digital copy; no game files shared. AI-assisted.
Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-10T18:24:00Z.
@alfalfa-star #25 has two new commits, head
8577b640.Visit limit (
49b43efc). A walk now stops after max(4096, 2 × instructions) steps instead of 4096 visited values. A step is a value visited or an implication evaluated for the first time. The walk only visits values derived from the select, so it can't stop before it has seen all of them, and LEGO's ~10,250 derived values fit with room to spare. A walk stays linear in the program. I also made the walk cheaper, mostly by replacing two hash sets with tables indexed by id, so the larger limit doesn't cost compile time.Loops (
8577b640). In your Kena data the walk gave up at the first use inside a loop before any exec phi was checked. So it now follows uses into loops. A loop phi implies the write's exec if every incoming value does, with the phi assumed to imply it while its back-edge values are checked. Two conditions keep this sound: the write's exec must be computed outside any loop, and results that relied on an assumption that failed are thrown away. A lane that becomes active again inside the loop and reads the value still keeps the select. Loops that never change exec only need the first part.Time in the pass per prepare on our 54 Taxi Chaos 2 requests (median of 3, one run):
5edae35340a8a5a749b43efc8577b640The loop commit costs more on shaders with loops because walks go further. It also removes many more masked writes in Taxi's compute shaders with loops, e.g. 207 instead of 36 in one.
Could you retest LEGO and Kena on
8577b640? Some Kena shaders may stay refused, and that would be correct: helper lanes feed derivatives, so a select stays wherever the word reaches an implicit-LOD sample.@xXPBSXx Returnal's six refusals look like the same form. If you have time, could you try #25 at
8577b640(https://github.com/AlxcBTW/AnyPS5/pull/25)? Full fork CI is green.AI-assisted: yes
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-10T20:02:19Z.
@AlxcBTW Returnal (PPSA01285 v03.000.005, Unreal Engine 4) on #25 at
8577b640: it helps, and the title now presents frames and shows its first logo, but it still aborts at a refused shader.Registered pixel shaders refused with
packed pixel ancillary input has an unsupported live use (used by SelectU32 ? ?), same dump, same machine, run onmainplus #2872 and #2658 and then with #25 on top:0x2024380000,0x20243c0000,0x20243e0000,0x2024370000,0x20244a0000,0x2026c600000x2024370000,0x20244a0000,0x2026c60000CFG shared merge splitting exceeded budget: originalBlocks=19 currentBlocks=95 splitBudget=760x2023c300000x2023c30000So 3 of the 6 now prepare (
0x2024380000,0x20243c0000,0x20243e0000; the last one wasSelectU32 0 ?before). The other 3 keep the same message.What I saw on screen: in my first run without #25 the window stayed black and showed no frames. With #25 the window title shows
Returnal | FPS: 22.21 (310), so frames are presented. After about 1 to 2 minutes the title's first logo appeared on screen, and then the window went black again. Then the title aborts withstd::runtime_error: ... packed pixel ancillary input has an unsupported live use (used by SelectU32 ? ?)from a shader whose address the log does not show: after about 3 minutes on a cold shader cache, and after about 2 minutes on the second run with the cache filled (13152 hits, 3 misses).The error text only prints
?for the operands, so I cannot say from my side which of your three still-refused cases these are (a false lane that becomes active again,s_wqmhelper lanes feeding derivatives, a use inside a loop, or the visit limit). If you want, tell me a debug switch or log line that prints why the walk gave up and I will run it. I will not post the shader binaries from the log, since they are game data.Correction to my earlier comment here and on #2872: I wrote that Returnal ran for about 8 minutes with 0 frames presented. I took that from the log, which has no frame counter, and I had not looked at the window title, so I do not know the frame count for that run.
Windows 10 (19045), NVIDIA GeForce RTX 4080 SUPER, Release. Dump from my own digital copy. AI-assisted.
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-10T20:19:49Z.
@AlxcBTW I replayed the Returnal shaders that #25 (
8577b640) still refuses, withagc_shader_replayon the dumped requests, and printed why the walk keeps the select. Each of the 3 refused pixel shaders has exactly one select that reads the ancillary word (GetBuiltinkind 7):0x2026c60000IEqual32(HelperInvocation, 0)ImageRead("user is not lane-local")0x2024370000INotEqual32(BitwiseAnd32(ShiftRightLogical32(...), 1), 0)SetAttribute0x20244a0000SetAttributeThe first one is the helper-only form from your description, and it is refused only because of the user.
ImageReadhas a trailing exec argument like the buffer loads inreadsOnlyWhereActive, but it is in neither that list norisLaneLocal. With one line inreadsOnlyWhereActive(case IrOpcode::ImageRead:) the walk follows it like the buffer loads: the select is dropped only when the read's exec implies the select's mask.0x2026c60000then recompiles (43086 SPIR-V words inagc_shader_replay).In the game, with that line on top of #25 the refused list goes from 3 ancillary shaders to 2 (plus the unchanged CFG-budget one), and the title still aborts with the same
SelectU32 ? ?error after about 3 minutes, so it does not get the title through by itself. One observation from the window, from a single run each: with the line, the platform logos appeared before the title's own logo, which they did not in the runs on #25 alone. I cannot say that this comes from that one shader.A test for it in
MaskedSelect.cpp(theguardedhelper withImageRead, same exec drops the select, wider exec keeps it) fails without the line and passes with it;agc_masked_selectandpixel_ancillarypass. I have not run the fullctest.The other two have a data test as mask and an export (
SetAttribute) as user, and the walk cannot prove that the export's exec implies the mask. That is the case you describe as still needing the layout (a false lane that becomes active again), unless those lanes are killed before the export; I did not check that in the IR. The refusal withCFG shared merge splitting exceeded budget(0x2023c30000) is a different problem and unchanged.I have not opened a PR; the line is on top of #25 and touches the same function, so I leave it to you whether to take it. If you want the patch, say so and I will post it as a diff here.
Windows 10 (19045), NVIDIA GeForce RTX 4080 SUPER, Release. Dump from my own digital copy; no shader data posted. AI-assisted.
Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-10T21:34:34Z.
@xXPBSXx thank you, the replay table is exactly what was missing.
I took your
ImageReadline and your test, with you as co-author: AlxcBTW/AnyPS5#30, branchfix/ancillary-image-read, commit93fa6f8b(the test fails without the line). The branch sits on #25 (8577b640) and has two more commits:f06a28f4checks the other image ops the same way.ImageWritejoins the exec-guarded list (the emitter stores only under its exec), and gathers with their own LOD andImageQueryDimensionscount as lane-local. Implicit-LOD samples and gathers,ImageQueryLod,ImageBvhIntersectRay(it ignores its exec operand) and the atomics stay refused.90269d7badds the reason switch you asked for,APS5_TRACE_ANCILLARY=1. For every select that keeps the ancillary word it prints[ancillary] shader 0x... select #N kept, <reason>: ..., and for the refusal itself[ancillary] shader 0x... live-use: ...with the shader address, so the abort after 3 minutes names its shader too. The error text now lists the operands instead of? ?. The switch works in-game and inagc_shader_replay.About
0x2024370000and0x20244a0000:INotEqual32(BitwiseAnd32(ShiftRightLogical32(X, A), 1), 0)is also what the translator emits for one lane's bit of an exec mask, withA=BitwiseAnd32(LaneId, 31)andXan exec word (in wave64,SelectU32(ULessThan32(LaneId, 32), low, high)). If that's what yours are, each select is a masked write inside a branch, not a data test, and there are three cases:Ais a constant and it's a real data test on the word), and the export after the merge writes the word in the other lanes on hardware as well. This one can't be dropped and needs the layout.Could you run those two in the replay with
APS5_TRACE_ANCILLARY=1and paste their[ancillary]lines? They contain only value ids and opcodes, no shader data. They show the mask down to its shift amount and word, the export's exec and where the proof stopped on it, and the select the value passed through and in which arm, which decides between 1, 2 and 3. If 2, I'll add the rule.For
0x2023c30000(CFG shared merge splitting exceeded budget): AlxcBTW/AnyPS5#24 (fix/structurizer-loop-exit-merge) fixes shapes of that kind from #2642 and merges cleanly with #25 and this branch. It may be worth stacking it; I can't say whether it covers this shader.AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-10T21:36:53Z.
A fourth title with the same stop: Demon Slayer -Kimetsu no Yaiba- The Hinokami Chronicles (PPSA03490 v01.000.000, Unreal Engine 4). Once its seven missing
sceRudp*imports are handled (local branch, not inmain), it starts, opens its/app0/apk/...files, creates its threads and registers shaders, and then aborts after about 34 seconds:Before that, 5 pixel shaders were refused at registration with the same error, all of the
SelectU32form (one of themSelectU32 0 ?). The log also has 6 lineshas unsupported registered shader type 8; it is not prepared at registration, which I have not looked into.I have not tried #25 on this title yet. Returnal, Lies of P, Ad Infinitum and now this one all stop at this error, so they could be used as test cases for any change to it.
Windows 10 (19045), NVIDIA GeForce RTX 4080 SUPER, Release. Dump from my own digital copy; no game files or shader data shared. AI-assisted.
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-10T21:40:49Z.
Replay result for the five Demon Slayer shaders (PPSA03490) that were refused with the ancillary error (see my comment above), run with
agc_shader_replayon the requests from the log, onmainplus #2872 and #2658, with #25 at8577b640and one more line,case IrOpcode::ImageRead:inreadsOnlyWhereActive(the change from my earlier comment, with a test):SrtWalker::EvaluateRuntimeSources(ReadConst(GetSrtResource, ...)where the slot isLoadAddressU32(GetAddressResource(GetUserData, GetUserData))). That error comes from the replay tool: the saved requests have all 30 user data dwords at 0, so the runtime sources cannot be evaluated offline. It says nothing about the game, where those values exist.0x200ced0000) still fails withpacked pixel ancillary input has an unsupported live use (used by SelectU32 ? ?). I have not looked at why; for the two Returnal shaders that stay refused, the select mask was a data test and the user an export (SetAttribute).I have not run this in the game yet (the title needs its start-up imports first), so I do not know whether it gets past the abort. I will post the in-game result here.
Windows 10 (19045). No shader data shared. AI-assisted.
Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-10T21:42:15Z.
@xXPBSXx thanks, 4 of 5 is a good sign, and you're right that the
EvaluateRuntimeSourcesstop is the replay's zeroed user data, not the game.For
0x200ced0000and the two Returnal shaders: AlxcBTW/AnyPS5#30 is #25 plus yourImageReadline (with you as co-author) and theAPS5_TRACE_ANCILLARY=1switch from my comment above. With the switch on, the replay prints one[ancillary]line per kept select with the reason and the mask's form, which tells us whether these are the export-after-branch case a new rule can drop, or a real data test. Only the[ancillary]lines are needed.AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-10T21:45:53Z.
Correction to my replay comment above, with the in-game result for Demon Slayer (PPSA03490).
The replay result was misleading: for
0x200ce10000,0x200ceb0000,0x200cf70000and0x200cfd0000the replay stops inSrtWalker::EvaluateRuntimeSourcesbecause the saved requests carry zero user data. That error comes before the ancillary check there, so it hid the ancillary error rather than showing that it was gone. I should not have written that 4 of 5 pass the check.In the game, with #25 at
8577b640pluscase IrOpcode::ImageRead:inreadsOnlyWhereActive, plus thesceRudp*imports the title needs, onmainplus #2872 and #2658:0x200ce10000,0x200cf70000and0x200cfd0000are now prepared;0x200ceb0000and0x200ced0000are still refused withused by SelectU32 ? ?.So the changes help three shaders of this title and do not get it through. For the Returnal shaders that stay refused the select mask was a data test and the user an export; I have not checked these two yet and will look at them in the game next.
Windows 10 (19045). No shader data shared. AI-assisted.
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-10T22:00:19Z.
In-game diagnosis for the Demon Slayer shaders that stay refused (PPSA03490), on #25 plus the
ImageReadline. I added temporary prints toMaskedSelectEliminator(local only, per thread) that say why the walk keeps a select whose operand is the ancillary builtin (GetBuiltinkind 7), and ran the title:SetAttribute(export); there is no other blocking user in this run.SelectU32(INotEqual32(...), PackFloat2x16Rtz(...), Phi(...))and components 2 and 3 are the constant 0. ThePhiis where the ancillary-derived word comes from, so the raw word reaches render target 0 for the lanes where theINotEqual32is false.That is the same shape as the two Returnal shaders that stay refused (export 0, two channels, a data test as condition). So with #25 and
ImageReadthis title ends at the same point as Returnal: what is left needs the gfx1013 layout, or a reason why the output of those lanes is never used, which I cannot show from the shader.A correction to my own process: a first version of these prints used a global flag, and with several shaders compiling at once it attributed
ImageWriteandBallotblockers to the wrong shaders. I discarded that result, and I am not proposing anything forImageWrite.Windows 10 (19045). No shader data shared. AI-assisted.
Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-10T23:04:38Z.
@xXPBSXx thanks for the in-game diagnosis, it settled the question. Export 0 has two channels that select between a packed value and a phi carrying the word, with a data test as the condition. That's the case where only one arm writes the register: on the console those lanes really do export the ancillary VGPR, so no masked-select rule can drop it. I've set aside the both-arms rule I was writing, because it can't help with this shape.
Instead, AlxcBTW/AnyPS5#30 (branch
fix/ancillary-image-read, commit15b3e08b) no longer refuses these shaders. Any use the masked-select pass keeps now gets the whole word:Every other bit is zero.
Why the word is determined for these draws:
A device test exports the word from a draw and reads back 2, 3 and 1 for triangle, rectangle and line (RTX 5070).
Could you try Returnal and Demon Slayer on this commit? If they get past the abort, the next run will show whether anything visible depends on those lanes. With
APS5_TRACE_ANCILLARY=1, each shader that gets the word prints[ancillary] shader 0x... whole word for <uses>, so you can see which ones they are. TheCFG shared merge splitting exceeded budgetrefusal in Returnal (0x2023c30000) is a separate problem and isn't covered by this; #2471 (heada396b019, which now carries #24 plus the guarded shared-exit repair) is the one to stack for it.AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-10T23:58:20Z.
For reproducibility: the
MaskedSelectEliminatorchange I mentioned for Record of Lodoss War (anImageReadcounts as a use that only reads where its exec is active, with a test inMaskedSelect.cpp) is on its own branch on currentmain: https://github.com/xXPBSXx/AnyPS5/tree/fix/agc-masked-select-image-read (themaskedctest targets pass; conventions check passes).With it, the
register 0x205bit-16 change (#3163) and the library-skip branch from #2591, Lodoss reaches the main menu with music on Windows. I have not shown that each of the three is required on its own, and I only looked at the menu.AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-11T00:00:44Z.
@xXPBSXx congratulations on getting Lodoss to the menu with music.
Your branch makes the same one-line change as
93fa6f8bin AlxcBTW/AnyPS5#30, where you're credited as co-author for the Returnal finding. Yours stands alone on currentmainand the finding is yours, so please open it as the PR. I'll then drop93fa6f8bfrom #30 and list your PR as a dependency, so there's only one copy of the rule.AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T00:15:25Z.
@AlxcBTW thank you. I can't open it as a PR right now: the intake workflow closes PRs from authors with fewer than 10 merged PRs, and I have one. So the branch https://github.com/xXPBSXx/AnyPS5/tree/fix/agc-masked-select-image-read (commit
6f9f48d7, one rule line plus a test) stays a branch for the time being.If it's easier for you to keep the line in #30 until a PR is possible, that's fine with me; or a maintainer can cherry-pick
6f9f48d7and keep me as its author. I'll raise a PR for it once that's allowed, and tell you here so you can drop your copy.AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-11T00:17:37Z.
@xXPBSXx understood. I've kept the line in #30 and added a note to its description: your
6f9f48d7is the original, and whoever carries #30 should take your commit, with you as author, instead of mine. Once you can open your PR, I'll drop my copy.AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T00:43:54Z.
Another title with this error: Lies of P (PPSA10261) on Windows. With a stack of my own branches (no audit gaps) it plays its splash movies for the 120 s I ran it, and 16 pixel shaders fail at registration with
packed pixel ancillary input has an unsupported live use: 12 times(used by SelectU32 ? ?)and 4 times(used by SelectU32 0 ?). No other error in the log.I did not check which of these are covered by the open ancillary work here, and did not look at the window beyond the log, so I can not say what the failed shaders do to the picture.
AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T00:47:32Z.
One more data point: Ad Infinitum (PPSA10600) on Windows, same local stack, no audit gaps. It runs for the full 100 s I allowed and writes its settings files; 27 pixel shaders fail at registration with
packed pixel ancillary input has an unsupported live use(22 timesused by SelectU32 ? ?, 5 timesused by SelectU32 0 ?, the same two shapes as in Lies of P above). No other error line in the log. I did not look at the window.AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-11T00:48:10Z.
@xXPBSXx all 16 should be covered by AlxcBTW/AnyPS5#30. Both messages,
SelectU32 ? ?andSelectU32 0 ?, are selects the masked-select pass keeps, and #30 gives any such use the whole word instead of refusing the shader.I've merged current
maininto the branch, so it applies without conflicts:fix/ancillary-image-readatd7fc51c8. WithAPS5_TRACE_ANCILLARY=1, each of those shaders prints[ancillary] shader 0x... whole word for <uses>. If any still fails, the same switch prints the reason in a second line.Lies of P is UE4 like Returnal and Demon Slayer. If its splash movies or the menu look wrong once those shaders compile, that tells us whether something visible depends on the word's unmodelled bits.
AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T01:10:01Z.
@AlxcBTW I ran Lies of P (PPSA10261) on Windows with
fix/ancillary-image-readatd7fc51c8merged into currentmain(06da1176) plus my window-offset bit change (#3163),APS5_TRACE_ANCILLARY=1, same 120 s run as before.Result: 0 shaders fail at registration with the ancillary error (was 16). Everything else in the log looks like the earlier run: about 2170 shaders compiled, then the splash movies open (the
Bink: Mismatched number of tracks opened.lines appear in both runs). The title is still in the splash movies at 120 s, and I did not look at the window, so I can not say whether the picture is right.One thing I did not see: no
[ancillary]trace line in either the out or the err log, so I can not confirm from the log that each of the 16 went through your whole-word path rather than being avoided another way. I only know the failures are gone.AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T01:11:35Z.
Same setup (
d7fc51c8merged intomain06da1176, plus #3163) with Ad Infinitum (PPSA10600): 0 ancillary failures (was 27). The title now goes further and stops on the other known error,compute shader 0x200ac30000: AGC graphics: storage image access to depth/stencil surface 0x20c41f0000 is not implemented(the one tracked in #1409). Nothing else in the log.AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-11T01:12:50Z.
@xXPBSXx thanks, that's a clear result for both titles. No trace lines at all is expected in your case. It means the masked-select walk dropped every one of those selects, so the whole-word path never ran:
whole word for ...only when a use reaches the whole-word composition, andselect #N kept, <reason>only for a select the walk keeps.mainalready lowers.ImageReadand image-op rules. So for Lies of P and Ad Infinitum, those rules fixed it, not the whole word, and the unmodelled bits of the word aren't involved.Silence is ambiguous, though, so I'll add a trace line for dropped selects as well.
For Ad Infinitum's next stop: storage image access to a depth/stencil surface is what #425 (depth surfaces read as textures and storage images) and #2076 (storage images over a depth surface's stencil plane, on top of #425) implement. My Sword of the Sea stack runs both, and that error doesn't come up there any more.
AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T01:53:16Z.
Two more titles with the same setup as above (
d7fc51c8merged intomain06da1176, plus #3163), both Unreal Engine, both no audit gaps:used by SelectU32 ? ?, 3 ×SelectU32 0 ?); with the branch 0 fail, and the title ran the 90 s I allowed with no error line.write of 0x0atapp.exe+0x1c7a46b, same address before and after); I will look at that separately.So with
d7fc51c8I have now run four titles (Lies of P, Ad Infinitum, PPSA02100, Kena), and none leaves an ancillary failure behind. The earlier Returnal, Demon Slayer and Lodoss results were with earlier states of the branch, not with this one. I did not compare the picture.AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by fma-rc on 2026-10-11T03:09:11Z.
Linux and NVIDIA runs of
fix/ancillary-image-readat 01a766d4 merged ontomain961b25fe(RTX 5080, driver 615.78, GCC 16.2.1), one 90 s run each with and without the branch, including LEGO Horizon Adventures, which I don't see reported here yet. Counts are log lines with the ancillary error.mainSelectU32 ? ?, 5SelectU32 0 ?), aborts on it at 60 sNo other error line appears in the three branch logs. I have not looked at what the titles show on screen.
Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-11T03:41:54Z.
@oneandonlydean thanks to the testing in this thread, the pixel ancillary work is ready to carry. I can't open it upstream myself because the intake rule closes PRs from authors with fewer than 10 merged, so: would you carry it?
Branch:
carry/pixel-ancillary(AlxcBTW/AnyPS5#37), 8 commits on currentmainwith no merges, PR text ready in the description:6f9f48d7, kept with them as author: an image read is a use that only reads where its exec is active;APS5_TRACE_ANCILLARY=1names each select dropped or kept, with its reason, and prints one summary per shader.Titles, measured on AlxcBTW/AnyPS5#30, which is the same code:
main→ branchCI on the carry branch: run 38108161129. Windows passes 763/763. Linux fails only
agc_unit_shadow, whichmainalso fails (#1429, fixed by your #3226).AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-11T05:06:30Z.
Carried the first five commits (the masked-lane proofs, xXPBSXx's commit kept as theirs) as #3279.
The other three stay out for now:
APS5_TRACE_ANCILLARYis an environment switch, which isn't accepted here, and the whole-word commit adds a draw-state constant to the shader keys, which needs the owner's OK. The word's bit layout comes from the RDNA 3 guides; a measurement on gfx1013 would help that part.Imported from boykopovar/AnyPS5. Originally posted by Rohan03x on 2026-10-11T05:26:31Z.
Another title, and a data point for the whole-word commit: Palworld (PPSA23126 v01.102.999, Unreal Engine 5), Windows 11 22621, RTX 3070, GCC 15.2.0 UCRT Release.
On main
06da1176(plus local changes outside the recompiler that the title needs to reach rendering) it presents about 430 frames and then aborts on one pixel shader,0x1b40e5c000(3,708 words):packed pixel ancillary input has an unsupported live use (used by SelectU32 ? ?).Offline replay of the dumped request with
agc_shader_replay:06da11760467f908(#2881 NaN select)fix/ancillary-image-readat01a766d4It is the VGPR-reuse shape (
v_bfe_u32 v4, v2, 16, 11first, v2 overwritten at 0x20). The masked-lane proofs cannot drop its select; the trace on AlxcBTW's branch says:So for this title the whole-word commit is what compiles the shader. The 12 compute requests dumped in the same run compile on all four trees; three of them come out smaller on AlxcBTW's branch.
In game with AlxcBTW's branch: the abort is gone, the title issues about 457 draws in ten seconds, and then stops at
AGC graphics: color views of several array slices are unsupported(#2102). I have no evidence either way on whether the composed word renders correctly.ctest on that branch here: 764 tests, one failure (
guest_filesystem, which also fails on unmodified main on this machine). AI-assisted: yes.Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-11T05:29:32Z.
@Rohan03x thanks, that's exactly the data point that was missing. You checked offline that main, #2881 and #3279 all still refuse it, and that only the whole-word commit compiles it.
Following Dean's notes above, I'm reworking the whole-word part as a follow-up on top of #3279. It will have no environment switch. The primitive class will be read at run time from per-draw data, so the shader keys and the request format stay as they are. Palworld's
0x1b40e5c000goes into its tests if the request can be shared; a replayable request file attached here would be enough. The open question is still the bit layout on gfx1013, and a hardware measurement is what would settle it.AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-11T06:06:38Z.
A correction to what I wrote above about the whole-word follow-up. I said the primitive class would be read at run time, with the shader keys and the request format unchanged. That doesn't work cleanly. Nothing the fragment shader receives carries the class today, and rect lists are drawn as tessellated triangles, so no builtin can tell a rectangle from a triangle. A run-time value would mean an extra dword in the pixel shader's push-data block, patched per draw. That changes the push-data layout and adds a load per pixel wave, and I didn't want to trade that for the key change.
So the follow-up, AlxcBTW/AnyPS5#39 (one commit on #3279's head), keeps a specialization constant, the way #1492 does for dual-source blend:
CI on it: Windows 766/766. Linux 761/762, failing only
agc_unit_shadow, which #3226 fixes.@oneandonlydean, for the gfx1013 measurement:
tools/hw-oracleonly runs compute kernels, and the ancillary VGPR exists only in pixel waves. One route that works with existing software is AMDVLK's pipeline ISA replacement on an RDNA 1 or 2 card. The pixel shader's extract of the sample bits gets patched into a plain move of the raw word, which is then read back per topology and layer. I'll post the exact steps as a help-wanted comment if that would be useful. A rect list can't be drawn through Vulkan, so rectangle = 3 can only be confirmed on a PS5 itself.AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by Tamalero on 2026-10-11T10:09:57Z.
High on Life (PPSA15388 v01.120.000, Unreal Engine 4) is another title with this error. 30 pixel shaders fail at registration with
packed pixel ancillary input has an unsupported live use (used by SelectU32 ? ?), and the first one drawn, right after a level finishes loading, aborts the run.#3279's five commits plus @AlxcBTW's AlxcBTW/AnyPS5#39 fix that: all 30 now compile, with no ancillary errors in 8 runs. But the run then stops at the same moment in a new way. In 6 of 8 runs the GPU hangs (NVIDIA
Xid 109 CTX SWITCH TIMEOUT, thenVK_ERROR_DEVICE_LOST). The other 2 abort withruntime image descriptor is invalid(details below). I couldn't pin the hang to a shader, but it doesn't look like it's in the 30 shaders themselves:APS5_LOOP_GUARD=4096, no loop guard trips. I also gave every shader a fault buffer locally, so a trip would be reported.So my guess is that the new masked-lane proofs change some other shader in this title. I haven't bisected between #3279 and #39. That needs more runs than I could do today.
Details and logs
Setup: CachyOS (Linux 7.2), RTX 4090 (NVIDIA 615.78, 32-lane subgroups), GCC, Release.
mainf5c0fe00plus my local integration patches and ports of #423/#1077, #425, #454, #2904, #3202 and AlxcBTW/AnyPS5#33. #3279's five commits and #39 cherry-pick onto that. The only conflict is #39's request serializer version, because my #1077 port already uses version 16.The hang:
SelectU32 ? ?)runtime image descriptor is invalidAPS5_LOOP_GUARD=4096The 30 shaders all start with the VGPR-reuse shape (
v_bfe_u32 v1, v4, 16, 11, layer index from the ancillary word), and 15 of them contain a backward branch.The descriptor abort, from a local diagnostic that prints the words:
The first four words decode as a sampler (clamp 2/2/2, max LOD 0xfff, filter bits), not an image, so the shader read an S# where it expected a T#. It is thrown from
processFlip, so I don't know which shader read it.Tested and written by Claude (AI assistant) on a contributor's machine.
Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-11T10:12:58Z.
@Tamalero thanks, that's a careful report. The masked-lane proofs in #3279 come from my branch, so I'm treating the hang as mine until it's ruled out.
I'm reviewing the loop and exec-phi proofs (
98f99d388,c2a48416b) for a case where a lane is masked inside a loop but reads the value after exec is restored. That would leave a stale value in the lanes that come back. Your descriptor abort fits that: an S# read where a T# was expected. A stale loop count in a later loop could also hang the GPU without tripping the guard on the shader you skipped.One run would split it: current
main(it has #3279) without #39, with the 30 ancillary shaders skipped. If that hangs, it's #3279; if it doesn't, it's #39. I'll post what I find.AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-11T11:10:04Z.
@Tamalero one correction to what I suggested above. In your "without, all 30 skipped" run, the abort comes while the first ancillary draw is prepared, before your skip runs. So that run never got past the moment where the others hang, and it can't tell us whether the six commits cause the hang. The run I asked for (
mainwithout #39) would stop the same way.A split that works: skip the 30 before they are prepared (for example by program hash at registration), then compare
mainfrom before #3279 withmain+ #39. If both hang, the hang is in something that only runs after that moment, not in the proofs. If only the second hangs, it's ours. I'm auditing the proofs in the meantime either way.AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-11T12:29:33Z.
@Tamalero I checked the masked-lane proofs from #3279 (with AlxcBTW/AnyPS5#39) for a case where a lane that is masked at a write later reads the value, and found none.
MaskedSelectcases give the expected result. They cover exec restored after a loop, nested latches, kill chains past the depth limit, readlane/writelane, wave64 halves and walk-limit exhaustion.To check High on Life directly, the branch AlxcBTW/AnyPS5
diag/masked-lanes-ab(onmain2ac9f1b31, diagnostic only) adds two switches. Both needANYPS5_NO_SHADER_CACHE=1:APS5_MASKED_LANES_TRACE=1lists the programs where the new proofs remove selects that the old rules kept.APS5_MASKED_LANES_LEGACY=<addresses>|all[,!address]runs the old rules for those programs. On that corpus,allmatchesc757e8eaabit for bit.If the trace shows only your 30 ancillary shaders, the proofs don't touch anything else in this title, and the hang is elsewhere. If other programs show up,
LEGACY=all,!<the 30>tells whether they are the cause.AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by queeeef on 2026-10-11T17:21:48Z.
Palworld (PPSA23126, 01.102.999, Unreal Engine) hits this on current
maina11c8f7f7(which has #3279), fatally:One pixel shader,
0x1b40e70000: 3708 code words, 8 user data, 2 memory regions, wave64. It is the only refusal among the requests dumped withAPS5_DUMP_SHADERS=1up to that point.agc_shader_replayof that request:maina11c8f7f7: the error above;main+ #3739 (which contains #3391's commit):recompiled: 236192 SPIR-V words.In the title, #3739 gets past it and the next stop is the color-view refusal of #2102. I did not try #3391 alone. Full list of Palworld stops in #2648.
Windows 11 Pro 26300, RTX 2080 Ti (subgroup 32), MinGW-w64 GCC 15.2.0 (WinLibs r7), RelWithDebInfo. AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-11T18:37:01Z.
Lies of P (PPSA10261) on current
maina11c8f7f7, Windows 10, RTX 4080 SUPER, relinked from the decryptedeboot.bin.esbak(7 modules, 0 absent imports), one 150 s run: no abort and nopacked pixel ancillaryfailure. The log has 3could not be prepared at registration (its program address is not in the shader registers); preparing it when it is usedlines and then only disk-cache lines; at the end the shader disk cache reports 1810 hits, 271 misses and 270 writes, so shaders are being prepared while it runs. I only read the log: I did not check the picture, the frame rate or whether it goes past its first screen.AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by ThatsLeo on 2026-10-11T18:42:56Z.
One more shape behind this error, still failing on
main8ec0e131after #3279. It is Stray's pixel shader0x2012f90000(PPSA02101 v01.002), and the error is:It fails with any masked-lane budget, and also with #3550's budget lifted. The title reaches it a while after its first screen, intermittently, and the render thread stops there. My replay in #2881 covered the 41 requests I had then, and this shader was not among them.
The shape
The shader starts with
s_wqmand overwrites the ancillary VGPR under the resulting EXEC:%51gates 357 selects. The word survives only where a lane's bit ofs_wqm(starting lanes)is clear: lanes whose whole quad has no non-helper lane. Vulkan never starts such a quad, since helper invocations exist only beside a covered one. So%51is true in every invocation the host runs, and the masked-lane walk can't prove it, because it reasons about lanes that do run.Fix:
ThatsLeo/AnyPS5:fix/shader-live-quad-lane-bit(one commit,2068089b, onmain8ec0e131).ConstantFolderfolds a pixel shader lane's own bit ofWqmU64to true when its operand holds every starting lane. The operand counts as holding them when it is built from ballots oftrueorHelperInvocation == 0, combined with&or|. Each ballot must be taken in a block that every starting lane runs: the entry, then blocks with one successor, each reached only from the one before.Tested
pixel_ancillary: the folded case, plus the three cases above that must stay unfolded.main(agc_driver_emulated_color_compareandagc_driver_vop1_float_unaryon Arc;agc_driver_emulated_color_compareandagc_driver_image_plane_address_on_line_implicit_lodon lavapipe).0x2012f90000compiles, and its SPIR-V passesspirv-val.main.s_wqm, and they passspirv-val.mainplus #3550 at 128x, no longer hits this error. It got past the brightness calibration, until memory ran out at about 275 s.@queeeef your Palworld shader
0x1b40e70000may be the same shape: does it start withs_wqm? If you can, a run with this branch would tell.AI-assisted: yes.
Imported from boykopovar/AnyPS5. Originally posted by Tamalero on 2026-10-11T22:13:49Z.
@AlxcBTW follow-up and a correction: the High on Life hang is not caused by #3279 or #39. Sorry for the false lead.
What I had wrong is that the build without them never reached the moment where the others hang. This title also streams in ancillary pixel shaders with the level (e.g.
0x2118990000), on top of the 30 it registers at boot. Those are prepared synchronously insidesceAgcCreateInterpolantMapping(ResolveShaderAbi→PrepareRegistered). Without #39 the refusal is thrown into the title's loading thread and aborts there. My skip ranges never covered those shaders, so that build always ended earlier.With that refusal tolerated locally (the shader is left unprepared and its draws are dropped), the build without #3279/#39 hangs the GPU at the same moment as the others: right after the level's music starts,
Xid 109 CTX SWITCH TIMEOUT, thenVK_ERROR_DEVICE_LOST(1 run).Your
diag/masked-lanes-abcommit cherry-picks cleanly onto my tree:APS5_MASKED_LANES_TRACE=1: many programs outside the ancillary shaders have selects removed beyond the legacy proofs (hundreds of lines in the first minutes, e.g.2030c00000: 39 selects removed, 25 of them beyond the legacy proofs).APS5_MASKED_LANES_LEGACY=allwith the ancillary address range excluded (I addedlo-hiranges locally): it still hangs (1 run).All three runs point the same way: the hang is somewhere else in that level, and I'll chase it separately. For this issue, #3279 + #39 compile every ancillary shader High on Life has given me so far, the 30 at boot and the level's.
Tested and written by Claude (AI assistant) on a contributor's machine.
Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-11T22:14:47Z.
@Tamalero thanks for running it down to the end, and for saying so clearly. That clears #3279 and #39 for the High on Life hang, and it's good to know they compile all of its ancillary shaders, the level's streamed ones included. #39 is upstream now as #4031 (rebased onto
main); your result belongs in its title list, and I'll add it. Good luck with the Xid 109 hunt. If it points back at shader preparation, ping me.AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T00:13:44Z.
Lies of P (PPSA10261), Windows,
maina672688e9+ #4021 + #3799 + #425 (f470ffaa2), relinked from the.esbak, 150 s: no stop. NoFATAL, nowhat()and nopresentation failedline in the log; it prints threecould not be prepared at registration (its program address is not in the shader registers); preparing it when it is usedlines and nothing else besides shader-disk-cache progress. Theunsupported registered shader type 8lines seen on other titles do not appear in this run.Where the message comes from:
core/libs/prx/libSceAgcDriver/Execution/src/Driver/Shaders/ShaderRegistry.cpp:603, inPlanRegistered. When a shader is registered ahead of use, the driver looks for the entry-point address of the shader's program register pair (programRegister,programRegister + 1) in the registered state; if either is missing it calls the localdefer(...)(which logs the line throughAPS5_LOG_ERR, sets*deferred = true, and returns no plan) so the shader is prepared at the draw or dispatch that uses it instead. So by the code it is a deferral and not a failure. I have not checked that these three particular shaders were later used and compiled in this run, so I only call it harmless as far as this log shows.AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T06:10:59Z.
Long run for Lies of P (PPSA10261) on
maind0ca839cc, 240 s under the game lock, relinked from the.esbak: no stop at all. NoFATAL,what()orpresentation failedline; the log (738 lines) is shader-disk-cache progress (about 1,975 shaders written by the end, the rate falling to a few per 10 s) plus the three deferral lines already discussed above. So the late-stop pattern seen on other titles does not show up for this one within 240 s.AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-12T09:05:06Z.
Where this stands on
main(8c4a295for later): the masked-copy class this issue describes compiles without composing the word. #3279, #3391, #4033 and #3739 remove the selects whose masked lanes nobody reads, and the word then has no reader. The runs above confirm that for Stray, Lies of P, Palworld, The Exit 9, GTA V and Taxi Chaos 2. One class is known to fail: the word stored into the relative VGPR window (used by StoreVectorWindow ?, Lost Soul Aside), which #4150 covers.The rest is unknown because the last runs had the whole-word commit on top. Could you replay your saved requests with
agc_shader_replaybuilt from plainmain, without an ancillary branch, and post the result line per shader?0x2024370000,0x20244a0000; Demon Slayer0x200ceb0000,0x200ced00000x20b8770000, LEGO Horizon0x1900e516000x190095e900,0x190095fc00If they all compile, #4031 has no known shader left. If some don't, the shape of the select that was kept says which rule is missing.
@AlxcBTW yes, please post the measurement steps as help wanted.
Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-12T09:20:21Z.
Help wanted: replay your saved ancillary-word shaders on plain
main@xXPBSXx @alfalfa-star @Tamalero @MisterbALLIN, this decides whether #4031 still has a shader it's needed for. It takes about five minutes if you kept your
.reqfiles.mainat8c4a295for later, without #4031, #39 or any ancillary branch on top..reqfiles? Run the title once on thatmainbuild withAPS5_DUMP_SHADERS=1. The driver writesshader_<address>.reqinto the working directory the first time each shader is prepared.recompiled: N SPIR-V words(compiles onmain)recompile failed: <message>(paste the message; the select that was kept tells which rule is missing)structurization failed: ...orcould not load request: ...(paste it as well)Shaders per title (from Dean's list above):
0x2024370000,0x20244a0000; Demon Slayer0x200ceb0000,0x200ced00000x20b8770000; LEGO Horizon0x1900e516000x190095e900,0x190095fc00Please also give the
maincommit you built. If all of them compile, #4031 has no known shader left and I'll close it. If some fail, the failing lines are what's needed to finish the missing rule.AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T11:45:56Z.
Replay result on plain
main3d8ffeb27(Merge #4395; contains8c4a295f; no #4031, #39 or ancillary branch on top; Windows 10, GCC 15.2 Release;agc_shader_replaybuilt from that tree, run once per request, from a folder holding the matchinglibs). The requests are the ones I saved on 2026-10-10 (file dates 2026-10-10), same shader addresses as in your list:0x2024370000: 1120 code words, 30 user data, 2 memory regions, wave64 ->recompiled: 83440 SPIR-V words0x20244a0000: 896 code words, 28 user data, 2 memory regions, wave64 ->recompiled: 68720 SPIR-V words0x200ceb0000: 1120 code words, 30 user data, 2 memory regions, wave64 ->recompiled: 83440 SPIR-V words0x200ced0000: 896 code words, 28 user data, 2 memory regions, wave64 ->recompiled: 68720 SPIR-V wordsAll four compile; no
recompile failed,structurization failedorcould not load requestline. Not covered: Kena, LEGO Horizon, High on Life and Minecraft Dungeons II (I have no requests or dumps of them), and I did not re-dump the requests on thismain: the replay uses the older saved.reqfiles, so it shows these four compile now, not that the title would request the same words today.AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by fma-rc on 2026-10-12T12:41:50Z.
Kena still has one shader that fails on plain
main0ef9dc928(Linux, GCC 16.2.1, RTX 5080). LEGO Horizon has none among the requests I could dump. I had no saved requests, so each title ran once on that build withAPS5_DUMP_SHADERS=1, and I replayed every dumped request withagc_shader_replaybuilt from the same tree.Kena's failing shader is
0x20b6440000in this run (936 code words, 30 user data, 2 memory regions, wave64), and the title aborts on it at 72 s:recompile failed: ShaderRecompiler::Recompile: shader info collection failed: packed pixel ancillary input has an unsupported live use (used by SelectU32 1065353216 ?)Shader addresses change between runs here, so I can't tell which of LEGO Horizon's 131 is the
0x1900e51600from the list. That run ended at 57 s oncolor views of several array slices are unsupported, so shaders prepared later are not covered.Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T12:48:12Z.
@fma-rc thanks for the Kena and LEGO Horizon numbers. Comparison with my replay above (Windows,
3d8ffeb27): those are different titles and different requests, so the two results do not contradict each other. Returnal (2) and Demon Slayer (2) compile on plainmain; your Kena failure (0x20b6440000,packed pixel ancillary input has an unsupported live use (used by SelectU32 1065353216 ?)) is a case my four requests do not cover. I have not dumped or replayed Kena on Windows, so I cannot say whether it fails there too; I do not have a reconstructed Kena ELF set up, so I am not promising a run. The 131 of 131 for LEGO Horizon Adventures and 16 of 17 for Kena together with my 4 of 4 give, for this issue, one known failing shader (Kena) among 152 replayed on plainmain, from two platforms and two differentmaincommits (0ef9dc928,3d8ffeb27).AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by xXPBSXx on 2026-10-12T14:53:23Z.
Context for @vojenfr's Commandos: Origins shader
0x1a000f0000(read from the thread, not re-run by me):recompiled: 117053 SPIR-V words) agrees.used by StoreVectorWindow ?), which fits your result that it does not change this shader.db92ece3c) is currently CONFLICTING: a test merge onto maind592d54e1conflicts intests/ShaderMemory.cpp,core/libs/tests/PixelAncillary.cpp,RequestSerializer.cppandRecompiler.hpp(textual merge only, nothing built). So it needs a rebase before anyone can run it on current main.Phi ?, SelectU32 0 ?here versusSelectU32 1065353216 ?for Kena's0x20b6440000. Both are kept selects whose operand is the raw word; I can't tell from the logs whether the same rule in the walk covers both.Not tested by me: no Commandos run, no replay of these requests on Windows.
AI-assisted (Claude Code).
Imported from boykopovar/AnyPS5. Originally posted by vojenfr on 2026-10-12T15:41:17Z.
Claude Code Report : Commandos: Origins (PPSA14708) on Linux
Summary
With three open PRs on top of
main8fa5cc486, Commandos: Origins (PPSA14708 v01.004.000, Unreal Engine) runs on Linux with an NVIDIA GPU. It plays its intro videos, reaches the menu and starts loading a mission (its loading screen), at about 3 to 4 FPS. No gameplay was reached: the mission load ends with Unreal's render-thread watchdog (GameThread timed out waiting for RenderThread after 120.00 secs).Each PR got the title past one hard stop. This is a first run of the title on AnyPS5; it is not in the compatibility list.
mainpacked pixel ancillary input has an unsupported live use (used by Phi ?, SelectU32 0 ?)after the intro videocolor views of several array slices are unsupportedat the first presentationsampling the depth plane of depth surface ... dimension 3 ... is not implemented(a D16 shadow cube)The frame rate is CPU-bound in the driver. The profile points at
GuestAllocations::replaceRange(#2688) and at refused host imports (see Performance).Setup
The host is a KVM guest with the GPU passed through, so CPU timings include virtualization overhead.
sha_nipresentmain8fa5cc486plus the PRs below, merged locallyThe dump holds decrypted ELFs: the executable, five Sony modules in
sce_module/(libc,libSceFontGsm,libSceJobManager,libSceNpCppWebApi,libScePfs) and five title modules inprx/(eossdk-ps5-shippingand fourkitt*modules).Relink command:
It reported 14608 NID references, 10 guest modules, and
Intel conversion: 2 in place, 106 stubs, 0 kept(SHA1*, INSERTQ, MONITORX/MWAITX, VRCPPS).Runtime layout:
libs/holds the built.prxfiles.app0/commandosandapp0/engineare symbolic links into the dump (28 GB, path resolution follows them).app0/sce_sysandapp0/uecommandline.txtare copies. The title runs from the output directory withANYPS5_LANGUAGE=2.Blockers, in the order they appeared
1. Pixel ancillary word through a phi (#4031)
After module start-up, pak mounting and the intro video, a pixel shader fails in background preparation:
The same code (identical words, compared with
agc_shader_replay --code) sat at0x1a000f0000in an earlier run. The request has 1800 code words, 30 user data, 2 memory regions, wave64.The title ran once with
APS5_DUMP_SHADERS=1, and each dumped request was replayed withagc_shader_replaybuilt from each tree:mainc6efe068a0x1a000a0000)main+ #4150 (ae049e775)db92ece3c)The shape differs from the Kena case in #2548 (
SelectU32 1065353216 ?): here the word reaches a phi as well as a select with a zero operand.2. Layered draw into a 3D color target (#3763, carrying #1077)
With #4031 merged, the first presentation stops:
The register value is the one in #2102 (Epic Mickey) and in the Stray and Palworld reports on #1077: Unreal rasterizes into a volume in one instanced draw. The run also creates 64x64 storage textures with 63 layers (
dim=4, format 71). #3633 explicitly leaves 3D views refused, so it does not help here.#1077 no longer merges into
main(14 files, about 31 conflict blocks). #3763 carries #423 and #1077 rebased onmain5aaf26bd3, plus the dynamic renderinglayerCountfix that RTX 50 cards need. It merged without textual conflicts; see Merge notes for the one semantic fix. All 75 requests dumped in the following run recompiled on the merged tree.The Palworld follow-up stop (
mipmapped or DCC 3D color targets are unsupported) did not appear: #1077's decoder already accepts DCC on 3D targets, so #4499 was not needed.3. D16 shadow cube sampled as a texture (#425)
With #3763 merged, the title compiles 1183 shaders without a failure, then stops:
Format (R16_UNORM over D16), extent and levels all match the depth plane; only the dimension is refused. T# word 3 has type
0xb(cube) and word 4 has depth 5, so the title samples six 1024x1024 D16 faces as a cube: a point-light shadow map. #425'sDepthPlaneCopybuilds the cube from the consecutive per-face depth surfaces. With it, the title reaches the menu, and later runs reach a mission's loading screen.Merge notes
The recompile request serialization version is the trap here:
main, #4031 and #3763 (through #423) each claim version 17 for a different field. Whichever lands second needs a bump, or requests written by the others misparse inagc_shader_replayand in error reports.stencilRefExportEnable,registrationModules,registrationWordLimitmainrasterPrimitive(pixel info)paClVsOutCntl(vertex info)The serializer only feeds diagnostics (
ShaderDiagnostics,recompileReporting, the replay tool), so the title itself was not affected.The resolutions, all local and unpushed:
main(f55458a5c). Four conflicts.Recompiler.hppkeeps both new pixel fields.RequestSerializer.cppwrites both, version 18. The two test files keep both sides and were not built:main'sStartingQuadRefusedcases expect a refusal where #4031 may now accept, which a reviewer should settle.0fcaef1e8, thendd19e49f6). No textual conflict. The follow-up commit writes version 19 and readspaClVsOutCntlfrom 19. The 8 files both PRs touch were checked by hand: #4031 adds pixel-side keys, #3763 vertex-side keys, with no overlap.e3c160631). One conflict incachedStorageTexture.mainnow sends views of another shape over a depth surface's memory down the ordinary storage path, throughDepthSurfaceAt(context, words, viewed). #425 seeds storage from the depth plane by address. Kept both:Performance
At 3 to 4 FPS neither side is saturated. The driver spends about half of the CPU time keeping the guest allocation registry and the host imports up to date.
Observed while the title ran (libraries of the #425 branch,
APS5_THREAD_PRIORITY=high, about 6 minutes in):top -H: 72 threads, the busiest at 62% of one core, the CPU 59% idle overall.nvidia-smi dmon: GPU utilization between 0% and 40%.perf record --call-graph dwarfover 4 s, inclusive time:sceKernelBatchMap2→RemapFixedIntoRegistered→GuestAllocationsProtectGuestAllocations::replaceRangerefreshImports, underHostImportForfromInPlaceDrawInputGuestAllocationsAcquireImportMappedRangesatGuestAllocationsEndA flat profile without call graphs puts 18% in glibc
memcpy. That matches the second cause, which the run logs:Per the comment at the budget check, every refused range is copied on each later use.
What was tried
perf/libc-registry-inplace, commits0a65c8c3eand0062e8398, from #2688), cherry-picked. One conflict with #3440's per-range unmap:main'spieceEndwas kept, with the branch'sRangeEditandallocationRemainsAfter. The branch's own test expected one unmap callback per allocation, andmainnow reports one per registered range, so its expectations were adapted (31374d219).guest_memorypasses. On 10 related tests (guest_mlock,guest_kernel_stack_protect,agc_host_import_unmapand others), 8 pass and 2 were not built, the same with and without the change.APS5_HOST_IMPORT_MIB=12288. No budget message appeared in that run.No frame rate was measured with these two changes: that run stopped early (Open problems, item 2).
Open problems
Render-thread watchdog at the end of a mission load. With the #425 branch, the default budget and existing save data, loading a mission ends with this, then a segmentation fault:
The log has no AnyPS5 error before it. The driver was still creating and uploading textures, all 2168 shaders came from the disk cache, and 4 imports (510 MiB) were refused late in the load. My guess is that the load is too slow for the 120 s fence wait rather than deadlocked, but I have not shown it. The same watchdog fired once before, after several minutes at 3 to 4 FPS.
Unreadable guest memory with the registry fix and a 12 GiB budget. With ps54all's registry change,
APS5_HOST_IMPORT_MIB=12288and the same save data, the title showed a short video and stopped:The address does not look like a guest address, rather like a pointer read from stale data. Dropping both changes (same save data) made the stop go away, so one of the two causes it. The next run should take the registry change alone, at the default budget, to tell which.
APS5_THREAD_PRIORITY=highrefused by rtkit. The first run gotnice -10on the queue worker and the presenter. A quick second run stopped withpresenter nice -10 refused: MakeThreadHighPriorityWithPID: Device or resource busy, as the documentation says it does (no fallback). Probably rtkit's per-user rate limit; noted only because it can look like a crash.Side findings
tools/import_audit.pyfalse positive. The audit reports 270 imports asabsentfromEOSSDK-PS5-Shipping.debug_prx. All 270 are exported (as<nid>#guest) byapp0/prx/eossdk-ps5-shipping.prx.guest.prx, and the loader resolves them at run time. The import names the module by its internal name;--modulesmatches file names, which differ in case and in the.debug_prxsuffix. Matching the stem case-insensitively and accepting.debug_prx, as the relinker'sModuleSuffixesalready does, would fix it.--to-intelreplaces SHA1 instructions on a CPU that has them. The i3-12100 reportssha_ni, yet all of the 106 stubs except 7 INSERTQ and the VRCPPS sites areSHA1MSG1,SHA1MSG2,SHA1NEXTEandSHA1RNDS4. This is harmless, only slower in that code. A CPUID check could keep them when the host supports them.sceVoiceQoS*, NP,sceHttp2SendRequestAsync,sceWebBrowserDialog*,sceCoredump*,sceSystemServiceLoadExec. None was hit up to the mission load.The investigation, merges and this report were done with AI assistance (Opus).
How to reproduce
The tree that reaches the mission load is
main8fa5cc486plus #4031, #3763 and #425, with the two version changes from Merge notes. The conflict resolutions are the ones described above.Run from the output directory:
The failing
.reqfrom blocker 1 can be attached on request. The registry change (ps54all0a65c8c3e,0062e8398and the test adaptation) is not part of this stack until Open problems item 2 is settled.Imported from boykopovar/AnyPS5. Originally posted by alfalfa-star on 2026-10-12T16:58:40Z.
@oneandonlydean @AlxcBTW replay on plain
main2a5eca11c(no #4031, #39 or ancillary branch), Arch Linux, GCC 16.2.1, Release,agc_shader_replaybuilt from that tree:0x1900ee6b00in my saved requests (addresses move between runs; LEGO only ever refused one shader, so the0x1900e51600in the list is most likely this one from another run). It is 1284 code words, wave64, and now givesrecompiled: 102505 SPIR-V words. The other 175 saved LEGO requests also recompile. 3 older requests from 2026-10-07 can't be loaded (RequestSerializer: truncated data, older format).0x20b8770000(936 code words) was dumped on our local stack, whose request format has #1077's and #39's extra fields, so plainmaincan't load it. I haven't re-dumped it onmain. @fma-rc's failing0x20b6440000has the same size and the same message (used by SelectU32 1065353216 ?), so it is most likely the same shader, and it still fails onmain.So for my titles, LEGO no longer needs #4031, and Kena still has this one shader.
AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-12T18:14:06Z.
Thanks @alfalfa-star and @vojenfr. Two updates for #4031:
main(heade24413c44, mergeable). The pixel request version goes to 18 becausemainalready shipped 17 forstencilRefExportEnable, and the #4150 negative test now expects the composed word. Fork CI passes on both platforms (Linux 968/968 lavapipe, Windows 974/974); blawesom ran the full suite on RADV (958/958).main: #4031 gets PPSA14708 pastpacked pixel ancillary input has an unsupported live use (used by Phi ?, SelectU32 0 ?)after the intro video.@alfalfa-star could you replay Kena's remaining shader (
used by SelectU32 1065353216 ?,0x20b6440000/0x20b8770000) one24413c44? That's the case I'd most like to see covered or refused cleanly.AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by Tamalero on 2026-10-12T18:25:32Z.
@AlxcBTW High on Life (PPSA15388): no ancillary refusal without #4031, though not on plain current
main. Details and caveats below.maind06c0656and436e310d(neither has #4031, #39 or any ancillary branch). On top are only open PRs unrelated to shaders: #425, #2904, #3202 and #1077, which carries #423, for layered draws and depth surfaces. Both runs got through the level load, where the first ancillary draw used to abort. One continued through checkpoint reloads and quit cleanly after about 15 minutes. Neither log has apacked pixel ancillary inputline. Before #3279 and #39, the 30 pixel shaders from my earlier comment were refused at registration.maingives no answer: HoL stops there before any level loads, atcolor views of several array slices are unsupported(#1077), so the level's ancillary shaders are never prepared.main: all 998 of my saved.reqfiles fail withRequestSerializer: truncated dataonmain3377986a. They were written by a build carrying an earlier #1077 port, which used request version 17 for its own field, andmainnow uses 17 forstencilRefExportEnable. So same number, different layout, which is the clash you avoided by moving to 18.8c4a295f, so this shows these shaders already compile without #4031 on a slightly oldermain. It does not cover a later regression.If a replay on plain
mainis still needed, I can dump the requests again from a current base withAPS5_DUMP_SHADERS=1and replay them withmain'sagc_shader_replay.Tested and written by Claude (AI assistant) on a contributor's machine.
Imported from boykopovar/AnyPS5. Originally posted by MisterbALLIN on 2026-10-12T18:29:05Z.
How do I use main without the fix recompiler if it has been merged two weeks ago ? And how do I run the APS5_DUMP_SHADERS=1 command on cmd ?
Imported from boykopovar/AnyPS5. Originally posted by fma-rc on 2026-10-12T19:16:32Z.
@AlxcBTW
0x20b6440000is from my Kena (PPSA01746) run, so I replayed it. With #4031 heade24413c44it compiles:recompiled: 95963 SPIR-V words. Onmaind53960612the same request still fails withpacked pixel ancillary input has an unsupported live use (used by SelectU32 1065353216 ?).My other 16 saved Kena requests also compile on
e24413c44, 17 of 17. I do not have0x20b8770000saved, only0x20b6440000.This is
agc_shader_replaywithANYPS5_NO_SHADER_CACHE=1, built from the PR head as it is (its merge base withmainisd592d54e1), Arch Linux, GCC 16.2.1, Release. I have not run Kena itself on that head, so I can say it compiles but not what it draws.Imported from boykopovar/AnyPS5. Originally posted by AlxcBTW on 2026-10-12T20:49:52Z.
@fma-rc thank you, that settles it:
0x20b6440000still fails onmaind53960612and compiles on #4031's head, and 17 of 17 Kena requests compile there. So #4031 is still needed. I'm bringing it up to date with currentmainnow.AI-assisted: yes (Claude Code)
Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-13T02:08:58Z.
#4031 and #4842 are on main (also #3739, #4150, #3816). Does any shader still stop at
packed pixel ancillary input has an unsupported live useon current main? Please post the address and the use list; if none does, this can close.Imported from boykopovar/AnyPS5. Originally posted by fma-rc on 2026-10-13T03:54:42Z.
On
main6124bf063Kena (PPSA01746) no longer stops atpacked pixel ancillary input has an unsupported live use. One 90 s run here: it now ends atclip distances, layer, viewport or auxiliary vertex exports is unsupported (register 0x207 = 0x00400001), which is a different topic (PR 423 is open on it). Before #4031 the ancillary stop came in each of my runs between 40 and 90 s, so from Kena's side this can close.Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-13T07:05:20Z.
I will close for now, any issues please reopen or comment