cemu-project / Cemu

Cemu - Wii U emulator
https://cemu.info
Mozilla Public License 2.0
7.21k stars 586 forks source link

Zelda Breath of the Wild freeze when opening and closing quick-switcher multiple times in quick succession #1099

Closed AlphaCraft9658 closed 2 months ago

AlphaCraft9658 commented 7 months ago

Current Behavior

When opening and closing a quick-switcher, like the weapon selector or Shiekah-Slate module selector, multiple times in very quick succession, the game freezes.

Expected Behavior

The game should continue running normally and properly handle the quick opening and closing of those menus.

Steps to Reproduce

  1. Open Zelda Breath of the Wild
  2. Open and close the Weapon switcher multiple times very quickly until the game freezes

Additionally: You may want to reproduce my setup based on my changed settings and what's shown in the logs below.

System Info (Optional)

OS: Fedora KDE 39 (Linux) GPU: NVIDIA GeForce RTX 3070 Ti

Emulation Settings (Optional)

No response

Logs (Optional)

[07:58:15.471] ------- Init Cemu 2.0-66 (experimental) ------- [07:58:15.471] Init Wii U memory space (base: 0x00007fdb27e00000) [07:58:15.471] mlc01 path: /home/alpha-craft/.local/share/Cemu/mlc01 [07:58:15.471] CPU: 11th Gen Intel(R) Core(TM) i9-11900K @ 3.50GHz [07:58:15.471] RAM: 48046MB [07:58:15.471] Platform: Linux [07:58:15.471] Used CPU extensions: SSSE3, SSE4.1, AVX, AVX2, LZCNT, MOVBE, BMI2, AES-NI, INVARIANT-TSC [07:58:15.539] Update check failed with CURL error 27 [07:58:22.228] Mounting title 00050000101c9500 [07:58:22.228] Base: /media/alpha-craft/Linux-Files/Programme/Cemu-Games/Games/Breath of the Wild [Folder] [07:58:22.228] Update: /media/alpha-craft/Linux-Files/Programme/Cemu-Games/Updates/Breath of the Wild [Folder] [07:58:22.228] DLC: /media/alpha-craft/Linux-Files/Programme/Cemu-Games/DLC/Breath of the Wild [Folder] [07:58:22.228] Shared font CafeCn.ttf is not present [07:58:22.234] Recompiler initialized [07:58:22.625] GameMode has been started. [07:58:22.626] ------- Init Vulkan graphics backend ------- [07:58:22.656] Vulkan instance version: 1.3 [07:58:22.684] Using GPU: NVIDIA GeForce RTX 3070 Ti [07:58:22.684] Driver version: 535.129.03 [07:58:22.684] VulkanLimits: UBAlignment 64 nonCoherentAtomSize 64 [07:58:22.719] Using available debug function: vkCreateDebugUtilsMessengerEXT() [07:58:22.719] Vulkan device memory info: [07:58:22.719] Heap 0 - Size 8192MB Flags 0x00000001 [07:58:22.719] Heap 1 - Size 36035MB Flags 0x00000000 [07:58:22.719] Memory 0 - HeapIndex 1 Flags 0x00000000 [07:58:22.719] Memory 1 - HeapIndex 0 Flags 0x00000001 [07:58:22.719] Memory 2 - HeapIndex 1 Flags 0x00000006 [07:58:22.719] Memory 3 - HeapIndex 1 Flags 0x0000000e [07:58:22.719] Memory 4 - HeapIndex 0 Flags 0x00000007 [07:58:22.813] ------- Loaded title ------- [07:58:22.813] TitleId: 00050000-101c9500 [07:58:22.813] TitleVersion: v208 [07:58:22.813] TitleRegion: EU [07:58:22.813] Save path: /home/alpha-craft/.local/share/Cemu/mlc01/usr/save/00050000/101C9500/user/ (not present) [07:58:22.813] Shader cache file: shaderCache/transferable/00050000101c9500.bin [07:58:22.813] gameprofile path: gameProfiles/00050000101c9500.ini [07:58:22.813] RPX hash (updated): fb7911ad [07:58:22.813] RPX hash (base): dcac9927 [07:58:22.813] Graphic pack: Using modified RAM mapping 10000000-a0000000 (+1310720KiB) [07:58:22.813] Graphic pack: Using modified RAM mapping a0000000-e0000000 (+589824KiB) [07:58:22.817] nsyshid::BackendLibusb: device not on whitelist: 1d6b:0003 [07:58:22.817] nsyshid::BackendLibusb: device not on whitelist: 0db0:4240 [07:58:22.817] nsyshid::BackendLibusb: device not on whitelist: 1017:a003 [07:58:22.817] nsyshid::BackendLibusb: device not on whitelist: 1462:7d08 [07:58:22.817] nsyshid::BackendLibusb: device not on whitelist: 8087:0032 [07:58:22.817] nsyshid::BackendLibusb: device not on whitelist: 1b1c:0c21 [07:58:22.817] nsyshid::BackendLibusb: device not on whitelist: 05e3:0608 [07:58:22.817] nsyshid::BackendLibusb: device not on whitelist: 25a7:fa07 [07:58:22.817] nsyshid::BackendLibusb: device not on whitelist: 05e3:0608 [07:58:22.817] nsyshid::BackendLibusb: device not on whitelist: 05a3:9331 [07:58:22.817] nsyshid::BackendLibusb: device not on whitelist: 1d6b:0002 [07:58:22.909] Loaded module 'u-king' with checksum 0x6267bfd0 [07:58:22.909] RPL link time: 93ms [07:58:22.984] HLE scan time: 75ms [07:58:22.984] ------- Active settings ------- [07:58:22.984] CPU-Mode: Multi-core recompiler (gameprofile) [07:58:22.984] Load shared libraries: true (gameprofile) [07:58:22.984] Use precompiled shaders: auto (gameprofile) [07:58:22.984] Full sync at GX2DrawDone: true [07:58:22.984] Strict shader mul: true [07:58:22.984] Async compile: true [07:58:22.984] Console language: 3 [07:58:23.195] ------- Activate graphic packs ------- [07:58:23.195] Applying patch group 'BotW_DrawDistance_V208' (Codecave: 01800000-01800040) [07:58:23.195] Activate graphic pack: The Legend of Zelda: Breath of the Wild/Mods/Draw Distance [Presets: Extreme (2x, requires Extended Memory pack!),Ultra (1.5x, requires Extended Memory pack!),Extreme,High,Much higher(-3)] [07:58:23.195] Applying patch group 'BotW_ExtendedMemory_V208' [07:58:23.195] Activate graphic pack: The Legend of Zelda: Breath of the Wild/Mods/Extended Memory [07:58:23.197] Applying patch group 'BotW_MastercycleSpeed_V208' (Codecave: 01800100-01800114) [07:58:23.197] Applying patch group 'BotW_VSync_V208' (Codecave: 01800200-018002a4) [07:58:23.197] Applying patch group 'BotW_FenceMethod_V208' (Codecave: 01800300-0180036c) [07:58:23.197] Applying patch group 'BotW_Cutscene_V208' (Codecave: 01800400-01800638) [07:58:23.197] Applying patch group 'BotW_Gamespeed_V208' (Codecave: 01800700-018009d0) [07:58:23.197] Applying patch group 'BotW_Ragdolls_V208' (Codecave: 01800a00-01800a10) [07:58:23.197] Applying patch group 'BotW_ControllerScrollSpeed_V208' (Codecave: 01800b00-01800edc) [07:58:23.197] Applying patch group 'BotW_LoadingScreen_V208' [07:58:23.197] Applying patch group 'BotW_KorokChasing_V208' (Codecave: 01800f00-01800f20) [07:58:23.197] Applying patch group 'BotW_WaterPhysics_V208' (Codecave: 01801000-01801038) [07:58:23.197] Set vsync frequency to 240 (graphic pack The Legend of Zelda: Breath of the Wild/Mods/FPS++) [07:58:23.197] Activate graphic pack: The Legend of Zelda: Breath of the Wild/Mods/FPS++ [Presets: Normal Settings,240FPS Limit,240FPS (ideal for 240Hz displays),Automatically Limit In Few Cutscenes (Recommended),Disabled (Default, dynamically adjust game speed),8 Frames Averaged (Default),Performance Fence (Default),Disabled (Default)] [07:58:23.209] Applying patch group 'BotW_GUIScreenNames_V208' (Codecave: 01801100-0180207f) [07:58:23.209] Applying patch group 'BotW_GUIAspectRatio_V208' (Codecave: 01802100-01804498) [07:58:23.209] Applying patch group 'BotW_AspectRatio_Shared' (Codecave: 01804500-01804508) [07:58:23.209] Applying patch group 'BotW_AspectRatio_V208' [07:58:23.210] Activate graphic pack: The Legend of Zelda: Breath of the Wild/Graphics [Presets: 16:9 (Default),1920x1080 (Full HD),Edge HUD (Default),NVIDIA FXAA,Ultra (300%),Very High (Recommended)] [07:58:23.211] Activate graphic pack: The Legend of Zelda: Breath of the Wild/Enhancements [Presets: CellHunter's Preset,Enabled,Enhanced Reflections,Extreme (64 samples),Extreme (16x)] [07:58:23.211] ------- Init Audio backend ------- [07:58:23.211] DirectSound: not supported [07:58:23.211] XAudio 2.8: not supported [07:58:23.211] XAudio 2.7: not supported [07:58:23.211] Cubeb: available [07:58:23.211] ------- Init Audio input backend ------- [07:58:23.211] Cubeb: available [07:58:23.211] ------- Run title ------- [07:58:25.734] IOSU_ACT: using account AlphaCraft in first slot

Exzap commented 6 months ago

Can you check if this crash also happens if you turn off all graphic packs except for FPS++? And if yes, can you then try lowering FPS++ to 60 or 30 FPS and see if it still crashes.

AlphaCraft9658 commented 6 months ago

Can you check if this crash also happens if you turn off all graphic packs except for FPS++? And if yes, can you then try lowering FPS++ to 60 or 30 FPS and see if it still crashes.

Oh. I got an Email about this but totally forgot about it! I'm so sorry! I'll try to test that tomorrow.

AlphaCraft9658 commented 6 months ago

Can you check if this crash also happens if you turn off all graphic packs except for FPS++? And if yes, can you then try lowering FPS++ to 60 or 30 FPS and see if it still crashes.

I have tested what you asked me, and it is related to FPS++. I am usually running the game with a 240 FPS limit, but when limiting it to 60 FPS, this doesn't happen. Do you have an idea as to what could be going on?

Exzap commented 2 months ago

Main author of FPS++ is aware of this. It happens at 60 FPS very rarely and chance increases with higher FPS. Going to close this since it belongs on https://github.com/cemu-project/cemu_graphic_packs/issues anyway