Skip to content

crashes under wayland #8471

Description

@YWh0301

Describe the bug
After upgrading to version 0.40.1, I can't launch kitty anymore. It replies as follow:

libEGL warning: egl: failed to create dri2 screen
libEGL warning: egl: failed to create dri2 screen
[0.209] [glfw error 65548]: Wayland: The compositor does not support changing window icons
[1]    33206 segmentation fault (core dumped)  kitty

I'm using hyprland with nvidia-dkms package and linux-zen kernel. The 0.40.0 version works fine.

Environment details

kitty 0.40.0 created by Kovid Goyal
Linux pingziHOME 6.13.7-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Thu, 13 Mar 2025 18:11:42 +0000 x86_64
S{PRETTY_NAME} 6.13.7-zen1-1-zen (/dev/tty)

DISTRIB_ID="Arch"
DISTRIB_RELEASE="rolling"
DISTRIB_DESCRIPTION="Arch Linux"
Running under: Wayland (Hyprland v0.47.2,) missing: blur
OpenGL: '3.1.0 NVIDIA 570.124.04' Detected version: 3.1
Frozen: False
Fonts:
  medium: WenQuanYiZenHeiMono: /usr/share/fonts/wenquanyi/wqy-zenhei/wqy-zenhei.ttc:1
          Features: ()
    bold: WenQuanYiZenHeiMono: /usr/share/fonts/wenquanyi/wqy-zenhei/wqy-zenhei.ttc:1
          Features: ()
  italic: WenQuanYiZenHeiMono: /usr/share/fonts/wenquanyi/wqy-zenhei/wqy-zenhei.ttc:1
          Features: ()
      bi: WenQuanYiZenHeiMono: /usr/share/fonts/wenquanyi/wqy-zenhei/wqy-zenhei.ttc:1
          Features: ()
Paths:
  kitty: /usr/bin/kitty
  base dir: /usr/lib/kitty
  extensions dir: /usr/lib/kitty/kitty
  system shell: /usr/bin/zsh
System color scheme: no_preference. Applied color theme type: none
Loaded config files:
  /home/pingzi/.config/kitty/kitty.conf

Config options different from defaults:
confirm_os_window_close 0
font_size               18.0
Colors:
	active_border_color     #31748f   
	active_tab_background   #26233a   
	active_tab_foreground   #e0def4   
	background              #191724   
	color0                  #26233a   
	color1                  #eb6f92   
	color10                 #31748f   
	color11                 #f6c177   
	color12                 #9ccfd8   
	color13                 #c4a7e7   
	color14                 #ebbcba   
	color15                 #e0def4   
	color2                  #31748f   
	color3                  #f6c177   
	color4                  #9ccfd8   
	color5                  #c4a7e7   
	color6                  #ebbcba   
	color7                  #e0def4   
	color8                  #6e6a86   
	color9                  #eb6f92   
	cursor                  #524f67   
	cursor_text_color       #e0def4   
	foreground              #e0def4   
	inactive_border_color   #403d52   
	inactive_tab_background #191724   
	inactive_tab_foreground #6e6a86   
	selection_background    #403d52   
	selection_foreground    #e0def4   
	url_color               #c4a7e7   

Important environment variables seen by the kitty process:
	PATH                                /usr/local/sbin:/usr/local/bin:/usr/bin:/usr/bin/site_perl:/usr/bin/vendor_perl:/usr/bin/core_perl
	LANG                                zh_CN.UTF-8
	EDITOR                              nvim
	SHELL                               /usr/bin/zsh
	DISPLAY                             :0
	WAYLAND_DISPLAY                     wayland-1
	USER                                pingzi
	XCURSOR_SIZE                        24
	XDG_BACKEND                         wayland
	XDG_SEAT                            seat0
	XDG_SESSION_DESKTOP                 Hyprland
	XDG_SESSION_TYPE                    wayland
	XDG_CURRENT_DESKTOP                 Hyprland
	XDG_SESSION_CLASS                   user
	XDG_VTNR                            1
	XDG_SESSION_ID                      1
	XDG_RUNTIME_DIR                     /run/user/1000

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions