Failed to open window: No usable wgpu adapter was found
Discord username (optional)
No response
Describe the bug
i try to start warp and i end with error Failed to open window: No usable wgpu adapter was found
To reproduce
[root@archlinux Downloads]# warp-terminal 23:00:03 [INFO] Failed to forward startup args: unknown dbus error 23:00:03 [INFO] Spawning terminal server process... 23:00:03 [INFO] Running app with windowing system: X11 23:00:03 [INFO] Running terminal server... 23:00:04 [WARN] Unable to fetch system color scheme: InputOutput( Os { code: 2, kind: NotFound, message: "No such file or directory", }, ) 23:00:04 [ERROR] Failed to acquire default Secret Service collection: unknown error 23:00:04 [INFO] Failed to read User from secure storage NotFound 23:00:04 [INFO] Initializing crash reporting Some("linux_stable_release") with tag "v0.2024.04.16.08.02.stable_01"... 23:00:04 [INFO] Starting warp with channel state ChannelState { channel: Stable, app_id: AppId { qualifier: "dev", organization: "warp", application_name: "Warp" }, additional_features: {}, firebase_api_key: "AIzaSyBdy3O3S9hrdayLJxJ7mriBR4qgUaUygAs", server_root_url: "https://app.warp.dev", ws_server_url: "wss://rtc.app.warp.dev/graphql", session_sharing_server_url: Some("wss://session-sharing-server-o3mgmiurkq-uk.a.run.app"), segment_write_key: "sTT9ZajzIaQ0phzLFOnqZ6VOqplJTlaJ", segment_root_url: "https://api.segment.io", releases_base_url: "https://releases.warp.dev", sentry_url: "https://[email protected]/5658526", logfile_name: "warp.log", show_autoupdate_menu_items: true, skip_login: false } and version Some("v0.2024.04.16.08.02.stable_01") 23:00:04 [WARN] Failed to send event to Segment: error sending request for url (https://api.segment.io/v1/batch): error trying to connect: tcp connect error: Connection refused (os error 111) 23:00:04 [INFO] Performance metrics collector started 23:00:04 [INFO] Start to flush telemetry events to Segment 23:00:04 [INFO] Initializing app services 23:00:04 [ERROR] Failed to initialize org.freedesktop.Application D-Bus service: I/O error: No such file or directory (os error 2): No such file or directory (os error 2) 23:00:04 [WARN] Failed to send event to Segment: error sending request for url (https://api.segment.io/v1/batch): error trying to connect: tcp connect error: Connection refused (os error 111) 23:00:04 [INFO] Flushed telemetry events. 23:00:04 [WARN] Failed to send event to Segment: error sending request for url (https://api.segment.io/v1/batch): error trying to connect: tcp connect error: Connection refused (os error 111) error: XDG_RUNTIME_DIR is invalid or not set in the environment. MESA-INTEL: warning: Haswell Vulkan support is incomplete 23:00:04 [WARN] Adapter is not Vulkan compliant, hiding adapter: Intel(R) HD Graphics 4400 (HSW GT2) 23:00:04 [INFO] Connecting to SQLite database 23:00:04 [INFO] fetching team tester status 23:00:04 [INFO] Checking for update on channel stable_release. Update id is S9fnSud 23:00:04 [INFO] Fetching channel versions (without changelogs) from Warp server 23:00:04 [INFO] dispatching global action for root_view:open_from_restored 23:00:04 [INFO] dispatching global action for root_view:open_new 23:00:04 [WARN] Encountered error while watching for desktop settings change events: I/O error: No such file or directory (os error 2) 23:00:04 [WARN] error getting team tester status: Failed to get access token for GraphQL request. Falling back to in-memory state. 23:00:04 [INFO] Guessed window scale factor: 1 error: XDG_RUNTIME_DIR is invalid or not set in the environment. 23:00:04 [INFO] Enabled wgpu backends: Backends(VULKAN | GL | METAL | DX12 | BROWSER_WEBGPU) 23:00:04 [INFO] Available wgpu adapters (in priority order): MESA-INTEL: warning: Haswell Vulkan support is incomplete 23:00:04 [WARN] Adapter is not Vulkan compliant, hiding adapter: Intel(R) HD Graphics 4400 (HSW GT2) 23:00:04 [INFO] IntegratedGpu: Mesa Intel(R) HD Graphics 4400 (HSW GT2) Backend: Gl Driver: Unknown Can present: false Supported texture format: None 23:00:04 [ERROR] Failed to open window: No usable wgpu adapter was found 23:00:04 [WARN] Redraw requested for a window for which we have no state 23:00:04 [INFO] active window changed: None 23:00:04 [INFO] dispatching global action for root_view:update_quake_mode_state 23:00:04 [INFO] dispatching global action for workspace:save_app 23:00:04 [WARN] Redraw requested for a window for which we have no state 23:00:04 [INFO] application will terminate 23:00:04 [INFO] Shutting down SQLite writer thread 23:00:04 [INFO] Shut down SQLite writer in 25.428944ms 23:00:04 [INFO] Writing queued events to disk because telemetry is enabled. 23:00:04 [INFO] Successfully wrote telemetry events to disk 23:00:04 [INFO] Tearing down app services... 23:00:04 [INFO] Uninitializing crash reporting... 23:00:04 [INFO] Received channel versions from Warp server: dev: ChannelVersion { version_info: VersionInfo { version: "v0.2024.04.23.08.01.dev_00", update_by: None, soft_cutoff: Some("v0.2023.05.12.08.03.dev_00") }, overrides: [] }; preview: ChannelVersion { version_info: VersionInfo { version: "v0.2024.04.23.08.01.preview_00", update_by: None, soft_cutoff: None }, overrides: [] }; canary: ChannelVersion { version_info: VersionInfo { version: "v0.2022.09.29.08.08.canary_00", update_by: None, soft_cutoff: None }, overrides: [] }; beta: ChannelVersion { version_info: VersionInfo { version: "v0.2024.04.23.08.01.beta_00", update_by: None, soft_cutoff: None }, overrides: [] }; stable: ChannelVersion { version_info: VersionInfo { version: "v0.2024.04.16.08.02.stable_00", update_by: None, soft_cutoff: Some("v0.2024.02.27.08.01.stable_03") }, overrides: [VersionOverride { predicate: TargetOS(Linux), version_info: VersionInfo { version: "v0.2024.04.16.08.02.stable_01", update_by: None, soft_cutoff: None } }] }
Expected behavior
to app open
Screenshots
No response
Operating system
Linux
Operating system and version
Arch Linux
Shell Version
GNU bash, version 5.2.26
Current Warp version
No response
Regression
Yes, this bug started recently or with an X Warp version
Recent working Warp date
No response
Additional context
No response
Does this block you from using Warp daily?
Yes, this issue prevents me from using Warp daily.
Is this a Warp specific issue? (i.e. does it happen in Terminal, iTerm, Kitty, etc.)
Yes, this I confirmed this only happens in Warp, not other terminals.
Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e
None
(I want only say: sorry for bad English I'm from poland)
Hi @wiktoworks no worries, sorry about the issue. YOu can try running Warp with the following environmental variable to see if that helps. WGPU_BACKEND=gl warp-terminal, if that works you can set the variable in your ~/.profile or ~/.bash_profile (export WGPU_BACKEND=gl). Also we're working on fix to some new issues with Warp for Linux which we are tracking here: https://github.com/warpdotdev/Warp/issues/4810
That's working! Thanks for help (: i use arch btw
Thanks for letting us know it helped. It is still a workaround, and we're working on a fix and will post updates on the github thread I linked above.
@wiktoworks We pushed a new release last night that should have resolved these issues. Would you mind testing again without the use of WGPU_BACKEND=gl to ensure things work correctly now?
yes, but later because now I'm not at home
Yes ,it's works now without WGPU_BACKEND=gl .
Great, thanks for flagging and for your patience here!