4800H, firefox segfault freeze on kernel 6.1.7+
Distro: Gentoo kernel 6.1.8 ,i3wm CPU: Ryzen 7 4800H GPU: 1650Ti
Firefox running on the integrated gpu hardware accel enabled freezes random ~1 hour while playing video or click somewhere inside. It started with system upgrade during 6.1.7 kernel before that never faced such issue with same settings extension. Whole system freezes sometime cant open new window terminal , htop shows kernel thread stuck at particular cpu core 100% usage. Cant kill any app pkill -f dosent work force i3WM exit waits xserver for other apps to close. Have to hard reset.
Some highlights from dmesg when it crashes captured ->
Jan 25 19:44:29 localhost kernel: firefox[20697]: segfault at d8 ip 00007fd4e8eef340 sp 00007ffd09698788 error 4 in libX11.so.6.4.0[7fd4e8ed9000+8c000] likely on CPU 8 (core 4, socket 0)
Jan 25 19:44:29 localhost kernel: Code: 2e 0f 1f 84 00 00 00 00 00 90 8b 47 1c c3 66 66 2e 0f 1f 84 00 00 00 00 00 90 8b 47 74 c3 66 66 2e 0f 1f 84 00 00 00 00 00 90 <48> 8b 87 d8 00 00 00 c3 0f 1f 84 00 00 00 00 00 48 63 f6 48 c1 e6
Jan 25 20:01:05 localhost kernel: [drm] Fence fallback timer expired on ring sdma0
Jan 25 20:01:05 localhost kernel: [drm] Fence fallback timer expired on ring gfx
Jan 25 20:01:07 localhost last message buffered 4 times
Jan 25 20:01:17 localhost kernel: rcu: INFO: rcu_preempt detected stalls on CPUs/tasks:
Jan 25 20:01:17 localhost kernel: amdgpu 0000:05:00.0: [drm] ERROR [CRTC:67:crtc-0] flip_done timed out
kern.log Attached kernel log from 22 Jan to 25 Jan
UPDATE:
Tried with opening vscode same crashed kernel thread 100% stuck cant kill vscode, cant open any window.
Recent dmesg with StackTrace -> echo l > /proc/sysrq-trigger kernel-crash.log
This time before freeze dmesg stacktrace, kworker events thread at 100% kernel-crash2.log