zed icon indicating copy to clipboard operation
zed copied to clipboard

[Linux] Zed doesn't open

Open LeoRami99 opened this issue 1 year ago • 21 comments

Check for existing issues

  • [X] Completed

Describe the bug / provide steps to reproduce it

I installed Zed on Ubuntu 20.04.6 LTS, everything is fine, but when I try to run it, the window does not display directly. I ran the vkcube command and it works fine, I changed to xorg and nothing happens anyway. image

Environment

OS: Ubuntu 20.04.6 LTS x86_64 Laptop: Dell Inspiron 15 3520 Kernel: 5.15.0-113-generic CPU: 12th Gen Intel i7-1255U (12) @ 4.700GHz GPU: Intel Device 4628 DE: GNOME in Wayland

If applicable, attach your ~/Library/Logs/Zed/Zed.log file to this issue.

No response

LeoRami99 avatar Jul 11 '24 14:07 LeoRami99

Update: I installed DE:Plasma KDE and ran Zed and the error it throws in a popup is NoSupportedDeviceFound

LeoRami99 avatar Jul 11 '24 14:07 LeoRami99

I have the same issue in my WSL environment. There I regularly use gitk or other IDEs such as Eclipse, IDEA, etc. via XLaunch X-Server.

If I run zed after a seemingly successful installation it doesn't print anything but nothing happens either. I've let it run in the background for a few minutes before looking for similar issues.

MLNW avatar Jul 11 '24 14:07 MLNW

Screenshot from 2024-07-11 20-12-26 In my ubuntu 22.04, zed do not show any response though vulkan is working

mitradranirban avatar Jul 11 '24 14:07 mitradranirban

I'm also having this problem, using ubuntu 20.04, with X11 image

jrocha25 avatar Jul 11 '24 16:07 jrocha25

Also for me on Fedora, it's doing some weird stuff

Screencastfrom2024-07-1122-27-07_EDIT-ezgif com-video-to-gif-converter

d7omdev avatar Jul 11 '24 19:07 d7omdev

It's got the title set on the window, but it's clearly not rendering anything or accepting input. It does close when I hit X. Probably some bugs in the X11 window setup routines? It's been written from scratch, so I don't think it's been properly tested. image

petabyt avatar Jul 11 '24 19:07 petabyt

Is there anything in the Zed.log on your systems?

We should at least see some noise if we're booting at all; and if we're not getting that far, something is very broken :D.

ConradIrwin avatar Jul 11 '24 20:07 ConradIrwin

Here's my log file Zed.log

jrocha25 avatar Jul 11 '24 21:07 jrocha25

WSL2, Windows 11. vkcube works fine.

It asked me for a keyring, I closed the prompt. unset WAYLAND_DISPLAY; zed

