Tried to initialize the wayland data control protocol clipboard

Open
#4,738 1 comment 4 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
25/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Tech stack
linux, rust, ubuntu

Research direction

Start by reproducing the launch failure on Ubuntu 22.04 using the supplied startup log, focusing on clipboard initialization, graphics adapter selection, and the final illegal-instruction crash. Trace which startup component fails and establish a reliable launch test; done means Warp starts successfully in the reported environment without the crash.

Written by the indexing model from the issue text.

Description

area:terminal-input bug os:linux ready-to-implement triaged
Discord username (optional)

No response

Describe the bug

warp-terminal not open't on ubuntu 22.04

To reproduce

12:51:43 [INFO] Spawning terminal server process...
12:51:43 [INFO] Running terminal server...
12:51:44 [WARN] Tried to initialize the wayland data control protocol clipboard, but failed. Falling back to the X11 clipboard protocol. The error was: Unknown error while interacting with the clipboard: A required Wayland protocol (zwlr_data_control_manager_v1 version 1) is not supported by the compositor
12:51:44 [ERROR] Error creating Linux clipboard: Unknown { .. } - "Unknown error while interacting with the clipboard: X11 server connection timed out because it was unreachable"
12:51:48 [WARN] Failed to load font Some("/usr/share/fonts/X11/Type1/c0419bt_.pfb"): InvalidFontFormat("Type 1")
12:51:48 [WARN] Failed to load font Some("/usr/share/fonts/type1/gsfonts/b018012l.pfb"): InvalidFontFormat("Type 1")
12:51:48 [WARN] Failed to load font Some("/usr/share/fonts/type1/gsfonts/s050000l.pfb"): InvalidFontFormat("Type 1")
12:51:48 [WARN] Failed to load font Some("/usr/share/fonts/type1/urw-base35/StandardSymbolsPS.t1"): InvalidFontFormat("Type 1")
12:51:49 [WARN] Unable to fetch system color scheme: FDO(
ServiceUnknown(
"The name org.freedesktop.portal.Desktop was not provided by any .service files",
),
)
12:51:49 [WARN] Failed to load font: Hack due to error Font family Hack does not contain any valid fonts
12:51:49 [INFO] Failed to read User from secure storage NotFound
12:51:49 [INFO] Initializing crash reporting Some("linux_stable_release") with tag "v0.2024.03.26.08.02.stable_01"...
[125557:125558:20240411,125150.727046:ERROR file_io_posix.cc:153] open /home/robert/.cache/warp-terminal/pending/ad7bc1be-c72e-46ba-89f4-1405f5ccc0af.lock: File exists (17)
[125476:125476:20240411,125150.867470:ERROR file_io_posix.cc:153] open /home/robert/.cache/warp-terminal/pending/ad7bc1be-c72e-46ba-89f4-1405f5ccc0af.lock: File exists (17)
[125476:125476:20240411,125150.938868:ERROR filesystem_posix.cc:102] unlink /home/robert/.cache/warp-terminal/pending/ad7bc1be-c72e-46ba-89f4-1405f5ccc0af.meta: No such file or directory (2)
12:51:51 [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://0195a81da0714f55a93ee4624825f9ec@o540343.ingest.sentry.io/5658526", logfile_name: "warp.log", show_autoupdate_menu_items: true, skip_login: false } and version Some("v0.2024.03.26.08.02.stable_01")
12:51:51 [INFO] Start to flush telemetry events to Segment
12:51:51 [INFO] Performance metrics collector started
12:51:51 [INFO] Initializing app services
12:51:55 [INFO] Flushed telemetry events.
12:51:58 [INFO] Connecting to SQLite database
12:51:58 [INFO] fetching team tester status
12:51:58 [INFO] Checking for update on channel stable_release. Update id is nw8iYZ3
12:51:58 [INFO] Fetching channel versions (without changelogs) from Warp server
12:51:58 [INFO] dispatching global action for root_view:open_from_restored
12:51:58 [INFO] dispatching global action for root_view:open_new
12:51:59 [INFO] Received channel versions from Warp server: dev: ChannelVersion { version_info: VersionInfo { version: "v0.2024.04.11.15.00.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.11.14.59.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.09.08.01.beta_00", update_by: None, soft_cutoff: None }, overrides: [] }; stable: ChannelVersion { version_info: VersionInfo { version: "v0.2024.04.02.08.02.stable_01", update_by: None, soft_cutoff: Some("v0.2024.02.13.08.02.stable_00") }, overrides: [] }
12:52:00 [WARN] Failed to load font Some("/usr/share/fonts/X11/Type1/c0419bt_.pfb"): InvalidFontFormat("Type 1")
12:52:00 [WARN] Failed to load font Some("/usr/share/fonts/type1/gsfonts/b018012l.pfb"): InvalidFontFormat("Type 1")
12:52:00 [WARN] Failed to load font Some("/usr/share/fonts/type1/gsfonts/s050000l.pfb"): InvalidFontFormat("Type 1")
12:52:00 [WARN] Failed to load font Some("/usr/share/fonts/type1/urw-base35/StandardSymbolsPS.t1"): InvalidFontFormat("Type 1")
12:52:00 [WARN] error getting team tester status: Failed to get access token for GraphQL request. Falling back to in-memory state.
12:52:00 [INFO] Guessed window scale factor: 1
12:52:00 [INFO] Enabled wgpu backends: Backends(VULKAN | GL | METAL | DX12 | DX11 | BROWSER_WEBGPU)
12:52:00 [INFO] Available wgpu adapters (in priority order):
12:52:00 [INFO] Detected that Warp was installed using Apt
12:52:01 [INFO] Other: AMD PALM (DRM 2.50.0 / 6.5.0-26-generic, LLVM 15.0.7)
Backend: Gl
Driver: Unknown
Can present? true
Supported texture format: Some(Rgba8UnormSrgb)
12:52:01 [INFO] Cpu: llvmpipe (LLVM 15.0.7, 128 bits)
Backend: Vulkan
Driver: llvmpipe (Mesa 23.2.1-1ubuntu3.1~22.04.2 (LLVM 15.0.7))
Can present? true
Supported texture format: Some(Bgra8UnormSrgb)
12:52:01 [WARN] Discarding Vulkan-backed llvmpipe adapter due to Mesa < 24.0.2 (unsupported)
12:52:01 [INFO] Verifying adapter "AMD PALM (DRM 2.50.0 / 6.5.0-26-generic, LLVM 15.0.7)" is valid...
12:52:01 [INFO] Using Other (AMD PALM (DRM 2.50.0 / 6.5.0-26-generic, LLVM 15.0.7)) for rendering new window.
12:52:02 [WARN] Failed to load font Some("/usr/share/fonts/type1/gsfonts/b018015l.pfb"): InvalidFontFormat("Type 1")
12:52:02 [WARN] Failed to load font Some("/usr/share/fonts/type1/gsfonts/s050000l.pfb"): InvalidFontFormat("Type 1")
12:52:02 [WARN] Failed to load font Some("/usr/share/fonts/type1/urw-base35/StandardSymbolsPS.t1"): InvalidFontFormat("Type 1")
12:52:03 [INFO] Update ready for channel version VersionInfo { version: "v0.2024.04.02.08.02.stable_01", update_by: None, soft_cutoff: Some("v0.2024.02.13.08.02.stable_00") }
[1] 125476 illegal hardware instruction (core dumped) warp-terminal

Expected behavior

No response

Screenshots

No response

Operating system

Linux

Operating system and version

Ubuntu 22.04

Shell Version

No response

Current Warp version

No response

Regression

No, this bug or issue has existed throughout my experience using Warp

Recent working Warp date

No response

Additional context

No response

Does this block you from using Warp daily?

No

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

Dominant language
Rust
Stars
65.1k
Forks
5.6k
PR merge metrics
PR metrics pending

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from warpdotdev/warp

All issues in warpdotdev/warp

Similar issues

More Rust issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.