Answer: You can force Zed to use a specific GPU by setting the ZED_DEVICE_ID environment variable to your GPU's device ID (e.g., ZED_DEVICE_ID=0x2484 zed), or with Mesa by exporting MESA_VK_DEVICE_SELECT=xxxx:yyyy, or by using vkdevicechooser. For graphics issues, you can try installing Vulkan-compatible GPU drivers, selecting a different GPU, or using /etc/prime-discrete or DRI_PRIME=1. Status: Overdue (check was due 2026-11-20T13:43:57Z and has not succeeded) Entry: tool/zed/troubleshooting/force-specific-gpu Revision: 1 Digest: sha256:54f03bc03385d158 (changes whenever the content changes) Timeline: Created: 2026-11-13T04:05:27Z Last changed: 2026-11-13T04:05:27Z Last verified: 2026-11-19T13:43:57Z Next check: 2026-11-20T13:43:57Z Check interval: Daily Expected change: No fixed schedule Data: Field | Value | Source | As of device ID environment variable | ZED_DEVICE_ID={device_id} | [1] | 2026-11-19 example command | ZED_DEVICE_ID=0x2484 zed | [1] | 2026-11-19 Mesa device selection | MESA_VK_DEVICE_SELECT=xxxx:yyyy | [1] | 2026-11-19 PRIME file | /etc/prime-discrete | [1] | 2026-11-19 DRI_PRIME variable | DRI_PRIME=1 | [1] | 2026-11-19 log location | ~/.local/share/zed/logs/Zed.log | [1] | 2026-11-19 Sources: [1] Zed Industries. "zed.dev/docs/linux.md". https://zed.dev/docs/linux.md Role: primary. Accessed: 2026-11-19T13:43:57Z Quote: "You can use the `ZED_DEVICE_ID={device_id}` environment variable to specify the device ID of the GPU you wish to have Zed use." (Supports: device ID environment variable) Quote: "ZED_DEVICE_ID=0x2484 zed" (Supports: example command) Quote: "export `MESA_VK_DEVICE_SELECT=xxxx:yyyy` to choose a specific device" (Supports: Mesa device selection) Quote: "On some systems the file `/etc/prime-discrete` can be used to enforce the use of a discrete GPU using [PRIME](https://wiki.archlinux.org/title/PRIME)." (Supports: PRIME file) Quote: "you may be able to set the environment variable `DRI_PRIME=1` when running Zed to force the use of the discrete GPU." (Supports: DRI_PRIME variable) Quote: "You can find out which graphics card Zed is using by looking in the Zed log (`~/.local/share/zed/logs/Zed.log`) for `Using GPU: ...`." (Supports: log location) Snapshot SHA-256: e2ea5e63609e27c6cceb34918e28d5653a4e7a4e25709d04663100c40d023d11 (captured 2026-11-13T04:05:25Z) Verification: Method: Automated extraction from [1] with deepseek-flash (JSON output, thinking disabled). Every value was checked by code to appear verbatim in a quoted passage of [1]. On this check the text of [1] was unchanged since 2026-11-13T04:05:27Z, so the values verified then were kept. Cross-check: not-available at 2026-11-19T13:43:57Z. No independent second source is configured for this entry Last successful check: 2026-11-19T13:43:57Z Last attempt: 2026-11-19T13:43:57Z Notes and limitations: Extracted automatically from a single official source (section "Graphics issues"). Human-readable page: https://zed.dev/docs/linux.html Related: https://latestn.com/tool/zed/troubleshooting/generate-backtraces-from-minidump How do I generate backtraces from a Zed crash minidump? https://latestn.com/tool/zed/troubleshooting/graphics-issues-fails-to-launch How do I troubleshoot Zed failing to launch due to graphics issues on Windows? https://latestn.com/tool/zed/troubleshooting/in-depth-cpu-tracing-profiling How do I do in-depth CPU tracing profiling of Zed? https://latestn.com/tool/zed/troubleshooting/etw-profiling-windows How do I record an ETW trace for profiling Zed on Windows? https://latestn.com/tool/zed/troubleshooting/extension-pr-closed Why was my Zed extension PR closed without feedback? https://latestn.com/tool/zed/troubleshooting/extension-review-duration How long does Zed take to review a submitted extension? https://latestn.com/tool/ All entries in AI tools Change log: Time | Event | Change | Source 2026-11-13T04:05:27Z | added | Entry created | — Changes for this entry as a feed: https://latestn.com/tool/zed/troubleshooting/force-specific-gpu/latest Challenge this entry: Open challenges: None How: If a value here is wrong or out of date, send what is wrong and a link to evidence. Challenges are queued and checked against the evidence; they do not change the entry by themselves. If the entry changes as a result, the change log says so. Form: https://latestn.com/dispute/tool/zed/troubleshooting/force-specific-gpu POST: https://latestn.com/dispute/tool/zed/troubleshooting/force-specific-gpu with claim, evidence_url, and optionally field and contact (form-encoded or JSON) GET: https://latestn.com/dispute/tool/zed/troubleshooting/force-specific-gpu?claim={what is wrong}&evidence_url={link} How to cite: LatestN. (2026). How do I force Zed to use a specific GPU or fix graphics issues on Linux? Revision 1, last verified 2026-11-19T13:43:57Z. https://latestn.com/tool/zed/troubleshooting/force-specific-gpu (accessed 2026-11-21T09:53:51Z). @misc{LatestN_tool_zed_troubleshooting_force_specific_gpu_r1, title = {How do I force Zed to use a specific GPU or fix graphics issues on Linux?}, author = {{LatestN}}, year = {2026}, howpublished = {\url{https://latestn.com/tool/zed/troubleshooting/force-specific-gpu}}, note = {Revision 1; digest sha256:54f03bc03385d158; last verified 2026-11-19T13:43:57Z; accessed 2026-11-21T09:53:51Z} } Reuse: License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/) Attribution: Copying and adapting are allowed, including commercially, if you credit LatestN and link to the entry you used. Each entry ends with a ready-made citation. URL: https://latestn.com/tool/zed/troubleshooting/force-specific-gpu