I use i3wm for a couple of years now on Ubuntu. Never had an issue like this one before. I just upgraded to 22.10, but after the update, while in i3wm, I have the following issues:
Whenever I open an application, the screen will temporarily tear, showing other (or previous) applications on some parts of the screen.
In a terminal there is a lot of keyboard input lag.
Emacs is particularly bad, the input lag is horrendous, at one point even looked like the laptop froze for a bit.
Actually, the lag is especially bad on any Desktop where I have Vim OR Emacs open. So bad that the laptop actually freezes for about 5 seconds before I can do anything.
5. New Information: I discovered that, on a clean boot directly into i3wm, this lag will happen. If however I log into a normal Ubuntu Gnome session first, then log out of that and back into gnome, then suddenly this lag disappears.
This did not happen on 22.04 (i3wm) and if I log into a normal gnome session this is also not a problem.
Also, I should point out that I did try compton, since some people mention that this might be the cause on other forums... This did not resolve the issue.
Anyone knows what the issue is here?
$ neofetch
.-/+oossssoo+/-. andre@andre-framework
`:+ssssssssssssssssss+:` ---------------------
-+ssssssssssssssssssyyssss+- OS: Ubuntu 22.10 x86_64
.ossssssssssssssssssdMMMNysssso. Host: Laptop (12th Gen Intel Core) A4
/ssssssssssshdmmNNmmyNMMMMhssssss/ Kernel: 5.19.0-23-generic
+ssssssssshmydMMMMMMMNddddyssssssss+ Uptime: 22 mins
/sssssssshNMMMyhhyyyyhmNMMMNhssssssss/ Packages: 1690 (dpkg), 23 (snap)
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Shell: bash 5.2.2
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ Resolution: 2256x1504
ossyNMMMNyMMhsssssssssssssshmmmhssssssso WM: i3
ossyNMMMNyMMhsssssssssssssshmmmhssssssso Theme: Yaru [GTK3]
+sssshhhyNMMNyssssssssssssyNMMMysssssss+ Icons: Yaru [GTK3]
.ssssssssdMMMNhsssssssssshNMMMdssssssss. Terminal: gnome-terminal
/sssssssshNMMMyhhyyyyhdNMMMNhssssssss/ CPU: 12th Gen Intel i5-1240P (16) @ 4.400GHz
+sssssssssdmydMMMMMMMMddddyssssssss+ GPU: Intel Alder Lake-P
/ssssssssssshdmNNNNmyNMMMMhssssss/ Memory: 2029MiB / 15708MiB
PS: Do not tell me to use gnome session instead, non-tiling window managers became very cumbersome to me by now and it slows my work down significantly. I would much rather format and reinstall 22.04 and i3wm, than use any non-tiling wm at this stage.