Thinpad T14 with AMD Ryzen CPU freezes when idle

Hi,

I would like to ask for your help!

I have a Lenovo ThinkPad T14 Gen2 laptop with AMD Ryzen 7 pro 5850U CPU which I have been using since the end of 2022. Something like 6 months ago (or maybe 10, I really can’t remember) it randomly started to freeze. It freezed completely and had to push the power button for 5-10 secs to turn off the laptop. I tried to look for the cause in the journal file in dom0 but I did not find anything, even using loglvl=all guest_loglvl=all kernel parameters on startup.

After that I slowly started to recognize that the freezes are not random, it happens when the system was idle. Typical circumstances when the system freezes:

  • after boot when waiting for the LUKS password (it is especially bad, when the laptop itself is cold, like going into the office from outside in winter. In those cases sometimes I do not have enough time to type in my password)
  • at the login screen when waiting for the user password
  • when I just leave the laptop turned on after I finished my work
  • reading a static website
  • watching the Sensor Viewer

Interestingly the system does not freeze:

  • when I have a Windows VM on (I do not even have to log in, just start one)
  • when I boot from a Windows installer USB
  • when I tried Ubuntu Studio live USB
  • before loading the linux kernel

However it freezed every single time:

  • when I tried with Tails live USB
  • when I tried Qubes 4.3 installer

I am ready to buy a new laptop if this is a hardware error, however I would like to understand first if this is a hardware error and if so is it a replaceable one like memory. I would appreciate if someone could help me to diagnose the problem.

Thanks
Monty

Relevant ?

Run https://www.memtest86.com/ on it and see if any memory errors are detected. You may have a hardware problem on your hands but replacing the machine may not be necessary, just the memory modules.

I’m not sure, but don’t think so. My screen doesn’t goes blank, just freezes and there is no entry in the journal. It is like the whole system just stops working.

I made the memory test, also made Lenovo’s built in memory test and none of them raised any issues.

Nice that memtest didn’t find any problems. :slight_smile:

As I recall, some of the Lenovo Thinkpads with AMD CPUs got memory soldered to the mainboard – in that case, a faulty memory module could require a new mainboard … :-/

:slight_smile:

Check BIOS for igfx turbo/power save. It made me such problem on intel igfx with modesetting driver and iris dri.