2024-07-11T17:02:19-04:00 [INFO] ========== starting zed ==========
2024-07-11T17:02:19-04:00 [INFO] Compositor detection: _NET_WM_CM_S?=false, _NET_WM_CM_OWNER=false, _NET_SUPPORTING_WM_CHECK=true
2024-07-11T17:02:19-04:00 [INFO] x11: compositor present: true, gtk_frame_extents_supported: false
2024-07-11T17:02:19-04:00 [INFO] perform;
2024-07-11T17:02:19-04:00 [INFO] Opening main db
2024-07-11T17:02:19-04:00 [INFO] read_command;
2024-07-11T17:02:19-04:00 [INFO] read_command;
2024-07-11T17:02:19-04:00 [INFO] socket reader;
2024-07-11T17:02:19-04:00 [INFO] new;
2024-07-11T17:02:19-04:00 [INFO] Using git binary path: None
2024-07-11T17:02:19-04:00 [INFO] keep_updated;
2024-07-11T17:02:19-04:00 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-07-11T17:02:19-04:00 [INFO] activate is not implemented on Linux, ignoring the call
2024-07-11T17:02:19-04:00 [INFO] Opening main db
2024-07-11T17:02:19-04:00 [INFO] set environment variables from shell:/bin/bash, REDACTED
2024-07-11T17:02:19-04:00 [INFO] Using Visual { id: 73, colormap: 0, depth: 32 }
2024-07-11T17:02:19-04:00 [INFO] Creating colormap 6291459
2024-07-11T17:02:19-04:00 [INFO] perform;
2024-07-11T17:02:19-04:00 [INFO] read_command;
2024-07-11T17:02:19-04:00 [INFO] read_command;
2024-07-11T17:02:19-04:00 [INFO] socket reader;
2024-07-11T17:02:19-04:00 [INFO] Enabling color space support
2024-07-11T17:02:20-04:00 [INFO] Adapter "llvmpipe (LLVM 15.0.7, 256 bits)"
2024-07-11T17:02:20-04:00 [INFO] No ray tracing extensions are supported
2024-07-11T17:02:20-04:00 [INFO] Using surface present mode MAILBOX
2024-07-11T17:02:20-04:00 [WARN] Unable to forbid exclusive full screen
2024-07-11T17:02:20-04:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-07-11T17:02:20-04:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-07-11T17:02:20-04:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: Ignored }
2024-07-11T17:02:20-04:00 [INFO] Refreshing at 16679 micros
2024-07-11T17:02:20-04:00 [INFO] x11: no compositor present, falling back to server-side window decorations
2024-07-11T17:02:20-04:00 [INFO] Initializing default prettier with plugins {}
2024-07-11T17:02:20-04:00 [INFO] Initializing default prettier with plugins {}
2024-07-11T17:02:20-04:00 [INFO] Node runtime install_if_needed
2024-07-11T17:02:20-04:00 [INFO] starting language server. binary path: "/home/daniel/.local/share/zed/node/node-v18.15.0-linux-x64/bin/node", working directory: "/", args: ["/home/daniel/.local/share/zed/copilot/copilot-v0.5.0/dist/agent.js", "--stdio"]
2024-07-11T17:02:21-04:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-07-11T21:02:21.012Z] Agent service starting",
  "metadataStr": "[DEBUG] [agent] [2024-07-11T21:02:21.012Z]",
  "extra": [
    "Agent service starting"
  ]
}
2024-07-11T17:02:21-04:00 [INFO] Language server with id 0 sent unhandled notification client/registerCapability:
{
  "registrations": [
    {
      "id": "b49c8b9c-d50b-42b7-8967-0366cf51d664",
      "method": "workspace/didChangeWorkspaceFolders",
      "registerOptions": {}
    }
  ]
}
2024-07-11T17:02:21-04:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-07-11T21:02:21.027Z] Telemetry initialized",
  "metadataStr": "[DEBUG] [agent] [2024-07-11T21:02:21.027Z]",
  "extra": [
    "Telemetry initialized"
  ]
}
2024-07-11T17:02:22-04:00 [ERROR] DBus error Prompt was dismissed

petabyt avatar Jul 11 '24 21:07 petabyt

I was wrong, it does respond to input. ctrl + o opens the file dialog.

petabyt avatar Jul 11 '24 21:07 petabyt

@petabyt I see Adapter "llvmpipe (LLVM 15.0.7, 256 bits)" which likely means that we're falling back to software rendering for you.

Although it should look better than that, you'll probably need to debug your GPU setup to make Zed work well at all.

ConradIrwin avatar Jul 11 '24 22:07 ConradIrwin

I am using Green Ubuntu (virginia 21.3), same as @abdulrahmanDev1

ogak-github avatar Jul 12 '24 02:07 ogak-github

I'm running into the same problem on Ubuntu 20.04: vkcube runs but Zed does not open a window. I also get these warnings in my Zed.log:

[WARN] Rejected for device extension "VK_KHR_dynamic_rendering" not supported
[WARN] Rejected for device extension "VK_EXT_inline_uniform_block" not supported

When I boot Ubuntu 24.04 on the same device, Zed works. It seems to me that the Vulkan drivers in Ubuntu 20.04 are too old to run Zed. Zed should probably detect this and show a useful message.

eyelash avatar Jul 12 '24 11:07 eyelash

where can I find the log or generate it

LeoRami99 avatar Jul 12 '24 13:07 LeoRami99

where can I find the log or generate it

Seems to be at ~/.local/share/zed/logs/Zed.log on Linux.

lirc572 avatar Jul 12 '24 14:07 lirc572

Is there anything in the Zed.log on your systems?

We should at least see some noise if we're booting at all; and if we're not getting that far, something is very broken :D. This is my log :

2024-07-12T09:04:22-05:00 [INFO] ========== starting zed ==========
2024-07-12T09:04:22-05:00 [INFO] perform;
2024-07-12T09:04:22-05:00 [INFO] read_command;
2024-07-12T09:04:22-05:00 [INFO] read_command;
2024-07-12T09:04:22-05:00 [INFO] socket reader;
2024-07-12T09:04:22-05:00 [INFO] Opening main db
2024-07-12T09:04:22-05:00 [INFO] new;
2024-07-12T09:04:22-05:00 [INFO] Using git binary path: None
2024-07-12T09:04:22-05:00 [INFO] keep_updated;
2024-07-12T09:04:23-05:00 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-07-12T09:04:23-05:00 [INFO] activate is not implemented on Linux, ignoring the call
2024-07-12T09:04:23-05:00 [INFO] Opening main db
2024-07-12T09:04:23-05:00 [INFO] perform;
2024-07-12T09:04:23-05:00 [INFO] read_command;
2024-07-12T09:04:23-05:00 [INFO] read_command;
2024-07-12T09:04:23-05:00 [INFO] socket reader;
2024-07-12T09:04:23-05:00 [WARN] Rejected for device extension "VK_KHR_dynamic_rendering" not supported
2024-07-12T09:04:23-05:00 [WARN] Rejected for device extension "VK_EXT_inline_uniform_block" not supported
2024-07-12T09:04:23-05:00 [INFO] new;
2024-07-12T09:04:23-05:00 [INFO] keep_updated;
2024-07-12T09:04:43-05:00 [INFO] ========== starting zed ==========
2024-07-12T09:04:43-05:00 [INFO] Compositor detection: _NET_WM_CM_S?=false, _NET_WM_CM_OWNER=false, _NET_SUPPORTING_WM_CHECK=true
2024-07-12T09:04:43-05:00 [INFO] x11: compositor present: true, gtk_frame_extents_supported: true
2024-07-12T09:04:43-05:00 [INFO] Try connect ibus
2024-07-12T09:04:43-05:00 [INFO] perform;
2024-07-12T09:04:43-05:00 [INFO] read_command;
2024-07-12T09:04:43-05:00 [INFO] Opening main db
2024-07-12T09:04:43-05:00 [INFO] read_command;
2024-07-12T09:04:43-05:00 [INFO] socket reader;
2024-07-12T09:04:43-05:00 [INFO] new;
2024-07-12T09:04:43-05:00 [INFO] Using git binary path: None
2024-07-12T09:04:43-05:00 [INFO] keep_updated;
2024-07-12T09:04:43-05:00 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-07-12T09:04:43-05:00 [INFO] activate is not implemented on Linux, ignoring the call
2024-07-12T09:04:43-05:00 [INFO] Opening main db
2024-07-12T09:04:43-05:00 [INFO] XConnected server on 4194313, transport version: 0.0, TRANSPORT_MAX: 20
2024-07-12T09:04:43-05:00 [INFO] Using Visual { id: 107, colormap: 0, depth: 32 }
2024-07-12T09:04:43-05:00 [INFO] Creating colormap 25165827
2024-07-12T09:04:43-05:00 [INFO] perform;
2024-07-12T09:04:43-05:00 [INFO] read_command;
2024-07-12T09:04:43-05:00 [INFO] read_command;
2024-07-12T09:04:43-05:00 [INFO] socket reader;
2024-07-12T09:04:43-05:00 [WARN] Rejected for device extension "VK_KHR_dynamic_rendering" not supported
2024-07-12T09:04:43-05:00 [WARN] Rejected for device extension "VK_EXT_inline_uniform_block" not supported
2024-07-12T09:04:44-05:00 [INFO] Node runtime install_if_needed
2024-07-12T09:04:44-05:00 [INFO] set environment variables from shell:/bin/bash, path:/home/cymetria/.local/bin:/home/cymetria/.pyenv/plugins/pyenv-virtualenv/shims:/home/cymetria/.pyenv/shims:/home/cymetria/.pyenv/bin:/home/cymetria/.console-ninja/.bin:/home/cymetria/.bun/bin:/home/cymetria/.pyenv/plugins/pyenv-virtualenv/shims:/home/cymetria/.pyenv/bin:/home/cymetria/.console-ninja/.bin:/home/cymetria/.bun/bin:/home/cymetria/.nvm/versions/node/v16.20.2/bin:/home/cymetria/.cargo/bin:/home/cymetria/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin:/snap/bin
2024-07-12T09:04:44-05:00 [INFO] starting language server. binary path: "/home/cymetria/.local/share/zed/node/node-v18.15.0-linux-x64/bin/node", working directory: "/", args: ["/home/cymetria/.local/share/zed/copilot/copilot-v0.5.0/dist/agent.js", "--stdio"]
2024-07-12T09:04:45-05:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-07-12T14:04:45.064Z] Agent service starting",
  "metadataStr": "[DEBUG] [agent] [2024-07-12T14:04:45.064Z]",
  "extra": [
    "Agent service starting"
  ]
}
2024-07-12T09:04:45-05:00 [INFO] Language server with id 0 sent unhandled notification client/registerCapability:
{
  "registrations": [
    {
      "id": "4350afb5-d9c3-41be-b637-e96e5b06f249",
      "method": "workspace/didChangeWorkspaceFolders",
      "registerOptions": {}
    }
  ]
}
2024-07-12T09:04:45-05:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-07-12T14:04:45.081Z] Telemetry initialized",
  "metadataStr": "[DEBUG] [agent] [2024-07-12T14:04:45.081Z]",
  "extra": [
    "Telemetry initialized"
  ]
}


