Skip to content

[BUG] Failed to create surface on both wayland and x11 #925

Description

@prototypesRise

Setup

Operating System: Manjaro Linux
KDE Plasma Version: 6.7.3
KDE Frameworks Version: 6.28.0
Qt Version: 6.11.1
Kernel Version: 6.18.39-1-MANJARO (64-bit)
Graphics Platform: Wayland
Processors: 24 × AMD Ryzen 9 9900X 12-Core Processor
Memory: 96 GiB of RAM (91.9 GiB usable)
Graphics Processor 1: AMD Ryzen 9 9900X 12-Core Processor
Graphics Processor 2: AMD Radeon RX 7900 XTX

Steam Runtime Version: steam-runtime_1.0.20260618.246542
VR Hardware:
Headset: HTC Vive Pro 2 (lighthouse)
steamvr=2.16.7

To Reproduce
Steps to reproduce the behavior:

  1. Start app
  2. See error 497

Expected behavior
I should be getting display output

System Information (please complete the following information):
Please use the latest Steam beta client and SteamVR beta for your bug reports!

  • Steam client version (build number or date):
  • SteamVR version:
  • Distribution (e.g. Ubuntu):
  • Steam runtime diagnostics: [generate via Help -> Steam Runtime Diagnostics in the Steam client]
  • Steam and SteamVR logs: [generate by running this command in a terminal tar -zcvf ~/Desktop/steam-logs.tar.gz ~/.steam/steam/logs]
  • Minidumps: [run the following command: tar -zcvf ~/Desktop/steam-minidumps.tar.gz /tmp/dumps]

