Bug 454093 - Seemingly random PC freezes
Summary: Seemingly random PC freezes
Status: RESOLVED NOT A BUG
Alias: None
Product: kwin
Classification: Plasma
Component: general (other bugs)
Version First Reported In: 5.24.5
Platform: Arch Linux Linux
: NOR grave
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-05-20 14:45 UTC by taigi100
Modified: 2022-05-25 14:27 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description taigi100 2022-05-20 14:45:08 UTC
SUMMARY
The PC completely seems to freeze at random moments. I haven't been able to detect a pattern yet (had some suspicions, but they didn't seem to be the cause). I am currently unable to reproduce the issue and have no clue how to proceed further with debugging it.

OBSERVED RESULT
At random moments, the PC completely freezes. Nothing seems to work (terminal, switching to the terminal like-mode only (I think it's ctrl+alt+f keys), the reset button from the PC, etc. The only way I can bring it back to normal is by holding the shutdown button for 10 seconds and then turning it up again.

SOFTWARE/OS VERSIONS

OS: I use Arch BTW 
Host: B660M GAMING X DDR4 
Kernel: 5.17.8-arch1-1 
Uptime: 4 hours, 5 mins 
Packages: 1064 (pacman) 
Shell: fish 3.4.1 
Resolution: 1920x1080, 1920x1080 
DE: Plasma 5.24.5 
WM: KWin 
WM Theme: Material 
Theme: Dracula [Plasma], Orchis-dark [GTK2/3] 
Icons: BeautyLine [Plasma], BeautyLine [GTK2/3] 
Terminal: yakuake 
CPU: 12th Gen Intel i7-12700KF (20) @ 5.000GHz 
GPU: AMD ATI Radeon RX 6600/6600 XT/6600M 
Memory: 5800MiB / 31942MiB 
GPU Driver: amdgpu 
Font: Cabin 0 12 [Plasma], Cabin, 12 [GTK2/3] 

LOGS:

The only logs which I managed to get, which may or may not be useful, are the following: 

May 20 16:01:12 taigi100-PC gmenudbusmenuproxy[1049]: kde.dbusmenuproxy: Got an empty menu for 0 on ":1.104" at "/org/appmenu/gtk/window/11"
May 20 16:01:14 taigi100-PC kwin_x11[860]: kwin_core: XCB error: 152 (BadDamage), sequence: 16587, resource id: 11766219, major code: 143 (DAMAGE), minor code: 3 (Subtr>
May 20 16:01:57 taigi100-PC kwin_x11[860]: qt.qpa.xcb: QXcbConnection: XCB error: 3 (BadWindow), sequence: 64834, resource id: 11765483, major code: 3 (GetWindowAttribu>
May 20 16:01:57 taigi100-PC kwin_x11[860]: qt.qpa.xcb: QXcbConnection: XCB error: 9 (BadDrawable), sequence: 64835, resource id: 11765483, major code: 14 (GetGeometry),>

I've tried using things like netconsole or such, but they don't seem to work. I have no clue how to actually get some useful logs or pinpoint the issue itself.
Comment 1 taigi100 2022-05-20 14:47:47 UTC
P.S.
Had some issues with waking up from sleep, so I disabled `intel_lpss_pci`, not sure if it might have anything to do with it, as I don't remember whether I experienced those issues before or not. Since I can't reproduce the bug, it's quite hard to tell (sometimes it happens 3x a day and sometimes 1xweek)
Comment 2 taigi100 2022-05-25 14:27:44 UTC
Fixed with a CMOS restart, so it's probably a HW issue (I expect it to be the XMP but not confirmed yet)