LeoRami99 avatar Jul 12 '24 14:07 LeoRami99

WSL2, Ubuntu 22.04

2024-07-13T00:44:24+02:00 [INFO] ========== starting zed ==========
2024-07-13T00:44:24+02:00 [WARN] failed to load font 'PowerlineSymbols'
2024-07-13T00:44:24+02:00 [WARN] failed to load font 'PowerlineSymbols'

However I have package fonts-powerline installed (sudo apt-get install fonts-powerline)

When using the command from @petabyt unset WAYLAND_DISPLAY; zed zed opens but not the file dialog in zed (neither when clicking on open a new project or ctrl +o)

vkcube is working fine/fast Only warning there: WARNING: dzn is not a conformant Vulkan implementation, testing use only.

I've installed the mesa drivers from here:

sudo add-apt-repository ppa:kisak/kisak-mesa
sudo apt update
sudo apt upgrade

WtfJoke avatar Jul 12 '24 22:07 WtfJoke

I think we need cleanup linux tickets, it's mixed completely different issues!

stalkerg avatar Jul 13 '24 02:07 stalkerg

20.04 will work only if you replace kernel and mesa drivers, which difficult. KHR_DYNAMIC_RENDERING is Vulkan 1.3 and was add (enabled) to Intel drivers only in 2022 - https://gitlab.freedesktop.org/mesa/mesa/-/commit/61ece8f6a49db58a76c2b6e825964675decc5d83 I think Zed should notice in documentation what it support only Ubuntu 24.04 OR/AND OS with full support Vulkan 1.3 drivers.

stalkerg avatar Jul 13 '24 03:07 stalkerg

Same here, when launching zed, the app window does not render its own content; instead, whatever it was in the same screen space, becomes the contents of the zed window, as if it was a screenshot.

For what is worth, here is my OS/Hardware:

OPERATING SYSTEM INFORMATION
Operating System .............. GNU/Linux
Distribution .................. Rocky 9.3 
Kernel Version ................ 5.14.0-362.24.1.el9_3.0.1.x86_64
Kernel Architecture ........... x86_64
Kernel Optimization ........... x86_64

COMPUTER HARDWARE INFORMATION
Computer Manufacturer ......... Hewlett-Packard
Computer Model ................ HP Z1 G2
System Serial Number .......... 2UA5242RH7
System Asset Tag .............. 2UA5242RH7
BIOS Version .................. L52 v01.52 (04/22/2020)
Memory Installed .............. 32 GB installed in 4 DIMMs (0 slots free)
Memory Type & Speed ........... DDR3 1600 MHz Synchronous
Number of CPU(s) .............. 4 [1 sockets * 4 core(s) each]
CPU Manufacturer .............. Intel
CPU Model/Family .............. Xeon
CPU Clock Speed ............... 3700 MHz
Graphics Card (or GPGPU)....... NVIDIA Corporation GK104GLM [Quadro K4100M] 
Graphics Driver ............... 470.239.06

