Repository navigation
Tomb Raider: Legend (PPSA22453) #23908
mariushub
started this conversation in
Game bring-up
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Existing thread
Title
Tomb Raider: Legend (PPSA22453)
Content version tested
01.000.004
AnyPS5 commit
mainb979a71704with #23866 merged locally (a libkernel direct-memory allocator change, not involved in anything below).System tested
Windows 11 Pro build 26100, AMD Ryzen 7 9800X3D, WinLibs GCC 15.2.0 r7, Release. Two GPUs: NVIDIA GeForce RTX 5080 (driver 596.36) and the Ryzen's AMD Radeon iGPU (gfx1036, AMD driver 24.10.24, Vulkan 1.3.280).
Furthest point
Menu
What is shown
This is a PS2 Classics (PS2HD) package: the emulator (
eboot.bin,PS2LOGO_eeaotv1.prx) with the US, EU and JP discs;config-title.txtselects the US discSLUS21203#v1.01.iso(--region-dir=SIEA). In order, with no error,NotImplementedorFATALline in the log:sceFontOpenFontSetfails with0x80460036.PlayStation 2boot logo, with sound, then the memory card notice and the copyright screen.PPSA14383, v01.000.001— running Sony's **PS2HD renders a pure black screen for all PS2 game frames #19548. Audio crackles and cuts about once a second. 33 FPS on the RTX 5080, 60 FPS on the iGPU.Current blocker
Black menu: the same symptom as **Disney•Pixar WALL-E** (
PPSA14383, v01.000.001— running Sony's **PS2HD renders a pure black screen for all PS2 game frames #19548 (WALL-E, PS2HD). Unlike WALL-E, the intro movie before it renders textured.Frame rate on NVIDIA: the RTX 5080 is GPU-bound (about 29 ms of GPU time per frame in the menu, 18.5 ms in the intro movie).
APS5_PROFILE_GPU=1, 10 s windows, menu unless noted:0xde8f000xe324000xdedc000xe07300(intro movie)Replaying the dumped requests (
APS5_DUMP_SHADERS,agc_shader_replay) reports, for0xde8f00,0xe32400and0xe07300but not0xdedc00:[spanned-wave] … falls back to two lanes per invocation: an OpControlBarrier in block … sits in control flow a per-invocation value decides. All four are wave64 compute:0xde8f00,0xe32400and0xe07300with one-wave 64x1x1 workgroups,0xdedc00with 16x16x1. The iGPU reports a 64-lane subgroup, and there the two menu programs that fall back on NVIDIA are 10 and 28 times faster than on the RTX 5080, while0xdedc00, which does not fall back, is 2 times slower, as expected for the weaker GPU. This matches the spanned wave64 entry of the shader debt; fix(shader): name the per-invocation value behind a spanned-wave fallback #22432, perf(shader): run wave64 compute at one lane where no lane can tell #12324 and perf(recompiler): run each wave of a multi-wave compute workgroup as its own host workgroup behind a runtime switch #23244 work in this area. I have not checked whether the audio crackle follows the frame rate.Side bars: the area outside the 4:3 picture is not cleared during the intro movie (item 4).
How it was run
eboot.bin,PS2LOGO_eeaotv1.prx,sce_module/libc.prxand the two US AOT modules unwrapped withtools/unwrap_self.py, then:tools/import_audit.py: 0 absent, 0 stub and 5 partial imports. Run folder: the wholeapp0,libsfrom the same build with the WinLibs runtime DLLs, and the Noto Sans substitutes inanyps5-fonts.APS5_PROFILE_DRAW=1andAPS5_LOG_TIMESTAMPS=1in every run,APS5_PROFILE_GPU=1for the timings, warm shader cache for the timed runs, andVK_LOADER_LAYERS_DISABLEfor the capture overlays installed on this machine (Medal, RTSS, OBS).AI-assisted testing and report: yes (Claude Code). The screens, the audio and the timings on screen were observed by me.
All reactions