Open polaris404 opened 2 weeks ago
same, for Fedora Linux nvidia gpu users. I even built it from the source. same problem after I successfully compiled it. And it threw this error in the terminal after executing cargo run
ERROR zed] missing field `name` at line 37 column 1
in my case, maybe the error is from
2024-11-19T16:40:51.664712665+01:00 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "Intel(R) Graphics (RPL-S)", driver_name: "Intel open-source Mesa driver", driver_info: "Mesa 23.3.6" }
Because I disabled the intel to use Nvidia, this leads to an unrendered area in the window. I'm still looking for solutions for this. I don know whether your machine also has a discrete GPU
it is solved by running in my case
DRI_PRIME=1 zed
if you have a discrete GPU
Check for existing issues
Describe the bug / provide steps to reproduce it
While opening the browser, window freezes.
Environment
Zed: 0.160.7 OS: Kubuntu noble 24.04 x86_64 Host: HP Pavilion Gaming Laptop 15-dk0xxx Kernel: Linux 6.8.0-48-generic CPU: Intel(R) Core(TM) i5-9300H (8) @ 4.10 GHz GPU 1: NVIDIA GeForce GTX 1650 Mobile / Max-Q Memory: 15.46 GiB
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.Zed.log
``` 2024-11-13T23:44:12.633086765+05:30 [INFO] ========== starting zed ========== 2024-11-13T23:44:12.798823426+05:30 [INFO] Compositor detection: _NET_WM_CM_S?=false, _NET_WM_CM_OWNER=false, _NET_SUPPORTING_WM_CHECK=true 2024-11-13T23:44:12.799290835+05:30 [INFO] x11: compositor present: true, gtk_frame_extents_supported: true 2024-11-13T23:44:12.825643458+05:30 [INFO] Try connect ibus 2024-11-13T23:44:12.828804282+05:30 [INFO] perform; 2024-11-13T23:44:12.829052906+05:30 [INFO] authenticate; 2024-11-13T23:44:12.829339285+05:30 [INFO] read_command; 2024-11-13T23:44:12.829568137+05:30 [INFO] Opening main db 2024-11-13T23:44:12.83212948+05:30 [INFO] new; 2024-11-13T23:44:12.832438224+05:30 [INFO] socket reader; 2024-11-13T23:44:12.833932825+05:30 [INFO] Opening main db 2024-11-13T23:44:12.836518467+05:30 [INFO] keep_updated; 2024-11-13T23:44:12.839686883+05:30 [INFO] Using git binary path: None 2024-11-13T23:44:12.859655528+05:30 [INFO] no tokio runtime found, creating one for Reqwest... 2024-11-13T23:44:13.018756802+05:30 [INFO] initializing context server client 2024-11-13T23:44:13.019211938+05:30 [INFO] Registering built-in prompt template: content_prompt 2024-11-13T23:44:13.021164414+05:30 [INFO] Registering built-in prompt template: edit_workflow 2024-11-13T23:44:13.022073401+05:30 [INFO] Registering built-in prompt template: project_slash_command 2024-11-13T23:44:13.022410101+05:30 [INFO] Registering built-in prompt template: terminal_assistant_prompt 2024-11-13T23:44:13.023381913+05:30 [INFO] No prompt template overrides directory found at /home/mohit/.local/share/zed/prompt_overrides. Using built-in prompts. 2024-11-13T23:44:13.031659839+05:30 [INFO] activate is not implemented on Linux, ignoring the call 2024-11-13T23:44:13.037110924+05:30 [INFO] Opening main db 2024-11-13T23:44:13.038308746+05:30 [INFO] perform; 2024-11-13T23:44:13.038602052+05:30 [INFO] authenticate; 2024-11-13T23:44:13.038953471+05:30 [INFO] read_command; 2024-11-13T23:44:13.041271761+05:30 [INFO] socket reader; 2024-11-13T23:44:13.052575546+05:30 [INFO] installing extension html latest version 2024-11-13T23:44:13.055556978+05:30 [INFO] Using Visual { id: 35, colormap: 0, depth: 32 } 2024-11-13T23:44:13.05608736+05:30 [INFO] Creating colormap 75497475 2024-11-13T23:44:13.202932558+05:30 [INFO] Enabling Vulkan Portability 2024-11-13T23:44:13.203244546+05:30 [INFO] Enabling color space support 2024-11-13T23:44:13.281578262+05:30 [INFO] Adapter: "Intel(R) UHD Graphics 630 (CFL GT2)" 2024-11-13T23:44:13.28202342+05:30 [INFO] Testing presentation capability on Linux/Intel 2024-11-13T23:44:13.303567459+05:30 [INFO] No ray tracing extensions are supported 2024-11-13T23:44:13.3100309+05:30 [INFO] Using surface present mode MAILBOX 2024-11-13T23:44:13.310530416+05:30 [WARN] Unable to forbid exclusive full screen 2024-11-13T23:44:13.348206184+05:30 [INFO] Creating a descriptor pool for at most 16 sets 2024-11-13T23:44:13.348303523+05:30 [INFO] Creating a descriptor pool for at most 16 sets 2024-11-13T23:44:13.34842238+05:30 [INFO] Initializing Blade pipelines for surface SurfaceInfo { format: Bgra8UnormSrgb, alpha: Ignored } 2024-11-13T23:44:13.393838741+05:30 [INFO] Refreshing at 16665 micros 2024-11-13T23:44:13.39494921+05:30 [INFO] Using GPU: GPUSpecs { is_software_emulated: false, device_name: "Intel(R) UHD Graphics 630 (CFL GT2)", driver_name: "Intel open-source Mesa driver", driver_info: "Mesa 24.0.9-0ubuntu0.2" } 2024-11-13T23:44:13.411845467+05:30 [INFO] Using surface present mode MAILBOX 2024-11-13T23:44:13.412134735+05:30 [WARN] Unable to forbid exclusive full screen 2024-11-13T23:44:13.459576223+05:30 [INFO] XConnected server on 6291465, transport version: 0.0, TRANSPORT_MAX: 20 2024-11-13T23:44:13.468141405+05:30 [INFO] Opening main db 2024-11-13T23:44:13.474550898+05:30 [INFO] Opening main db 2024-11-13T23:44:13.638220716+05:30 [INFO] set environment variables from shell:/bin/bash, path:/home/mohit/.local/bin:/home/yourUserName/anaconda3/bin:/home/yourUserName/anaconda3/bin:/home/mohit/anaconda3/condabin:/home/mohit/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin ```