Repository navigation
Godot PS5 (PPSA99847) #24732
M4gnif1cus
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
Godot PS5 (PPSA99847)
Content version tested
01.000.021
AnyPS5 commit
main 335fdd7 (relinker v0.1.5-9967-g335fdd7770), unmodified, no pull requests on top
System tested
Windows 11 Pro 10.0.26300, WinLibs GCC 15.2.0 r7, RTX 5070 Ti Laptop (NVIDIA 621.14), Intel Core Ultra 9 275HX
Furthest point
In game
What is shown
Godot 4.7.2 (GLES3) booting its built-in Pong: court, both paddles, ball and score. With injected pad input (tools/pad_input.py) the left paddle moves to the top with Up, the ball is in play and the score went from 0-0 to 0-1. Picture is correct. No exception, no NotImplemented, no crash, and none of the trapped syscalls was reached.
Frame rate is 25 to 28 fps: [present] 227 to 283 per 10 s over 17 windows in three runs without frame dumps. The author reports sustained 60 FPS in Pong on a PS5 on firmware 5.10 (release notes of v0.2.10). Working set between 1.7 and 2.1 GB.
Not tested: audio, the external 2D Platformer package, anything 3D.
Current blocker
FAIL: Forbidden syscall instruction at code offset 0x2cf5cda: syscall number 74; it is a ps5-payload-dev SDK syscall stub, which --trap-sdk-syscall-stubs replaces with UD2
With --trap-sdk-syscall-stubs the relinker traps 236 syscall instructions and the title runs. That option is deprecated and for debugging only.
[gpu] worker at 60 s: dispatch 0.0 s, draw 7.9 s, wait 0.0 s
[draws] 3300 draws over 10 s (3300 recorded avg 1430 us ...)
[storage] ... write-backs by reason (count/MiB): label 825/6525.9
[packets] ... DRAW_INDEX_2 x1596 1316ms DRAW_INDEX_AUTO x1139 182ms flip x228 17ms
About three full-frame write-backs per presented frame. With #7464 merged on top the same scene runs at 32.5 fps instead of 27.5 (two alternated 70 s runs each), and the write-backs per frame stay the same. Possibly related: #7895. AI-assisted: the runs were driven with an AI assistant; the lines above are measured log output, the reading of them is not verified.
How it was run
PPSA99847.zip v0.2.10 from https://github.com/Yahballon/PS5_Godot (GPL-3.0), SHA-256 checked against the digest GitHub lists for the release asset.
python tools/unwrap_self.py eboot.bin eboot.elf (and the same for sce_module/libc.prx)
relinker --windows --to-intel --registry --trap-sdk-syscall-stubs eboot.elf app.exe
APS5_PROFILE_DRAW=1 APS5_LOG_TIMESTAMPS=1
On AC power, 2560x1600 at 240 Hz, warm shader caches for the frame-rate runs. One run with APS5_PAD_INPUT_FILE and frame dumps for the input check.
All reactions