zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
49.69k stars 3.05k forks source link

Cursor on Linux 0.153.6 just got one pixel #18092

Closed tunnckoCore closed 1 month ago

tunnckoCore commented 1 month ago

Check for existing issues

Describe the bug / provide steps to reproduce it

I'm on Linux, and just reloaded my editor and it was auto-updated to 0.153.6 and my cursor became close to 1px. The blinking cursor on the line is proper size, but when i move the mouse/cursor around it's too small

image

Environment

Zed: v0.153.6 (Zed) OS: Archlinux Linux Wayland Memory: 13.5 GiB Architecture: x86_64 GPU: AMD Radeon Graphics (RADV RENOIR) || radv || Mesa 23.1.3

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-19T20:16:13.673592711+03:00 [INFO] Language server with id 2 sent unhandled notification eslint/status:
{
  "uri": "file:///home/charlike/code/yaro/zod.ts",
  "state": 1,
  "validationTime": 15
}
2024-09-19T20:16:19.154268361+03:00 [ERROR] oneshot canceled
2024-09-19T20:16:19.154336946+03:00 [ERROR] oneshot canceled
2024-09-19T20:16:19.154408325+03:00 [ERROR] oneshot canceled
2024-09-19T20:16:19.154464408+03:00 [ERROR] oneshot canceled
2024-09-19T20:18:32.097490287+03:00 [INFO] ========== starting zed ==========
2024-09-19T20:18:32.13623076+03:00 [INFO] perform;
2024-09-19T20:18:32.136269523+03:00 [INFO] authenticate;
2024-09-19T20:18:32.136308145+03:00 [INFO] read_command;
2024-09-19T20:18:32.136402642+03:00 [INFO] Opening main db
2024-09-19T20:18:32.136854174+03:00 [INFO] new;
2024-09-19T20:18:32.136887838+03:00 [INFO] socket reader;
2024-09-19T20:18:32.137422831+03:00 [INFO] keep_updated;
2024-09-19T20:18:32.13781311+03:00 [INFO] Using git binary path: None
2024-09-19T20:18:32.160025234+03:00 [INFO] initializing context server client
2024-09-19T20:18:32.160109674+03:00 [INFO] Registering built-in prompt template: content_prompt
2024-09-19T20:18:32.160349932+03:00 [INFO] Registering built-in prompt template: edit_workflow
2024-09-19T20:18:32.160526913+03:00 [INFO] Registering built-in prompt template: step_resolution
2024-09-19T20:18:32.160845604+03:00 [INFO] Registering built-in prompt template: terminal_assistant_prompt
2024-09-19T20:18:32.161005403+03:00 [INFO] No prompt template overrides directory found at /home/charlike/.local/share/zed/prompt_overrides. Using built-in prompts.
2024-09-19T20:18:32.162053668+03:00 [INFO] extensions updated. loading 10, reloading 0, unloading 0
2024-09-19T20:18:32.164373414+03:00 [INFO] activate is not implemented on Linux, ignoring the call
2024-09-19T20:18:32.165204679+03:00 [INFO] perform;
2024-09-19T20:18:32.165228495+03:00 [INFO] authenticate;
2024-09-19T20:18:32.165256083+03:00 [INFO] read_command;
2024-09-19T20:18:32.165817406+03:00 [INFO] socket reader;
2024-09-19T20:18:32.168332641+03:00 [INFO] Opening main db
2024-09-19T20:18:32.169274117+03:00 [INFO] new;
2024-09-19T20:18:32.169927423+03:00 [INFO] keep_updated;
2024-09-19T20:18:32.195511051+03:00 [INFO] set status on client 0: Authenticating
2024-09-19T20:18:32.195831558+03:00 [INFO] perform;
2024-09-19T20:18:32.195873952+03:00 [INFO] authenticate;
2024-09-19T20:18:32.195919838+03:00 [INFO] read_command;
2024-09-19T20:18:32.19648193+03:00 [INFO] socket reader;
2024-09-19T20:18:32.19665912+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-19T20:18:32.196701864+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-19T20:18:32.196733363+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-19T20:18:32.196763884+03:00 [INFO] building git repository, `.git` path in the worktree: ".git"
2024-09-19T20:18:32.196796081+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-19T20:18:32.1969739+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-19T20:18:32.19700924+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-19T20:18:32.19704053+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-19T20:18:32.197072727+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-19T20:18:32.197102271+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-19T20:18:32.1971337+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-19T20:18:32.197191389+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-19T20:18:32.198687624+03:00 [WARN] Theme "Dracula" is using a deprecated style property: scrollbar_thumb.background. Use `scrollbar.thumb.background` instead.
2024-09-19T20:18:32.199654801+03:00 [INFO] new;
2024-09-19T20:18:32.200208582+03:00 [INFO] keep_updated;
2024-09-19T20:18:32.209014035+03:00 [INFO] Enabling Vulkan Portability
2024-09-19T20:18:32.209045045+03:00 [INFO] Enabling color space support
2024-09-19T20:18:32.211929467+03:00 [INFO] Adapter: "AMD Radeon Graphics (RADV RENOIR)"
2024-09-19T20:18:32.21198143+03:00 [INFO] No ray tracing extensions are supported
2024-09-19T20:18:32.219698738+03:00 [INFO] Using surface present mode MAILBOX
2024-09-19T20:18:32.220303154+03:00 [WARN] Unable to forbid exclusive full screen
2024-09-19T20:18:32.220776546+03:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-19T20:18:32.220811188+03:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-19T20:18:32.220840522+03:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: PreMultiplied }
2024-09-19T20:18:32.226599937+03:00 [INFO] set environment variables from shell:/bin/bash, path:/home/charlike/.fly/bin:/home/charlike/.wasmer/bin:/home/charlike/.turso:/home/charlike/.bun/bin:/home/charlike/.deno/bin:./node_modules/.bin:/home/charlike/.local/bin:/home/charlike/.fly/bin:/home/charlike/.wasmer/bin:/home/charlike/.turso:/home/charlike/.bun/bin:/home/charlike/.deno/bin:./node_modules/.bin:/home/charlike/.local/bin:/home/charlike/.nvm/versions/node/v20.5.0/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/home/charlike/.local/share/flatpak/exports/bin:/var/lib/flatpak/exports/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
2024-09-19T20:18:32.226842919+03:00 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "AMD Radeon Graphics (RADV RENOIR)", driver_name: "radv", driver_info: "Mesa 23.1.3" }
2024-09-19T20:18:32.22804812+03:00 [INFO] set status on client 216157: Connecting
2024-09-19T20:18:32.228605742+03:00 [INFO] Opening main db
2024-09-19T20:18:32.228650511+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-19T20:18:32.230025708+03:00 [INFO] Opening main db
2024-09-19T20:18:32.235266194+03:00 [INFO] Using surface present mode MAILBOX
2024-09-19T20:18:32.235795181+03:00 [WARN] Unable to forbid exclusive full screen
2024-09-19T20:18:32.236137199+03:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: Ignored }
2024-09-19T20:18:32.243690028+03:00 [INFO] Using surface present mode MAILBOX
2024-09-19T20:18:32.245065924+03:00 [WARN] Unable to forbid exclusive full screen
2024-09-19T20:18:32.245444749+03:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: PreMultiplied }
2024-09-19T20:18:32.25254493+03:00 [INFO] Using surface present mode MAILBOX
2024-09-19T20:18:32.253998839+03:00 [WARN] Unable to forbid exclusive full screen
2024-09-19T20:18:32.272770387+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-19T20:18:32.277645038+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-19T20:18:32.288188101+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-19T20:18:32.297684156+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-19T20:18:32.35627559+03:00 [INFO] starting language servers for TypeScript: vtsls, eslint
2024-09-19T20:18:32.35633328+03:00 [INFO] starting language server "vtsls", path: "/home/charlike/code/yaro", id: 1
2024-09-19T20:18:32.356375814+03:00 [INFO] starting language server "eslint", path: "/home/charlike/code/yaro", id: 2
2024-09-19T20:18:32.356521715+03:00 [INFO] Initializing default prettier with plugins {}
2024-09-19T20:18:32.356557474+03:00 [INFO] starting language servers for TypeScript: vtsls, eslint
2024-09-19T20:18:32.356879797+03:00 [INFO] Initializing default prettier with plugins {}
2024-09-19T20:18:32.35740599+03:00 [INFO] fetching latest version of language server "vtsls"
2024-09-19T20:18:32.357459978+03:00 [INFO] Node runtime install_if_needed
2024-09-19T20:18:32.357860944+03:00 [INFO] fetching latest version of language server "eslint"
2024-09-19T20:18:32.35791109+03:00 [INFO] downloading language server "eslint"
2024-09-19T20:18:32.35823027+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-19T20:18:32.444499209+03:00 [INFO] Node runtime install_if_needed
2024-09-19T20:18:32.519273342+03:00 [INFO] Node runtime install_if_needed
2024-09-19T20:18:32.604429131+03:00 [INFO] using CLI environment for language server "eslint", id: 2
2024-09-19T20:18:32.604517482+03:00 [INFO] starting language server. binary path: "/home/charlike/.local/share/zed/node/node-v22.5.1-linux-x64/bin/node", working directory: "/home/charlike/code/yaro", args: ["--max-old-space-size=8192", "/home/charlike/.local/share/zed/languages/eslint/vscode-eslint-release/2.4.4/vscode-eslint/server/out/eslintServer.js", "--stdio"]
2024-09-19T20:18:32.70859505+03:00 [WARN] unhandled capability registration: Registration { id: "3c644504-f901-40cc-8a9b-617bae89dd9c", method: "workspace/didChangeConfiguration", register_options: Some(Object {}) }
2024-09-19T20:18:32.708717693+03:00 [WARN] unhandled capability registration: Registration { id: "a3fc92a7-6fd2-4028-97ae-9c4c98f6c88c", method: "workspace/didChangeWorkspaceFolders", register_options: Some(Object {}) }
2024-09-19T20:18:33.18074294+03:00 [INFO] Node runtime install_if_needed
2024-09-19T20:18:33.268357881+03:00 [INFO] starting language server. binary path: "/home/charlike/.local/share/zed/node/node-v22.5.1-linux-x64/bin/node", working directory: "/", args: ["/home/charlike/.local/share/zed/copilot/copilot-v0.5.0/dist/agent.js", "--stdio"]
2024-09-19T20:18:33.373903677+03:00 [INFO] connected to rpc endpoint https://collab.zed.dev/rpc
2024-09-19T20:18:33.462108437+03:00 [INFO] Initializing default prettier with plugins {}
2024-09-19T20:18:33.462168152+03:00 [INFO] starting language servers for TypeScript: vtsls, eslint, graphql
2024-09-19T20:18:33.462212991+03:00 [INFO] starting language server "graphql", path: "/home/charlike/code/yaro", id: 3
2024-09-19T20:18:33.463048656+03:00 [INFO] Node runtime install_if_needed
2024-09-19T20:18:33.463151603+03:00 [WARN] request completed with error: failed to connect to the server
2024-09-19T20:18:33.547417182+03:00 [INFO] starting language server. binary path: "/home/charlike/.local/share/zed/node/node-v22.5.1-linux-x64/bin/node", working directory: "/home/charlike/code/yaro", args: ["/home/charlike/.local/share/zed/extensions/work/graphql/node_modules/.bin/graphql-lsp", "server", "-m", "stream", "-c", "/home/charlike/code/yaro"]
2024-09-19T20:18:33.651214891+03:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-09-19T17:18:33.646Z] Agent service starting",
  "metadataStr": "[DEBUG] [agent] [2024-09-19T17:18:33.646Z]",
  "extra": [
    "Agent service starting"
  ]
}
2024-09-19T20:18:33.654611328+03:00 [INFO] Language server with id 0 sent unhandled notification client/registerCapability:
{
  "registrations": [
    {
      "id": "6109883e-7816-417e-98d7-9ab5f3b574f6",
      "method": "workspace/didChangeWorkspaceFolders",
      "registerOptions": {}
    }
  ]
}
2024-09-19T20:18:33.822209878+03:00 [INFO] Node runtime install_if_needed
2024-09-19T20:18:33.911773493+03:00 [INFO] Node runtime install_if_needed
2024-09-19T20:18:34.273075036+03:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-19T20:18:34.287738172+03:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-09-19T20:18:34.304606304+03:00 [INFO] Creating a descriptor pool for at most 256 sets
2024-09-19T20:18:34.316967714+03:00 [INFO] Creating a descriptor pool for at most 256 sets
2024-09-19T20:18:34.42680798+03:00 [INFO] add connection to peer
2024-09-19T20:18:34.426851841+03:00 [INFO] add_connection;
2024-09-19T20:18:34.426889486+03:00 [INFO] waiting for server hello
2024-09-19T20:18:34.427028402+03:00 [INFO] got server hello
2024-09-19T20:18:34.427058435+03:00 [INFO] set status to connected (connection id: ConnectionId { owner_id: 0, id: 0 }, peer id: PeerId { owner_id: 540, id: 12235344 })
2024-09-19T20:18:34.427097337+03:00 [INFO] set status on client 216157: Connected { peer_id: PeerId { owner_id: 540, id: 12235344 }, connection_id: ConnectionId { owner_id: 0, id: 0 } }
2024-09-19T20:18:34.455489747+03:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-09-19T17:18:34.451Z] Telemetry initialized",
  "metadataStr": "[DEBUG] [agent] [2024-09-19T17:18:34.451Z]",
  "extra": [
    "Telemetry initialized"
  ]
}
2024-09-19T20:18:34.561175017+03:00 [INFO] Language server with id 2 sent unhandled notification eslint/status:
{
  "uri": "file:///home/charlike/code/yaro/zod.ts",
  "state": 1,
  "validationTime": 1719
}
2024-09-19T20:18:34.689588268+03:00 [INFO] Language server with id 2 sent unhandled notification eslint/status:
{
  "uri": "file:///home/charlike/code/yaro/zod.ts",
  "state": 1,
  "validationTime": 99
}
2024-09-19T20:18:34.936117413+03:00 [INFO] downloading language server "vtsls"
2024-09-19T20:18:34.93634915+03:00 [INFO] Node runtime install_if_needed
2024-09-19T20:18:35.011134318+03:00 [INFO] using CLI environment for language server "vtsls", id: 1
2024-09-19T20:18:35.011259266+03:00 [INFO] starting language server. binary path: "/home/charlike/.local/share/zed/node/node-v22.5.1-linux-x64/bin/node", working directory: "/home/charlike/code/yaro", args: ["/home/charlike/.local/share/zed/languages/vtsls/node_modules/@vtsls/language-server/bin/vtsls.js", "--stdio"]

notpeter commented 1 month ago

I think this is likely a similar root cause as:

tunnckoCore commented 1 month ago

Seems so yeah. I'm on KDE too. And i'm not using fractional scaling.

I also just updated to 153.7, and it's not fixed yet.

notpeter commented 1 month ago

I'm going to close in favor of:

Thanks for reporting.