kovidgoyal / kitty

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

Raspberry Pi [Debian 12] -- blank window #6916

Closed iandol closed 10 months ago

iandol commented 10 months ago

Describe the bug

Using the latest Debian 12 bookworm release on a Raspberry Pi4, installed the latest Kitty (0.30.1). On first start thre are no errors or warnings, but the kitty window is black with no text, it looks like I can type in the window but don't see anything change. I thought it could be my config (which does specify transparency etc.

Running kitty then typing ls[return]:

❯ kitty -c NONE --debug-gl
GL version string: '3.1 (Core Profile) Mesa 23.2.1-1~bpo12+rpt2' Detected version: 3.1
prompt_marking: x=0 y=3 op='A'
prompt_marking: x=0 y=6 op='C'
prompt_marking: x=0 y=9 op='D;0'
prompt_marking: x=0 y=9 op='A'

There are no clear errors when running with the --debug-gl flag.

I've tried using both X11 and Wayland modes, and tried different window managers (xcompmgr and mutter).

Environment details

kitty 0.30.1 (6a3529b7c2) created by Kovid Goyal
Linux cogrpi 6.1.0-rpi7-rpi-v8 #1 SMP PREEMPT Debian 1:6.1.63-1+rpt1 (2023-11-24) aarch64
Debian GNU/Linux 12 cogrpi /dev/tty

Running under: X11
Frozen: True
Paths:
  kitty: /home/cog/.local/kitty.app/bin/kitty
  base dir: /home/cog/.local/kitty.app/lib/kitty
  extensions dir: /home/cog/.local/kitty.app/lib/kitty-extensions
  system shell: /usr/bin/zsh

Config options different from defaults:

Important environment variables seen by the kitty process:
    PATH                                /home/cog/.zi/polaris/sbin:/home/cog/.zi/polaris/bin:/home/cog/bin:/snap/bin:/home/cog/.local/bin:/media/cog/data/micromamba/condabin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
    LANG                                en_GB.UTF-8
    EDITOR                              vim
    SHELL                               /usr/bin/zsh
    DISPLAY                             :0
    USER                                cog
    XDG_CURRENT_DESKTOP                 LXDE
    XDG_GREETER_DATA_DIR                /var/lib/lightdm/data/cog
    XDG_MENU_PREFIX                     lxde-pi-
    XDG_SESSION_PATH                    /org/freedesktop/DisplayManager/Session0
    XDG_CONFIG_HOME                     /home/cog/.config
    XDG_VTNR                            7
    XDG_SEAT                            seat0
    XDG_DATA_DIRS                       /usr/local/share:/usr/share/raspi-ui-overrides:/usr/share:/usr/share/gdm:/var/lib/menu-xdg:/usr/local/share:/usr/share:/var/lib/snapd/desktop
    XDG_CONFIG_DIRS                     /etc/xdg
    XDG_SESSION_DESKTOP                 LXDE-pi-x
    XDG_SEAT_PATH                       /org/freedesktop/DisplayManager/Seat0
    XDG_RUNTIME_DIR                     /run/user/1000
    XDG_SESSION_ID                      1
    XDG_SESSION_TYPE                    x11
    XDG_SESSION_CLASS                   user
    XDG_ZI_HOME                         /home/cog/.zi
    XDG_ZI_CACHE                        /home/cog/.cache/zi
    XDG_ZI_CONFIG                       /home/cog/.config/zi
kovidgoyal commented 10 months ago

this will be a driver issue. You can try software rendering via the MESA env var the exact name of which escapes me at the moment.