shadps4-emu / shadPS4

PS4 emulator for Windows,Linux,MacOS
https://shadps4.net/
GNU General Public License v2.0
11.13k stars 708 forks source link

Emulator crash if "Show Splash" is selected #1584

Open ngoquang2708 opened 5 days ago

ngoquang2708 commented 5 days ago

I am on Linux. When I select "Show Splash" in Settings, the emulator crash when I start a game.

Log: shad_log.txt

In Visual Code, it crashes at this location: Screenshot_20241123_143817

ngoquang2708 commented 5 days ago

It crashes when I ran my DE using the iGPU (my laptop is Intel/Nvidia Optimus). It works if I use the dGPU to run my DE. Emulator use the dGPU in both cases.

kalaposfos13 commented 5 days ago

This is the same for me (Linux Mint 22), in fact, in previous versions, the splash screen did not even show up, so I just guessed it wasn't implemented yet. Commenting out this line: stbi_image_free(img_mem); makes the splash appear (for the first time ever on my computer), but crashes further down the line: as soon as the game tries to write to the screen.