kovidgoyal / kitty

Cross-platform, fast, feature-rich, GPU based terminal
https://sw.kovidgoyal.net/kitty/
GNU General Public License v3.0
24.12k stars 971 forks source link

Diagnosing rendering malfunction after system update #1527

Closed mvrozanti closed 5 years ago

mvrozanti commented 5 years ago

I'm running Linux 5.0.6-arch1-1-ARCH x86_64 and I just sudo pacman -Syu and got the following visual effect screen right after (kitty is left, xterm is right): scrot (I'm interacting with the window pressing C-c)

I'm not sure how to debug this. Kitty doesn't seem to be the only program affected: while st renders characters, it just closes when opening vim, for example. xterm however did not show any of these problems.

Trying kitty --config NONE I do get rendering and vim does not make it close, except for the first characters in the buffer: image

Here's kitty --debug-config:

Linux 5.0.6-arch1-1-ARCH #1 SMP PREEMPT Wed Apr 3 09:35:20 UTC 2019 x86_64
Running under: X11
Arch Linux \r (\l)
LSB_VERSION=1.4
DISTRIB_ID=Arch
DISTRIB_RELEASE=rolling
DISTRIB_DESCRIPTION="Arch Linux"
Loaded config files: /home/nexor/.config/kitty/kitty.conf

Config options different from defaults:
allow_remote_control       True
background_opacity         0.8
dynamic_background_opacity True
font_family                Fira Mono for Powerline:style=Regular
font_size                  13.0
shell                      zsh
Added shortcuts:
         control+0 KeyAction(func='change_font_size', args=[True, None, 0.0])
         control+j KeyAction(func='change_font_size', args=[True, '-', 1.0])
         control+k KeyAction(func='change_font_size', args=[True, '+', 1.0])
         alt+space KeyAction(func='send_text', args=['all', b'\n'])
         alt+r KeyAction(func='send_text', args=['all', b'ranger\n'])
         control+alt+j KeyAction(func='send_text', args=['all', b'\x1b[B'])
         control+alt+k KeyAction(func='send_text', args=['all', b'\x1b[A'])
Removed shortcuts:
         shift+control+r KeyAction(func='start_resizing_window', args=())
Changed shortcuts:
         shift+control+0 KeyAction(func='set_background_opacity', args=['default'])
         shift+control+h KeyAction(func='set_background_opacity', args=['0.1'])
         shift+control+j KeyAction(func='set_background_opacity', args=['-0.02'])
         shift+control+k KeyAction(func='set_background_opacity', args=['+0.02'])
         shift+control+l KeyAction(func='set_background_opacity', args=['1'])

kitty --debug-gl:

GL version string: '4.2 (Core Profile) Mesa 19.0.1' Detected version: 4.2
[096 14:47:22.599319] [PARSE ERROR] Unknown OSC code: 13
[096 14:47:22.599412] [PARSE ERROR] Unknown OSC code: 708

I'm sorry if this issue is unrelated to this repo.

EDIT: I tried removing transparency from config and could reproduce the same as kitty --config NONE, which doesn't properly render top characters, but still renders most of them

EDIT2: This is definitely related to #1484

mvrozanti commented 5 years ago

This is a known issue.