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.
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.
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 … :-/
As the system freezes with tails and as the symptoms got worse if the system is cold, i would recommend using memtest and letting that run for 3 days if you can afford it.
Not to blame lenovos buildin RAM testing, but it is so bazingly fast that i doubt the results compared to a multi day memtest run.
Hello, I have the same problem but different Thinkpad series. I have the exact same CPU. It was more noticeable around the time Qubes 4.3 released. I then decided to have a fresh install from 4.2 to 4.3 but still happens.
It is not consistent as I am able to leave my system idle but it has become more frequent. Additionally may not be relevant but I notice a new problem where my display goes blank and restarts randomly. Journalctl does not show anything anything for both problems. Did you figure out what happened?
Same issue with my P14s Gen2 AMD, which has the same mainboard and cpu. Reproducable with Xubuntu or Windows.
Seems like an “production error” with that cpu and/or chipset?!
What Thinkpad / model and which BIOS Version? Please as precise as possible
My P14s AMD Gen 2 (21A1) still freezes with BIOS 1.33.
As it didn’t froze in the Qubes Installer (idle for about 2h) as before (max 15min idle in the Installer and 100% freeze), I was already euphoric, just to end up frozen after a few minutes idle on the Qubes Desktop.
Okay, after installing Qubes 4.3 with Option “… latest Kernel” and Debian as default instead of Fedora, the Thinkpad had no freeze for about 1-2h just idle with firefox open, without any updates.
Now I updated to R4.3.1-rc1 and Kernel 6.19.14-1 and leave it idle for some more time … keep fingers crossed!
I don’t think so … for me the issue started after more then 3 years without any problems, something changed. The mentioned bug exists for 6 years. And with Windows (and Ubuntu) my Device had the exact same idle freezes.
Over 4h idle and no freeze yet. I continue testing …
After 15h sleep/standby the P14s resumed as it should and still had no idle freeze!!! I rebooted (willingly ^^) to check BIOS and saw that I had set the UMA Frame Buffer to 4GB instead of Auto. I reduced that to 2GB and still no freezes. I don’t think that matters, just to be sure and to document all settings/changes.
The P14s drains around 1-2% per hour while sleeping, but still much better then my E16 G3 with 4-5% (>48h vs max 24h standby). Thought it was better, but I’m maybe just confusing things.