Open gallardorafael opened 2 months ago
Same problem here in a "simpler" setup (workstation with single GPU, two monitors):
Zed: v0.161.1 (Zed) OS: Linux Wayland fedora 41 Memory: 15.5 GiB Architecture: x86_64 GPU: NVIDIA GeForce GT 1030 || NVIDIA || 565.57.01 Zed 0.161.1
The whole graphical interface freezes when trying to resize the Zed window.
Note that this is wayland, not X11, but otherwise quite similar.
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
https://github.com/user-attachments/assets/e6749da9-34e0-4335-a89b-74c9f415498f
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~1711635559~22.04~7a9f319
If applicable, attach your
~/Library/Logs/Zed/Zed.log
file to this issue.Zed.log