RPCS3 / rpcs3

PlayStation 3 emulator and debugger
https://rpcs3.net/
GNU General Public License v2.0
15.33k stars 1.91k forks source link

Stranglehold Demo linux Crash. #13230

Closed Triticum0 closed 1 year ago

Triticum0 commented 1 year ago

Quick summary

When testing Stranglehold Demo on Linux I ran into an issue where the game would always crash on Linux even though the same pkg works fine on windows

Details

The game Stranglehold Demo crashes with the message when finishing compiling the PPU: ·F 0:00:40.774323 {PPU[0x1000000] Thread (main_thread) [liblv2: 0x01a56908]} SIG: Thread terminated due to fatal error: Verification failed (in file ../rpcs3/util/vm_native.cpp:485, in function shm) (errno=24=Too many open files) This doesn't happen on windows the game boots fine

Attach a log file

RPCS3.log

Attach capture files for visual issues

No response

System configuration

Other details

No response

RipleyTom commented 1 year ago

You need to increase the number of files that can be opened on your system: Adding something like

youruser           hard    nofile     524288

to /etc/security/limits.conf and rebooting, see https://wiki.archlinux.org/title/Limits.conf for more info. Not a rpcs3 issue.

MrGrosNounours commented 3 months ago

I have the same problem with Oblivion, increasing the system limit doesn't change anything.

Using this command solved the issue: prlimit --pid <pid> --nofile=8192

It seems that rpcs3 sets a limit of 4096 at startup, maybe that's too low for these games.