warpdotdev / Warp

Warp is a modern, Rust-based terminal with AI built in so you and your team can build great software, faster.
https://warp.dev
Other
21.43k stars 374 forks source link

Fresh VMWare Fusion Ubuntu ARM 24.04.01 no window showing #5310

Closed dticson closed 3 weeks ago

dticson commented 2 months ago

Dupe Check

Describe the bug

Starting the app shows blank window

To reproduce

start warp on ubuntu linux on arm 24.04.01 in a VMWare fusion guest on M1 pro mac

Expected behavior

a window that works

Screenshots

image

Operating system

Linux

Operating system and version

ubuntu arm 24.04.01

Shell Version

No response

Current Warp version

latest as of today

Regression

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

Recent working Warp date

No response

Additional context

16:10:43 [INFO] Spawning terminal server process... 16:10:43 [INFO] Running terminal server... Error: Address already in use (os error 98) 16:10:43 [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 16:10:43 [INFO] Running app with windowing system: X11 16:10:43 [INFO] Failed to read User from secure storage NotFound 16:10:43 [INFO] Initializing crash reporting Some("linux_stable_release") with tag "v0.2024.09.10.08.02.stable_01"... 16:10:43 [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://sessions.app.warp.dev"), rudderstack_write_key: "2iyG8S1RaV4XTX6SEypetFSEbLK", rudderstack_root_url: "https://warpianwzlfqdq.dataplane.rudderstack.com", 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 } and version Some("v0.2024.09.10.08.02.stable_01") 16:10:43 [INFO] Start to send telemetry events to RudderStack 16:10:43 [INFO] Performance metrics collector started 16:10:43 [INFO] Initializing app services 16:10:43 [INFO] Start to send telemetry events to RudderStack 16:10:43 [INFO] Start to send telemetry events to RudderStack 16:10:43 [WARN] EGL context: -robust access 16:10:43 [WARN] Max vertex attribute stride unknown. Assuming it is 2048 16:10:43 [INFO] Connecting to SQLite database 16:10:43 [INFO] fetching team tester status 16:10:43 [INFO] Checking for update on channel stable_release. Update id is 5MbAhyS 16:10:43 [INFO] Fetching channel versions (without changelogs) from Warp server 16:10:43 [INFO] dispatching global action for root_view:open_from_restored 16:10:43 [INFO] dispatching global action for root_view:open_new 16:10:43 [INFO] Flushed telemetry events. 16:10:43 [INFO] Successfully flushed events to rudder from disk 16:10:43 [INFO] Received channel versions from Warp server: dev: ChannelVersion { version_info: VersionInfo { version: "v0.2024.09.17.08.02.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.09.17.08.02.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.09.17.08.02.beta_00", update_by: None, soft_cutoff: None }, overrides: [] }; stable: ChannelVersion { version_info: VersionInfo { version: "v0.2024.09.10.08.02.stable_01", update_by: None, soft_cutoff: Some("v0.2024.07.30.08.02.stable_01") }, overrides: [] } 16:10:43 [WARN] error getting team tester status: Failed to get access token for GraphQL request. Falling back to in-memory state. 16:10:43 [INFO] No update available 16:10:43 [WARN] Failed to retrieve initial request limit info: Failed to get access token for GraphQL request

Caused by: Attempted to retrieve access token when user is logged out 16:10:43 [WARN] Max vertex attribute stride unknown. Assuming it is 2048 16:10:43 [INFO] Enabled wgpu backends: Backends(VULKAN | GL | METAL | DX12 | BROWSER_WEBGPU) 16:10:43 [INFO] Available wgpu adapters (in priority order): 16:10:43 [INFO] Other: SVGA3D; build: RELEASE; LLVM; Backend: Gl Driver: Unknown (4.3 (Core Profile) Mesa 24.0.9-0ubuntu0.1) Can present: true Supported texture format: Some(Rgba8UnormSrgb) 16:10:43 [INFO] Cpu: llvmpipe (LLVM 17.0.6, 128 bits) Backend: Vulkan Driver: llvmpipe (Mesa 24.0.9-0ubuntu0.1 (LLVM 17.0.6)) Can present: true Supported texture format: Some(Bgra8UnormSrgb) 16:10:43 [INFO] Verifying adapter "SVGA3D; build: RELEASE; LLVM;" is valid... 16:10:43 [INFO] Using Other (SVGA3D; build: RELEASE; LLVM;) for rendering new window. 16:10:43 [WARN] redraw_frame was called 2 times before the frame was drawn 16:10:43 [INFO] window resized 16:10:43 [INFO] dispatching global action for workspace:save_app 16:10:43 [INFO] dispatching global action for workspace:save_app 16:10:43 [INFO] active window changed: Some(WindowId(0)) 16:10:43 [INFO] dispatching global action for root_view:update_quake_mode_state 16:10:43 [INFO] dispatching global action for workspace:save_app 16:10:45 [INFO] dispatching global action for workspace:save_app 16:10:45 [INFO] dispatching global action for workspace:save_app 16:10:45 [INFO] dispatching global action for workspace:save_app 16:10:45 [INFO] dispatching global action for workspace:save_app 16:10:45 [INFO] dispatching global action for workspace:save_app 16:10:45 [INFO] dispatching global action for workspace:save_app

Does this block you from using Warp daily?

Yes, this issue prevents me from using Warp daily.

Is this an issue only in Warp?

Yes, I confirmed that this only happens in Warp, not other terminals.

Warp Internal (ignore): linear-label:b9d78064-c89e-4973-b153-5178a31ee54e

None

dticson commented 2 months ago

oh, WGPU_BACKEND=Vulkan warp-terminal fixes it.

dticson commented 2 months ago

For anyone else with this issue, I created a .desktop file on my Desktop folder, made it executable with below as the contents of the .desktop file.

[Desktop Entry] Version=1.0 Name=Warp Comment=Launch Warp in Vulkan Exec=env WGPU_BACKEND=VULKAN /usr/bin/warp-terminal Icon=/usr/share/icons/hicolor/32x32/apps/dev.warp.Warp.png Terminal=false Type=Application

dticson commented 2 months ago

However, now that i'm actually using it, it's horribly slow typing with a very very noticable delay

dannyneira commented 2 months ago

Hi @dticson this delay may be due to the rendering taking place on the CPU as opposed to the GPU since its running on a VM. I suspect this may improve if you run it on baremetal instead to make full use of the GPU.

As an alternative, you can also add export WGPU_BACKEND=VULKAN to your ~/.zprofile and it should load the env variable on login and you can then just run warp-terminal from your terminal ( or from the desktop shortcut ).

Thanks for letting us know your sorted a workaround!

dticson commented 2 months ago

@dannyneira thanks for the zprofile tip.

I'm using it now and it's basically unusable with Vulkan as backend. Is there any way to get it working on native GL backend with 3d acceleration built in to VMware?

dannyneira commented 2 months ago

You can also force GL backend with export WGPU_BACKEND=GL instead but that may not work on VMware's drivers. I've noticed the best experience is on VirtualBox, but it's not embedded into the OS like with VMware Fusion unfortunately and the Warp ARM build may not be optimized for that use case in particular. If there is a way to set different graphics drivers, enable 3D graphics acceleration, or install VMware Tools on the Linux VM in VMware Fusion, that may help.

dticson commented 2 months ago

I've tried the backend GL version, and I already have 3d acceleration enabled on the VM. Open VM tools are installed

dannyneira commented 2 months ago

Thanks for confirming, reopening so we can track this issue with Warp for Linux ARM not working properly on a VM.

dticson commented 2 months ago

That's great thanks. If you weren't aware, vmware fusion is free now, so it can be downloaded for testing pretty easy.

https://cdimage.ubuntu.com/noble/daily-live/current/

that's where i get my ubuntu desktop builds for arm/macos. Ubuntu makes it hard to find on their website for some reason.

dannyneira commented 3 weeks ago

We're tracking this issue over at https://github.com/warpdotdev/Warp/issues/4598 and would appreciate it if you could 👍 and comment there if you're also experiencing the same bug. This helps us gauge the impact of the issue.

We'll be closing this as a duplicate.