Bizarre Memory issue+Crash

Are you in the need of support? You can get support or report an issue regarding shadps4 here.
Post Reply
Vintera8350
Posts: 1
Joined: Wed Aug 28, 2024 12:05 pm

Bizarre Memory issue+Crash

Post by Vintera8350 »

When trying to boot any game using a home-compiled shadPS4 QT or CLI build the emulator freezes, consumers roughly 40% of my CPU resources for 2-3 minutes while some amount of data is written to my swap partition before crashing/segfaulting.
Curiously my regular RAM is never taxed beyond the 200 or so MB consumed by the shadps4 binary, no logs are left behind regardless of setting and trying to run gdb after compiling with -g just crashes the emulator instantly.
Changing resolution followed by trying to boot a game crashes the emulator with the CLI notification

Inconsistency detected by ld.so: dl-runtime.c: 63: _dl_fixup: Assertion `ELFW(R_TYPE)(reloc->r_info) == ELF_MACHINE_JMP_SLOT' failed!

yet running the emulator a second time results in normal execution up until trying to boot a game.
The amount of data written to swap varies per game, Bloodborne dumps around 100MB before crashing while Sonic Mania writes around 14MB to it and Hakoniwa Company Works less than 500kb.
Attempted games: Sonic Mania [CUSA07010], Bloodborne [CUSA00900], Hakoniwa Company Works [CUSA09533]

While I'm not sure if it's related to the issue at hand I've disabled any and all AVX2-related options save for those of Zydis in CMake due to my CPU lacking those instructions, my GPU while supporting Vulkan 1.3 is also the single oldest officially Vulkan-supported pattern out there so if there's some hard minimum requirement not being met then feel free to dismiss this bug report, but please do update the official minimum requirements to avoid further confusion in the future.

PC specs:
AMD FX-8350
16GB DDR3-1600
AMD Radeon HD7970
1TB SATA SSD
4TB 5400k SATA HDD

OS:
OpenSuse Tumbleweed
Post Reply