Skip to content

Zed loses the cursor (wayland) #17332

Closed
Closed
@ajstarks

Description

@ajstarks

Check for existing issues

  • Completed

Describe the bug / provide steps to reproduce it

After starting up zed (version 0.150.4, Linux 6.10.6, Fedora 40, Wayland, Gnome 46, X1 Carbon (5th gen) Intel HD 520 Graphics). The cursor does not appear on the zed canvas or UI, making it impossible to use.

Opening another app fixes this. Also note that my AMD system with the same Desktop Environment does not have this issue. Also, the issue does not occur under X11.

Screencast.from.2024-09-03.19-18-44.mp4

Environment

Zed: v0.150.4 (Zed)
OS: Linux Wayland fedora 40
Memory: 7.5 GiB
Architecture: x86_64
GPU: Intel(R) HD Graphics 520 (SKL GT2) || Intel open-source Mesa driver || Mesa 24.1.6

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

Zed.log

2024-09-06T18:55:56.403988999-04:00 [INFO] ========== starting zed ==========
2024-09-06T18:55:56.483164702-04:00 [WARN] failed to load font 'MathJax_Vector-Regular'
2024-09-06T18:55:56.48331734-04:00 [WARN] failed to load font 'MathJax_Vector-Bold'
2024-09-06T18:55:56.487309264-04:00 [WARN] failed to load font 'MathJax_Vector-Regular'
2024-09-06T18:55:56.487424929-04:00 [WARN] failed to load font 'MathJax_Vector-Bold'
2024-09-06T18:55:56.53508069-04:00 [INFO] perform;
2024-09-06T18:55:56.535212915-04:00 [INFO] authenticate;
2024-09-06T18:55:56.535541252-04:00 [INFO] read_command;
2024-09-06T18:55:56.537909079-04:00 [INFO] Opening main db
2024-09-06T18:55:56.538390271-04:00 [INFO] new;
2024-09-06T18:55:56.538669119-04:00 [INFO] socket reader;
2024-09-06T18:55:56.546821977-04:00 [INFO] keep_updated;
2024-09-06T18:55:56.547528936-04:00 [INFO] Using git binary path: None
2024-09-06T18:55:56.683532975-04:00 [ERROR] theme not found: ajs
2024-09-06T18:55:56.683846025-04:00 [ERROR] No such file or directory (os error 2) about ["/home/ajstarks/.config/github-copilot"]
2024-09-06T18:55:56.684833853-04:00 [INFO] initializing context server client
2024-09-06T18:55:56.685057897-04:00 [INFO] Registering built-in prompt template: content_prompt
2024-09-06T18:55:56.685909412-04:00 [INFO] Registering built-in prompt template: edit_workflow
2024-09-06T18:55:56.686751177-04:00 [INFO] Registering built-in prompt template: step_resolution
2024-09-06T18:55:56.688090567-04:00 [INFO] Registering built-in prompt template: terminal_assistant_prompt
2024-09-06T18:55:56.689146982-04:00 [INFO] No prompt template overrides directory found at /home/ajstarks/.local/share/zed/prompt_overrides. Using built-in prompts.
2024-09-06T18:55:56.690604176-04:00 [INFO] extensions updated. loading 7, reloading 0, unloading 0
2024-09-06T18:55:56.695800697-04:00 [INFO] activate is not implemented on Linux, ignoring the call
2024-09-06T18:55:56.701003769-04:00 [WARN] request completed with error: failed to connect to the server
2024-09-06T18:55:56.701127228-04:00 [WARN] request completed with error: failed to connect to the server
2024-09-06T18:55:56.701224444-04:00 [WARN] request completed with error: failed to connect to the server
2024-09-06T18:55:56.701336921-04:00 [WARN] request completed with error: failed to connect to the server
2024-09-06T18:55:56.703822088-04:00 [INFO] Opening main db
2024-09-06T18:55:56.709433103-04:00 [WARN] request completed with error: failed to connect to the server
2024-09-06T18:55:56.709531444-04:00 [WARN] request completed with error: failed to connect to the server
2024-09-06T18:55:56.709597993-04:00 [WARN] request completed with error: failed to connect to the server
2024-09-06T18:55:56.709663399-04:00 [WARN] request completed with error: failed to connect to the server
2024-09-06T18:55:56.709729231-04:00 [WARN] request completed with error: failed to connect to the server
2024-09-06T18:55:56.710722728-04:00 [INFO] perform;
2024-09-06T18:55:56.710798235-04:00 [INFO] authenticate;
2024-09-06T18:55:56.710911165-04:00 [INFO] read_command;
2024-09-06T18:55:56.712791634-04:00 [INFO] socket reader;
2024-09-06T18:55:56.765456243-04:00 [INFO] new;
2024-09-06T18:55:56.77149895-04:00 [INFO] keep_updated;
2024-09-06T18:55:56.794856306-04:00 [WARN] request completed with error: failed to connect to the server
2024-09-06T18:55:56.878531636-04:00 [INFO] Enabling Vulkan Portability
2024-09-06T18:55:56.878607252-04:00 [INFO] Enabling color space support
2024-09-06T18:55:56.930025982-04:00 [INFO] Adapter: "Intel(R) HD Graphics 520 (SKL GT2)"
2024-09-06T18:55:56.930163973-04:00 [INFO] No ray tracing extensions are supported
2024-09-06T18:55:57.039099345-04:00 [INFO] Using surface present mode MAILBOX
2024-09-06T18:55:57.040173883-04:00 [WARN] Unable to forbid exclusive full screen
2024-09-06T18:55:57.041314666-04:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-06T18:55:57.041613241-04:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-06T18:55:57.041904382-04:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: PreMultiplied }
2024-09-06T18:55:57.075672182-04:00 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "Intel(R) HD Graphics 520 (SKL GT2)", driver_name: "Intel open-source Mesa driver", driver_info: "Mesa 24.1.7" }
2024-09-06T18:55:57.094144741-04:00 [INFO] set status on client 0: Authenticating
2024-09-06T18:55:57.095500033-04:00 [WARN] request completed with error: failed to connect to the server
2024-09-06T18:55:57.106875299-04:00 [INFO] perform;
2024-09-06T18:55:57.106958732-04:00 [INFO] authenticate;
2024-09-06T18:55:57.107077474-04:00 [INFO] read_command;
2024-09-06T18:55:57.111065404-04:00 [INFO] socket reader;
2024-09-06T18:55:57.140707622-04:00 [WARN] request completed with error: failed to connect to the server
2024-09-06T18:55:57.15183138-04:00 [INFO] new;
2024-09-06T18:55:57.157805763-04:00 [WARN] request completed with error: failed to connect to the server
2024-09-06T18:55:57.16035834-04:00 [INFO] Opening main db
2024-09-06T18:55:57.164727963-04:00 [INFO] keep_updated;
2024-09-06T18:55:57.229865962-04:00 [INFO] set environment variables from shell:/bin/bash, path:/home/ajstarks/bin:/home/ajstarks/go/bin:/home/ajstarks/gowork/bin:/usr/share/Modules/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/ajstarks/plan9/bin:/home/ajstarks/.local/bin
2024-09-06T18:55:57.354439437-04:00 [INFO] Using surface present mode MAILBOX
2024-09-06T18:55:57.355602087-04:00 [WARN] Unable to forbid exclusive full screen
2024-09-06T18:55:57.369008937-04:00 [INFO] set status on client 50597: Connecting
2024-09-06T18:55:57.373484233-04:00 [INFO] Initializing default prettier with plugins {}
2024-09-06T18:55:57.389899383-04:00 [INFO] Initializing default prettier with plugins {}
2024-09-06T18:55:57.390943348-04:00 [WARN] request completed with error: failed to connect to the server
2024-09-06T18:55:57.392370199-04:00 [INFO] Opening main db
2024-09-06T18:55:57.401082815-04:00 [WARN] request completed with error: failed to connect to the server
2024-09-06T18:55:57.401852228-04:00 [ERROR] no worktrees when constructing ProjectLspAdapterDelegate
2024-09-06T18:55:57.422128787-04:00 [INFO] response dropped without fully consuming the response body, connection won't be reused
Aborting a response without fully consuming the response body can result in sub-optimal performance. See https://github.com/sagebind/isahc/wiki/Connection-Reuse#closing-connections-early.
2024-09-06T18:55:57.434458429-04:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-09-06T18:55:57.509604607-04:00 [INFO] Initializing default prettier with plugins {}
2024-09-06T18:55:57.514799775-04:00 [WARN] request completed with error: failed to connect to the server
2024-09-06T18:55:57.516332975-04:00 [INFO] perform;
2024-09-06T18:55:57.516413864-04:00 [INFO] authenticate;
2024-09-06T18:55:57.516540731-04:00 [INFO] read_command;
2024-09-06T18:55:57.519397248-04:00 [INFO] socket reader;
2024-09-06T18:55:57.557563501-04:00 [INFO] add connection to peer
2024-09-06T18:55:57.55764198-04:00 [INFO] add_connection;
2024-09-06T18:55:57.558060447-04:00 [INFO] waiting for server hello
2024-09-06T18:55:57.567385602-04:00 [INFO] got server hello
2024-09-06T18:55:57.567470654-04:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 0 }, peer id: PeerId { owner_id: 507, id: 1444884 })
2024-09-06T18:55:57.567584382-04:00 [INFO] set status on client 50597: Connected { peer_id: PeerId { owner_id: 507, id: 1444884 }, connection_id: ConnectionId { owner_id: 0, id: 0 } }
2024-09-06T18:55:57.655877083-04:00 [INFO] perform;
2024-09-06T18:55:57.655959067-04:00 [INFO] authenticate;
2024-09-06T18:55:57.656090406-04:00 [INFO] read_command;
2024-09-06T18:55:57.659026813-04:00 [INFO] socket reader;
2024-09-06T18:55:57.958578509-04:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-09-06T18:55:57.984139192-04:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-09-06T18:55:59.07753693-04:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-09-06T18:55:59.256497429-04:00 [INFO] Initializing default prettier with plugins {}
2024-09-06T18:55:59.257861713-04:00 [WARN] request completed with error: failed to connect to the server
2024-09-06T18:55:59.258326874-04:00 [INFO] perform;
2024-09-06T18:55:59.258388158-04:00 [INFO] authenticate;
2024-09-06T18:55:59.258452763-04:00 [INFO] read_command;
2024-09-06T18:55:59.259217829-04:00 [INFO] socket reader;
2024-09-06T18:56:00.371975287-04:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-09-06T18:56:00.378829449-04:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-09-06T18:56:00.405850693-04:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-09-06T18:56:01.021792822-04:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-09-06T18:56:14.818964942-04:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-09-06T18:56:14.866117865-04:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-09-06T18:56:14.98824728-04:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-09-06T18:56:15.37455918-04:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-09-06T18:56:15.465387358-04:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-09-06T18:56:24.053456604-04:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-09-06T18:56:24.060115168-04:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-09-06T18:56:24.062424666-04:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-09-06T18:56:24.075063728-04:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-09-06T18:56:24.460479151-04:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-09-06T18:56:24.569907715-04:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-09-06T18:56:24.666137876-04:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-09-06T18:56:24.738366796-04:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-09-06T18:56:24.799410321-04:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-09-06T18:56:24.822872134-04:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-09-06T18:56:25.271206418-04:00 [WARN] Linux: Wayland: Unable to get default cursor too!
2024-09-06T18:56:25.294462792-04:00 [WARN] Linux: Wayland: Unable to get default cursor too!

Metadata

Metadata

Assignees

Labels

linuxlinux-waylandLinux WaylandmouseMouse interactions, states, actions, etc

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions