shadps4-emu / shadPS4

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

Unable to reserve virtual adress space EVEN ON SONIC MANIA #857

Closed mactonight37 closed 1 month ago

mactonight37 commented 2 months ago
[Loader] <Info> emulator.cpp:Emulator:52: Starting shadps4 emulator v0.2.1 WIP 
[Loader] <Info> emulator.cpp:Emulator:53: Revision 749fe92882ff2a03ae13e73c00fe9a1a8ac88f95
[Loader] <Info> emulator.cpp:Emulator:54: Branch main
[Loader] <Info> emulator.cpp:Emulator:55: Description 749fe92
[Config] <Info> emulator.cpp:Emulator:57: General isNeo: false
[Config] <Info> emulator.cpp:Emulator:58: GPU isNullGpu: false
[Config] <Info> emulator.cpp:Emulator:59: GPU shouldDumpShaders: true
[Config] <Info> emulator.cpp:Emulator:60: GPU shouldDumpPM4: false
[Config] <Info> emulator.cpp:Emulator:61: GPU vblankDivider: 1
[Config] <Info> emulator.cpp:Emulator:62: Vulkan gpuId: 0
[Config] <Info> emulator.cpp:Emulator:63: Vulkan vkValidation: false
[Config] <Info> emulator.cpp:Emulator:64: Vulkan vkValidationSync: false
[Config] <Info> emulator.cpp:Emulator:65: Vulkan vkValidationGpu: false
[Config] <Info> emulator.cpp:Emulator:66: Vulkan rdocEnable: false
[Config] <Info> emulator.cpp:Emulator:67: Vulkan rdocMarkersEnable: false
[Config] <Info> emulator.cpp:Emulator:68: Vulkan crashDiagnostics: false
[Debug] <Critical> address_space.cpp:operator():74: Assertion Failed!
Unable to reserve virtual address space!

i have over 12gbs of free ram and i get this error and an immediate app crash when i try to run any game including sonic mania

Nathanielpd140 commented 1 month ago

same problem here havent found a fix yet.

mactonight37 commented 1 month ago

same problem here havent found a fix yet.

what are your specs, mine are w11, ryzen 5 5500, rx 6700 10gb with shadps4 supported amd driver which i couldnt recall the name but it was something like fsfa, 16gb ram.

Nathanielpd140 commented 1 month ago

I5 6400, Gtx 1070, 24 gb of ram. Someone else had the same issue and said they updated or reinstalled windows and it fixed it. Im going to try today

mactonight37 commented 1 month ago

thanks, have you tried it

Nathanielpd140 commented 1 month ago

I actually tried again yesterday and it just started working, im not completely sure how but I think because I had my computer fully turned off and then powered it on and immediately ran the emulator it was able to allocate the memory. Try turning off your pc fully like unplugged from the outlet and then immediately run emulator after turning back on, I think thats what did it for me but not 100% sure

mactonight37 commented 1 month ago

Thanks, im gonna try and report, by the way did you have the issue again after the first try or is it consistent for now?

mactonight37 commented 1 month ago

ive tried it and the issue persists

Nathanielpd140 commented 1 month ago

Im not sure exactly why mine started working, it will most likely be fixed in the upcoming versions though.