Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

kitty fail to start under Wayland since 0.26.0 #5456

Closed
cherrot opened this issue Sep 1, 2022 · 3 comments
Closed

kitty fail to start under Wayland since 0.26.0 #5456

cherrot opened this issue Sep 1, 2022 · 3 comments
Labels

Comments

@cherrot
Copy link

cherrot commented Sep 1, 2022

Describe the bug
kitty fails to start - the window shows up for less than 1ms and crashes immediately.

$ kitty
[244 16:17:28.092829] [glfw error 65544]: process_desktop_settings: failed with error: [org.freedesktop.DBus.Error.UnknownMethod] No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
wl_surface@22: error 2: Buffer size (707x858) is not divisible by scale (2)
[244 16:17:28.094559] [glfw error 65544]: Wayland: fatal display error: Protocol error

The last working version is 0.25.2:

$ kitty
[244 16:33:14.518313] [glfw error 65544]: process_desktop_settings: failed with error: [org.freedesktop.DBus.Error.UnknownMethod] No such interface “org.freedesktop.portal.Settings” on object at path /org/freedesktop/portal/desktop
(then the new window would be created)

Environment details

kitty 0.25.2 created by Kovid Goyal
Linux luozheng-zenbook 5.19.0-rc8-1-mainline-um5302ta #4 SMP PREEMPT_DYNAMIC Tue, 26 Jul 2022 08:50:43 +0000 x86_64
Arch Linux 5.19.0-rc8-1-mainline-um5302ta (/dev/tty)

Running under: Wayland
Frozen: False
Paths:
  kitty: /usr/bin/kitty
  base dir: /usr/lib/kitty
  extensions dir: /usr/lib/kitty/kitty
  system shell: /bin/zsh
Loaded config files:
  /home/cherrot/.config/kitty/kitty.conf

Config options different from defaults:
background_opacity 0.9
font_family        JetBrains Mono
macos_thicken_font 0.5
Added shortcuts:
	f9 → close_other_windows_in_tab
	ctrl+f2 → detach_tab
	ctrl+f4 → detach_tab ask
	ctrl+shift+y → launch --stdin-source=@screen_scrollback --type=overlay nvim -c "map q :qa!<CR>" -c "normal G" -
	ctrl+shift+f3 → detach_window new-tab
	ctrl+shift+f4 → detach_window ask
Changed shortcuts:
	ctrl+shift+f2 → detach_window
Colors:
	background         #2e3440   
	color0             #3b4252   
	color1             #bf616a   
	color10            #a3be8c   
	color11            #ebcb8b   
	color12            #81a1c1   
	color13            #b48ead   
	color14            #8fbcbb   
	color15            #eceff4   
	color2             #a3be8c   
	color3             #ebcb8b   
	color4             #81a1c1   
	color5             #b48ead   
	color6             #88c0d0   
	color7             #e5e9f0   
	color8             #4c566a   
	color9             #bf616a   
	cursor             #81a1c1   
	foreground         #d8dee9   

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:/usr/local/sbin:/home/cherrot/go/bin:/home/cherrot/bin:/home/cherrot/.local/bin:/home/cherrot/.krew/bin
	LANG                                en_US.UTF-8
	EDITOR                              nvim
	SHELL                               /bin/zsh
	GLFW_IM_MODULE                      ibus
	DISPLAY                             :0
	WAYLAND_DISPLAY                     wayland-1
	USER                                cherrot
	XCURSOR_SIZE                        24
	XDG_SEAT                            seat0
	XDG_SESSION_DESKTOP                 sway
	XDG_SESSION_TYPE                    wayland
	XDG_CURRENT_DESKTOP                 sway
	XDG_SESSION_CLASS                   user
	XDG_VTNR                            1
	XDG_SESSION_ID                      3
	XDG_RUNTIME_DIR                     /run/user/1000

Additional context
OS: ArchLinux
I'm using a master build of swaywm (sway-im-git from AUR, to support input method)

sway --version
sway version 1.8-dev-6e023257 (Aug 12 2022, branch 'master')
@cherrot cherrot added the bug label Sep 1, 2022
@kovidgoyal
Copy link
Owner

dup of #4878

@cherrot
Copy link
Author

cherrot commented Sep 1, 2022

Sorry for the duplication.
I'm still a bit confused: why version 0.5.2 is not affected? Do we have any workaround for this?

@kovidgoyal
Copy link
Owner

read the duplicate issue it has all workarounds listed. And why 0.25 was
not affected was just luck.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants