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

Window flickers on startup #5235

Closed
stephanoskomnenos opened this issue Jun 26, 2022 · 3 comments
Closed

Window flickers on startup #5235

stephanoskomnenos opened this issue Jun 26, 2022 · 3 comments
Labels

Comments

@stephanoskomnenos
Copy link

Describe the bug
Window flickers on startup under Wayland.

To Reproduce
Just launch it under Wayland.

Screenshots

video.mp4

image

Environment details

kitty 0.25.2 created by Kovid Goyal
Linux smyrna 5.18.6-200.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jun 22 13:46:18 UTC 2022 x86_64
S
Kernel 5.18.6-200.fc36.x86_64 on an x86_64 (/dev/tty)

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

Config options different from defaults:
background_opacity    0.95
enabled_layouts       ['splits']
font_family           JetBrains Mono
font_size             12.0
initial_window_height (500, 'px')
initial_window_width  (750, 'px')
remember_window_size  False
Added shortcuts:
	f4 → launch --location=split
	f7 → layout_action rotate
	shift+left → move_window left
	shift+right → move_window right
	shift+up → move_window up
	shift+down → move_window down
	alt+left → resize_window narrower
	alt+right → resize_window wider
	alt+up → resize_window taller
	alt+down → resize_window shorter 3
	ctrl+- → launch --location=hsplit
	ctrl+\ → launch --location=vsplit
	ctrl+left → neighboring_window left
	ctrl+right → neighboring_window right
	ctrl+up → neighboring_window up
	ctrl+down → neighboring_window down
Colors:
	background            #282c34   
	color0                #282c34   
	color1                #e06c75   
	color10               #56b6c2   
	color11               #e5c07b   
	color12               #61afef   
	color13               #be5046   
	color14               #56b6c2   
	color15               #abb2bf   
	color2                #98c379   
	color3                #e5c07b   
	color4                #61afef   
	color5                #be5046   
	color6                #56b6c2   
	color7                #979eab   
	color8                #393e48   
	color9                #d19a66   
	foreground            #979eab   
	selection_background  #979eab   
	selection_foreground  #282c34   

Important environment variables seen by the kitty process:
	PATH                                /tools/Xilinx/Vivado/2021.2/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/home/lin/.local/bin:/home/lin/Android/flutter/bin
	LANG                                en_US.UTF-8
	EDITOR                              vim
	SHELL                               /usr/bin/zsh
	DISPLAY                             :0
	WAYLAND_DISPLAY                     wayland-0
	USER                                lin
	XDG_MENU_PREFIX                     gnome-
	XDG_SESSION_DESKTOP                 gnome
	XDG_SESSION_TYPE                    wayland
	XDG_CURRENT_DESKTOP                 GNOME
	XDG_SESSION_CLASS                   user
	XDG_RUNTIME_DIR                     /run/user/1000
	XDG_DATA_DIRS                       /home/lin/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/

@kovidgoyal
Copy link
Owner

Ah the wondrous wayland and GNOME combination again I am guessing. I'm afraid I have zero interest in spending anymore of my life on that shitshow. Patches are most welcome. Relevant code in wl_window.c and wl_init.c

@kovidgoyal
Copy link
Owner

Turns out there is a simple change I can make that should reduce flicker in this supposedly flicker free rendering system :))

@stephanoskomnenos
Copy link
Author

Thanks. The nightly version works fine:)

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