Yuzu crashing when using AMD Vulkan

the game just crashes when i try playing smash in Vulkan because OpenGL is really unstable and just blacks out while u play and my drivers are up to date specs are: radeon rx 580 i7 2600 16gbs of ram willing to give more info if necessary

In order for us to provide better support, we need to see the log generated by Citra. This guide will walk you through how you can obtain the log file: How to Upload the Log File.

1.089426] Input input_common\gcadapter\gc_adapter.cpp:Adapter:77: GC Adapter IRenderer_UseAsynchronousShaders: true
[ 20.771672] Config common\settings.cpp:operator ():34: Renderer_UseGarbageCollection: false
[ 20.771675] Config common\settings.cpp:operator ():34: Renderer_AnisotropicFilteringLevel: 0
[ 20.771678] Config common\settings.cpp:operator ():34: Audio_OutputEngine: auto
[ 20.771681] Config common\settings.cpp:operator ():34: Audio_EnableAudioStretching: true
[ 20.771683] Config common\settings.cpp:operator ():34: Audio_OutputDevice: auto
[ 20.771686] Config common\settings.cpp:operator ():34: DataStorage_UseVirtualSd: true
[ 20.771690] Config common\settings.cpp:operator ():38: DataStorage_CacheDir: C:\Users\Gamer\AppData\Roaming\yuzu\cache
[ 20.771692] Config common\settings.cpp:operator ():38: DataStorage_ConfigDir: C:\Users\Gamer\AppData\Roaming\yuzu\config
[ 20.771694] Config common\settings.cpp:operator ():38: DataStorage_LoadDir: C:\Users\Gamer\AppData\Roaming\yuzu\load
[ 20.771697] Config common\settings.cpp:operator ():38: DataStorage_NANDDir: C:\Users\Gamer\AppData\Roaming\yuzu\nand
[ 20.771701] Config common\settings.cpp:operator ():38: DataStorage_SDMCDir: C:\Users\Gamer\AppData\Roaming\yuzu\sdmc
[ 20.771704] Config common\settings.cpp:operator ():34: Debugging_ProgramArgs:
[ 20.771707] Config common\settings.cpp:operator ():34: Services_BCATBackend: none
[ 20.771709] Config common\settings.cpp:operator ():34: Services_BCATBoxcatLocal: false
[ 20.813685] Loader core\file_sys\patch_manager.cpp:PatchRomFS:437: RomFS: Update (v0.0.0) applied successfully
[ 20.814232] HW.Memory common\host_memory.cpp:GetFuncAddress:74: Failed to load CreateFileMapping2
[ 20.814297] HW.Memory common\host_memory.cpp:HostMemory:493: Fastmem unavailable, falling back to VirtualBuffer for memory allocation
[ 20.985220] Render.Vulkan video_core\vulkan_common\vulkan_device.cpp:CheckSuitability:695: Missing required extension: VK_EXT_robustness2
[ 20.990359] Render.Vulkan video_core\renderer_vulkan\renderer_vulkan.cpp:RendererVulkan:121: Vulkan initialization failed with error: VK_ERROR_EXTENSION_NOT_PRESENT
[ 20.990438] HW.GPU video_core\video_core.cpp:CreateGPU:50: Failed to initialize GPU: Vulkan initialization error VK_ERROR_EXTENSION_NOT_PRESENT
think this is better

Install the latest GPU driver for it.

I already did though

Don’t rely on Windows Update or any laptop vendor, do it manually: Download Intel® Graphics - Windows® DCH Drivers

Please upload me the whole log file.

