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.39k stars 373 forks source link

Warp does not show terminal, only a portion of my desktop #4220

Closed Niobium62 closed 2 weeks ago

Niobium62 commented 8 months ago

Discord username (optional)

arianmoh

Describe the bug

The app does not show the actual terminal, but a part of my desktop. I can click the top part and drag it around like a window.

To reproduce

  1. Launch Warp
  2. Notice a window pop-up effect, but no terminal
  3. Move cursor to the top part of the "window"
  4. Drag it around
  5. Observe error

Expected behavior

The Warp Terminal appearing

Screenshots

Screenshot from 2024-02-22 11-55-35

Operating system

Linux

Operating system and version

Linux Mint 21.3 Cinnamon

Shell Version

No response

Current Warp version

warp-terminal_0.2024.02.20.08.01.stable.01_amd64.deb

Regression

Yes, this bug started recently or with an X Warp version

Recent working Warp date

No response

Additional context

I have an Nvidia RTX 3080 and a Ryzen 5600

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

mike-henders commented 8 months ago

Similar symptoms running 0.2024.02.20.08.01.stable.01.

The warp window renders a rectangle that has a copy of the desktop background. It is draggable and resizable, but does not contain any content. I can maximize and close too if I click around in top right corner and guess where the icons are.

Environment is Ubuntu 20.04 running in VMWare Workstation Pro 17.5 with 3D graphics acceleration enabled. I tried disabling 3D graphics acceleration and saw the same behavior. Desktop is the default GNOME desktop that comes with Ubuntu Desktop edition.

Host is Windows 11 with NVIDIA GeForce RTX 3050 Laptop GPU.

dannyneira commented 8 months ago

Hey @Niobium62 sorry about this. Try the appimage pkg,

curl -L "https://app.warp.dev/download?package=appimage" -o Warp-x86_64.AppImage
chmod +x Warp-x86_64.AppImage
./Warp-x86_64.AppImage

@mike-henders afaik, there may be some issues with running Warp on a VM as it needs GPU accelerated support. Try the above and see if that helps.

Niobium62 commented 8 months ago

Screenshot from 2024-02-22 12-56-20 Unfortunately, the problem persists with AppImage

I can close the "window" by clicking the top right corner where the X button normally is, so I suspect maybe it's purely a display issue

If it's any help, here are the logs I received when launching the AppImage