And here is my Zed.log:

2024-07-14T11:21:16-04:00 [INFO] ========== starting zed ==========
2024-07-14T11:21:16-04:00 [WARN] Failed to load a font face 0 from '/usr/local/share/fonts/transporth.ttf' cause font doesn't have a family name.
2024-07-14T11:21:16-04:00 [WARN] Failed to load a font face 0 from '/usr/local/share/fonts/transportm.ttf' cause font doesn't have a family name.
2024-07-14T11:21:16-04:00 [WARN] Failed to load a font face 0 from '/usr/local/share/fonts/transporth.ttf' cause font doesn't have a family name.
2024-07-14T11:21:16-04:00 [WARN] Failed to load a font face 0 from '/usr/local/share/fonts/transportm.ttf' cause font doesn't have a family name.
2024-07-14T11:21:16-04:00 [INFO] Compositor detection: _NET_WM_CM_S?=false, _NET_WM_CM_OWNER=false, _NET_SUPPORTING_WM_CHECK=true
2024-07-14T11:21:16-04:00 [INFO] x11: compositor present: true, gtk_frame_extents_supported: true
2024-07-14T11:21:16-04:00 [INFO] Try connect ibus
2024-07-14T11:21:16-04:00 [INFO] perform;
2024-07-14T11:21:16-04:00 [INFO] read_command;
2024-07-14T11:21:16-04:00 [INFO] read_command;
2024-07-14T11:21:16-04:00 [INFO] socket reader;
2024-07-14T11:21:16-04:00 [INFO] new;
2024-07-14T11:21:16-04:00 [INFO] Opening main db
2024-07-14T11:21:16-04:00 [INFO] keep_updated;
2024-07-14T11:21:16-04:00 [INFO] Using git binary path: None
2024-07-14T11:21:16-04:00 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-07-14T11:21:16-04:00 [INFO] activate is not implemented on Linux, ignoring the call
2024-07-14T11:21:16-04:00 [INFO] Opening main db
2024-07-14T11:21:16-04:00 [INFO] perform;
2024-07-14T11:21:16-04:00 [INFO] read_command;
2024-07-14T11:21:16-04:00 [INFO] read_command;
2024-07-14T11:21:16-04:00 [INFO] socket reader;
2024-07-14T11:21:16-04:00 [INFO] XConnected server on 39845895, transport version: 0.0, TRANSPORT_MAX: 20
2024-07-14T11:21:16-04:00 [INFO] Using Visual { id: 35, colormap: 0, depth: 32 }
2024-07-14T11:21:16-04:00 [INFO] Creating colormap 60817411
2024-07-14T11:21:16-04:00 [INFO] Enabling Vulkan Portability
2024-07-14T11:21:16-04:00 [INFO] Enabling color space support
2024-07-14T11:21:16-04:00 [WARN] Rejected for device extension "VK_KHR_dynamic_rendering" not supported
2024-07-14T11:21:16-04:00 [INFO] Adapter "llvmpipe (LLVM 16.0.6, 256 bits)"
2024-07-14T11:21:16-04:00 [INFO] No ray tracing extensions are supported
2024-07-14T11:21:16-04:00 [INFO] Using surface present mode MAILBOX
2024-07-14T11:21:16-04:00 [WARN] Unable to forbid exclusive full screen
2024-07-14T11:21:16-04:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-07-14T11:21:16-04:00 [INFO] Creating a descriptor pool for at most 16 sets
2024-07-14T11:21:16-04:00 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: Ignored }
2024-07-14T11:21:16-04:00 [INFO] set environment variables from shell:/bin/bash, path:/home/salazag/.local/bin:/usr/share/Modules/bin:/usr/lib64/ccache:/home/salazag/.cargo/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/opt/pbs/bin:.:/usw/launch:/opt/local/bin
2024-07-14T11:21:16-04:00 [INFO] Refreshing at 16680 micros
2024-07-14T11:21:17-04:00 [INFO] Using surface present mode MAILBOX
2024-07-14T11:21:17-04:00 [WARN] Unable to forbid exclusive full screen
2024-07-14T11:21:17-04:00 [WARN] Unknown request DestroyIcReply { input_method_id: 1, input_context_id: 1 }
2024-07-14T11:21:17-04:00 [INFO] Node runtime install_if_needed
2024-07-14T11:21:18-04:00 [INFO] Initializing default prettier with plugins {}
2024-07-14T11:21:20-04:00 [INFO] starting language server. binary path: "/home/salazag/.local/share/zed/node/node-v18.15.0-linux-x64/bin/node", working directory: "/", args: ["/home/salazag/.local/share/zed/copilot/copilot-v0.5.0/dist/agent.js", "--stdio"]
2024-07-14T11:21:20-04:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-07-14T15:21:20.782Z] Agent service starting",
  "metadataStr": "[DEBUG] [agent] [2024-07-14T15:21:20.782Z]",
  "extra": [
    "Agent service starting"
  ]
}
2024-07-14T11:21:20-04:00 [INFO] Language server with id 0 sent unhandled notification client/registerCapability:
{
  "registrations": [
    {
      "id": "7fb5b6d9-225d-46fa-b3e9-1f7cd461af2d",
      "method": "workspace/didChangeWorkspaceFolders",
      "registerOptions": {}
    }
  ]
}
2024-07-14T11:21:20-04:00 [INFO] Language server with id 0 sent unhandled notification LogMessage:
{
  "level": 0,
  "message": "[DEBUG] [agent] [2024-07-14T15:21:20.798Z] Telemetry initialized",
  "metadataStr": "[DEBUG] [agent] [2024-07-14T15:21:20.798Z]",
  "extra": [
    "Telemetry initialized"
  ]
}
2024-07-14T11:21:30-04:00 [WARN] Unknown request DestroyIcReply { input_method_id: 1, input_context_id: 4 }
2024-07-14T11:21:40-04:00 [WARN] Unknown request DestroyIcReply { input_method_id: 1, input_context_id: 5 }
2024-07-14T11:21:45-04:00 [WARN] Unknown request DestroyIcReply { input_method_id: 1, input_context_id: 6 }
2024-07-14T11:21:50-04:00 [WARN] Unknown request DestroyIcReply { input_method_id: 1, input_context_id: 7 }
2024-07-14T11:21:54-04:00 [WARN] Unknown request DestroyIcReply { input_method_id: 1, input_context_id: 8 }
2024-07-14T11:21:55-04:00 [WARN] Unknown request DestroyIcReply { input_method_id: 1, input_context_id: 9 }
2024-07-14T11:21:58-04:00 [WARN] Unknown request DestroyIcReply { input_method_id: 1, input_context_id: 10 }
2024-07-14T11:22:01-04:00 [WARN] Unknown request DestroyIcReply { input_method_id: 1, input_context_id: 11 }
2024-07-14T11:22:08-04:00 [WARN] Unknown request DestroyIcReply { input_method_id: 1, input_context_id: 12 }

