Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Linux] Zed doesn't open Ubuntu 20.04 #14204

Open
1 task done
LeoRami99 opened this issue Jul 11, 2024 · 42 comments
Open
1 task done

[Linux] Zed doesn't open Ubuntu 20.04 #14204

LeoRami99 opened this issue Jul 11, 2024 · 42 comments
Labels
defect [core label] linux workspace Feedback for workspace management, layout, interactions, etc

Comments

@LeoRami99
Copy link

Check for existing issues

  • 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 LeoRami99 added admin read Pending admin review defect [core label] panic / crash [core label] triage Maintainer needs to classify the issue labels Jul 11, 2024
@LeoRami99
Copy link
Author

LeoRami99 commented Jul 11, 2024

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

@MLNW
Copy link

MLNW commented Jul 11, 2024

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.

@mitradranirban
Copy link

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

@jrocha25
Copy link

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

@JosephTLyons JosephTLyons added linux workspace Feedback for workspace management, layout, interactions, etc and removed triage Maintainer needs to classify the issue admin read Pending admin review panic / crash [core label] labels Jul 11, 2024
@abdulrahmanDev1
Copy link

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

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

@petabyt
Copy link

petabyt commented Jul 11, 2024

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

@ConradIrwin
Copy link
Collaborator

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.

@jrocha25
Copy link

Here's my log file
Zed.log

@petabyt
Copy link

petabyt commented Jul 11, 2024

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
Copy link

petabyt commented Jul 11, 2024

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

@ConradIrwin
Copy link
Collaborator

@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.

@ogak-github
Copy link

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

@eyelash
Copy link

eyelash commented Jul 12, 2024

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.

@LeoRami99
Copy link
Author

where can I find the log or generate it

@lirc572
Copy link

lirc572 commented Jul 12, 2024

where can I find the log or generate it

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

@LeoRami99
Copy link
Author

LeoRami99 commented Jul 12, 2024

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"
  ]
}


@gsal
Copy link

gsal commented Jul 14, 2024

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 }

@shivamnarkar47
Copy link

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

@LeoRami99
Copy link
Author

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

I tried and it didn't work 😢

@Xara25
Copy link

Xara25 commented Jul 16, 2024

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 ~>

@definitelyuncertain
Copy link

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

@LeoRami99
Copy link
Author

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

@Xara25
Copy link

Xara25 commented Jul 16, 2024

is there a solution for nvidia ?

@LeoRami99
Copy link
Author

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

@murl-digital
Copy link

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
Copy link

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

@LeoRami99
Copy link
Author

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.

@murl-digital
Copy link

I'm running on arch linux and a framework laptop 16, with an amd ryzen 7 7840HS and integrated radeon 780M graphics. Running vkcube works perfectly fine, and as a bonus it spins ridiculously fast on my system, haha

@vorpal56
Copy link

similar issue on ubuntu 20.04. vkcube runs fine. I run zed in the terminal and I can see a process running when using htop, but nothing shows up anywhere:

image

running zed --foreground also says "zed is already running". my logs are pretty empty though:

2024-07-31T16:55:43.131003985-04:00 [INFO] ========== starting zed ==========
2024-07-31T16:55:43.155271949-04:00 [INFO] Compositor detection: _NET_WM_CM_S?=false, _NET_WM_CM_OWNER=false, _NET_SUPPORTING_WM_CHECK=true
2024-07-31T16:55:43.155333956-04:00 [INFO] x11: compositor present: true, gtk_frame_extents_supported: true
2024-07-31T16:55:43.162458331-04:00 [INFO] Try connect ibus
2024-07-31T16:55:43.163067939-04:00 [INFO] perform;
2024-07-31T16:55:43.163121034-04:00 [INFO] read_command;
2024-07-31T16:55:43.163169816-04:00 [INFO] read_command;
2024-07-31T16:55:43.163277564-04:00 [INFO] Opening main db
2024-07-31T16:55:43.163331576-04:00 [INFO] socket reader;
2024-07-31T16:55:43.163832898-04:00 [INFO] new;

