Random freeze, mouse works, access to fb console

Hi, this is fedora 36 updated (packages and firmware), kernel 6.2.8-100.fc36.x86_64, lenovo P1 Gen 4, with external 4k monitor connected to hdmi, video card is Intel Corporation TigerLake-H GT1 [UHD Graphics], with X11.

Once a week or two weeks, then the X system just freezes, the mouse works, if there is a music playing, then it continues playing. Although I can use the keyboard to navigate to framebuffer console (ctrl alt f3) and log in, there is no use while in X11, even typing ctrl alt esc to kill a process or ctrl alt del to reboot, doesn’t work while in X11.
I could not notice a usage pattern, for example high cpu/mem usage, or a specific program.
This freeze has occurred since previous kernel 5.19.x.

I have no option, just go to a framebuffer console and reboot.
There is no log in /var/log/messages from yesterday freeze.

I understand this is not common, but looking for clues.

Thanks
Claudio

Does the problem also happen on Wayland? Does it happen on the 6.1 kernel?

sudo journalctl -b0

=> log messages for the current boot
???

does the following command reveals something bad:

dmesg|grep -iEw 'bad|bug|conflict|corrupt|error|fail|failed|fault|fatal|invalid|Lock|NULL|segfault|stack|trace|warn'

it’s just a short overview and reveals also uncritical messages too
care to post the output here ?

===
as an temporary workaround: restart X via keyboard (saves the reboot):
be aware: all open/edited documents are closed without saving !!!

  • install gnome-tweaks
  • open it
  • => (left side) “Keyboard & Mouse”
  • => (right side) “Additional Layout Options”
  • => “key sequence to kill X server”

I tried to used wayland at first, but it was slower and heavier, so I had to fallback to X11.
It also freezed in 6.1 kernel.

journalctl -b -7 got the logs, good. I just forgot about it.

There are some dmesg errors

[    0.000000] x86/split lock detection: #AC: crashing the kernel on kernel split_locks and warning on user-space split_locks
[    0.241772] mem auto-init: stack:all(zero), heap alloc:off, heap free:off
[    0.573248] ACPI BIOS Error (bug): Failure creating named object [\_SB.PC00.RP05.PXSX._DSM], AE_ALREADY_EXISTS (20221020/dswload2-326)
[    0.573256] ACPI Error: AE_ALREADY_EXISTS, During name lookup/catalog (20221020/psobject-220)
[    0.586289] ACPI: [Firmware Bug]: BIOS _OSI(Linux) query ignored
[    0.620432] PCI: Using host bridge windows from ACPI; if necessary, use "pci=nocrs" and report a bug
[    1.730183] systemd[1]: Failed to load BPF object: No such process
[    1.777996] systemd[1]: memstrack.service - Memstrack Anylazing Service was skipped because all trigger condition checks failed.
[    4.174106] i915 0000:00:02.0: [drm] Selective fetch area calculation failed in pipe A
[    5.694459] systemd[1]: Failed to load BPF object: No such process
[    5.825089] systemd[1]: systemd-ask-password-console.path - Dispatch Password Requests to Console Directory Watch was skipped because of a failed condition check (ConditionPathExists=!/run/plymouth/pid).
[    5.837170] systemd[1]: Mounting sys-kernel-tracing.mount - Kernel Trace File System...
[    5.837235] systemd[1]: auth-rpcgss-module.service - Kernel Module supporting RPCSEC_GSS was skipped because of a failed condition check (ConditionPathExists=/etc/krb5.keytab).
[    5.843554] systemd[1]: systemd-repart.service - Repartition Root Disk was skipped because all trigger condition checks failed.
[    5.844874] systemd[1]: Mounted sys-kernel-tracing.mount - Kernel Trace File System.
[    6.297982] thermal thermal_zone10: failed to read out thermal zone (-61)
[   26.369925] Bluetooth: hci0: HCI reset during shutdown failed
[ 5806.313689] thermal thermal_zone10: failed to read out thermal zone (-61)
[ 5810.121217] ucsi_acpi USBC000:00: ucsi_handle_connector_change: GET_CONNECTOR_STATUS failed (-110)
[ 8105.707125] thermal thermal_zone10: failed to read out thermal zone (-61)
[47877.316431] thermal thermal_zone10: failed to read out thermal zone (-61)
[49488.720539] thermal thermal_zone10: failed to read out thermal zone (-61)

I think the freeze occurred in this part, related to the kwin_x11 errors
I cleaned the output a little bit

