yuzu
yuzu copied to clipboard
Vulkan memory leaks in any game.
I've been using this emulator since a while as I can, enough to get far in SMO, SSBU... Unfortunately, no matter the game or configuration, any game will unavoidably crash in loading screens or random compilation, with no errors. I checked the logs, and they cut midway whenever these crashes happen... So no errors are reported. These are my specs, they aren't ideal but demanding games run well as long as they're not crashing, so i'm sure it's not a hardware issue. Also, I tried to run it on Linux with the same API, and for my surprise... It ran perfectly, on par with Windows but no crashes, so that's one thing to have in mind.
Windows 10 21H2 (x64) Intel Core I3 3240. 8 GB RAM 1600mhz (In dual channel) AMD Radeon R5 240 1 GB. 1 TB HDD (Western Digital) Yuzu mainline 1115 (happening since a few)
Here are the logs, with no errors at all. I can't reproduce the bug in most games, as it's completely random, only in Metroid Dread (on the transition before the first EMMI cutscene) but still no errors. I'd like to use OGL as well, but this card is legacy GCN and the newest version with the performance fixes is unavailable. Something's very wrong with Vulkan's memory management here, and I'd like to know why.
Generally since you only have 7-8gb usable physical memory, you should consider setting a much larger windows pagefile (20-25gb). That should help for vulkan stability vs keeping windows set to auto.
Generally since you only have 7-8gb usable physical memory, you should consider setting a much larger windows pagefile (20-25gb). That should help for vulkan stability vs keeping windows set to auto.
I had to do that, seems like it worked but it's not a perfect fix still. Is there any awareness of a memory leak for Vulkan in Windows?
Yes.
The issue is also due to your hardware as well. Yuzu relies heavily on CPU & decent memory capacity-speed.
I would be content with how it runs atm considering most hardware that predates the console by 5+ years fares very poorly here.
For that hardware, use Linux. We don't target its outdated Windows drivers any more, and we require a minimum of 2GB of VRAM.
I'd assume the lack of VRAM is playing a part, too. I'm wondering if a similar Nvidia card (GT 730 DDR5) fares any better, as long as it's the 2 GB variant.