[ 1.840416] Input input_common\gcadapter\gc_adapter.cpp:Adapter:77: GC Adapter Initialization started
[ 1.998143] Input input_common\udp\client.cpp:Client:164: Udp Initialization started
[ 1.998171] Input input_common\udp\client.cpp:StartCommunication:309: Starting communication with UDP input server on 127.0.0.1:26760
[ 2.154259] Frontend yuzu\main.cpp:GMainWindow:246: yuzu Version: yuzu Early Access 1887
[ 2.154268] Frontend yuzu\main.cpp:GMainWindow:261: Host CPU: Intel(R) Core™ i7-2600 CPU @ 3.40GHz | AVX
[ 2.154293] Frontend yuzu\main.cpp:GMainWindow:263: Host OS: Windows 7 SP 1 (6.1)
[ 2.154719] Frontend yuzu\main.cpp:GMainWindow:265: Host RAM: 23.48 GB
[ 2.154726] Frontend yuzu\main.cpp:GMainWindow:267: Host Swap: 58.69 GB
[ 2.798934] Loader core\file_sys\patch_manager.cpp:PatchRomFS:437: RomFS: Update (v0.0.0) applied successfully
[ 2.847740] Loader core\file_sys\patch_manager.cpp:PatchRomFS:437: RomFS: Update (v0.0.0) applied successfully
[ 2.927975] Loader core\file_sys\patch_manager.cpp:PatchRomFS:437: RomFS: Update (v0.0.0) applied successfully
[ 78.325845] Loader core\file_sys\patch_manager.cpp:PatchRomFS:437: RomFS: Update (v0.0.0) applied successfully
[ 78.606342] Loader core\file_sys\patch_manager.cpp:PatchRomFS:437: RomFS: Update (v0.0.0) applied successfully
[ 78.607132] Loader core\file_sys\patch_manager.cpp:PatchRomFS:437: RomFS: Update (v0.0.0) applied successfully
[ 78.617738] Loader core\file_sys\patch_manager.cpp:PatchRomFS:437: RomFS: Update (v0.0.0) applied successfully
[ 78.624343] Loader core\file_sys\patch_manager.cpp:PatchRomFS:437: RomFS: Update (v0.0.0) applied successfully
[ 83.449715] Config common\settings.cpp:LogSettings:41: yuzu Configuration:
[ 83.449727] Config common\settings.cpp:operator ():34: Controls_UseDockedMode: true
[ 83.449734] Config common\settings.cpp:operator ():34: System_RngSeed: 0
[ 83.449740] Config common\settings.cpp:operator ():34: System_CurrentUser: 0
[ 83.449745] Config common\settings.cpp:operator ():34: System_LanguageIndex: 1
[ 83.449751] Config common\settings.cpp:operator ():34: System_RegionIndex: 1
[ 83.449756] Config common\settings.cpp:operator ():34: System_TimeZoneIndex: 0
[ 83.449761] Config common\settings.cpp:operator ():34: Core_UseMultiCore: true
[ 83.449766] Config common\settings.cpp:operator ():34: CPU_Accuracy: 0
[ 83.449771] Config common\settings.cpp:operator ():34: Renderer_UseResolutionFactor: 1
[ 83.449776] Config common\settings.cpp:operator ():34: Renderer_UseFrameLimit: true
[ 83.449782] Config common\settings.cpp:operator ():34: Renderer_FrameLimit: 100
[ 83.449788] Config common\settings.cpp:operator ():34: Renderer_UseDiskShaderCache: true
[ 83.449793] Config common\settings.cpp:operator ():34: Renderer_GPUAccuracyLevel: 1
[ 83.449799] Config common\settings.cpp:operator ():34: Renderer_UseAsynchronousGpuEmulation: true
[ 83.449804] Config common\settings.cpp:operator ():34: Renderer_UseNvdecEmulation: true
[ 83.449810] Config common\settings.cpp:operator ():34: Renderer_AccelerateASTC: true
[ 83.449815] Config common\settings.cpp:operator ():34: Renderer_UseVsync: false
[ 83.449821] Config common\settings.cpp:operator ():34: Renderer_ShaderBackend: 2
[ 83.449827] Config common\settings.cpp:operator ():34: Renderer_UseAsynchronousShaders: true
[ 83.449832] Config common\settings.cpp:operator ():34: Renderer_UseGarbageCollection: false
[ 83.449838] Config common\settings.cpp:operator ():34: Renderer_AnisotropicFilteringLevel: 0
[ 83.449843] Config common\settings.cpp:operator ():34: Audio_OutputEngine: auto
[ 83.449849] Config common\settings.cpp:operator ():34: Audio_EnableAudioStretching: true
[ 83.449854] Config common\settings.cpp:operator ():34: Audio_OutputDevice: auto
[ 83.449860] Config common\settings.cpp:operator ():34: DataStorage_UseVirtualSd: true
[ 83.449870] Config common\settings.cpp:operator ():38: DataStorage_CacheDir: C:\Users\Gamer\AppData\Roaming\yuzu\cache
[ 83.449877] Config common\settings.cpp:operator ():38: DataStorage_ConfigDir: C:\Users\Gamer\AppData\Roaming\yuzu\config
[ 83.449884] Config common\settings.cpp:operator ():38: DataStorage_LoadDir: C:\Users\Gamer\AppData\Roaming\yuzu\load
[ 83.449891] Config common\settings.cpp:operator ():38: DataStorage_NANDDir: C:\Users\Gamer\AppData\Roaming\yuzu\nand
[ 83.449898] Config common\settings.cpp:operator ():38: DataStorage_SDMCDir: C:\Users\Gamer\AppData\Roaming\yuzu\sdmc
[ 83.449904] Config common\settings.cpp:operator ():34: Debugging_ProgramArgs:
[ 83.449909] Config common\settings.cpp:operator ():34: Services_BCATBackend: none
[ 83.449915] Config common\settings.cpp:operator ():34: Services_BCATBoxcatLocal: false
[ 84.511120] Frontend yuzu\main.cpp:BootGame:1323: yuzu starting…
[ 84.516887] Loader core\file_sys\patch_manager.cpp:PatchRomFS:437: RomFS: Update (v0.0.0) applied successfully
[ 84.524890] Config common\settings.cpp:LogSettings:41: yuzu Configuration:
[ 84.524899] Config common\settings.cpp:operator ():34: Controls_UseDockedMode: true
[ 84.524902] Config common\settings.cpp:operator ():34: System_RngSeed: 0
[ 84.524904] Config common\settings.cpp:operator ():34: System_CurrentUser: 0
[ 84.524907] Config common\settings.cpp:operator ():34: System_LanguageIndex: 1
[ 84.524918] Config common\settings.cpp:operator ():34: System_RegionIndex: 1
[ 84.524920] Config common\settings.cpp:operator ():34: System_TimeZoneIndex: 0
[ 84.524923] Config common\settings.cpp:operator ():34: Core_UseMultiCore: true
[ 84.524926] Config common\settings.cpp:operator ():34: CPU_Accuracy: 0
[ 84.524929] Config common\settings.cpp:operator ():34: Renderer_UseResolutionFactor: 1
[ 84.524932] Config common\settings.cpp:operator ():34: Renderer_UseFrameLimit: true
[ 84.524934] Config common\settings.cpp:operator ():34: Renderer_FrameLimit: 100
[ 84.524937] Config common\settings.cpp:operator ():34: Renderer_UseDiskShaderCache: true
[ 84.524940] Config common\settings.cpp:operator ():34: Renderer_GPUAccuracyLevel: 1
[ 84.524943] Config common\settings.cpp:operator ():34: Renderer_UseAsynchronousGpuEmulation: true
[ 84.524946] Config common\settings.cpp:operator ():34: Renderer_UseNvdecEmulation: true
[ 84.524948] Config common\settings.cpp:operator ():34: Renderer_AccelerateASTC: true
[ 84.524952] Config common\settings.cpp:operator ():34: Renderer_UseVsync: false
[ 84.524954] Config common\settings.cpp:operator ():34: Renderer_ShaderBackend: 2
[ 84.524957] Config common\settings.cpp:operator ():34: Renderer_UseAsynchronousShaders: true
[ 84.524960] Config common\settings.cpp:operator ():34: Renderer_UseGarbageCollection: false
[ 84.524963] Config common\settings.cpp:operator ():34: Renderer_AnisotropicFilteringLevel: 0
[ 84.524966] Config common\settings.cpp:operator ():34: Audio_OutputEngine: auto
[ 84.524969] Config common\settings.cpp:operator ():34: Audio_EnableAudioStretching: true
[ 84.524972] Config common\settings.cpp:operator ():34: Audio_OutputDevice: auto
[ 84.524974] Config common\settings.cpp:operator ():34: DataStorage_UseVirtualSd: true
[ 84.524978] Config common\settings.cpp:operator ():38: DataStorage_CacheDir: C:\Users\Gamer\AppData\Roaming\yuzu\cache
[ 84.524981] Config common\settings.cpp:operator ():38: DataStorage_ConfigDir: C:\Users\Gamer\AppData\Roaming\yuzu\config
[ 84.524984] Config common\settings.cpp:operator ():38: DataStorage_LoadDir: C:\Users\Gamer\AppData\Roaming\yuzu\load
[ 84.524987] Config common\settings.cpp:operator ():38: DataStorage_NANDDir: C:\Users\Gamer\AppData\Roaming\yuzu\nand
[ 84.524990] Config common\settings.cpp:operator ():38: DataStorage_SDMCDir: C:\Users\Gamer\AppData\Roaming\yuzu\sdmc
[ 84.524994] Config common\settings.cpp:operator ():34: Debugging_ProgramArgs:
[ 84.524996] Config common\settings.cpp:operator ():34: Services_BCATBackend: none
[ 84.524999] Config common\settings.cpp:operator ():34: Services_BCATBoxcatLocal: false
[ 84.535801] Loader core\file_sys\patch_manager.cpp:PatchRomFS:437: RomFS: Update (v0.0.0) applied successfully
[ 84.536329] HW.Memory common\host_memory.cpp:GetFuncAddress:74: Failed to load CreateFileMapping2
[ 84.536405] HW.Memory common\host_memory.cpp:HostMemory:493: Fastmem unavailable, falling back to VirtualBuffer for memory allocation
[ 84.712163] Render.Vulkan video_core\vulkan_common\vulkan_device.cpp:CheckSuitability:695: Missing required extension: VK_EXT_robustness2
[ 84.717569] Render.Vulkan video_core\renderer_vulkan\renderer_vulkan.cpp:RendererVulkan:121: Vulkan initialization failed with error: VK_ERROR_EXTENSION_NOT_PRESENT
[ 84.717650] HW.GPU video_core\video_core.cpp:CreateGPU:50: Failed to initialize GPU: Vulkan initialization error VK_ERROR_EXTENSION_NOT_PRESENT
sent it yesterday but here u go

What GPU model are you using?

amd radeon rx 580 if it doesnt show it in the log file

Install the latest 21.7.1 driver from here: https://www.amd.com/en/support/graphics/radeon-500-series/radeon-rx-500-series/radeon-rx-580
If you already did, post me a picture of GPU-Z: GPU-Z Graphics Card GPU Information Utility

dude im on windows 7 i can install a max 21.5 and i already have installed it


heres the gpu z info

Hmm, 21.5.2 should be fine… Yet it fails to start Vulkan, sounds like AMD messed up the Windows 7 drivers.
Keep in mind, your GPU will only be supported on Window 10 and 11 from now on, and eventually we won’t be able to keep supporting 21.5.2, I recommend you to move to 10 or Linux.

alright listen ill re install and factory reset the drivers plus re install the firmware and ill post on what happened tomorrow

yep it doesnt work i give up

The Robustness2 problem is not Win7 problem, Win10 has same problem.

Maybe Robustness2 will crash any Vulkan program on Windows with AMD GPU, you should review Robustness2.

BTW, after VKD3D-Proten merge Robustness2 will crash anything on Windows with AMD GPU too.

Lack of robustness2 means outdated drivers.
We can’t remove its requirement, it’s mandatory for our Vulkan API implementation.

I had the same issue since the update today. I deleted the shader cache for the game in question (Smaash Ultimate for me):
C:\Users[USERNAMEW]\AppData\Roaming\yuzu\shader[GAME_ID]
→ I renamed the folder to [GAMEID.BAK]

When Windows users using the latest AMD GPU Driver still crash Vulkan program, then we should blame to Robustness2.
LunarG is obviously not concerned about Windows (AMD GPU) users in updating the Vulkan standard, getting rid of Robustness2’s dependency will obviously make Vulkan programs compatible with more environments that support Vulkan.

Windows Update is known to revert driver versions on its own, check GPU-Z and confirm the date of your current driver. You will see you have a <2020 one.
Manually install the latest driver and it will work. This isn’t our issue.

I am manually install latest driver and clean old version driver, but still can’t resolve this issue, so I think this is Robustness2 problem.

You can refer to DXVK, enable that if available, not force use that.
「 enable.extRobustness2.robustBufferAccess2 = support.extRobustness2.robustBufferAccess2; 」

BTW
(Vulkan) Robustness2 is trouble maker of AMD GPU Windows driver, force Windows users to use Linux.
(DX11.1+) OpenSharedResource is trouble maker of DXVK/VKD3D-PROTON (All non-Win8+ OS), force non-Windows users to use Win8+.
I hate Robustness2 & OpenSharedResource, I hope I can freely choose any OS that I want to use and support Vulkan to use Vulkan instead of DX11.1+/OGL to enjoy all new games.