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.47k stars 376 forks source link

Warp terminal window is not visible on a VM - both through VNC and nomachine NXclient when VM running on Proxmox #4476

Closed acidkill closed 8 months ago

acidkill commented 8 months ago

Discord username (optional)

No response

Describe the bug

When starting the app - app is not visible - only some strange wallpaper warp. I'm using my vm as a jumpbox from my ipad on a daily basis (ipad is lighter to carry than an laptop). I can't work with warp terminal on my VM.

To reproduce

Install proxmox server, install VM with Ubuntu on it, install no-machine nx server, try to connect to VM with VNC and nx-client. Try to start Warp terminal. In both cases they are not visible.

Expected behavior

I would be able to see app window as I do on my mac.

Screenshots

App window moved to right: Screenshot 2024-03-05 at 15 37 03 App window moved to left: Screenshot 2024-03-05 at 15 37 12

Operating system

Linux

Operating system and version

Ubuntu 23.10 on a VM

Shell Version

bash 5.2.15(1)-release (x86_64-pc-linux-gnu)

Current Warp version

v0.2024.02.27.08.01.stable.03

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?

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

alokedesai commented 8 months ago

HI @acidkill, thanks for filing. We are actively looking into this (tracking issue is here: #4435).

Could you check if installing the hack font (sudo apt install fonts-hack) fixes this?

acidkill commented 8 months ago

saddly no - still only graphical arthifact where the window should be

alokedesai commented 8 months ago

Would you mind sharing the output of the logs when you run warp-terminal so we can debug further?

acidkill commented 8 months ago

this is output when I tried to run warp-terminal from Ubuntu Terminal - than when nothing happened I did ctrl+x:

warp-terminal 
stdout is a tty true, in CI false.  using logfile: false
22:46:00 [INFO] Spawning terminal server process...
22:46:00 [INFO] Running terminal server...
22:46:00 [WARN] Failed to load font Some("/usr/share/fonts/X11/Type1/D050000L.pfb"): InvalidFontFormat("Type 1")
22:46:00 [WARN] Failed to load font Some("/usr/share/fonts/X11/Type1/NimbusMonoPS-Regular.pfb"): InvalidFontFormat("Type 1")
22:46:00 [WARN] Failed to load font Some("/usr/share/fonts/X11/Type1/StandardSymbolsPS.pfb"): InvalidFontFormat("Type 1")
22:46:00 [INFO] Failed to read User from secure storage NotFound
22:46:00 [INFO] Initializing crash reporting Some("stable_release") with tag "v0.2024.02.27.08.01.stable_03"...
22:46:00 [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.02.27.08.01.stable_03")
22:46:00 [INFO] Performance metrics collector started
22:46:00 [INFO] Start to flush telemetry events to Segment
22:46:00 [INFO] Initializing app services
libEGL warning: DRI2: failed to authenticate
22:46:00 [INFO] Connecting to SQLite database
22:46:00 [INFO] fetching team tester status
22:46:00 [INFO] Checking for update on channel stable_release. Update id is 0oc1epJ
22:46:00 [INFO] Fetching channel versions (without changelogs) from Warp server
22:46:00 [INFO] dispatching global action for root_view:open_from_restored
22:46:00 [INFO] dispatching global action for root_view:open_new
22:46:00 [WARN] Failed to load font Some("/usr/share/fonts/X11/Type1/NimbusMonoPS-Regular.pfb"): InvalidFontFormat("Type 1")
22:46:00 [WARN] Failed to load font Some("/usr/share/fonts/X11/Type1/StandardSymbolsPS.pfb"): InvalidFontFormat("Type 1")
22:46:00 [WARN] error getting team tester status: Failed to get access token for GraphQL request. Falling back to in-memory state.
22:46:00 [INFO] Guessed window scale factor: 1
libEGL warning: DRI2: failed to authenticate
22:46:00 [INFO] Enabled wgpu backends: Backends(VULKAN | GL | METAL | DX12 | DX11 | BROWSER_WEBGPU)
22:46:00 [INFO] Available wgpu adapters:
22:46:00 [INFO] Cpu: llvmpipe (LLVM 15.0.7, 128 bits)
22:46:00 [INFO]     Driver: llvmpipe (Mesa 23.2.1-1ubuntu3.1 (LLVM 15.0.7))
22:46:00 [INFO] Cpu: llvmpipe (LLVM 15.0.7, 128 bits)
22:46:00 [INFO]     Driver: Unknown
22:46:00 [INFO] Using Cpu (llvmpipe (LLVM 15.0.7, 128 bits)) for rendering new window.
22:46:00 [WARN] Failed to load font Some("/usr/share/fonts/X11/Type1/StandardSymbolsPS.pfb"): InvalidFontFormat("Type 1")
22:46:00 [WARN] redraw_frame was called 3 times before the frame was drawn
22:46:00 [INFO] active window changed: Some(WindowId(0))
22:46:00 [INFO] dispatching global action for root_view:update_quake_mode_state
22:46:00 [INFO] dispatching global action for workspace:save_app
22:46:00 [INFO] Received channel versions from Warp server: dev: ChannelVersion { version_info: VersionInfo { version: "v0.2024.03.05.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.03.05.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.03.05.08.02.beta_00", update_by: None, soft_cutoff: None }, overrides: [] }; stable: ChannelVersion { version_info: VersionInfo { version: "v0.2024.02.27.08.01.stable_03", update_by: None, soft_cutoff: Some("v0.2024.01.09.08.02.stable_01") }, overrides: [VersionOverride { predicate: TargetOS(Linux), version_info: VersionInfo { version: "v0.2024.03.05.08.02.stable_00", update_by: None, soft_cutoff: None } }] }
22:46:00 [INFO] Detected that Warp was installed using Apt
22:46:00 [INFO] Update ready for channel version VersionInfo { version: "v0.2024.03.05.08.02.stable_00", update_by: None, soft_cutoff: Some("v0.2024.01.09.08.02.stable_01") }
22:46:01 [INFO] Flushed telemetry events.
22:46:07 [INFO] active window changed: None
22:46:07 [INFO] dispatching global action for root_view:update_quake_mode_state
22:46:07 [INFO] dispatching global action for workspace:save_app
22:46:07 [INFO] active window changed: Some(WindowId(0))
22:46:07 [INFO] dispatching global action for root_view:update_quake_mode_state
22:46:07 [INFO] dispatching global action for workspace:save_app
22:46:07 [INFO] active window changed: None
22:46:07 [INFO] dispatching global action for root_view:update_quake_mode_state
22:46:07 [INFO] dispatching global action for workspace:save_app
22:46:12 [INFO] application will terminate
22:46:12 [INFO] Shutting down SQLite writer thread
22:46:12 [INFO] Shut down SQLite writer in 358.953µs
22:46:12 [INFO] Writing queued events to disk because telemetry is enabled.
22:46:12 [INFO] Successfully wrote telemetry events to disk
22:46:12 [INFO] Tearing down app services...
22:46:12 [INFO] Received empty message; assuming the connection has been closed.
borgdrone7 commented 8 months ago

It's not visible generally in VmWare VM (not sure about other hypervisors) which makes it completely unusable. I tried to start it on Ubuntu VM which I run locally and it doesn't show up. I think terminal should have software rendering, requiring terminal to use GPU is just silly. Also none of servers has GPU so ... need I say more? Terminals are not used to play games in general, maybe snake from time to time. As a matter of fact I don't understand why would terminal use GPU at all. I mean even Commodore 64 had fast enough graphics for showing text. Pity, some features in that intro video really looked good.

alokedesai commented 8 months ago

@acidkill @borgdrone7 We believe we have a fix for this. To confirm our fix is correct, could you see if forcing the use of GL fixes the issue for you:

WGPU_BACKEND=gl warp-terminal

acidkill commented 8 months ago

@alokedesai yes - I do confirm that a workaround works. How can we make it default in VM's? Starting terminal from terminal (and need to keep it running) is not the best way to do it.

alokedesai commented 8 months ago

@acidkill This change should be going out in today's release. Appreciate your patience here!

alokedesai commented 8 months ago

Hi everyone, the latest version of Warp should have a fix for this. Could you update and confirm things are working correctly? Thank you!

acidkill commented 8 months ago

just updated - work like a charm on my Proxmox VM! Thank you guys for this great work!

acidkill commented 8 months ago

Works like a charm after an update! Thank you guys for this great work!

DeusEli commented 8 months ago

It doesn't work for me. I just downloaded today (march 19th 2024) and have the same problem as the autor

alokedesai commented 8 months ago

@DeusEli Would you mind filing a new issue with more details? Output of your warp logs would also be very useful. Thank you!

DeusEli commented 8 months ago

@alokedesai I did it now, thank you for your fast response!

4598