Skip to content

Hang after drawing first frame with NVIDIA 580 drivers before 580.82.07 on Linux Wayland #35948

@sachk

Description

@sachk

Summary

Zed master as well as 0.198.3 and 0.198.5 crash on Wayland Linux with beta 580.65.06 NVIDIA drivers as well as newer stable 580.76.05 drivers. The previous stable 575.64.05 drivers run fine. The 580 series seems to also be causing issues with other applications. This issue is independent of PRIME or forcibly disabling the now enabled by default RMIntrLockingMode. Forcing use of XWayland avoids the issue. The WAYLAND_DEBUG logs seem to indicate Zed is using the wp_fifo_manager_v1 protocol, which NVIDIA's 580.65.06 driver, the first version to be broken, adds Vulkan support for. This seems to be the most likely culprit to me.

zed-nvidia-bug.mp4

Zed Version and System Specs

Zed System Specs (from CLI):
Zed: v0.200.0 (Zed Nightly)
OS: Linux Wayland nixos 25.11
Memory: 31 GiB
Architecture: x86_64
GPU:

vulkaninfo --summary output

==========
VULKANINFO
==========

Vulkan Instance Version: 1.4.313


Instance Extensions: count = 25
-------------------------------
VK_EXT_acquire_drm_display             : extension revision 1
VK_EXT_acquire_xlib_display            : extension revision 1
VK_EXT_debug_report                    : extension revision 10
VK_EXT_debug_utils                     : extension revision 2
VK_EXT_direct_mode_display             : extension revision 1
VK_EXT_display_surface_counter         : extension revision 1
VK_EXT_headless_surface                : extension revision 1
VK_EXT_surface_maintenance1            : extension revision 1
VK_EXT_swapchain_colorspace            : extension revision 5
VK_KHR_device_group_creation           : extension revision 1
VK_KHR_display                         : extension revision 23
VK_KHR_external_fence_capabilities     : extension revision 1
VK_KHR_external_memory_capabilities    : extension revision 1
VK_KHR_external_semaphore_capabilities : extension revision 1
VK_KHR_get_display_properties2         : extension revision 1
VK_KHR_get_physical_device_properties2 : extension revision 2
VK_KHR_get_surface_capabilities2       : extension revision 1
VK_KHR_portability_enumeration         : extension revision 1
VK_KHR_surface                         : extension revision 25
VK_KHR_surface_protected_capabilities  : extension revision 1
VK_KHR_wayland_surface                 : extension revision 6
VK_KHR_xcb_surface                     : extension revision 6
VK_KHR_xlib_surface                    : extension revision 6
VK_LUNARG_direct_driver_loading        : extension revision 1
VK_NV_display_stereo                   : extension revision 1

Instance Layers: count = 19
---------------------------
VK_LAYER_FROG_gamescope_wsi_x86_64  Gamescope WSI (XWayland Bypass) Layer (x86_64) 1.3.221  version 1
VK_LAYER_INTEL_nullhw               INTEL NULL HW                                  1.1.73   version 1
VK_LAYER_KHRONOS_shader_object      Khronos Shader object layer                    1.4.313  version 1
VK_LAYER_KHRONOS_synchronization2   Khronos Synchronization2 layer                 1.4.313  version 1
VK_LAYER_KHRONOS_timeline_semaphore Khronos timeline Semaphore layer               1.4.313  version 1
VK_LAYER_KHRONOS_validation         Khronos Validation Layer                       1.4.313  version 1
VK_LAYER_LFX_LatencyFleX            LatencyFleX (TM) latency reduction middleware  1.3.0    version 1
VK_LAYER_MANGOHUD_overlay_32_x86    Vulkan Hud Overlay                             1.3.0    version 1
VK_LAYER_MANGOHUD_overlay_64_x86_64 Vulkan Hud Overlay                             1.3.0    version 1
VK_LAYER_MESA_device_select         Linux device selection layer                   1.4.303  version 1
VK_LAYER_MESA_overlay               Mesa Overlay layer                             1.4.303  version 1
VK_LAYER_MESA_screenshot            Mesa Screenshot layer                          1.4.303  version 1
VK_LAYER_MESA_vram_report_limit     Limit reported VRAM                            1.4.303  version 1
VK_LAYER_NV_optimus                 NVIDIA Optimus layer                           1.4.303  version 1
VK_LAYER_VALVE_steam_fossilize_32   Steam Pipeline Caching Layer                   1.3.207  version 1
VK_LAYER_VALVE_steam_fossilize_64   Steam Pipeline Caching Layer                   1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_32     Steam Overlay Layer                            1.3.207  version 1
VK_LAYER_VALVE_steam_overlay_64     Steam Overlay Layer                            1.3.207  version 1
VK_LAYER_hdr_wsi                    WSI HDR Layer (x86_64)                         1.3.221  version 1

Devices:
========
GPU0:
	apiVersion         = 1.4.303
	driverVersion      = 580.65.6.0
	vendorID           = 0x10de
	deviceID           = 0x2f04
	deviceType         = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
	deviceName         = NVIDIA GeForce RTX 5070
	driverID           = DRIVER_ID_NVIDIA_PROPRIETARY
	driverName         = NVIDIA
	driverInfo         = 580.65.06
	conformanceVersion = 1.4.1.0
	deviceUUID         = 7b8506ff-ca44-89c3-92e8-1f933278af1f
	driverUUID         = 14e63d60-03d4-5a1b-be7a-2c639c56a6ab
GPU1:
	apiVersion         = 1.4.318
	driverVersion      = 25.2.0
	vendorID           = 0x10005
	deviceID           = 0x0000
	deviceType         = PHYSICAL_DEVICE_TYPE_CPU
	deviceName         = llvmpipe (LLVM 19.1.7, 256 bits)
	driverID           = DRIVER_ID_MESA_LLVMPIPE
	driverName         = llvmpipe
	driverInfo         = Mesa 25.2.0 (LLVM 19.1.7)
	conformanceVersion = 1.3.1.1
	deviceUUID         = 6d657361-3235-2e32-2e30-000000000000
	driverUUID         = 6c6c766d-7069-7065-5555-494400000000

Metadata

Metadata

Assignees

No one assigned

    Labels

    graphics:nvidiaIssues related to Nvidia GPUsmeta:upstreamIssues that affect users but are present upstreamplatform:linuxhappens only on linux, not other OS

    Type

    No fields configured for Crash.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions