Open Aquate-q opened 1 year ago
i have the same issue and my setup is nearly identical: fedora 39, flatpak, vulkan, nvidia. the logs are nearly identical too.
the issue only occurs on nvidia + vulkan specifically. nvidia + opengl and vulkan + intel works fine.
i disabled the wayland socket in flatseal and everything works now. so it's a nvidia + vulkan + wayland specific issue. still haven't tested non-flatpak versions tho.
i downloaded the appimage version and it runs on x11 by default. seems like wayland wasn't enabled by default on upstream, probably for good reasons.
in conclusion, the solution is just to make it run on xwayland.
Seems that it is not a Nvidia + Vulkan bug. I have the same issue with Intel + Vulkan.
System information
.-/+oossssoo+/-. gael@gael-pc `:+ssssssssssssssssss+:` ------------ -+ssssssssssssssssssyyssss+- OS: Ubuntu 22.04.3 LTS x86_64 .ossssssssssssssssssdMMMNysssso. Host: Latitude E6430 01 /ssssssssssshdmmNNmmyNMMMMhssssss/ Kernel: 5.15.0-91-generic +ssssssssshmydMMMMMMMNddddyssssssss+ Uptime: 38 mins /sssssssshNMMMyhhyyyyhmNMMMNhssssssss/ Packages: 2614 (dpkg), 15 (flatpak), .ssssssssdMMMNhsssssssssshNMMMdssssssss. Shell: bash 5.1.16 +sssshhhyNMMNyssssssssssssyNMMMysssssss+ Resolution: 1366x768 ossyNMMMNyMMhsssssssssssssshmmmhssssssso DE: GNOME 42.9 ossyNMMMNyMMhsssssssssssssshmmmhssssssso WM: Mutter +sssshhhyNMMNyssssssssssssyNMMMysssssss+ WM Theme: Adwaita .ssssssssdMMMNhsssssssssshNMMMdssssssss. Theme: Yaru [GTK2/3] /sssssssshNMMMyhhyyyyhdNMMMNhssssssss/ Icons: Yaru [GTK2/3] +sssssssssdmydMMMMMMMMddddyssssssss+ Terminal: gnome-terminal /ssssssssssshdmNNNNmyNMMMMhssssss/ CPU: Intel i5-3320M (4) @ 3.300GHz .ossssssssssssssssssdMMMNysssso. GPU: Intel 3rd Gen Core processor Gr -+sssssssssssssssssyyyssss+- Memory: 2948MiB / 7811MiB `:+ssssssssssssssssss+:` .-/+oossssoo+/-.
Logs
[ 0.041989] Input
Please understand the limitations of your device before you post into this issue, a Latitude e6430 doesn't even have a D3D11 grade IGP in it, the previous comment should be pruned as its not relevant to this bug.
I also have this issue on Nobara. Here's the log:
yuzu Version
1617
Description
Yuzu crashes when launching games on vulkan on wayland. Vulkan works fine with x11.
Reproduction Certainty
Always
System Information
Logs and Backtraces
[ 0.068377] Input input_common/drivers/udp_client.cpp:UDPClient:139: Udp Initialization started
[ 0.068398] Input input_common/drivers/udp_client.cpp:StartCommunication:331: Starting communication with UDP input server on 127.0.0.1:26760
[ 0.103783] Input input_common/drivers/joycon.cpp:Joycons:22: Joycon driver Initialization started
[ 0.161548] Frontend yuzu/main.cpp:GMainWindow:375: yuzu Version: yuzu 1617
[ 0.161554] Frontend yuzu/main.cpp:LogRuntimes:261: Qt Compile: 5.15.10 Runtime: 5.15.10
[ 0.161557] Frontend yuzu/main.cpp:GMainWindow:391: Host CPU: AMD Ryzen 5 4600H with Radeon Graphics | AVX2 | FMA
[ 0.161639] Frontend yuzu/main.cpp:GMainWindow:393: Host CPU Cores: 6
[ 0.161642] Frontend yuzu/main.cpp:GMainWindow:396: Host CPU Threads: 12
[ 0.161747] Frontend yuzu/main.cpp:GMainWindow:397: Host OS: KDE Flatpak runtime
[ 0.161770] Frontend yuzu/main.cpp:GMainWindow:398: Host RAM: 14.98 GiB
[ 0.161772] Frontend yuzu/main.cpp:GMainWindow:400: Host Swap: 8.00 GiB
[ 0.279243] Loader core/file_sys/patch_manager.cpp:PatchRomFS:450: RomFS: Update (v0.2.0) applied successfully
[ 0.294501] Loader core/file_sys/patch_manager.cpp:PatchRomFS:450: RomFS: Update (v0.26.0) applied successfully
[ 0.308437] Loader core/file_sys/patch_manager.cpp:PatchRomFS:450: RomFS: Update (v0.16.0) applied successfully
[ 0.318188] Loader core/file_sys/patch_manager.cpp:PatchRomFS:450: RomFS: Update (v0.2.0) applied successfully
[ 0.333447] Loader core/file_sys/patch_manager.cpp:PatchRomFS:450: RomFS: Update (v0.26.0) applied successfully
[ 0.347409] Loader core/file_sys/patch_manager.cpp:PatchRomFS:450: RomFS: Update (v0.16.0) applied successfully
[ 0.839123] Frontend yuzu/main.cpp:SetupPrepareForSleep:1665: QDBusConnection system bus is not connected
[ 77.924331] Frontend yuzu/main.cpp:BootGame:1910: yuzu starting...
[ 77.953679] Loader core/file_sys/patch_manager.cpp:PatchRomFS:450: RomFS: Update (v0.16.0) applied successfully
[ 77.965845] Loader core/file_sys/patch_manager.cpp:PatchRomFS:450: RomFS: Update (v0.16.0) applied successfully
[ 77.975733] Config common/settings.cpp:LogSettings:115: yuzu Configuration:
[ 77.975747] Config common/settings.cpp:operator():108: -- Audio.output_engine: auto
[ 77.975750] Config common/settings.cpp:operator():108: -- Audio.output_device: auto
[ 77.975752] Config common/settings.cpp:operator():108: -- Audio.input_device: auto
[ 77.975756] Config common/settings.cpp:operator():108: -- Audio.volume: 100
[ 77.975759] Config common/settings.cpp:operator():108: -- Audio.audio_muted: false
[ 77.975762] Config common/settings.cpp:operator():108: -- Audio.dump_audio_commands: false
[ 77.975765] Config common/settings.cpp:operator():108: -- Core.use_multi_core: true
[ 77.975770] Config common/settings.cpp:operator():108: -- Core.memory_layout_mode: Memory_4Gb
[ 77.975771] Config common/settings.cpp:operator():108: -- Core.use_speed_limit: true
[ 77.975775] Config common/settings.cpp:operator():108: -- Core.speed_limit: 100
[ 77.975779] Config common/settings.cpp:operator():108: -- Cpu.cpu_accuracy: Auto
[ 77.975782] Config common/settings.cpp:operator():108: -- Cpu.cpu_debug_mode: false
[ 77.975785] Config common/settings.cpp:operator():108: -- Cpu.cpuopt_page_tables: true
[ 77.975788] Config common/settings.cpp:operator():108: -- Cpu.cpuopt_block_linking: true
[ 77.975791] Config common/settings.cpp:operator():108: -- Cpu.cpuopt_return_stack_buffer: true
[ 77.975794] Config common/settings.cpp:operator():108: -- Cpu.cpuopt_fast_dispatcher: true
[ 77.975797] Config common/settings.cpp:operator():108: -- Cpu.cpuopt_context_elimination: true
[ 77.975799] Config common/settings.cpp:operator():108: -- Cpu.cpuopt_const_prop: true
[ 77.975802] Config common/settings.cpp:operator():108: -- Cpu.cpuopt_misc_ir: true
[ 77.975805] Config common/settings.cpp:operator():108: -- Cpu.cpuopt_reduce_misalign_checks: true
[ 77.975807] Config common/settings.cpp:operator():108: -- Cpu.cpuopt_fastmem: true
[ 77.975810] Config common/settings.cpp:operator():108: -- Cpu.cpuopt_fastmem_exclusives: true
[ 77.975813] Config common/settings.cpp:operator():108: -- Cpu.cpuopt_recompile_exclusives: true
[ 77.975818] Config common/settings.cpp:operator():108: -- Cpu.cpuopt_ignore_memory_aborts: true
[ 77.975822] Config common/settings.cpp:operator():108: -- Cpu.cpuopt_unsafe_unfuse_fma: true
[ 77.975825] Config common/settings.cpp:operator():108: -- Cpu.cpuopt_unsafe_reduce_fp_error: true
[ 77.975828] Config common/settings.cpp:operator():108: -- Cpu.cpuopt_unsafe_ignore_standard_fpcr: true
[ 77.975831] Config common/settings.cpp:operator():108: -- Cpu.cpuopt_unsafe_inaccurate_nan: true
[ 77.975834] Config common/settings.cpp:operator():108: -- Cpu.cpuopt_unsafe_fastmem_check: true
[ 77.975839] Config common/settings.cpp:operator():108: -- Cpu.cpuopt_unsafe_ignore_global_monitor: true
[ 77.975843] Config common/settings.cpp:operator():108: -- Renderer.backend: Vulkan
[ 77.975847] Config common/settings.cpp:operator():108: -- Renderer.shader_backend: Glsl
[ 77.975849] Config common/settings.cpp:operator():108: -- Renderer.vulkan_device: 0
[ 77.975851] Config common/settings.cpp:operator():108: -- Renderer.use_disk_shader_cache: true
[ 77.975853] Config common/settings.cpp:operator():108: -- Renderer.use_asynchronous_gpu_emulation: true
[ 77.975857] Config common/settings.cpp:operator():108: -- Renderer.accelerate_astc: Gpu
[ 77.975860] Config common/settings.cpp:operator():108: -- Renderer.use_vsync: Fifo
[ 77.975865] Config common/settings.cpp:operator():108: -- Renderer.nvdec_emulation: Gpu
[ 77.975869] Config common/settings.cpp:operator():108: -- Renderer.fullscreen_mode: Exclusive
[ 77.975873] Config common/settings.cpp:operator():108: -- Renderer.aspect_ratio: R16_9
[ 77.975891] Config common/settings.cpp:operator():108: -- Renderer.resolution_setup: Res1X
[ 77.975895] Config common/settings.cpp:operator():108: -- Renderer.scaling_filter: Bilinear
[ 77.975898] Config common/settings.cpp:operator():108: -- Renderer.anti_aliasing: None
[ 77.975901] Config common/settings.cpp:operator():108: -- Renderer.fsr_sharpening_slider: 25
[ 77.975905] Config common/settings.cpp:operator():108: -- Renderer.bg_red: 0
[ 77.975907] Config common/settings.cpp:operator():108: -- Renderer.bg_green: 0
[ 77.975909] Config common/settings.cpp:operator():108: -- Renderer.bg_blue: 0
[ 77.975914] Config common/settings.cpp:operator():108: M- Renderer.gpu_accuracy: Normal
[ 77.975918] Config common/settings.cpp:operator():108: -- Renderer.max_anisotropy: Automatic
[ 77.975921] Config common/settings.cpp:operator():108: -- Renderer.astc_recompression: Uncompressed
[ 77.975924] Config common/settings.cpp:operator():108: -- Renderer.async_presentation: false
[ 77.975926] Config common/settings.cpp:operator():108: -- Renderer.force_max_clock: false
[ 77.975929] Config common/settings.cpp:operator():108: -- Renderer.use_reactive_flushing: true
[ 77.975932] Config common/settings.cpp:operator():108: -- Renderer.use_asynchronous_shaders: false
[ 77.975935] Config common/settings.cpp:operator():108: -- Renderer.use_fast_gpu_time: true
[ 77.975939] Config common/settings.cpp:operator():108: -- Renderer.use_vulkan_driver_pipeline_cache: true
[ 77.975942] Config common/settings.cpp:operator():108: -- Renderer.enable_compute_pipelines: false
[ 77.975945] Config common/settings.cpp:operator():108: -- Renderer.use_video_framerate: false
[ 77.975948] Config common/settings.cpp:operator():108: -- Renderer.barrier_feedback_loops: true
[ 77.975950] Config common/settings.cpp:operator():108: -- Renderer.debug: false
[ 77.975955] Config common/settings.cpp:operator():108: -- Renderer.shader_feedback: false
[ 77.975961] Config common/settings.cpp:operator():108: -- Renderer.nsight_aftermath: false
[ 77.975965] Config common/settings.cpp:operator():108: -- Renderer.disable_shader_loop_safety_checks: false
[ 77.975968] Config common/settings.cpp:operator():108: -- Renderer.renderdoc_hotkey: false
[ 77.975975] Config common/settings.cpp:operator():108: -- System.language_index: EnglishAmerican
[ 77.975979] Config common/settings.cpp:operator():108: -- System.region_index: Usa
[ 77.976012] Config common/settings.cpp:operator():108: -- System.time_zone_index: Auto
[ 77.976015] Config common/settings.cpp:operator():108: -- System.custom_rtc_enabled: false
[ 77.976018] Config common/settings.cpp:operator():108: M- System.custom_rtc: 1699783410
[ 77.976022] Config common/settings.cpp:operator():108: -- System.rng_seed_enabled: false
[ 77.976025] Config common/settings.cpp:operator():108: -- System.rng_seed: 0
[ 77.976028] Config common/settings.cpp:operator():108: -- System.device_name: yuzu
[ 77.976033] Config common/settings.cpp:operator():108: -- System.current_user: 0
[ 77.976036] Config common/settings.cpp:operator():108: -- System.use_docked_mode: Docked
[ 77.976041] Config common/settings.cpp:operator():108: -- System.sound_index: Stereo
[ 77.976046] Config common/settings.cpp:operator():108: -- Data Storage.use_virtual_sd: true
[ 77.976048] Config common/settings.cpp:operator():108: -- Data Storage.gamecard_inserted: false
[ 77.976053] Config common/settings.cpp:operator():108: -- Data Storage.gamecard_current_game: false
[ 77.976058] Config common/settings.cpp:operator():108: -- Data Storage.gamecard_path:
[ 77.976063] Config common/settings.cpp:operator():108: -- Debugging.use_gdbstub: false
[ 77.976077] Config common/settings.cpp:operator():108: -- Debugging.gdbstub_port: 6543
[ 77.976079] Config common/settings.cpp:operator():108: -- Debugging.program_args:
[ 77.976082] Config common/settings.cpp:operator():108: -- Debugging.dump_exefs: false
[ 77.976085] Config common/settings.cpp:operator():108: -- Debugging.dump_nso: false
[ 77.976087] Config common/settings.cpp:operator():108: -- Debugging.enable_fs_access_log: false
[ 77.976090] Config common/settings.cpp:operator():108: -- Debugging.reporting_services: false
[ 77.976092] Config common/settings.cpp:operator():108: -- Debugging.quest_flag: false
[ 77.976095] Config common/settings.cpp:operator():108: -- Debugging.extended_logging: false
[ 77.976098] Config common/settings.cpp:operator():108: -- Debugging.use_debug_asserts: false
[ 77.976101] Config common/settings.cpp:operator():108: -- Debugging.use_auto_stub: false
[ 77.976105] Config common/settings.cpp:operator():108: -- Debugging.enable_all_controllers: false
[ 77.976109] Config common/settings.cpp:operator():108: -- Debugging.perform_vulkan_check: true
[ 77.976116] Config common/settings.cpp:operator():108: -- Debugging.dump_shaders: false
[ 77.976121] Config common/settings.cpp:operator():108: -- Debugging.dump_macros: false
[ 77.976123] Config common/settings.cpp:operator():108: -- Debugging.disable_macro_jit: false
[ 77.976126] Config common/settings.cpp:operator():108: -- Debugging.disable_macro_hle: false
[ 77.976128] Config common/settings.cpp:operator():108: -- Miscellaneous.log_filter: *:Info
[ 77.976131] Config common/settings.cpp:operator():108: -- Miscellaneous.use_dev_keys: false
[ 77.976134] Config common/settings.cpp:operator():108: M- Network.network_interface: None
[ 77.976139] Config common/settings.cpp:operator():108: -- WebService.enable_telemetry: true
[ 77.976142] Config common/settings.cpp:operator():108: -- WebService.web_api_url: https://api.yuzu-emu.org
[ 77.976144] Config common/settings.cpp:operator():108: -- WebService.yuzu_username:
[ 77.976148] Config common/settings.cpp:operator():108: -- Controls.enable_raw_input: false
[ 77.976150] Config common/settings.cpp:operator():108: -- Controls.controller_navigation: true
[ 77.976153] Config common/settings.cpp:operator():108: -- Controls.enable_joycon_driver: true
[ 77.976155] Config common/settings.cpp:operator():108: -- Controls.enable_procon_driver: false
[ 77.976158] Config common/settings.cpp:operator():108: -- Controls.vibration_enabled: true
[ 77.976161] Config common/settings.cpp:operator():108: -- Controls.enable_accurate_vibrations: false
[ 77.976165] Config common/settings.cpp:operator():108: -- Controls.motion_enabled: true
[ 77.976169] Config common/settings.cpp:operator():108: -- Controls.udp_input_servers: 127.0.0.1:26760
[ 77.976172] Config common/settings.cpp:operator():108: -- Controls.enable_udp_controller: false
[ 77.976175] Config common/settings.cpp:operator():108: -- Controls.pause_tas_on_load: true
[ 77.976178] Config common/settings.cpp:operator():108: -- Controls.tas_enable: false
[ 77.976183] Config common/settings.cpp:operator():108: -- Controls.tas_loop: false
[ 77.976185] Config common/settings.cpp:operator():108: -- Controls.mouse_panning: false
[ 77.976188] Config common/settings.cpp:operator():108: -- Controls.mouse_panning_sensitivity: 50
[ 77.976191] Config common/settings.cpp:operator():108: -- Controls.mouse_enabled: false
[ 77.976194] Config common/settings.cpp:operator():108: -- Controls.mouse_panning_x_sensitivity: 50
[ 77.976197] Config common/settings.cpp:operator():108: -- Controls.mouse_panning_y_sensitivity: 50
[ 77.976200] Config common/settings.cpp:operator():108: -- Controls.mouse_panning_deadzone_counterweight: 20
[ 77.976202] Config common/settings.cpp:operator():108: -- Controls.mouse_panning_decay_strength: 18
[ 77.976205] Config common/settings.cpp:operator():108: -- Controls.mouse_panning_min_decay: 6
[ 77.976208] Config common/settings.cpp:operator():108: -- Controls.emulate_analog_keyboard: false
[ 77.976212] Config common/settings.cpp:operator():108: -- Controls.keyboard_enabled: false
[ 77.976217] Config common/settings.cpp:operator():108: -- Controls.debug_pad_enabled: false
[ 77.976223] Config common/settings.cpp:operator():108: -- Controls.touch_device: min_x:100,min_y:50,max_x:1800,max_y:850
[ 77.976226] Config common/settings.cpp:operator():108: -- Controls.touch_from_button_map: 0
[ 77.976229] Config common/settings.cpp:operator():108: -- Controls.enable_ring_controller: true
[ 77.976231] Config common/settings.cpp:operator():108: -- Controls.enable_ir_sensor: false
[ 77.976234] Config common/settings.cpp:operator():108: -- Controls.ir_sensor_device: auto
[ 77.976237] Config common/settings.cpp:operator():108: -- Controls.random_amiibo_id: false
[ 77.976242] Config common/settings.cpp:operator():112: DataStorage_CacheDir: /home/arya/.var/app/org.yuzu_emu.yuzu/cache/yuzu
[ 77.976244] Config common/settings.cpp:operator():112: DataStorage_ConfigDir: /home/arya/.var/app/org.yuzu_emu.yuzu/config/yuzu
[ 77.976249] Config common/settings.cpp:operator():112: DataStorage_LoadDir: /home/arya/.var/app/org.yuzu_emu.yuzu/data/yuzu/load
[ 77.976258] Config common/settings.cpp:operator():112: DataStorage_NANDDir: /home/arya/.var/app/org.yuzu_emu.yuzu/data/yuzu/nand
[ 77.976261] Config common/settings.cpp:operator():112: DataStorage_SDMCDir: /home/arya/.var/app/org.yuzu_emu.yuzu/data/yuzu/sdmc
[ 77.981727] Loader core/file_sys/patch_manager.cpp:PatchRomFS:450: RomFS: Update (v0.16.0) applied successfully
[ 78.354452] Render.Vulkan video_core/vulkan_common/vulkan_device.cpp:GetSuitability:945: Device doesn't support extension VK_EXT_depth_bias_control
[ 78.354466] Render.Vulkan video_core/vulkan_common/vulkan_device.cpp:GetSuitability:1007: Device doesn't support feature depthBiasControl
[ 78.354468] Render.Vulkan video_core/vulkan_common/vulkan_device.cpp:GetSuitability:1007: Device doesn't support feature leastRepresentableValueForceUnormRepresentation
[ 78.354469] Render.Vulkan video_core/vulkan_common/vulkan_device.cpp:GetSuitability:1007: Device doesn't support feature depthBiasExact
[ 78.354938] Render.Vulkan video_core/vulkan_common/vulkan_device.cpp:Device:541: NVIDIA Drivers >= 510 do not support MSAA image blits
[ 78.413466] Render.Vulkan video_core/renderer_vulkan/renderer_vulkan.cpp:RendererVulkan:110: Vulkan initialization failed with error: VK_ERROR_INITIALIZATION_FAILED
[ 78.413540] HW.GPU video_core/video_core.cpp:CreateGPU:57: Failed to initialize GPU: Vulkan initialization error VK_ERROR_INITIALIZATION_FAILED
[ 78.417177] Core core/core.cpp:Load:304: Failed to initialize system (Error 5)!
Remarks
No response