Linux: Zed completely freezes NVIDIA external monitor when launching or resizing window #18106
Open
1 task done
Labels
bug
[core label]
linux
linux-x11
Linux X11
panic / crash
[core label]
workspace
Feedback for workspace management, layout, interactions, etc
Check for existing issues
Describe the bug / provide steps to reproduce it
Zed completely freezes the external monitor if I resize the window, this happens if I am using Zed in the laptop's screen or in the external monitor, either way the external monitor freezes and the only way to get it back to work is by turning it off and on or by changing the resolution via the display settings of my OS.
This sometimes happen when launching Zed, but it is not as easy to reproduce as when resizing.
The issue do not happen if Zed is using the integrated GPU (Intel), this only happens when using the discrete GPU.
Note that I am launching Zed with MESA_VK_DEVICE_SELECT=xxxx:yyyy (pointing to my NVIDIA GPU) since Zed is picking the Intel graphics by default (which makes it very slow), the "slow" issue gets solved either by setting MESA_VK_DEVICE_SELECT or DRI_PRIME=1, but both options cause the monitor freeze issue.
In the video, you can see that the text cursor stops blinking as soon as I resize the window, and in the real life, I could not see the arrow cursor moving as in the video, but somehow in OBS the arrow is moving, however, I can't click or move anything in the external monitor.
Possible related report, however, version 0.142.x should have solved this, but it is happening to me in 0.153.6
2024-09-19.17-07-48.mp4
Environment
(Running with MESA_VK_DEVICE_SELECT set)
Zed: v0.153.6 (Zed)
OS: Linux X11 pop 22.04
Memory: 15.2 GiB
Architecture: x86_64
GPU: NVIDIA GeForce RTX 4060 Laptop GPU || NVIDIA || 560.35.03
(Running without MESA_VK_DEVICE_SELECT)
Zed: v0.153.6 (Zed)
OS: Linux X11 pop 22.04
Memory: 15.2 GiB
Architecture: x86_64
GPU: Intel(R) Graphics (RPL-S) || Intel open-source Mesa driver || Mesa 24.0.3-1pop1
171163555922.04~7a9f319If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.Zed.log
The text was updated successfully, but these errors were encountered: