Dove
August 13, 2023, 10:05am
1
Hello!
I have recently switched from KDE DE to i3 WM. Everything works smoothly and I love the keybindings and customization of i3. However, I am using Kitty for my terminal emulator and sometimes it freezes up and become black. I cannot close it anymore and trying to refresh i3 does not help it just stuck there forever until I reboot. I have added some screenshots to illustrate the problem, maybe someone know what could be causing this and how can I fix it?
Thanks!
does journal tell anything happen while you see this… screenshots are goo to understand the issue … but logs and info on how you setup kitty would be needed in addition.
journalctl -f
(live output) may run in TTY or another terminal emulator
Dove
August 13, 2023, 12:58pm
3
I will try to reproduce the problem and post journal logs here. It is pretty random though sometimes everything is fine other times I am working on my code in Neovim and everything goes black.
Dove
August 14, 2023, 9:50am
5
Picom is not used currently, it is commented out in the config and I do not have it installed. Trying to replicate the issue without success now, maybe it fixed itself. Do you know if i3 save its’ logs anywhere where I could retrospectively look up the issue?
i3 is really well documented ;)you can run a debug session from login manager screen… and https://i3wm.org/docs/debugging.html
does this mean… kde is still installed? if so try disable dex in i3 config.
Dove
August 14, 2023, 11:53am
8
I made sure to uninstall most of KDE but I just checked that there are still these packages installed:
❯ pacman -Q | rg kde
kdeclarative 5.108.0-1
kded 5.108.0-1
kdesu 5.108.0-1
libblockdev 2.28-4
qt5-base 5.15.10+kde+r147-1
qt5-declarative 5.15.10+kde+r29-1
qt5-imageformats 5.15.10+kde+r9-1
qt5-location 5.15.10+kde+r4-2
qt5-multimedia 5.15.10+kde+r3-1
qt5-quickcontrols2 5.15.10+kde+r6-1
qt5-speech 5.15.10+kde+r1-1
qt5-svg 5.15.10+kde+r8-1
qt5-tools 5.15.10+kde+r3-1
qt5-wayland 5.15.10+kde+r52-1
qt5-webchannel 5.15.10+kde+r3-1
While running the debug session of i3 I noticed these errors related to Kitty:
08/14/2023 01:51:57 PM - Checking window 0x0220000e (class kitty)
08/14/2023 01:51:57 PM - dock status does not match
08/14/2023 01:51:57 PM - Checking window 0x0220000e (class kitty)
08/14/2023 01:51:57 PM - dock status does not match
08/14/2023 01:51:57 PM - ../src/assignments.c:run_assignments:18 - Checking if any assignments match this window
08/14/2023 01:51:57 PM - Checking window 0x0220000e (class kitty)
08/14/2023 01:51:57 PM - Regular expression "Xfce4-terminal" does not match "kitty"
08/14/2023 01:51:57 PM - Checking window 0x0220000e (class kitty)
08/14/2023 01:51:57 PM - Regular expression "(?i)firefox" does not match "kitty"
08/14/2023 01:51:57 PM - Checking window 0x0220000e (class kitty)
08/14/2023 01:51:57 PM - Regular expression "Thunar" does not match "kitty"
08/14/2023 01:51:57 PM - Checking window 0x0220000e (class kitty)
08/14/2023 01:51:57 PM - Regular expression "Thunderbird" does not match "kitty"
08/14/2023 01:51:57 PM - Checking window 0x0220000e (class kitty)
08/14/2023 01:51:57 PM - Regular expression "TelegramDesktop" does not match "kitty"
08/14/2023 01:51:57 PM - Checking window 0x0220000e (class kitty)
08/14/2023 01:51:57 PM - Regular expression "Yad" does not match "kitty"
08/14/2023 01:51:57 PM - Checking window 0x0220000e (class kitty)
08/14/2023 01:51:57 PM - Regular expression "Galculator" does not match "kitty"
08/14/2023 01:51:57 PM - Checking window 0x0220000e (class kitty)
08/14/2023 01:51:57 PM - Regular expression "Blueberry.py" does not match "kitty"
08/14/2023 01:51:57 PM - Checking window 0x0220000e (class kitty)
08/14/2023 01:51:57 PM - Regular expression "Xsane" does not match "kitty"
08/14/2023 01:51:57 PM - Checking window 0x0220000e (class kitty)
08/14/2023 01:51:57 PM - Regular expression "Pavucontrol" does not match "kitty"
08/14/2023 01:51:57 PM - Checking window 0x0220000e (class kitty)
08/14/2023 01:51:57 PM - Regular expression "qt5ct" does not match "kitty"
08/14/2023 01:51:57 PM - Checking window 0x0220000e (class kitty)
08/14/2023 01:51:57 PM - Regular expression "Blueberry.py" does not match "kitty"
08/14/2023 01:51:57 PM - Checking window 0x0220000e (class kitty)
08/14/2023 01:51:57 PM - Regular expression "Bluetooth-sendto" does not match "kitty"
08/14/2023 01:51:57 PM - Checking window 0x0220000e (class kitty)
08/14/2023 01:51:57 PM - Regular expression "Pamac-manager" does not match "kitty"
08/14/2023 01:51:57 PM - Checking window 0x0220000e (class kitty)
08/14/2023 01:51:57 PM - Regular expression "About" does not match ""
08/14/2023 01:51:57 PM - Checking window 0x0220000e (class kitty)
08/14/2023 01:51:57 PM - Regular expression "urxvt" does not match "kitty"
Dove
August 14, 2023, 12:03pm
9
Also, diff between default EOS configuration and mine, nothing much to be honest:
❯ diff default.conf config
25c25
< font pango: Noto Sans Regular 10
---
> font pango: Noto Sans Regular 14
174c174
< bindsym $mod+Return exec xfce4-terminal
---
> bindsym $mod+Return exec kitty
184c184
< #bindsym $mod+l exec i3lock -i ~/.config/i3/i3-lock-screen.png -p default|win -t
---
> bindsym $mod+Ctrl+l exec i3lock -i ~/.config/i3/i3-lock-screen.png -p default|win -t
186c186
< bindsym $mod+l exec ~/.config/i3/scripts/blur-lock
---
> # bindsym $mod+Shift+l exec ~/.config/i3/scripts/blur-lock
208,211c208,211
< bindsym $mod+j focus left
< bindsym $mod+k focus down
< bindsym $mod+b focus up
< bindsym $mod+o focus right
---
> bindsym $mod+h focus left
> bindsym $mod+j focus down
> bindsym $mod+k focus up
> bindsym $mod+l focus right
220,223c220,223
< bindsym $mod+Shift+j move left
< bindsym $mod+Shift+k move down
< bindsym $mod+Shift+b move up
< bindsym $mod+Shift+o move right
---
> bindsym $mod+Shift+h move left
> bindsym $mod+Shift+j move down
> bindsym $mod+Shift+k move up
> bindsym $mod+Shift+l move right
232c232
< bindsym $mod+h split h
---
> bindsym $mod+x split h
323c323
< assign [class="Xfce4-terminal"] $ws1
---
> assign [class="kitty"] $ws1
330c330
< for_window [class=Xfce4-terminal] focus
---
> for_window [class=kitty] focus
335a336
> exec --no-startup-id i3-msg 'workspace $ws1; exec kitty'
398c399
< exec --no-startup-id sleep 1 && feh --bg-fill /usr/share/endeavouros/backgrounds/endeavouros-wallpaper.png
---
> exec --no-startup-id sleep 1 && feh --no-fehbg --bg-fill '/home/dovydas/Pictures/Wallpapers/wallpaper.png'
432c433
< exec --no-startup-id sleep 7 && firefox https://github.com/endeavouros-team/endeavouros-i3wm-setup/blob/main/force-knowledge.md
---
> # exec --no-startup-id sleep 7 && firefox https://github.com/endeavouros-team/endeavouros-i3wm-setup/blob/main/force-knowledge.md
509c510
< font pango: Noto Sans Regular 10
---
> font pango: Noto Sans Regular 12
511c512
< position bottom
---
> position top
591a593,594
>
> exec keychain
I think those are just i3 telling you that the WM_CLASS of the kitty window doesn’t match some of the for_window directives defined in your config file.
2 Likes
Dove
August 14, 2023, 12:50pm
11
I found this other post about windows freezing due to intel graphics using DRI3. I have modified config to use DRI2 maybe it will be the change which fixes it I3wm random window freezes - #10 by kaprests .
i do run i3 on old thinkpad with xf86-video-intel where i need some tweaks for intel gpu running smooth… but i do not use kitty there… and… GPU based terminal emulator could be related …
Dove
August 16, 2023, 12:35pm
13
Thank you for all the help switching to DRI2 fixed the problem.
By the way what other tweaks do you have for intel GPU?
https://discovery.endeavouros.com/hardware/intel/2021/03/
TearFree
i do use.
Others will be hardware related not general do any good on intel gpus… like acceleration methods SNA/UXA
system
Closed
August 19, 2023, 7:14pm
15
This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.