@Stanzilla
Copy link

On WSL with Nvidia

❯ strace zed
execve("/home/stan/.local/bin/zed", ["zed"], 0x7ffc7b42f030 /* 52 vars */) = 0
brk(NULL)                               = 0x61d4842bb000
arch_prctl(0x3001 /* ARCH_??? */, 0x7ffdbd43c500) = -1 EINVAL (Invalid argument)
mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7561ac994000
readlinkat(AT_FDCWD, "/proc/self/exe", "/home/stan/.local/zed.app/bin/ze"..., 4096) = 33
access("/etc/ld.so.preload", R_OK)      = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/stan/.local/zed.app/bin/../lib/glibc-hwcaps/x86-64-v3/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/stan/.local/zed.app/bin/../lib/glibc-hwcaps/x86-64-v3/", 0x7ffdbd43b730, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/stan/.local/zed.app/bin/../lib/glibc-hwcaps/x86-64-v2/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/stan/.local/zed.app/bin/../lib/glibc-hwcaps/x86-64-v2/", 0x7ffdbd43b730, 0) = -1 ENOENT (No such file or directory)
openat(AT_FDCWD, "/home/stan/.local/zed.app/bin/../lib/libgcc_s.so.1", O_RDONLY|O_CLOEXEC) = -1 ENOENT (No such file or directory)
newfstatat(AT_FDCWD, "/home/stan/.local/zed.app/bin/../lib/", {st_mode=S_IFDIR|0755, st_size=4096, ...}, 0) = 0
openat(AT_FDCWD, "/etc/ld.so.cache", O_RDONLY|O_CLOEXEC) = 3
newfstatat(3, "", {st_mode=S_IFREG|0644, st_size=63207, ...}, AT_EMPTY_PATH) = 0
mmap(NULL, 63207, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7561ac984000
close(3)                                = 0`

@murl-digital
Copy link

similar issue on ubuntu 20.04. vkcube runs fine. I run zed in the terminal and I can see a process running when using htop, but nothing shows up anywhere:

image

running zed --foreground also says "zed is already running". my logs are pretty empty though:

2024-07-31T16:55:43.131003985-04:00 [INFO] ========== starting zed ==========
2024-07-31T16:55:43.155271949-04:00 [INFO] Compositor detection: _NET_WM_CM_S?=false, _NET_WM_CM_OWNER=false, _NET_SUPPORTING_WM_CHECK=true
2024-07-31T16:55:43.155333956-04:00 [INFO] x11: compositor present: true, gtk_frame_extents_supported: true
2024-07-31T16:55:43.162458331-04:00 [INFO] Try connect ibus
2024-07-31T16:55:43.163067939-04:00 [INFO] perform;
2024-07-31T16:55:43.163121034-04:00 [INFO] read_command;
2024-07-31T16:55:43.163169816-04:00 [INFO] read_command;
2024-07-31T16:55:43.163277564-04:00 [INFO] Opening main db
2024-07-31T16:55:43.163331576-04:00 [INFO] socket reader;
2024-07-31T16:55:43.163832898-04:00 [INFO] new;

The process is called zed-editor, it's in the background for me and I've caught it using 6% of my CPU, so it's doing something. It also seems to be sleeping most of the time

@grbchaser
Copy link

grbchaser commented Aug 2, 2024

Similar problem here. zed is running but the window is apparently transparent. ctrl-o will open the file dialogue but that is also partially transparent

System: Ubuntu 22.04.4; kernel 6.5.0-44-generic (via HWE stack).
Window system: X.Org X Server 1.21.1.4 - for some reason my display server is :1
Video driver:
[ 25.057] (II) NVIDIA dlloader X Driver 470.256.02 Thu May 2 14:54:41 UTC 2024
[ 25.057] (II) NVIDIA Unified Driver for all Supported NVIDIA GPUs

vkcube: Selected GPU 0: NVIDIA GeForce GT 640, type: DiscreteGpu

From vulkaninfo:

Vulkan Instance Version: 1.3.216

Device Properties and Extensions:

GPU0:
VkPhysicalDeviceProperties:

    apiVersion        = 4202671 (1.2.175)
    driverVersion     = 1975517312 (0x75c00080)
    vendorID          = 0x10de
    deviceID          = 0x0fc1
    deviceType        = PHYSICAL_DEVICE_TYPE_DISCRETE_GPU
    deviceName        = NVIDIA GeForce GT 640
    pipelineCacheUUID = 98e22586-5120-bfd3-b67e-126bca9f5837

VK_KHR_dynamic_rendering (revision 1) is present in the list of supported Device Extensions

However, the Zed.log is reporting that extension as not supported and is falling back to llvmpipe:

2024-08-02T10:10:40.658104234+01:00 [WARN] Rejected for device extension "VK_KHR_dynamic_rendering" not supported
2024-08-02T10:10:40.658671818+01:00 [INFO] Adapter "llvmpipe (LLVM 15.0.7, 256 bits)"

Full Zed.log and vulkaninfo log attached.

Zed.log

vulkaninfo.log

@BinaryNerd01
Copy link

I am facing the same issue

I would like to know how to resolve this issue and start using the application. I didn't expect this behaviour. I waited a long time for it to be available on Linux, and now that I finally tried using it, it isn't working.

Environment
Virtualization: vmware
Operating System: Red Hat Enterprise Linux 9.4 (Plow)
Kernel: Linux 5.14.0-427.22.1.el9_4.x86_64
Architecture: x86-64
package: 1469(rpm)
Shell: bash
Resolution: 1920x1080
Desktop Environment and Window Manager: GNOME
CPU: Intel(R) Xeon(R) Platinum 8362 CPU @ 2.80GHz

Log:

[INFO] ========== starting zed ==========
[INFO] Compositor detection: _NET_WM_CM_S?=false, _NET_WM_CM_OWNER=false, _NET_SUPPORTING_WM_CHECK=true
[INFO] x11: compositor present: true, gtk_frame_extents_supported: true
[INFO] Try connect ibus
[INFO] perform;
[INFO] read_command;
[INFO] read_command;
[INFO] Opening main db
[INFO] socket reader;
[INFO] new;
[INFO] Using git binary path: None
[INFO] extensions updated. loading 1, reloading 0, unloading 0
[INFO] activate is not implemented on Linux, ignoring the call
[WARN] request completed with error: failed to connect to the server
[WARN] request completed with error: failed to connect to the server
[WARN] request completed with error: failed to connect to the server
[WARN] request completed with error: failed to connect to the server
[WARN] request completed with error: failed to connect to the server
[WARN] request completed with error: failed to connect to the server
[INFO] Opening main db
[WARN] request completed with error: failed to connect to the server
[WARN] request completed with error: failed to connect to the server
[WARN] request completed with error: failed to connect to the server
[INFO] perform;
[INFO] read_command;
[INFO] read_command;
[INFO] socket reader;
[INFO] XConnected server on 8388614, transport version: 0.0, TRANSPORT_MAX: 20
[INFO] Using Visual { id: 77, colormap: 0, depth: 32 }
[INFO] Creating colormap 31457283
[INFO] Enabling Vulkan Portability
[INFO] Enabling color space support
[INFO] Adapter "llvmpipe (LLVM 17.0.6, 256 bits)"
[INFO] No ray tracing extensions are supported
[INFO] Using surface present mode MAILBOX
[INFO] set environment variables from shell:/bin/bash, path:/u01/home/BinaryNerd/.local/bin:/u01/home/BinaryNerd/bin:/sbin:/bin:/usr/bin:/usr/local/bin:/usr/local/sbin:/usr/sbin:/u01/home/BinaryNerd/.local/share/JetBrains/Toolbox/scripts:/u01/home/BinaryNerd/.local/share/JetBrains/Toolbox/scripts:/u01/home/BinaryNerd/.local/share/JetBrains/Toolbox/scripts:/u01/home/BinaryNerd/.local/share/JetBrains/Toolbox/scripts:/u01/home/BinaryNerd/.local/share/JetBrains/Toolbox/scripts
[WARN] Unable to forbid exclusive full screen
[INFO] Creating a descriptor pool for at most 16 sets
[INFO] Creating a descriptor pool for at most 16 sets
[INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: Ignored }
[INFO] Refreshing at 16666 micros
[INFO] Using GPU: GPUSpecs { is_software_emulated: true, device_name: "llvmpipe (LLVM 17.0.6, 256 bits)", driver_name: "llvmpipe", driver_info: "Mesa 23.3.3 (LLVM 17.0.6)" }
[INFO] Using surface present mode MAILBOX
[WARN] Unable to forbid exclusive full screen
[WARN] request completed with error: failed to connect to the server
[WARN] request completed with error: failed to connect to the server
[INFO] Opening main db
[INFO] Initializing default prettier with plugins {}
[ERROR] no worktrees when constructing ProjectLspAdapterDelegate
[INFO] Node runtime install_if_needed
[WARN] request completed with error: failed to connect to the server
[INFO] keep_updated;
[INFO] Initializing default prettier with plugins {}
[WARN] request completed with error: failed to connect to the server
[INFO] Initializing default prettier with plugins {}
[INFO] starting language server. binary path: "/u01/home/BinaryNerd/.local/share/zed/node/node-v22.5.1-linux-x64/bin/node", working directory: "/", args: ["/u01/home/BinaryNerd/.local/share/zed/copilot/copilot-v0.5.0/dist/agent.js", "--stdio"]
[WARN] request completed with error: failed to connect to the server
[INFO] Language server with id 0 sent unhandled notification LogMessage:
{
"level": 0,
"message": "[DEBUG] [agent] [2024-08-01T16:27:28.890Z] Agent service starting",
"metadataStr": "[DEBUG] [agent] [2024-08-01T16:27:28.890Z]",
"extra": [
"Agent service starting"
]
}
[INFO] Language server with id 0 sent unhandled notification client/registerCapability:
{
"registrations": [
{
"method": "workspace/didChangeWorkspaceFolders",
"registerOptions": {}
}
]
}
[INFO] Language server with id 0 sent unhandled notification LogMessage:
{
"level": 0,
"message": "[DEBUG] [agent] [2024-08-01T16:27:28.914Z] Telemetry initialized",
"metadataStr": "[DEBUG] [agent] [2024-08-01T16:27:28.914Z]",
"extra": [
"Telemetry initialized"
]
}
[ERROR] DBus error Prompt was dismissed

@soniji-Tanishque33
Copy link

Zed editor not opening in linux environment

Zed is not responding anything via GUI or CLI. I tried almost all the suggestions from the discussion but none of them seem to work for me :/ . This was the time I was waiting for, to get zed on my ubuntu, but the results have disappointed me a lot.
I have been following zed since its first release on mac-os and was waiting for its linux compatibility.
If any of you do have any solution for this problem reply.
Also strangely nothing like zed even shows up on htop when running zed via my GUI

Environment:

NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
UBUNTU_CODENAME=focal

Here's how my Zed.log file looks like:

2024-08-04T11:15:00.932861021+05:30 [INFO] ========== starting zed ==========
2024-08-04T11:15:01.000472434+05:30 [INFO] Compositor detection: _NET_WM_CM_S?=false, _NET_WM_CM_OWNER=false, _NET_SUPPORTING_WM_CHECK=true
2024-08-04T11:15:01.000574782+05:30 [INFO] x11: compositor present: true, gtk_frame_extents_supported: true
2024-08-04T11:15:01.01094731+05:30 [INFO] Try connect ibus
2024-08-04T11:15:01.011806027+05:30 [INFO] perform;
2024-08-04T11:15:01.011936166+05:30 [INFO] read_command;
2024-08-04T11:15:01.01200903+05:30 [INFO] Opening main db
2024-08-04T11:15:01.012075332+05:30 [INFO] read_command;
2024-08-04T11:15:01.012350708+05:30 [INFO] socket reader;
2024-08-04T11:15:01.013177176+05:30 [INFO] new;
2024-08-04T11:48:13.020853985+05:30 [INFO] ========== starting zed ==========
2024-08-04T11:48:13.065525147+05:30 [INFO] Compositor detection: _NET_WM_CM_S?=false, _NET_WM_CM_OWNER=false, _NET_SUPPORTING_WM_CHECK=true
2024-08-04T11:48:13.065673239+05:30 [INFO] x11: compositor present: true, gtk_frame_extents_supported: true
2024-08-04T11:48:13.076049617+05:30 [INFO] Try connect ibus
2024-08-04T11:48:13.076901553+05:30 [INFO] Opening main db
2024-08-04T11:48:13.076991129+05:30 [INFO] perform;
2024-08-04T11:48:13.077150753+05:30 [INFO] read_command;
2024-08-04T11:48:13.077263044+05:30 [INFO] read_command;
2024-08-04T11:48:13.077542934+05:30 [INFO] socket reader;
2024-08-04T11:48:13.078319622+05:30 [INFO] new;
2024-08-04T11:48:13.07905108+05:30 [INFO] keep_updated;

@LeoRami99
Copy link
Author

Zed editor not opening in linux environment

Zed is not responding anything via GUI or CLI. I tried almost all the suggestions from the discussion but none of them seem to work for me :/ . This was the time I was waiting for, to get zed on my ubuntu, but the results have disappointed me a lot. I have been following zed since its first release on mac-os and was waiting for its linux compatibility. If any of you do have any solution for this problem reply. Also strangely nothing like zed even shows up on htop when running zed via my GUI

Environment:

NAME="Ubuntu"
VERSION="20.04.6 LTS (Focal Fossa)"
ID=ubuntu
ID_LIKE=debian
PRETTY_NAME="Ubuntu 20.04.6 LTS"
VERSION_ID="20.04"
UBUNTU_CODENAME=focal

Here's how my Zed.log file looks like:

2024-08-04T11:15:00.932861021+05:30 [INFO] ========== starting zed ==========
2024-08-04T11:15:01.000472434+05:30 [INFO] Compositor detection: _NET_WM_CM_S?=false, _NET_WM_CM_OWNER=false, _NET_SUPPORTING_WM_CHECK=true
2024-08-04T11:15:01.000574782+05:30 [INFO] x11: compositor present: true, gtk_frame_extents_supported: true
2024-08-04T11:15:01.01094731+05:30 [INFO] Try connect ibus
2024-08-04T11:15:01.011806027+05:30 [INFO] perform;
2024-08-04T11:15:01.011936166+05:30 [INFO] read_command;
2024-08-04T11:15:01.01200903+05:30 [INFO] Opening main db
2024-08-04T11:15:01.012075332+05:30 [INFO] read_command;
2024-08-04T11:15:01.012350708+05:30 [INFO] socket reader;
2024-08-04T11:15:01.013177176+05:30 [INFO] new;
2024-08-04T11:48:13.020853985+05:30 [INFO] ========== starting zed ==========
2024-08-04T11:48:13.065525147+05:30 [INFO] Compositor detection: _NET_WM_CM_S?=false, _NET_WM_CM_OWNER=false, _NET_SUPPORTING_WM_CHECK=true
2024-08-04T11:48:13.065673239+05:30 [INFO] x11: compositor present: true, gtk_frame_extents_supported: true
2024-08-04T11:48:13.076049617+05:30 [INFO] Try connect ibus
2024-08-04T11:48:13.076901553+05:30 [INFO] Opening main db
2024-08-04T11:48:13.076991129+05:30 [INFO] perform;
2024-08-04T11:48:13.077150753+05:30 [INFO] read_command;
2024-08-04T11:48:13.077263044+05:30 [INFO] read_command;
2024-08-04T11:48:13.077542934+05:30 [INFO] socket reader;
2024-08-04T11:48:13.078319622+05:30 [INFO] new;
2024-08-04T11:48:13.07905108+05:30 [INFO] keep_updated;

Hello, have you already tried this installation of these drivers:
sudo add-apt-repository ppa:kisak/kisak-mesa sudo apt update sudo apt upgrade

@Aviksaikat
Copy link

I'm on Debian Bookworm

PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
  • GPU: Nvidia 1650 + AMD integrated GPU

  • Log file: ~/.local/share/zed/logs/Zed.log

2024-08-06T12:17:42.625482373+05:30 [INFO] ========== starting zed ==========
2024-08-06T12:17:43.847535612+05:30 [INFO] Compositor detection: _NET_WM_CM_S?=false, _NET_WM_CM_OWNER=false, _NET_SUPPORTING_WM_CHECK=true
2024-08-06T12:17:43.847627364+05:30 [INFO] x11: compositor present: true, gtk_frame_extents_supported: true
2024-08-06T12:17:43.851986169+05:30 [INFO] perform;
2024-08-06T12:17:43.852066771+05:30 [INFO] read_command;
2024-08-06T12:17:43.852138125+05:30 [INFO] read_command;
2024-08-06T12:17:43.852301001+05:30 [INFO] Opening main db
2024-08-06T12:17:43.852353559+05:30 [INFO] socket reader;
2024-08-06T12:17:43.852895627+05:30 [INFO] new;
2024-08-06T12:17:43.853566657+05:30 [INFO] keep_updated;
2024-08-06T12:17:43.854029336+05:30 [INFO] Using git binary path: None
2024-08-06T12:17:43.87942172+05:30 [ERROR] No such file or directory (os error 2) about ["/home/avik/.config/github-copilot"]
2024-08-06T12:17:43.880263301+05:30 [INFO] extensions updated. loading 1, reloading 0, unloading 0
2024-08-06T12:17:43.884494997+05:30 [INFO] activate is not implemented on Linux, ignoring the call
2024-08-06T12:17:43.884582301+05:30 [INFO] Opening main db
2024-08-06T12:17:43.919138374+05:30 [INFO] Using Visual { id: 35, colormap: 0, depth: 32 }
2024-08-06T12:17:43.919246136+05:30 [INFO] Creating colormap 104857603
2024-08-06T12:17:43.919306589+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:43.919365019+05:30 [INFO] perform;
2024-08-06T12:17:43.919428478+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:43.919488732+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:43.919573481+05:30 [INFO] read_command;
2024-08-06T12:17:43.919654222+05:30 [INFO] read_command;
2024-08-06T12:17:43.919901366+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:43.920081725+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:43.920155103+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:43.920218782+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:43.920286339+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:43.920360168+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:43.920412687+05:30 [INFO] socket reader;
2024-08-06T12:17:43.997695555+05:30 [INFO] Enabling Vulkan Portability
2024-08-06T12:17:43.997765036+05:30 [INFO] Enabling color space support
2024-08-06T12:17:44.027274962+05:30 [INFO] Adapter "AMD Radeon Graphics (RADV RENOIR)"
2024-08-06T12:17:44.027347558+05:30 [INFO] No ray tracing extensions are supported
2024-08-06T12:17:44.091129403+05:30 [INFO] Using surface present mode MAILBOX
2024-08-06T12:17:44.091246503+05:30 [WARN] Unable to forbid exclusive full screen
2024-08-06T12:17:44.097499335+05:30 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-06T12:17:44.097625642+05:30 [INFO] Creating a descriptor pool for at most 16 sets
2024-08-06T12:17:44.097729086+05:30 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: Ignored }
2024-08-06T12:17:44.194805384+05:30 [INFO] Refreshing at 13906 micros
2024-08-06T12:17:44.19585196+05:30 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "AMD Radeon Graphics (RADV RENOIR)", driver_name: "radv", driver_info: "Mesa 22.3.6" }
2024-08-06T12:17:44.203549124+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:44.20366929+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:44.203726497+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:44.203780188+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:44.204023074+05:30 [INFO] Opening main db
2024-08-06T12:17:44.204327726+05:30 [ERROR] no worktrees when constructing ProjectLspAdapterDelegate
2024-08-06T12:17:44.205562625+05:30 [INFO] Opening main db
2024-08-06T12:17:44.217950378+05:30 [INFO] Initializing default prettier with plugins {}
2024-08-06T12:17:44.220827992+05:30 [WARN] request completed with error: failed to connect to the server
2024-08-06T12:17:44.220901971+05:30 [INFO] Node runtime install_if_needed

@manaskarekar
Copy link

manaskarekar commented Aug 9, 2024

Experiencing this issue as well.

Installed vulkan-tools from repo and still doesn't work.

Linux Mint 2.03, Intel 11th gen + integrated graphics.

zed.log

2024-08-09T10:48:12.659740986-04:00 [INFO] ========== starting zed ==========
2024-08-09T10:48:12.665211239-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-light.ttf' cause malformed font.
2024-08-09T10:48:12.665406098-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-regular.ttf' cause malformed font.
2024-08-09T10:48:12.665586131-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-bolditalic.ttf' cause malformed font.
2024-08-09T10:48:12.665756641-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-bold.ttf' cause malformed font.
2024-08-09T10:48:12.665925393-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-medium.ttf' cause malformed font.
2024-08-09T10:48:12.666100125-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-italic.ttf' cause malformed font.
2024-08-09T10:48:12.666265195-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-mediumitalic.ttf' cause malformed font.
2024-08-09T10:48:12.666434366-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-lightitalic.ttf' cause malformed font.
2024-08-09T10:48:12.676643174-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-light.ttf' cause malformed font.
2024-08-09T10:48:12.676779983-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-regular.ttf' cause malformed font.
2024-08-09T10:48:12.676894979-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-bolditalic.ttf' cause malformed font.
2024-08-09T10:48:12.677008831-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-bold.ttf' cause malformed font.
2024-08-09T10:48:12.677122372-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-medium.ttf' cause malformed font.
2024-08-09T10:48:12.677236148-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-italic.ttf' cause malformed font.
2024-08-09T10:48:12.677350591-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-mediumitalic.ttf' cause malformed font.
2024-08-09T10:48:12.677464303-04:00 [WARN] Failed to load a font face 0 from '/usr/share/fonts/truetype/intel_one/__MACOSX/ttf/._intelone-mono-font-family-lightitalic.ttf' cause malformed font.
2024-08-09T10:48:12.697166173-04:00 [INFO] Compositor detection: _NET_WM_CM_S?=false, _NET_WM_CM_OWNER=false, _NET_SUPPORTING_WM_CHECK=true
2024-08-09T10:48:12.69758267-04:00 [INFO] x11: compositor present: true, gtk_frame_extents_supported: true
2024-08-09T10:48:12.705439361-04:00 [INFO] perform;
2024-08-09T10:48:12.705596786-04:00 [INFO] read_command;
2024-08-09T10:48:12.705720394-04:00 [INFO] read_command;
2024-08-09T10:48:12.705827512-04:00 [INFO] Opening main db
2024-08-09T10:48:12.706041641-04:00 [INFO] socket reader;
2024-08-09T10:48:12.706414332-04:00 [INFO] new;

Looks like I might need to address the fonts that appear to be malformed.

@murl-digital
Copy link

murl-digital commented Aug 9, 2024

A breakthrough I've just had: X11 works fine, if you set WAYLAND_DISPLAY to an empty string, I get an editor window

edit: i should probably read, it's something that's been suggested before, but the file open prompt works perfectly for me

@notpeter notpeter changed the title [Linux] Zed doesn't open [Linux] Zed doesn't open Ubuntu 20.04 Aug 9, 2024
@akbarhmu
Copy link

I got an error Protocol error 0 on object wl_surface@22: when running zed-editor through CLI in the Wayland session. Works fine after force the app running with X11 env -u WAYLAND_DISPLAY zed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
defect [core label] linux workspace Feedback for workspace management, layout, interactions, etc
Projects
None yet
Development

No branches or pull requests