stdout is a tty true, in CI false. using logfile: false 12:55:39 [INFO] Spawning terminal server process... 12:55:39 [INFO] Running terminal server... 12:55:39 [WARN] Failed to load font Some("/usr/share/fonts/type1/gsfonts/b018012l.pfb"): InvalidFontFormat("Type 1") 12:55:39 [WARN] Failed to load font Some("/usr/share/fonts/type1/gsfonts/s050000l.pfb"): InvalidFontFormat("Type 1") 12:55:39 [WARN] Failed to load font Some("/usr/share/fonts/type1/urw-base35/StandardSymbolsPS.t1"): InvalidFontFormat("Type 1") 12:55:39 [WARN] Failed to load font: Hack due to error Font family Hack does not contain any valid fonts 12:55:39 [INFO] Failed to read User from secure storage NotFound 12:55:39 [INFO] Initializing crash reporting Some("stable_release") with tag "v0.2024.02.20.08.01.stable_01"... 12:55:39 [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.20.08.01.stable_01") 12:55:39 [INFO] Start to flush telemetry events to Segment 12:55:39 [INFO] Performance metrics collector started 12:55:39 [INFO] Initializing app services 12:55:39 [INFO] Start to flush telemetry events to Segment nvc0_screen_create:1001 - Base screen init failed: -19 libEGL warning: egl: failed to create dri2 screen 12:55:39 [WARN] No config found! 12:55:39 [WARN] No config found! 12:55:39 [INFO] Connecting to SQLite database 12:55:39 [INFO] Checking for update on channel stable_release. Update id is oYP3iN2 12:55:39 [INFO] Fetching channel versions (without changelogs) from Warp server 12:55:39 [INFO] fetching team tester status 12:55:39 [INFO] dispatching global action for root_view:open_from_restored 12:55:39 [INFO] dispatching global action for root_view:open_new 12:55:39 [WARN] Failed to load font Some("/usr/share/fonts/type1/gsfonts/b018012l.pfb"): InvalidFontFormat("Type 1") 12:55:39 [WARN] Failed to load font Some("/usr/share/fonts/type1/gsfonts/s050000l.pfb"): InvalidFontFormat("Type 1") 12:55:39 [WARN] Failed to load font Some("/usr/share/fonts/type1/urw-base35/StandardSymbolsPS.t1"): InvalidFontFormat("Type 1") 12:55:39 [WARN] error getting team tester status: Failed to get access token for GraphQL request. Falling back to in-memory state. 12:55:40 [INFO] Guessed window scale factor: 1 nvc0_screen_create:1001 - Base screen init failed: -19 libEGL warning: egl: failed to create dri2 screen 12:55:40 [WARN] No config found! 12:55:40 [WARN] No config found! 12:55:40 [INFO] Enabled wgpu backends: Backends(VULKAN | GL | METAL | DX12 | DX11 | BROWSER_WEBGPU) 12:55:40 [INFO] Available wgpu adapters: 12:55:40 [INFO] Cpu: llvmpipe (LLVM 15.0.7, 256 bits) 12:55:40 [INFO] Driver: llvmpipe (Mesa 23.2.1-1ubuntu3.1~22.04.2 (LLVM 15.0.7)) 12:55:40 [INFO] Cpu: llvmpipe (LLVM 15.0.7, 256 bits) 12:55:40 [INFO] Driver: Unknown 12:55:40 [INFO] Using Cpu (llvmpipe (LLVM 15.0.7, 256 bits)) for rendering new window. 12:55:40 [WARN] Failed to load font Some("/usr/share/fonts/type1/gsfonts/b018015l.pfb"): InvalidFontFormat("Type 1") 12:55:40 [WARN] Failed to load font Some("/usr/share/fonts/type1/gsfonts/s050000l.pfb"): InvalidFontFormat("Type 1") 12:55:40 [WARN] Failed to load font Some("/usr/share/fonts/type1/urw-base35/StandardSymbolsPS.t1"): InvalidFontFormat("Type 1") 12:55:40 [WARN] redraw_frame was called 3 times before the frame was drawn 12:55:40 [INFO] active window changed: Some(WindowId(0)) 12:55:40 [INFO] dispatching global action for root_view:update_quake_mode_state 12:55:40 [INFO] dispatching global action for workspace:save_app 12:55:41 [INFO] active window changed: None 12:55:41 [INFO] dispatching global action for root_view:update_quake_mode_state 12:55:41 [INFO] dispatching global action for workspace:save_app 12:55:43 [INFO] active window changed: Some(WindowId(0)) 12:55:43 [INFO] dispatching global action for root_view:update_quake_mode_state 12:55:43 [INFO] dispatching global action for workspace:save_app 12:55:49 [WARN] Failed to send event to Segment: error sending request for url (https://api.segment.io/v1/batch): error trying to connect: operation timed out 12:55:49 [WARN] Failed to send event to Segment: error sending request for url (https://api.segment.io/v1/batch): error trying to connect: operation timed out 12:55:49 [INFO] Flushed telemetry events. 12:55:49 [WARN] Failed to send event to Segment: error sending request for url (https://api.segment.io/v1/batch): error trying to connect: operation timed out 12:55:49 [INFO] Successfully flushed events to segment from disk 12:55:49 [WARN] Failed to send event to Segment: error sending request for url (https://api.segment.io/v1/batch): error trying to connect: operation timed out 12:55:55 [INFO] Received channel versions from Warp server: dev: ChannelVersion { version_info: VersionInfo { version: "v0.2024.02.22.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.02.22.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.02.20.08.02.beta_00", update_by: None, soft_cutoff: None }, overrides: [] }; stable: ChannelVersion { version_info: VersionInfo { version: "v0.2024.02.13.08.02.stable_00", update_by: None, soft_cutoff: Some("v0.2023.12.19.08.02.stable_00") }, overrides: [VersionOverride { predicate: TargetOS(Linux), version_info: VersionInfo { version: "v0.2024.02.20.08.01.stable_01", update_by: None, soft_cutoff: None } }] } 12:55:55 [INFO] No update available 12:56:04 [INFO] active window changed: None 12:56:04 [INFO] dispatching global action for root_view:update_quake_mode_state 12:56:04 [INFO] dispatching global action for workspace:save_app 12:56:04 [INFO] active window changed: Some(WindowId(0)) 12:56:04 [INFO] dispatching global action for root_view:update_quake_mode_state 12:56:04 [INFO] dispatching global action for workspace:save_app 12:56:05 [INFO] active window changed: None 12:56:05 [INFO] dispatching global action for root_view:update_quake_mode_state 12:56:05 [INFO] dispatching global action for workspace:save_app 12:56:08 [INFO] active window changed: Some(WindowId(0)) 12:56:08 [INFO] dispatching global action for root_view:update_quake_mode_state 12:56:08 [INFO] dispatching global action for workspace:save_app 12:56:09 [INFO] active window changed: None 12:56:09 [INFO] dispatching global action for root_view:update_quake_mode_state 12:56:09 [INFO] dispatching global action for workspace:save_app 12:56:10 [INFO] active window changed: Some(WindowId(0)) 12:56:10 [INFO] dispatching global action for root_view:update_quake_mode_state 12:56:10 [INFO] dispatching global action for workspace:save_app 12:56:19 [INFO] active window changed: None 12:56:19 [INFO] dispatching global action for root_view:update_quake_mode_state 12:56:19 [INFO] dispatching global action for workspace:save_app 12:56:19 [INFO] Start to flush telemetry events to Segment 12:56:19 [INFO] Dropping empty telemetry batch 12:56:19 [INFO] Flushed telemetry events. 12:56:19 [INFO] active window changed: Some(WindowId(0)) 12:56:19 [INFO] dispatching global action for root_view:update_quake_mode_state 12:56:19 [INFO] dispatching global action for workspace:save_app 12:56:20 [INFO] active window changed: None 12:56:20 [INFO] dispatching global action for root_view:update_quake_mode_state 12:56:20 [INFO] dispatching global action for workspace:save_app 12:56:20 [WARN] redraw_frame was called 4 times before the frame was drawn 12:56:25 [INFO] active window changed: Some(WindowId(0)) 12:56:25 [INFO] dispatching global action for root_view:update_quake_mode_state 12:56:25 [INFO] dispatching global action for workspace:save_app 12:56:26 [INFO] dispatching action for "root_view:close_window" 12:56:26 [INFO] application will terminate 12:56:26 [INFO] Shutting down SQLite writer thread 12:56:26 [INFO] Shut down SQLite writer in 245.044µs 12:56:26 [INFO] Writing queued events to disk because telemetry is enabled. 12:56:26 [INFO] Successfully wrote telemetry events to disk 12:56:26 [INFO] Tearing down app services... 12:56:26 [INFO] Received empty message; assuming the connection has been closed.

dannyneira commented 8 months ago

Thanks for that, the errors mention warning of issues with the fonts, maybe try installing a Nerd Font, and setting as default in system to see if that helps? https://www.nerdfonts.com/

dannyneira commented 8 months ago

Please send us your logs found in ~/.local/state/warp-terminal/warp.log. We recommend quitting Warp, deleting the log file, starting Warp again (for a fresh set of logs), and then attaching that file.

Also, are you using Wayland or X11? Finally, we'd benefit from the output of glxinfo -B (you may need to install mesa-utils to run that).

Niobium62 commented 8 months ago

warp.log glxinfoData.txt

Sure, here are the logs. I installed a Nerd font before launching again.

I am using X11

alyelalwany commented 8 months ago

I am having the same issue with linux mint 20.3 running inside a VM. Is the issue related to a specific distro ?

mcanam commented 8 months ago

I also got the same issue with Zorin OS 17

Roblezzz commented 8 months ago

same bug on PopOS 22.04

dannyneira commented 8 months ago

Hey folks! Thanks for your patience while trying Warp. Could you download the latest version of Warp at https://www.warp.dev/linux-terminal ?

If using Wayland, you can enable Wayland support by setting the WARP_ENABLE_WAYLAND envar (e.gWARP_ENABLE_WAYLAND=1 warp-terminal).

bprolifcdev commented 8 months ago

Hey folks! Thanks for your patience while trying Warp. Could you download this preview version of Warp and see if it fixes your issues:

deb rpm pacman appimage

If using Wayland, you can enable Wayland support by setting the WARP_ENABLE_WAYLAND envar (e.gWARP_ENABLE_WAYLAND=1 warp-terminal).

Regrettably this version has the same issue on pop 22.04 running x11. same problem regardless of .deb or appimage. Works on another popos instance without any problems. Should mention it runs fine on the host but problem on virtualization guest

alyelalwany commented 8 months ago

Hey folks! Thanks for your patience while trying Warp. Could you download this preview version of Warp and see if it fixes your issues: deb rpm pacman appimage If using Wayland, you can enable Wayland support by setting the WARP_ENABLE_WAYLAND envar (e.gWARP_ENABLE_WAYLAND=1 warp-terminal).

Regrettably this version has the same issue on pop 22.04 running x11. same problem regardless of .deb or appimage. Works on another popos instance without any problems. Should mention it runs fine on the host but problem on virtualization guest

+1

mike-henders commented 7 months ago

@dannyneira Version 0.2024.04.02.08.02.stable.01 fixes my issues. I am now able to use Warp inside of a VMWare Workstation Ubuntu 20.04 guest operating system running on Windows 11. Thanks for you hard work. Now, I'm looking forward to WSL2 support for my other environments :)

dannyneira commented 2 weeks ago

Hi Folks, We're tracking this issue of Warp running inside a VMware VM 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.

I know some folks have been able to run Warp inside that environment, but it's still a larger issue for many. We'll be closing this one as a duplicate to track in the canonical issue above.