Open ajoneil opened 1 year ago
The mesa version available within the currently used flatpak runtime does not recognise the integrated RDNA2 graphics on Zen 4 CPUs.
Unfortunately, as the application distributor using the Flatpak platform, we have no control over which version of Mesa we could use inside the Flatpak system.
I have talked to Flatpak upstream about this issue in their IRC channels, and they told me to tell the user (you) to set the environment variable FLATPAK_GL_DRIVERS=mesa-git
before running the application. Since I don't have a system with an AMD chip this modern, I can't test this. So I hope this helps.
While my Vulkan on Yuzu Flatpak is also broken, Vulkan on Ryujinx Flatpak works fine. It looks like they use a different function to fetch the GPU names, as my GPU shows up as "AMD Radeon RX 6800 (RADV NAVI21)" on Yuzu AppImage, but on Ryujinx Flatpak, it appears as "AMD RADV SIENNA_CICHLID (dGPU)"
Perhaps Yuzu could try/catch and fallback to this dumber name if some device kills the Vulkan initialization?
yuzu Version
1235
Description
The mesa version available within the currently used flatpak runtime does not recognise the integrated RDNA2 graphics on Zen 4 CPUs. This causes Vulkan initialisation to crash, rendering Vulkan unavailable even for a dedicated graphics card.
This error doesn't occur on the AppImage, where the integrated graphics is detected as "AMD Radeon Graphics (RADV GFX1036)". I've worked around this by disabling the integrated graphics in the BIOS.
System Information
Logs
[ 0.010749] Input input_common/drivers/udp_client.cpp:UDPClient:139: Udp Initialization started
[ 0.010754] Input input_common/drivers/udp_client.cpp:StartCommunication:331: Starting communication with UDP input server on 127.0.0.1:26760
[ 0.054848] Frontend yuzu/main.cpp:GMainWindow:347: yuzu Version: yuzu 1235
[ 0.054849] Frontend yuzu/main.cpp:GMainWindow:363: Host CPU: AMD Ryzen 7 7700X 8-Core Processor | AVX512 | FMA
[ 0.054870] Frontend yuzu/main.cpp:GMainWindow:365: Host CPU Cores: 8
[ 0.054871] Frontend yuzu/main.cpp:GMainWindow:368: Host CPU Threads: 16
[ 0.054880] Frontend yuzu/main.cpp:GMainWindow:369: Host OS: KDE Flatpak runtime
[ 0.054884] Frontend yuzu/main.cpp:GMainWindow:370: Host RAM: 30.48 GiB
[ 0.054885] Frontend yuzu/main.cpp:GMainWindow:372: Host Swap: 0.00 GiB
Remarks
No response