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

Ghosting on 0.26.4 #5605

Closed
porjo opened this issue Oct 19, 2022 · 1 comment
Closed

Ghosting on 0.26.4 #5605

porjo opened this issue Oct 19, 2022 · 1 comment
Labels

Comments

@porjo
Copy link

porjo commented Oct 19, 2022

Describe the bug
I just upgraded to 0.26.4 from 0.26.3 and immediately noticed ghosting effect where text previously shown on the screen re-appears in a faint colour. The ghosting flickers on and off every couple of seconds, seemingly randomly. See screenshots.

Downgraded to 0.26.3 and issue was gone.

To Reproduce
Steps to reproduce the behavior:

  1. Upgrade to 0.26.4
  2. Output text to the console
  3. Observe issue

Screenshots
Screenshots show a vim session. The ghosted text can be seen in the second screenshot. The ghosted text is from earlier in the same file. Screenshots were taken with phone camera as screenshot facility didn't capture the issue.

screen2
screen1

Environment details

kitty 0.26.4 created by Kovid Goyal
Linux laptop 5.19.14-300.fc37.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Oct 5 21:31:43 UTC 2022 x86_64
S
Kernel 5.19.14-300.fc37.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: /bin/bash
Loaded config files:
  /home/ian/.config/kitty/kitty.conf

Config options different from defaults:
allow_remote_control    yes
background_image        /home/ian/Pictures/Wallpapers/kitty/bg.png
background_image_layout scaled
background_tint         0.85
enable_audio_bell       False
hide_window_decorations 1
listen_on               unix:@kitty
tab_activity_symbol     🔔 
tab_bar_style           slant
term                    xterm-256color
Added shortcuts:
	super+t →  new_tab_with_cwd
Changed shortcuts:
	kitty_mod+enter →  launch --cwd=current
	kitty_mod+t →  new_tab_with_cwd

Important environment variables seen by the kitty process:
	PATH                                /home/ian/go/bin:/home/ian/.local/bin:/home/ian/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin
	LANG                                en_GB.UTF-8
	VISUAL                              vim
	EDITOR                              vim
	SHELL                               /bin/bash
	DISPLAY                             :0
	WAYLAND_DISPLAY                     wayland-0
	USER                                ian
	LC_MEASUREMENT                      en_AU.UTF-8
	LC_MONETARY                         en_AU.UTF-8
	LC_NUMERIC                          en_AU.UTF-8
	LC_PAPER                            en_AU.UTF-8
	LC_TIME                             en_AU.UTF-8
	XDG_DATA_DIRS                       /home/ian/.local/share/flatpak/exports/share:/var/lib/flatpak/exports/share:/usr/local/share/:/usr/share/
	XDG_RUNTIME_DIR                     /run/user/1000
	XDG_CURRENT_DESKTOP                 GNOME
	XDG_MENU_PREFIX                     gnome-
	XDG_SESSION_CLASS                   user
	XDG_SESSION_DESKTOP                 gnome
	XDG_SESSION_TYPE                    wayland

Additional context
The issue only occurs when displaying background image.

@porjo porjo added the bug label Oct 19, 2022
@kovidgoyal
Copy link
Owner

This is a bug in GNOME, see line 534 in shaders.c

It was exposed by the change needed to draw the background_tint over
padding areas. You can work around it by turning off background_tint.
Sadly, I have no idea how to make mutter composite the layers correctly,
if you do patches are most welcome.

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