Screenshots
Sat Aug 01 2026 22:48:43.531571 [Info] - vrcompositor 2.16.7 startup with PID=930806, config=/.local/share/Steam/config, runtime=/.local/share/Steam/steamapps/common/SteamVR, arch=linux64
Sat Aug 01 2026 22:48:43.531578 [Info] - VR compositor 2.16.7 (v1781734990) Mixed starting up
Sat Aug 01 2026 22:48:43.539878 [Info] - CIPCPipe::ConnectPipe(SteamVR_Namespace) attempting connect to /steamvr/SteamVR_Namespace
Sat Aug 01 2026 22:48:43.539907 [Info] - CSharedResourceNamespaceClient::Init(): received namespace data 930629
Sat Aug 01 2026 22:48:43.539923 [Info] - CIPCPipe::CreatePipe(VR_CompositorPipe_930629) bound to /steamvr/VR_CompositorPipe_930629
Sat Aug 01 2026 22:48:43.540388 [Info] - Set fd limit to: 524288
Sat Aug 01 2026 22:48:43.541363 [Info] - [Settings] Load Json Settings from ~/.local/share/Steam/config/steamvr.vrsettings
Sat Aug 01 2026 22:48:43.541889 [Info] - Events created
Sat Aug 01 2026 22:48:43.542596 [Info] - Found bad mirror window settings:
Sat Aug 01 2026 22:48:43.542603 [Info] - Creating CHmdWindowSDL!
Sat Aug 01 2026 22:48:43.542621 [Info] - CHmdWindowSDL: Using Wayland
Sat Aug 01 2026 22:48:43.997716 [Info] - WaylandHMDState: Got interface: wp_drm_lease_device_v1
Sat Aug 01 2026 22:48:43.997782 [Info] - WaylandHMDState: Got interface: wp_drm_lease_device_v1
Sat Aug 01 2026 22:48:44.004589 [Info] - WaylandHMDLeaseDevice::LeaseDevice_DrmFD: /dev/dri/card2
Sat Aug 01 2026 22:48:44.016223 [Info] - WaylandHMDLeaseDevice::LeaseDevice_Done
Sat Aug 01 2026 22:48:44.016269 [Info] - WaylandHMDLeaseDevice::LeaseDevice_DrmFD: /dev/dri/card1
Sat Aug 01 2026 22:48:44.027222 [Info] - WaylandHMDLeaseConnector::LeaseConnector_Done
Sat Aug 01 2026 22:48:44.027256 [Info] - WaylandHMDLeaseDevice::LeaseDevice_Done
Sat Aug 01 2026 22:48:44.028485 [Info] - Instance layers available:
Sat Aug 01 2026 22:48:44.028513 [Info] - - VK_LAYER_RENDERDOC_Capture, version 4211012
Sat Aug 01 2026 22:48:44.028521 [Info] - - VK_LAYER_VALVE_steam_overlay_32, version 4206799
Sat Aug 01 2026 22:48:44.028525 [Info] - - VK_LAYER_VALVE_steam_fossilize_64, version 4206799
Sat Aug 01 2026 22:48:44.028529 [Info] - - VK_LAYER_VALVE_steam_overlay_64, version 4206799
Sat Aug 01 2026 22:48:44.028534 [Info] - - VK_LAYER_VALVE_steam_fossilize_32, version 4206799
Sat Aug 01 2026 22:48:44.028537 [Info] - - VK_LAYER_MESA_device_select, version 4210991
Sat Aug 01 2026 22:48:44.028542 [Info] - - VK_LAYER_MND_enable_timeline_semaphore, version 4202695
Sat Aug 01 2026 22:48:44.028546 [Info] - - VK_LAYER_MANGOAPP_overlay, version 4206592
Sat Aug 01 2026 22:48:44.028551 [Info] - - VK_LAYER_FROG_gamescope_wsi_x86_64, version 4206813
Sat Aug 01 2026 22:48:44.028555 [Info] - - VK_LAYER_MANGOHUD_overlay_x86_64, version 4206592
Sat Aug 01 2026 22:48:44.028559 [Info] - - VK_LAYER_BNUUY_steamvr_linux_fixes, version 4206792
Sat Aug 01 2026 22:48:44.028563 [Info] - - VK_LAYER_KHRONOS_validation, version 4211038
Sat Aug 01 2026 22:48:44.028567 [Info] - - VK_LAYER_INTEL_nullhw, version 4198473
Sat Aug 01 2026 22:48:44.028574 [Info] - - VK_LAYER_MESA_vram_report_limit, version 4210991
Sat Aug 01 2026 22:48:44.028577 [Info] - - VK_LAYER_LUNARG_monitor, version 4211038
Sat Aug 01 2026 22:48:44.028583 [Info] - - VK_LAYER_LUNARG_screenshot, version 4211038
Sat Aug 01 2026 22:48:44.028588 [Info] - - VK_LAYER_LUNARG_api_dump, version 4211038
Sat Aug 01 2026 22:48:44.028593 [Info] - - VK_LAYER_MESA_screenshot, version 4210991
Sat Aug 01 2026 22:48:44.028598 [Info] - - VK_LAYER_MESA_overlay, version 4210991
Sat Aug 01 2026 22:48:44.029003 [Info] - Instance extensions available:
Sat Aug 01 2026 22:48:44.029014 [Info] - - VK_KHR_device_group_creation, version 1
Sat Aug 01 2026 22:48:44.029019 [Info] - - VK_KHR_display, version 23
Sat Aug 01 2026 22:48:44.029024 [Info] - - VK_KHR_external_fence_capabilities, version 1
Sat Aug 01 2026 22:48:44.029028 [Info] - - VK_KHR_external_memory_capabilities, version 1
Sat Aug 01 2026 22:48:44.029033 [Info] - - VK_KHR_external_semaphore_capabilities, version 1
Sat Aug 01 2026 22:48:44.029037 [Info] - - VK_KHR_get_display_properties2, version 1
Sat Aug 01 2026 22:48:44.029042 [Info] - - VK_KHR_get_physical_device_properties2, version 2
Sat Aug 01 2026 22:48:44.029046 [Info] - - VK_KHR_get_surface_capabilities2, version 1
Sat Aug 01 2026 22:48:44.029050 [Info] - - VK_KHR_surface, version 25
Sat Aug 01 2026 22:48:44.029055 [Info] - - VK_KHR_surface_protected_capabilities, version 1
Sat Aug 01 2026 22:48:44.029060 [Info] - - VK_KHR_wayland_surface, version 6
Sat Aug 01 2026 22:48:44.029063 [Info] - - VK_KHR_xcb_surface, version 6
Sat Aug 01 2026 22:48:44.029068 [Info] - - VK_KHR_xlib_surface, version 6
Sat Aug 01 2026 22:48:44.029072 [Info] - - VK_EXT_acquire_drm_display, version 1
Sat Aug 01 2026 22:48:44.029092 [Info] - - VK_EXT_acquire_xlib_display, version 1
Sat Aug 01 2026 22:48:44.029097 [Info] - - VK_EXT_debug_report, version 10
Sat Aug 01 2026 22:48:44.029101 [Info] - - VK_EXT_debug_utils, version 2
Sat Aug 01 2026 22:48:44.029108 [Info] - - VK_EXT_direct_mode_display, version 1
Sat Aug 01 2026 22:48:44.029111 [Info] - - VK_EXT_display_surface_counter, version 1
Sat Aug 01 2026 22:48:44.029116 [Info] - - VK_EXT_headless_surface, version 1
Sat Aug 01 2026 22:48:44.029120 [Info] - - VK_EXT_surface_maintenance1, version 1
Sat Aug 01 2026 22:48:44.029125 [Info] - - VK_EXT_swapchain_colorspace, version 5
Sat Aug 01 2026 22:48:44.029129 [Info] - - VK_KHR_portability_enumeration, version 1
Sat Aug 01 2026 22:48:44.029135 [Info] - - VK_LUNARG_direct_driver_loading, version 1
Sat Aug 01 2026 22:48:44.029151 [Info] - SDL version: 2.32.70
Sat Aug 01 2026 22:48:44.029163 [Info] - Direct mode features: present
Sat Aug 01 2026 22:48:44.029168 [Info] - Requesting 10 instance extensions:
Sat Aug 01 2026 22:48:44.029172 [Info] - - VK_KHR_surface
Sat Aug 01 2026 22:48:44.029176 [Info] - - VK_KHR_xlib_surface
Sat Aug 01 2026 22:48:44.029180 [Info] - - VK_KHR_display
Sat Aug 01 2026 22:48:44.029184 [Info] - - VK_EXT_direct_mode_display
Sat Aug 01 2026 22:48:44.029189 [Info] - - VK_EXT_display_surface_counter
Sat Aug 01 2026 22:48:44.029194 [Info] - - VK_KHR_external_memory_capabilities
Sat Aug 01 2026 22:48:44.029198 [Info] - - VK_KHR_external_semaphore_capabilities
Sat Aug 01 2026 22:48:44.029202 [Info] - - VK_KHR_get_physical_device_properties2
Sat Aug 01 2026 22:48:44.029207 [Info] - - VK_EXT_debug_utils
Sat Aug 01 2026 22:48:44.029216 [Info] - - VK_EXT_acquire_drm_display
Sat Aug 01 2026 22:48:44.037704 [Info] - HMD deviceUUID is 7a00000000
Sat Aug 01 2026 22:48:44.037891 [Warning] - CHmdWindowSDL::FindDirectDisplayWayland: vkGetDrmDisplay failed.
Sat Aug 01 2026 22:48:44.037900 [Info] - Tried to find direct display through Wayland: (nil)
Sat Aug 01 2026 22:48:44.037906 [Error] - CHmdWindowSDL: Failed to create direct mode surface
Sat Aug 01 2026 22:48:44.037979 [Error] - CHmdWindowSDL: VR requires direct mode.
Sat Aug 01 2026 22:48:44.037993 [Info] - Enabling GPU profiling! ~/.local/share/Steam/steamapps/common/SteamVR/bin/linux64
Sat Aug 01 2026 22:48:44.039300 [Error] - Error making window!
Sat Aug 01 2026 22:48:44.058775 [Info] - Failed to kill gpu-trace
Sat Aug 01 2026 22:48:44.058931 [Info] - Failed to initialize compositor
Sat Aug 01 2026 22:48:44.058958 [Info] - Failed to start compositor: VRInitError_Compositor_CannotDRMLeaseDisplay

It works using envision is there away to use envision to launch steam games

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions