In order for us to provide better support, we need to see the log generated by yuzu. This guide will walk you through how you can obtain the log file: Getting Log Files - yuzu
Happens to me also. I am using “yuzu-mainline-20230613-4aae97d4a.AppImage” and Ubuntu 22.04.2 LTS (64 bit). My graphics card is an “AMD RX 6650 XT” but there is a catch, let me explain:
With “default” Ubuntu’s graphics drivers, Yuzu runs just fine but the performance is not that good when trying to push the game (Zelda TotK) to 60fps (both on OpenGL and Vulkan).
Therefore I have tried installing the latest amd drivers with:
after witch Yuzu crashes if I try to enter “configure” menu. The game (Zelda TotK) runs with “OPENGL GLSL” showing in the lower left corner of Yuzu but if I click it to switch to Vulkan, it crashes with the same error.
I have installed synaptic package manager and indeed there are multiple LLVM libraries installed for version 15: one came from Ubuntu and two came from amdgpu (x64 and i386).
I have tried to remove the i386 one, nothing happens, I have tried to remove the one from Ubuntu but stopped at the warning when noticed it will uninstall half of Ubuntu’s GUI like gnome and gdm3 .
I have then tried to uninstall the one from amdgpu x64 and Yuzu opened the Configure menu with success… but I have stopped there and did a PC restart just out of pure curiosity … and I got the “Ubuntu gray screen of death”. Ctr+Alt+Fn to an alternative console, ran “amdgpu-uninstall” , restarted and everything booted ok (no more AMD driver graphics though)
It seems that Yuzu is confused by multiple LLVM shared libraries. Some suggested compiling your program with " -DENABLE_LLVM_SHARED=1" cmake flag as a workaround but I have not dived into the compilation process yet.
Other things to mention is that benchmarking apps work ok with lots of performance boost with the AMD drivers installed (tried Basemark and UNIGINE Superposition). My CPU is an AMD Ryzen 7 5800X3D. Also there are no log files when this happens (0 kb size).
UPDATE: I have put that flag in cmake’s generate/configure phase and it said it was ignored. I have built the project from master as of now (17 June 2023) and the resulted binary has the same behavior
Rebooted and crossed my fingers to avoid the Ubuntu’s gray screen of death and it booted fine.
If things get out of hand I will just copy back the two files from my llvm-ubuntu folder.
Yuzu works ok now, both the Config menu and VULKAN drivers.
I have some doubts regarding performance though…some areas run at about 44-50 fps - ish with my current configuration. Funny thing is that in configuration I find:
UPDATE: the solution is not ideal, perhaps Yuzu needs another compilation strategy, found some info here.
But it seems to work at normal 30fps gameplay (had to use BC3 for 8GB VRAM as advised)