Repository navigation
MediEvil (CUSA12982) #28477
Replies: 5 comments 1 reply
|
@leskal one cheap check for the 4 fps, in case it is the same thing we found on NVIDIA this week in a different title. It is only a guess: with the blocks you list there are other candidates, the 10 s compute waits among them. On PS5 OpenGL Showcase (#28306) an RTX 5060 Ti ran at about half its speed. The cause was the cap on device-local staging shadows: each cached build kept its own shadow of the same buffer range, the shadows filled the cap ( To see whether MediEvil hits it, run once with If that is what you see, #16831 (resident ranges) fixed it in Showcase: 42 to 49 fps against about 21 on the same build (numbers on #16831). Setting If the line shows few or no refusals, this is not it. AI-assisted: yes (Claude Code) |
|
Update: MediEvil now renders its title scene, at about 4 FPS on an RTX 4080 (screenshot above). Three new pull requests got it there:
Next stop: with all three, the game hangs before the main menu. The compute queue waits on a label ( |
|
@leskal thanks for checking, that rules the cap out. Some pointers for what you found next. They come from reading main at Dispatches waiting for the draw pipeline. On main, a queue-0
End-of-pipe commits. Look at the The wait on queue 0x48. As I read it, the worker runs the submission in order and blocks inside the The report under the
If queue 0's pipeline holds the right value while 0x48 waits, the ordering problem is in AnyPS5, not in the title. AI-assisted: yes (Claude Code) |
|
Update: merged PRs Merged into
Still open:
Correction to the first post: #28057 is not merged yet. It is open and rebased. #29212 is new. On an Intel CPU, The hang before the main menu is still open. The latest dumps point to threads blocked on each other's locks (libc's guest allocation registry, libkernel's thread stack lock, the driver's import map), rather than to the compute label wait itself. I'm confirming it with debug builds of libkernel and libc. @LeandroLP23, thanks for the |

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Title: MediEvil (CUSA12982)
Content version tested: 01.02
AnyPS5 commit: main 76d0a4a with #28057, #28117, #28256, #28309, #28088, #28089, #27937, #22140 (includes #18177), #22439, #26040, #28586, #28605 merged on top
System tested: Windows 11, WinLibs GCC 15.2.0 r7, NVIDIA GeForce RTX 4080 (driver 621.24), AMD Ryzen 9 7950X3D
Furthest point: Renders the main menu at about 4 FPS; a later run stops in a geometry copy program
What is shown
The title scene renders: the graveyard, the tombstone, with lighting, shadows and colour grading. The window title reads about 4.4 FPS. Screenshot attached.
The title (Unreal Engine 4, PS4 build run as a PS4 process) loads its paks, ICU data and configs, opens its logo and intro movies (
ooi_logo_plain_black.mp4,gameintro.mp4), mounts its save data (GameDataUE1, not found on a first run), compiles several hundred shaders and keeps rendering.Current blocker
On a second run with the same build, after rendering for a while:
A geometry shader draw other than the colour grading one has a copy VS whose GSVS ring read takes its scalar offset from a register the copy program parser of #22439 cannot evaluate at draw time. The copy program's instructions are still to be captured.
Also seen, not stopping the title:
WAIT_REG_MEMfor more than 10 s at times (still waiting after 10000ms), then continues.Earlier stops and the pull requests that get past them, in the order the title reaches them:
sceSysmoduleLoadModule(0x0102)refused for a PS4 processsceSystemServiceGetPlatformPrivacySettingPS4 color target fast clear (CMASK) is not implemented: the title fast clears a single-sample target (BeginClearCMASK/EliminateFastClear,CB_COLOR_INFO 0x80042730)VGT_SHADER_STAGES_EN=0xb0: unsupported geometry routing, fast launch or wave-ID state: PS4 ES, GS and copy VS routingGCN layered rendering into several array slices through the vertex render target index is not implementedAGC graphics: unsupported geometry built-in: the geometry stage'sgl_Layer, written from the copy VS render target index (PA_CL_VS_OUT_CNTL0x01240000), is refused by shader validationPS4 color target tile mode index 19 is not implemented: the colour grading lookup table, a 32x32x322_10_10_10volume in thick 1D tiling filled one slice per triangle through the geometry shaderAlso merged for the
app0.zarinstall: #28057 (fsync onapp0.zarfiles) and #28117 (mkdir under/app0). Already inmain: #25810 (app0.zar reads), #27342 (Gnm compute waits and GPU queries).How it was run
Converted from the zar install with the relinker (
app0\eboot.elf,--windows --rpath <libs>):Nothing beyond the usage guide and the pull requests above.
All reactions