gsal avatar Jul 14 '24 15:07 gsal

Did someone try zed -n ?? It work for me.

shivamnarkar47 avatar Jul 14 '24 16:07 shivamnarkar47

Did someone try zed -n ?? It work for me.

I tried and it didn't work 😢

LeoRami99 avatar Jul 15 '24 15:07 LeoRami99

I am on arch and I have the same problem

xara@ideapad ~> vkcube Selected GPU 0: NVIDIA GeForce GTX 1650, type: DiscreteGpu xara@ideapad ~> zeditor xara@ideapad ~>

abdallah-azzouni avatar Jul 16 '24 07:07 abdallah-azzouni

On my Ryzen APU with Linux Mint 20.3, it worked after installing mesa-vulkan-drivers from Kisak's PPA.

definitelyuncertain avatar Jul 16 '24 12:07 definitelyuncertain

On my Ryzen APU with Linux Mint 20.3, it worked after installing mesa-vulkan-drivers from Kisak's PPA.

Excellent, I tried your solution and it worked image

LeoRami99 avatar Jul 16 '24 15:07 LeoRami99

is there a solution for nvidia ?

abdallah-azzouni avatar Jul 16 '24 21:07 abdallah-azzouni

is there a solution for nvidia ?

you have already tried the solution proposed by @definitelyuncertain , just check which mesa-vulkan-drivers can be used or read the arch guide on drivers. and let us know how it goes. the guide: https://wiki.archlinux.org/title/Vulkan

