I wonder if this is the same problem I am having with my aptosid box... I also have sporadic (but rather consistent) freezes in Plasma.
I can "fix it" by doing
$ kwin --replace
I cannot find errors in the logs (Xorg.0.log, journalctl, dmesg, kern.log, ...), but I get in the kwin konsole after I issue the command above and it freezes/crashes again:
The X11 connection broke: I/O error (code 1)
XIO: fatal IO error 62 (Timer expired) on X server ":0"
after 8791214 requests (8791214 known processed) with 0 events remaining.
Here is some info on this machine:
$ inxi -v3
System:
Host: finottidell5060 Kernel: 6.0.0-8.slh.1-aptosid-amd64 arch: x86_64
bits: 64 compiler: gcc v: 12.2.0 Desktop: KDE Plasma v: 5.26.3
Distro: aptosid 2013-01 - kde-full - (201305050307) base: Debian
GNU/Linux bookworm/sid
Machine:
Type: Desktop System: Dell product: OptiPlex 5060 v: N/A
serial: <superuser required>
Mobo: Dell model: 0J8G6F v: A02 serial: <superuser required> UEFI: Dell
v: 1.20.0 date: 05/19/2022
Battery:
Device-1: hidpp_battery_0 model: Logitech Wireless Mouse MX Master 3
charge: 100% (should be ignored) status: discharging
CPU:
Info: 6-core model: Intel Core i7-8700 bits: 64 type: MT MCP
arch: Coffee Lake rev: A cache: L1: 384 KiB L2: 1.5 MiB L3: 12 MiB
Speed (MHz): avg: 1200 high: 3200 min/max: 800/4600 cores: 1: 800 2: 800
3: 800 4: 800 5: 800 6: 801 7: 800 8: 3200 9: 800 10: 800 11: 803 12: 3200
bogomips: 76799
Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Graphics:
Device-1: Intel CoffeeLake-S GT2 [UHD Graphics 630] vendor: Dell
driver: i915 v: kernel arch: Gen-9.5 bus-ID: 00:02.0
Device-2: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo
bus-ID: 1-7.1:7
Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting
unloaded: fbdev,vesa dri: iris gpu: i915 resolution: 1: 1080x1920~60Hz
2: 1920x1200~60Hz
API: OpenGL v: 4.6 Mesa 22.2.4 renderer: Mesa Intel UHD Graphics 630 (CFL
GT2) direct render: Yes
Network:
Device-1: Intel Ethernet I219-V vendor: Dell driver: e1000e v: kernel
port: N/A bus-ID: 00:1f.6
IF: eno1 state: up speed: 100 Mbps duplex: full mac: 8c:ec:4b:b1:7e:34
IF-ID-1: virbr0 state: down mac: 52:54:00:16:95:a9
Drives:
Local Storage: total: 953.88 GiB used: 716.13 GiB (75.1%)
Info:
Processes: 378 Uptime: 8d 59m Memory: 46.74 GiB used: 6 GiB (12.8%)
Init: systemd target: graphical (5) Compilers: gcc: 12.2.0 Packages: 6131
Shell: Bash v: 5.2.2 inxi: 3.3.23
$ inxi -G
Graphics:
Device-1: Intel CoffeeLake-S GT2 [UHD Graphics 630] driver: i915 v: kernel
Device-2: Logitech Webcam C270 type: USB driver: snd-usb-audio,uvcvideo
Display: x11 server: X.Org v: 1.21.1.4 driver: X: loaded: modesetting
unloaded: fbdev,vesa dri: iris gpu: i915 resolution: 1: 1080x1920~60Hz
2: 1920x1200~60Hz
API: OpenGL v: 4.6 Mesa 22.2.4 renderer: Mesa Intel UHD Graphics 630 (CFL
GT2)