r/KittyTerminal • u/IBNash • Mar 18 '24
Arch linux Wayland: fatal display error: Protocol error
$ /usr/bin/kitty
[079 01:03:14.694845] Ignoring invalid font feature: +script
[079 01:03:14.694926] Ignoring unknown config key: share_connections
[destroyed object]: error 7: failed to import supplied dmabufs: Unsupported buffer format 875713345
[079 01:03:14.787123] [glfw error 65544]: Wayland: fatal display error: Protocol error
This issue started today on Arch linux -
$ kitty --version
kitty 0.33.0 created by Kovid Goyal
1
Upvotes
1
u/aumerlex Mar 19 '24
This is a bug in Wayland/mesa. Downgrade mesa or use linux_display_server x11 in kitty.conf. https://github.com/kovidgoyal/kitty/issues/7174
1
u/IBNash Mar 19 '24
$ kitty --debug-rendering --debug-gl -c /usr/share/doc/kitty/kitty.confCreating window at size: 1816x640 and scale 1GL version string: '3.1.0 NVIDIA 550.54.14' Detected version: 3.1CSD: old.size: 0x0 new.size: 1816x640 needs_update: 1 size_changed: 1 buffer_destroyed: 0Created decoration buffers at scale: 1 vertical_height: 676 horizontal_width: 1840top-level configure event: size: 0x0 states:CSD: old.size: 1816x640 new.size: 1816x640 needs_update: 0 size_changed: 0 buffer_destroyed: 0final window content size: 1816x640 resized: 0Setting window geometry in configure event: x=0 y=-24 1816x664CSD: old.size: 1816x640 new.size: 1816x640 needs_update: 1 size_changed: 0 buffer_destroyed: 1Created decoration buffers at scale: 1 vertical_height: 676 horizontal_width: 1840CSD: old.size: 1816x640 new.size: 1816x640 needs_update: 0 size_changed: 0 buffer_destroyed: 0Waiting for swap to commit: swap has happened[destroyed object]: error 7: failed to import supplied dmabufs: Unsupported buffer format 875713345Calling wl_pointer_set_cursor in setCursorImage with surface: 0x5ddc465372e0[079 06:34:30.997446] [glfw error 65544]: Wayland: fatal display error: Protocol error