LeoRami99 avatar Jul 17 '24 00:07 LeoRami99

This just started happening to me too today, after my laptop crashed 5 times due to some driver issue. The logs are vague or nonexistant, all I'm really able to get out of it is an error saying that DISPLAY and WAYLAND_DISPLAY aren't set (despite the fact that they both are)

Reinstalling my drivers and zed itself didn't work

murl-digital avatar Jul 30 '24 03:07 murl-digital

Here's some logs from a run after I deleted everything in .local/share/zed

2024-07-29T21:33:03.27111512-06:00 [INFO] ========== starting zed ==========
2024-07-29T21:33:03.324398368-06:00 [WARN] failed to load font 'SymbolsNFM'
2024-07-29T21:33:03.326606437-06:00 [WARN] failed to load font 'SymbolsNFM'
2024-07-29T21:33:03.374267323-06:00 [INFO] Opening main db
2024-07-29T21:33:03.375567953-06:00 [INFO] Using git binary path: None
2024-07-29T21:33:03.397128002-06:00 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-07-29T21:33:03.401785369-06:00 [INFO] activate is not implemented on Linux, ignoring the call
2024-07-29T21:33:03.401878392-06:00 [INFO] Opening main db
2024-07-29T21:33:03.445618663-06:00 [INFO] perform;
2024-07-29T21:33:03.445721724-06:00 [INFO] read_command;
2024-07-29T21:33:03.445819005-06:00 [INFO] read_command;
2024-07-29T21:33:03.445981728-06:00 [INFO] socket reader;
2024-07-29T21:33:03.581972647-06:00 [INFO] set environment variables from shell:/usr/bin/zsh, path:/home/draconium/.pyenv/shims:/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/rocm/bin:/usr/lib/rustup/bin:/home/draconium/.local/bin:/home/draconium/.cargo/bin:/home/draconium/.local/bin:/opt/postgresql16/bin:/home/draconium/.local/bin:/home/draconium/.cargo/bin:/home/draconium/.local/bin:/opt/postgresql16/bin

murl-digital avatar Jul 30 '24 03:07 murl-digital

Please

Here's some logs from a run after I deleted everything in .local/share/zed

2024-07-29T21:33:03.27111512-06:00 [INFO] ========== starting zed ==========
2024-07-29T21:33:03.324398368-06:00 [WARN] failed to load font 'SymbolsNFM'
2024-07-29T21:33:03.326606437-06:00 [WARN] failed to load font 'SymbolsNFM'
2024-07-29T21:33:03.374267323-06:00 [INFO] Opening main db
2024-07-29T21:33:03.375567953-06:00 [INFO] Using git binary path: None
2024-07-29T21:33:03.397128002-06:00 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-07-29T21:33:03.401785369-06:00 [INFO] activate is not implemented on Linux, ignoring the call
2024-07-29T21:33:03.401878392-06:00 [INFO] Opening main db
2024-07-29T21:33:03.445618663-06:00 [INFO] perform;
2024-07-29T21:33:03.445721724-06:00 [INFO] read_command;
2024-07-29T21:33:03.445819005-06:00 [INFO] read_command;
2024-07-29T21:33:03.445981728-06:00 [INFO] socket reader;
2024-07-29T21:33:03.581972647-06:00 [INFO] set environment variables from shell:/usr/bin/zsh, path:/home/draconium/.pyenv/shims:/usr/local/sbin:/usr/local/bin:/usr/bin:/var/lib/flatpak/exports/bin:/usr/lib/jvm/default/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl:/opt/rocm/bin:/usr/lib/rustup/bin:/home/draconium/.local/bin:/home/draconium/.cargo/bin:/home/draconium/.local/bin:/opt/postgresql16/bin:/home/draconium/.local/bin:/home/draconium/.cargo/bin:/home/draconium/.local/bin:/opt/postgresql16/bin

Hi, could you tell us what distribution you are using and its hardware. If you are using Ubuntu try @definitelyuncertain solution, and try installing vulkan-tools and running vkcube.

LeoRami99 avatar Jul 30 '24 21:07 LeoRami99