AGC: OliSe Player stops on 'last provoking vertex with explicit per-vertex triangle-strip interpolation is unsupported' #5245
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 YossiYad on 2026-10-13T15:33:38Z.
OliSe Player (PPSA01153, catalog 02.001.000) stops at the triangle-strip sibling of the guard #4030 removed for flat inputs:
Linux (Fedora 44 distrobox, GCC 16, Release), RX 7700 XT (RADV),
main0f2683cbplus #4514, #4469, #4467 and #5218 (none of them touches AGC); catalog build,eboot.binunwrapped, 40 s run. It aborts about 1 s after start-up, while the title's first ps5-opengl (Mesa) pipelines are compiled; the shaders compiled just before the throw are a vertex and a pixel shader withprimitive=6in ps5-gallium's log.The check is the second
RequireinValidateProvokingVertex(Graphics/src/Pipeline.cpp): the pipeline uses the last provoking vertex (PA_SU_SC_MODE_CNTL.PROVOKING_VTX_LAST, GL's default convention), the topology is a triangle strip, and a pixel shader reads an input through the explicit per-vertex path (v_interp_movP10/P20 or rawv_interp_p*vertex reads). For odd triangles of a strip, the order in which the three vertices reach the pixel shader under the last provoking vertex is what nobody has measured: Vulkan'spervertexEXTorder for odd strip triangles follows the provoking-vertex mode, and whether the PS5's parameter-cache order (P0/P10/P20) matches it is the open part of #1413.What would settle it:
PROVOKING_VTX_LASTon RDNA2 hardware or a console, read throughv_interp_movP0/P10/P20; orprovoking_vtx_lastpass).I have not changed anything here; the issue records the title and the exact stop for whoever takes #1413 further.
Imported from boykopovar/AnyPS5. Originally posted by YossiYad on 2026-10-13T15:38:04Z.
A measurement that may help here: the vertex order of odd triangle-strip primitives as a pixel shader sees it, on an RX 7700 XT (RDNA3, RADV, Mesa 26.x), first and last provoking vertex. A 6-vertex strip; each vertex outputs its index; the pixel shader writes the three per-vertex values of each primitive.
interpolateAtVertexAMD(RADV: explicit input, parameter cache in pass-through,ROTATE_PC_PTRclear)pervertexEXT(RADV:interp_explicit_strict,ROTATE_PC_PTRset)PROVOKING_VTX_LAST: odd strip primitives are (i, i+2, i+1) in both modes, which is the base table ofprimsrast-barycentric-order-table.pervertexEXTfollows the spec's last-vertex table on RADV (triStripVertexOrderIndependentOfProvokingVertex = false): (i+1, i, i+2). RADV gets there by settingROTATE_PC_PTRfor strict per-vertex inputs (radv_cmd_buffer.c,offset_to_ps_input).pervertexEXT[(k + 1) % 3]; even primitives, the first provoking vertex, and hosts where the property is true need no remap. The parity would have to come fromPrimitiveId, which does not follow strip restarts.Caveats: RDNA3 rather than the PS5's RDNA2, observed through RADV rather than raw PM4, and it says nothing about guest shaders that set
ROTATE_PC_PTRinSPI_PS_INPUT_CNTLthemselves. Interpolated reads are not affected either way, since AnyPS5 feeds the per-vertex values and the barycentrics in the same Vulkan order; only reads that rely on which vertex sits in which slot are. I have not changed the guard. The test program is about 150 lines of C plus three shaders; happy to attach it.Imported from boykopovar/AnyPS5. Originally posted by YossiYad on 2026-10-13T17:30:25Z.
The stop is intermittent: on plain
main0214069e(Linux, RX 7700 XT), 40 s runs of OliSe Player reach it in 2 of 5 runs, about 1 s after start-up when it does; the other runs keep the player up at 25-60 fps. Whoever checks a fix here should run it several times.Imported from boykopovar/AnyPS5. Originally posted by hansjm10 on 2026-10-13T18:54:36Z.
I’m investigating this on gfx1036/RADV, Mesa 22.3.6: repeated plain-main runs, followed by vertex-order measurements through
interpolateAtVertexAMDwith first/last provoking vertex. Native fragment-barycentric testing is unavailable on this driver, so I’ll report that limitation explicitly. The guard stays unchanged; this is data gathering, not a proposed remap.AI-assisted: yes.
Imported from boykopovar/AnyPS5. Originally posted by YossiYad on 2026-10-14T08:06:12Z.
A second title stops here: RetroArch's EmulationStation frontend (PPSA99169,
/app0/es-de/es-de.bin, rendering through the title's ps5-gallium Mesa). Linux, RX 7700 XT (RADV),main315260903with #5083, which ES-DE needs to start at all. After a game returns to ES-DE through the title's game mode, its first presentation fails with:So the guard now blocks both OliSe Player and the ES-DE frontend of RetroArch.
Imported from boykopovar/AnyPS5. Originally posted by milescoviello on 2026-10-15T03:04:57Z.
A third title that stops here: Régie5 (PPSA99520, catalog 0.3.0), which draws through ps5-opengl (EGL, OpenGL 4.6). Unlike OliSe Player it stops on every run: 3 of 3 runs on
maina077a88df, plus the same stop in two earlier sweeps, each about 1 s after start-up, before the first flip:Linux (Ubuntu 24.04, GCC 13.3, Release), RTX 4070 Ti, NVIDIA 595.99.02. For the host side of YossiYad's table: this driver also reports
triStripVertexOrderIndependentOfProvokingVertex = false, the same as RADV.AI-assisted: yes