Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Hint to allow software rasterizer (#15560)

Arkadi Shishlova2d41b1f89f8
diff --git a/crates/zed/src/zed.rs b/crates/zed/src/zed.rs
index 9e0d0618842..3d476cd5628 100644
--- a/crates/zed/src/zed.rs
+++ b/crates/zed/src/zed.rs
@@ -178,6 +178,7 @@ pub fn initialize_workspace(
will result in awful performance.
For troubleshooting see: https://zed.dev/docs/linux
+ Set ZED_ALLOW_EMULATED_GPU=1 env var to permanently override.
"#}, specs.device_name);
let prompt = cx.prompt(PromptLevel::Critical, "Unsupported GPU", Some(&message),
&["Skip", "Troubleshoot and Quit"]);