Mar 29 17:00:10 jupiter org_kde_powerdevil[1879]: org.kde.powerdevil: Unsatisfied policies, the action has been aborted
Mar 29 17:01:01 jupiter CROND[1360136]: (root) CMD (run-parts /etc/cron.hourly)
Mar 29 17:01:01 jupiter run-parts[1360139]: (/etc/cron.hourly) starting 0anacron
Mar 29 17:01:01 jupiter run-parts[1360145]: (/etc/cron.hourly) finished 0anacron
Mar 29 17:01:01 jupiter CROND[1360135]: (root) CMDEND (run-parts /etc/cron.hourly)
Mar 29 17:01:25 jupiter org_kde_powerdevil[1879]: org.kde.powerdevil: Unsatisfied policies, the action has been aborted
Mar 29 17:02:28 jupiter systemd[1]: Started dbus-:1.14-org.kde.powerdevil.backlighthelper@143.service.
Mar 29 17:02:38 jupiter systemd[1]: dbus-:1.14-org.kde.powerdevil.backlighthelper@143.service: Deactivated successfully.
Mar 29 17:19:55 jupiter kwin_x11[1735]: kwin_core: XCB error: 14 (BadIDChoice), sequence: 23501, resource id: 19025871, major code: 138 (XFIXES), minor code: 5 (CreateRegion)
Mar 29 17:19:55 jupiter kwin_x11[1735]: kwin_core: XCB error: 140 (Unknown), sequence: 23502, resource id: 19025871, major code: 143 (DAMAGE), minor code: 3 (Subtract)
Mar 29 17:19:55 jupiter kwin_x11[1735]: kwin_core: XCB error: 140 (BadRegion), sequence: 23503, resource id: 19025871, major code: 138 (XFIXES), minor code: 19 (FetchRegion)
Mar 29 17:19:55 jupiter kwin_x11[1735]: kwin_core: XCB error: 140 (BadRegion), sequence: 23504, resource id: 19025871, major code: 138 (XFIXES), minor code: 10 (DestroyRegion)
Mar 29 17:22:31 jupiter plasmashell[1819]: org.kde.plasma.notifications: Notification to send to backend contains invalid XML:  "Opening and ending tag mismatch." line 1 col 235
Mar 29 17:23:18 jupiter systemd[1386]: Started app-brave\x2dbrowser-231a5ed52b5f42e5bbeba78ed2058b77.scope - Brave Web Browser - Web Browser.
Mar 29 17:23:21 jupiter plasmashell[1143676]: Warning: disabling flag --expose_wasm due to conflicting flags
Mar 29 17:25:13 jupiter kwin_x11[1735]: kwin_core: XCB error: 14 (BadIDChoice), sequence: 15010, resource id: 19025837, major code: 138 (XFIXES), minor code: 5 (CreateRegion)
Mar 29 17:25:13 jupiter kwin_x11[1735]: kwin_core: XCB error: 140 (Unknown), sequence: 15011, resource id: 19025837, major code: 143 (DAMAGE), minor code: 3 (Subtract)
Mar 29 17:25:13 jupiter kwin_x11[1735]: kwin_core: XCB error: 140 (BadRegion), sequence: 15012, resource id: 19025837, major code: 138 (XFIXES), minor code: 19 (FetchRegion)
Mar 29 17:25:13 jupiter kwin_x11[1735]: kwin_core: XCB error: 140 (BadRegion), sequence: 15013, resource id: 19025837, major code: 138 (XFIXES), minor code: 10 (DestroyRegion)
Mar 29 17:36:55 jupiter org_kde_powerdevil[1879]: org.kde.powerdevil: Unsatisfied policies, the action has been aborted
Mar 29 17:37:23 jupiter systemd[1]: Started dbus-:1.14-org.kde.powerdevil.backlighthelper@144.service.
Mar 29 17:37:33 jupiter systemd[1]: dbus-:1.14-org.kde.powerdevil.backlighthelper@144.service: Deactivated successfully.
Mar 29 17:40:41 jupiter systemd-resolved[880]: enp0s13f0u2c2: Bus client set default route setting: yes
Mar 29 17:40:41 jupiter systemd-resolved[880]: enp0s13f0u2c2: Bus client set DNS server list to: 181.213.132.2, 181.213.132.3
Mar 29 17:40:41 jupiter systemd-resolved[880]: tun0: Bus client reset search domain list.
Mar 29 17:40:41 jupiter systemd-resolved[880]: tun0: Bus client set default route setting: no
Mar 29 17:40:41 jupiter systemd-resolved[880]: tun0: Bus client reset DNS server list.
Mar 29 17:40:41 jupiter plasmashell[1819]: file:///usr/lib64/qt5/qml/org/kde/plasma/extras/PlaceholderMessage.qml:238:5: QML Heading: Binding loop detected for property "verticalAlignment"
Mar 29 17:50:08 jupiter kwin_x11[1735]: kwin_core: XCB error: 14 (BadIDChoice), sequence: 57054, resource id: 19025722, major code: 138 (XFIXES), minor code: 5 (CreateRegion)
Mar 29 17:50:08 jupiter kwin_x11[1735]: kwin_core: XCB error: 140 (Unknown), sequence: 57055, resource id: 19025722, major code: 143 (DAMAGE), minor code: 3 (Subtract)
Mar 29 17:50:08 jupiter kwin_x11[1735]: kwin_core: XCB error: 140 (BadRegion), sequence: 57056, resource id: 19025722, major code: 138 (XFIXES), minor code: 19 (FetchRegion)
Mar 29 17:50:08 jupiter kwin_x11[1735]: kwin_core: XCB error: 140 (BadRegion), sequence: 57057, resource id: 19025722, major code: 138 (XFIXES), minor code: 10 (DestroyRegion)
Mar 29 17:50:16 jupiter kwin_x11[1735]: kwin_core: XCB error: 14 (BadIDChoice), sequence: 61839, resource id: 19025721, major code: 138 (XFIXES), minor code: 5 (CreateRegion)
Mar 29 17:50:16 jupiter kwin_x11[1735]: kwin_core: XCB error: 140 (Unknown), sequence: 61840, resource id: 19025721, major code: 143 (DAMAGE), minor code: 3 (Subtract)
Mar 29 17:50:16 jupiter kwin_x11[1735]: kwin_core: XCB error: 140 (BadRegion), sequence: 61841, resource id: 19025721, major code: 138 (XFIXES), minor code: 19 (FetchRegion)
Mar 29 17:50:16 jupiter kwin_x11[1735]: kwin_core: XCB error: 140 (BadRegion), sequence: 61842, resource id: 19025721, major code: 138 (XFIXES), minor code: 10 (DestroyRegion)
Mar 29 17:53:12 jupiter kwin_x11[1735]: kwin_core: XCB error: 14 (BadIDChoice), sequence: 26107, resource id: 19025728, major code: 138 (XFIXES), minor code: 5 (CreateRegion)
Mar 29 17:53:12 jupiter kwin_x11[1735]: kwin_core: XCB error: 140 (Unknown), sequence: 26108, resource id: 19025728, major code: 143 (DAMAGE), minor code: 3 (Subtract)
Mar 29 17:53:12 jupiter kwin_x11[1735]: kwin_core: XCB error: 140 (BadRegion), sequence: 26109, resource id: 19025728, major code: 138 (XFIXES), minor code: 19 (FetchRegion)
Mar 29 17:53:12 jupiter kwin_x11[1735]: kwin_core: XCB error: 140 (BadRegion), sequence: 26110, resource id: 19025728, major code: 138 (XFIXES), minor code: 10 (DestroyRegion)
Mar 29 17:53:28 jupiter kwin_x11[1735]: kwin_core: XCB error: 14 (BadIDChoice), sequence: 36831, resource id: 19025725, major code: 138 (XFIXES), minor code: 5 (CreateRegion)
Mar 29 17:53:28 jupiter kwin_x11[1735]: kwin_core: XCB error: 140 (Unknown), sequence: 36832, resource id: 19025725, major code: 143 (DAMAGE), minor code: 3 (Subtract)
Mar 29 17:53:28 jupiter kwin_x11[1735]: kwin_core: XCB error: 140 (BadRegion), sequence: 36833, resource id: 19025725, major code: 138 (XFIXES), minor code: 19 (FetchRegion)
Mar 29 17:53:28 jupiter kwin_x11[1735]: kwin_core: XCB error: 140 (BadRegion), sequence: 36834, resource id: 19025725, major code: 138 (XFIXES), minor code: 10 (DestroyRegion)
Mar 29 17:53:48 jupiter kwin_x11[1735]: kwin_core: XCB error: 14 (BadIDChoice), sequence: 48082, resource id: 19025724, major code: 138 (XFIXES), minor code: 5 (CreateRegion)
Mar 29 17:53:48 jupiter kwin_x11[1735]: kwin_core: XCB error: 140 (Unknown), sequence: 48083, resource id: 19025724, major code: 143 (DAMAGE), minor code: 3 (Subtract)
Mar 29 17:53:48 jupiter kwin_x11[1735]: kwin_core: XCB error: 140 (BadRegion), sequence: 48084, resource id: 19025724, major code: 138 (XFIXES), minor code: 19 (FetchRegion)
Mar 29 17:53:48 jupiter kwin_x11[1735]: kwin_core: XCB error: 140 (BadRegion), sequence: 48085, resource id: 19025724, major code: 138 (XFIXES), minor code: 10 (DestroyRegion)
Mar 29 17:56:12 jupiter kwin_x11[1735]: kwin_core: XCB error: 136 (Unknown), sequence: 57737, resource id: 19025728, major code: 134 (SYNC), minor code: 17 (DestroyFence)
Mar 29 17:59:02 jupiter org_kde_powerdevil[1879]: org.kde.powerdevil: Unsatisfied policies, the action has been aborted

sorry, I can’t help with KDE systems.

to me, your first provided log do not show somethings what {c,sh}ould lead to an freeze.

I guess it would be best to run “journalctl -b0 > myfreezelog” right now when the freeze ocurred and post the content from that myfreezelog here

I can’t replicate this on my Kinoite box, but I’m also running wayland on it.