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.

docs: Add Mesa GPU selection and XWayland fallback instructions (#39930)

William Fleurantf6630ed73689
diff --git a/docs/src/linux.md b/docs/src/linux.md
index 1b9c061e71c..f349c80d616 100644
--- a/docs/src/linux.md
+++ b/docs/src/linux.md
@@ -179,7 +179,7 @@ Make sure to export the variable if you choose to define it globally in a `.bash
##### Option B
-If you are using Mesa, you can run `MESA_VK_DEVICE_SELECT=list zed --foreground` to get a list of available GPUs and then export `MESA_VK_DEVICE_SELECT=xxxx:yyyy` to choose a specific device.
+If you are using Mesa, you can run `MESA_VK_DEVICE_SELECT=list zed --foreground` to get a list of available GPUs and then export `MESA_VK_DEVICE_SELECT=xxxx:yyyy` to choose a specific device. Furthermore, you can fallback to xwayland with an additional export of `WAYLAND_DISPLAY=""`.
##### Option C