You are not logged in.

#1 2023-05-18 22:43:00

zaaarf
Member
Registered: 2023-05-18
Posts: 8

Random full system freezes, have to forcefully shut comptuer down

Hello, recently switched to Arch from Windows, so I'm kind of a noob. Installed flawlessly, managed to use it fine for a few days, then I started having these random freezes I can't seem to wrap my head around. When they happen:

  • The screen fully freezes

  • The last second or so of audio begins looping

  • Keyboard becomes fully unresponsive, including SysRq (which means the power button is my only way out, which the disk really doesn't thank me for)

  • Mouse becomes unresponsive, although some of the times with a couple seconds of delay compared to the rest

  • The laptop I'm using it on has a feature that slightly lights up the keyboard when something is pressed; it stops working, as if no more keystrokes were happening

They can happen at any random time, but they seem to be concentrated in moments when graphics are involved: while playing videogames, when watching videos on the internet, or even when screensharing. In fact, I've kind of noticed that there is a "fast-track" to freezing, and that is playing any videogame for a couple minutes - which is how I got the two attached logs. Specifically, I was using wine, but even native games should do the trick.
Should note that less resource-intensive uses of the computer (such as editing documents, running CLI stuff, and programming with nvim) don't seem to cause freezes despite hours of use, while the aforementioned activities can last from a glorious two minutes to a grand total of half an hour before a freeze abruptly stops me.

System Info
I'm using a Huawei Matebook D 14.
It's a few years old, so I'm not ruling out hardware issues. It has the original components, except for the SSD which I swapped with a Samsung 970 EVO so I could have more space. The SSD is the only piece I can 100% guarantee to be working fine.

Logs

I can collect more over time as freezes happen in different context. I'm hoping you guys catch something I didn't notice, because to me they seem fairly inconclusive.

Things I already tried

  • The solutions listed here, since this laptop has a Ryzen. They seem ineffective, except for pci=nomsi that just makes it get stuck on boot.

  • ACPI parameters; I saw a thread on some forum recommending those to a guy with similar problems; they didn't stop the freezes, but now the touchpad is working properly, so at least it wasn't a waste of time.

I'm hoping you guys can help fix this - or identify the problematic component, if it's a hardware problem.
Thanks in advance!

Last edited by zaaarf (2023-05-18 22:53:53)

Offline

#2 2023-05-19 06:48:58

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: Random full system freezes, have to forcefully shut comptuer down

Keyboard becomes fully unresponsive, including SysRq (which means the power button is my only way out, which the disk really doesn't thank me for)

May 19 00:01:09 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:09 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:09 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:10 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:10 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:10 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:10 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:10 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:10 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:10 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:10 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:10 ftbsc kernel: [drm] Fence fallback timer expired on ring gfx_low
May 19 00:01:10 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:10 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:10 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:10 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:10 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:10 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:10 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:10 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:10 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:10 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:10 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:10 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:10 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:10 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:10 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:10 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:10 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:11 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:11 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:11 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:11 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:11 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:11 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:11 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:11 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:11 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:11 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:11 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:11 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:11 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:11 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:11 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:11 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:11 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:11 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:11 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:11 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:11 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:11 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:11 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:11 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:11 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:12 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:12 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:12 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:12 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:12 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:12 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:12 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:12 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:12 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:12 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:12 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:12 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:12 ftbsc kernel: sysrq: Keyboard mode set to system default
May 19 00:01:12 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:12 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:12 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:12 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:12 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:12 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:12 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:12 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:12 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:12 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:12 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:12 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:12 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:13 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:13 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:13 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:13 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:13 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:13 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:13 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:13 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:13 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:13 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:13 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:13 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:13 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:13 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:13 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:13 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:13 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:13 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:13 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:13 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:13 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:13 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:13 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:13 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:14 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:14 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:14 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:14 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:14 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:14 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:14 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:14 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:14 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:14 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:14 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!
May 19 00:01:14 ftbsc kwin_wayland_wrapper[759]: Key repeat discarded, Wayland compositor doesn't seem to be processing events fast enough!

and

May 19 00:16:51 ftbsc kernel: sysrq: Keyboard mode set to system default


Does this happen w/
- plasma on X11
- notplasma (eg. openbox)
?

May 19 00:16:15 ftbsc plasmashell[1585]: 2023-05-19 00:16:15,094: Running AMD Mesa driver 23.0.3 on AMD Radeon Vega 8 Graphics (raven, LLVM 15.0.7, DRM 3.52, 6.3.2-arch1-1) (0x15dd)

Did you see https://wiki.archlinux.org/title/AMDGPU … Vega_cards ?

amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0 pcie_aspm=off

https://wiki.archlinux.org/title/Kernel_parameters

dpm=0 might prevent the system from booting at all, in that case try w/o and only the others.

Offline

#3 2023-05-19 09:28:14

zaaarf
Member
Registered: 2023-05-18
Posts: 8

Re: Random full system freezes, have to forcefully shut comptuer down

seth wrote:

Does this happen w/
- plasma on X11
- notplasma (eg. openbox)
?

I'm using plasma with Wayland (double-checked in "About this System" as suggested here) and ofc I have xorg-xwayland for retrocompatibility.

seth wrote:

Did you see https://wiki.archlinux.org/title/AMDGPU … Vega_cards ?

amdgpu.dpm=0 amdgpu.aspm=0 amdgpu.runpm=0 amdgpu.bapm=0 pcie_aspm=off

https://wiki.archlinux.org/title/Kernel_parameters

Not sure how I missed that section, I've been on the AMDGPU article a solid dozen of times.

seth wrote:

dpm=0 might prevent the system from booting at all, in that case try w/o and only the others.

Yep, it did. I'll try it without it and test for the crashes.

EDIT: for now it seems to be working fine, managed to play a bit. I'll keep testing throughout the day, I'll let you know if it is really fixed.

Last edited by zaaarf (2023-05-19 10:09:44)

Offline

#4 2023-05-19 12:42:53

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: Random full system freezes, have to forcefully shut comptuer down

I'm using plasma with Wayland (double-checked in "About this System" as suggested here) and ofc I have xorg-xwayland for retrocompatibility.

Ftr. "I know" - the idea was to test the behavior in a different environment (plasma on X11 or an openbox session instead of plasma/wayland) to figure whether that's maybe relevant.

Offline

#5 2023-05-19 15:26:58

zaaarf
Member
Registered: 2023-05-18
Posts: 8

Re: Random full system freezes, have to forcefully shut comptuer down

seth wrote:

I'm using plasma with Wayland (double-checked in "About this System" as suggested here) and ofc I have xorg-xwayland for retrocompatibility.

Ftr. "I know" - the idea was to test the behavior in a different environment (plasma on X11 or an openbox session instead of plasma/wayland) to figure whether that's maybe relevant.

I can try that. In the meantime, I got another freeze, and this time I wasn't even playing vidya. Just normal web browsing. Had a few things in the background but nothing particularly heavy for the GPU.
This time, the log seems to report a pretty big series of warnings I honestly have no idea how to interpret. The log was fairly long, as I've been using the computer on and off all day, so I've taken the liberty to crop it to the relevant session.
exhibit 3

Last edited by zaaarf (2023-05-19 15:27:17)

Offline

#6 2023-05-19 15:57:31

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: Random full system freezes, have to forcefully shut comptuer down

There's an oops in the amdgpu module when entering S3 (STR, ~17:00), later on (~17:12) the iwlfifi (firmware) crashes and at the end of that

May 19 17:12:48 ftbsc kernel: amdgpu 0000:03:00.0: [drm] *ERROR* [CRTC:67:crtc-0] flip_done timed out
May 19 17:12:48 ftbsc kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx_low timeout, signaled seq=2469461, emitted seq=2469463
May 19 17:12:48 ftbsc kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process waterfox pid 1064 thread waterfox:cs0 pid 1073
May 19 17:12:48 ftbsc kernel: amdgpu 0000:03:00.0: amdgpu: GPU reset begin!

which *MIGHT* be a consequence of the wifi errors.

Can you use the system w/o wifi for a while?

Offline

#7 2023-05-23 13:46:36

zaaarf
Member
Registered: 2023-05-18
Posts: 8

Re: Random full system freezes, have to forcefully shut comptuer down

seth wrote:

There's an oops in the amdgpu module when entering S3 (STR, ~17:00), later on (~17:12) the iwlfifi (firmware) crashes and at the end of that

May 19 17:12:48 ftbsc kernel: amdgpu 0000:03:00.0: [drm] *ERROR* [CRTC:67:crtc-0] flip_done timed out
May 19 17:12:48 ftbsc kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* ring gfx_low timeout, signaled seq=2469461, emitted seq=2469463
May 19 17:12:48 ftbsc kernel: [drm:amdgpu_job_timedout [amdgpu]] *ERROR* Process information: process waterfox pid 1064 thread waterfox:cs0 pid 1073
May 19 17:12:48 ftbsc kernel: amdgpu 0000:03:00.0: amdgpu: GPU reset begin!

which *MIGHT* be a consequence of the wifi errors.

Can you use the system w/o wifi for a while?

Sorry for the period of silence, I haven't used the PC much in the past few days. To recap:

  • Did not experience crashes when running Plasma with X11. Possibly a coincidence, needs further testing.

  • Disabling wi-fi didn't prevent crashes.

I might add that I experienced two other freezes just now, both while using notepadqq, but of obviously different nature (as SysRq + B worked) so no point in posting them.

Am I correct to think this might be a problem with the driver and/or wayland's compatibility with it?

Last edited by zaaarf (2023-05-23 13:47:57)

Offline

#8 2023-05-23 19:45:30

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: Random full system freezes, have to forcefully shut comptuer down

Am I correct to think this might be a problem with the driver and/or wayland's compatibility with it?

If the problem cannot be triggered by plasma on X11 but will be by plasmas wayland compositor, that's a reasonable assumption.
Do you use xf86-video-amdgpu on the X11 session?

Offline

#9 2023-05-25 21:10:40

zaaarf
Member
Registered: 2023-05-18
Posts: 8

Re: Random full system freezes, have to forcefully shut comptuer down

seth wrote:

Am I correct to think this might be a problem with the driver and/or wayland's compatibility with it?

If the problem cannot be triggered by plasma on X11 but will be by plasmas wayland compositor, that's a reasonable assumption.

Solid 24 hours of using Plasma on X11 and did not get any freeze.
Assuming it's a wayland issue, do you have any idea of how to troubleshoot this?

seth wrote:

Do you use xf86-video-amdgpu on the X11 session?

I did not, but I tried installing it and I didn't notice any big change.

Offline

#10 2023-05-25 21:26:36

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: Random full system freezes, have to forcefully shut comptuer down

I did not, but I tried installing it and I didn't notice any big change.

Because the modesetting driver (ie. NOT using xf86-video-amdgpu) is close to the behavior of wayland compositors, so the use of xf86-video-amdgpu might have been the difference, but it's not.

I'd try whether eg. https://archlinux.org/packages/extra/x86_64/weston/ causes the same problems.

Offline

#11 2023-05-26 15:23:29

zaaarf
Member
Registered: 2023-05-18
Posts: 8

Re: Random full system freezes, have to forcefully shut comptuer down

...and, nope. It lasted a lot longer, but eventually I experienced a freeze even with X11.
This time, while programming on IntelliJ, so it may or may not be related even if the symptoms are the same. exhibit 4, contains the last couple hours of activity.
I think that we can safely rule out that it might strictly be a Wayland problem.

Offline

#12 2023-05-27 19:40:28

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: Random full system freezes, have to forcefully shut comptuer down

There's quite some

May 26 15:54:58 ftbsc kernel:  amdgpu_device_suspend+0x107/0x180 [amdgpu 0323f8491ce43051980d5a5c8bf0138a850d0341]
May 26 15:54:58 ftbsc kernel:  pci_pm_suspend+0x7f/0x170

when you went to S3, but there's no GPU reset or "flip_done timed out"

Cycling back to "it's ryzen", did you try to lock the CPU at processor.max_cstate=1 ?
Did you see/try https://wiki.archlinux.org/title/Ryzen#Random_reboots about raising the CPU voltage?

Offline

#13 2023-05-31 15:24:16

zaaarf
Member
Registered: 2023-05-18
Posts: 8

Re: Random full system freezes, have to forcefully shut comptuer down

seth wrote:

There's quite some

May 26 15:54:58 ftbsc kernel:  amdgpu_device_suspend+0x107/0x180 [amdgpu 0323f8491ce43051980d5a5c8bf0138a850d0341]
May 26 15:54:58 ftbsc kernel:  pci_pm_suspend+0x7f/0x170

when you went to S3, but there's no GPU reset or "flip_done timed out"

Cycling back to "it's ryzen", did you try to lock the CPU at processor.max_cstate=1 ?

Haven't tried locking it at 1, nope. I'll give that a shot now.

seth wrote:

Did you see/try https://wiki.archlinux.org/title/Ryzen#Random_reboots about raising the CPU voltage?

I haven't, but I don't see that error in the logs (entirely possible I just missed it). And, anyway, I'm not sure it's even possible, my BIOS is (unfortunately) locked and from a quick search I couldn't find a way out of it.

EDIT: I found this, it's especially interesting because it's about my same laptop. I'm gonna try its solution. It claims that it only happens while it's charging - I'm not so sure of that, to be honest I don't remember, but I don't think so.

Last edited by zaaarf (2023-05-31 21:41:21)

Offline

#14 2023-06-05 21:11:36

zaaarf
Member
Registered: 2023-05-18
Posts: 8

Re: Random full system freezes, have to forcefully shut comptuer down

zaaarf wrote:

Haven't tried locking it at 1, nope. I'll give that a shot now.

That's a nope.

zaaarf wrote:

EDIT: I found this, it's especially interesting because it's about my same laptop. I'm gonna try its solution. It claims that it only happens while it's charging - I'm not so sure of that, to be honest I don't remember, but I don't think so.

Aaand, nope. I did remember to get the log for this one: exhibit 5

It's starting to look kind of bleak. If you don't have any more software suggestions, how can I go about testing my various parts of hardware to identify the source of the error?

Offline

#15 2023-06-06 12:59:24

seth
Member
Registered: 2012-09-03
Posts: 49,981

Re: Random full system freezes, have to forcefully shut comptuer down

Offline

Board footer

Powered by FluxBB