zed-industries / zed

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.
https://zed.dev
Other
46.03k stars 2.57k forks source link

Color rendering discrepancies under Wayland on different nvidia drivers #14726

Open knoopx opened 1 month ago

knoopx commented 1 month ago

Check for existing issues

Describe the bug / provide steps to reproduce it

zed is so dark in wayland that is unusable. i have no idea what is going on. nothing changed other than login/logout from one session to the other.

wayland (hyprland):

image

x11 (gnome):

image

Environment

arch linux extra/zed 0.144.3-1 extra/hyprland-git 0.41.2.r45.8e15f91c-1 extra/wayland 1.23.0-1 gpu 3090RTX
nvidia driver 525.147.05

If applicable, add mockups / screenshots to help explain present your vision of the feature

No response

If applicable, attach your Zed.log file to this issue.

Zed.log


jansol commented 1 month ago

I wonder if your Hyprland has some really broken color management going on. Can you confirm whether it works correctly with Wayland GNOME?

mikajed commented 1 month ago

I wonder if your Hyprland has some really broken color management going on. Can you confirm whether it works correctly with Wayland GNOME?

I am using it on Arch + GNOME + Wayland and Zed works correctly. Edit: NVidia driver: 555.58.02 image

knoopx commented 1 month ago

@jansol can't get zed to run under gnome/wayland. nothing happens when I invoke zed, no windows, no crash, no log (process is running however). also double-checked no funky stuff is running on hyprland side. no idea what is going on, maybe related to nvidia (3090RTX @ 525.147.05)?

knoopx commented 1 month ago

UPDATE: using the latest nvidia driver 555.58.02 makes zed work and render properly on both gnome wayland and hyprland, but 550.x is broken in many other ways (slow performance, flickering and other inconsistencies with pytorch). trying 535.X now.

UPDATE 2: 535.183.01 doesn't work either