Demon's Souls PPSA01341 on Linux: idles on a black screen before the first logo video #1025
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-07T01:18:08Z.
Summary
Demon's Souls (PPSA01341 v1.07, US) on Linux boots, finishes loading and runs its main loop at about 7 fps. It never leaves a black screen. It does not open
movies/ps_studios_logo.bk2or any other.bk2file, so it stops somewhere before the first logo.@yumlevi, #5 took PPSA01342 on Windows from the SIE logo to the main menu. Do you remember anything the title needed between "Starting main loop" and the first
ps_studios_logo.bk2open? A service reply, an event, or an env var you always set? Any hint about the boot step it waits on would help.Setup
mainc1241ad0+ #861 + #864 + #732 + #157, plus the import fix from #1022. Without #861 the title segfaults in init on Linux.libc.prx.--skip-sce-moduleleaves 41 C++ runtime imports unresolved (std::__sce_v2::locale,cout, facet ids and others).What happens
Starting main loop25 to 40 s in, thenResourcePool::GatherResourceFileInfo()(30 to 50 s; the files are on an NTFS-3G USB drive).ui/textures/gallery/_ps5/gallery_highlightglow.ctxr. It bakes a character face texture (the dumped 2048x2048 target holds a face skin). After that it reads nothing more.APS5_DUMP_FRAMESframe is all zero. WithAPS5_NO_RESIDENT_TARGETS=1 APS5_DUMP_TARGETS=2, 21 of the 22 dumped renders (11 targets) have RGB 0; the one exception is the face bake.scePadReadState,sceNetCtlCheckCallback,sceNpCheckCallback,scePlayGoGetLocus(24 chunks, returns 0),sceSaveDataDialogGetStatus(NONE),sceSystemServiceGetStatus(0),sceUserServiceGetEvent(NO_EVENT) andsceNpGetState(SIGNED_OUT). AJM batches run steadily. I counted calls with bpftrace uprobes on the exported functions.Ruled out
Each item below is one or more full runs with no change in the result:
app0from boot, only the optionalpackagecmdlineargs.txt.APS5_EAGER_WRITEBACK=1.APS5_NO_DISPATCH_CACHE=1 APS5_NO_DATA_HITS=1 APS5_NO_DISPATCH_RECIPE=1 APS5_NO_DRAW_RECIPE=1withAPS5_HOST_IMPORT_MIB=16384.APS5_NO_WRITE_WATCH=1andAPS5_WRITE_WATCH_IMPORTS=unwatch: both fill the 16 GB of VRAM before the plateau, so they could not be tested.The binary has boot state names
BootInitWait_Ato_D,LogoWait,ProfileSelectBootWaitandLoginMessageWait. I have not found which one it is in.I can run anything you suggest and report back, including traces or dumps you would like to see.
AI-assisted: yes.
Imported from boykopovar/AnyPS5. Originally posted by fisherjoey on 2026-10-07T04:24:08Z.
Found it. The black screen is a case-sensitivity problem, not a GPU or service issue.
The package ships
app0/PackageCmdLineArgs.txt, which contains one line:The engine opens it as
/app0/packagecmdlineargs.txt. On Windows and on the console the lookup ignores case. On Linux,ResolvePathmaps it to a path that does not exist,sceKernelOpenreturns0x80020002, and the setting is never applied. With call-home lockdown still on, the boot state machine stays in its first state (BP_BootInit) and waits every frame for a Bluepoint tools connection ("Waiting for GameConnection..."). Nothing after it is created, so no front end and no SIE logo.With a lowercase symlink to the file in the run directory, and no other change, the unmodified title reads the setting, shows the SIE logo and plays
movies/ps_studios_logo.bk2.So none of the switches in my first post were needed. Opened #1047 for case-insensitive path lookup on Linux, which also covers the mixed-case movie paths the front end requests later (for example
$\Movies\Main_Menu.bk2).Imported from boykopovar/AnyPS5. Originally posted by oneandonlydean on 2026-10-08T08:26:18Z.
Closing in favour of #1047: the black screen is the case-sensitive open of
packagecmdlineargs.txt, and #1079 fixes it. If the title still stops before the logo with #1079 in, please comment here and it can be reopened.