My system sometimes freezes for up to a minute - ways to diagnose or even solutions? (Lenovo T15g G2, Debian 12)

rhialto

New Member
Joined
Aug 4, 2022
Messages
1
Reaction score
0
Credits
28
Hello there,

last year I bought a Lenovo ThinkPad T15g Gen 2 laptop. Now it came with Windows 10 and I've used that for a few hours to mainly gain performance on some games and applications before I installed Linux.
Between August and November I had used Ubuntu 21.04 (since I was waiting for a newer kernel on Debian which fully supported bluetooth on the Intel AX210 wifi card) and after that installed Debian 12 (Bookworm, current testing version) like I usually do. The issue I am about to describe did not happen on Windows and happened on both Linux distributions.

Sometimes the system freezes. It does not freeze completely since I still can ping the machine and ssh to it when it happens. I still hear sound and I can move the mouse around. But the system does not accept key presses. I think I cannot Magic SysRq, I cannot switch to a virtual terminal and I cannot interact with any windows. The X Server seems to halt, too. The clock in KDE stops ticking and everything stops moving. But like I said, the system does not freeze completely. It's also not permanent. I've never had a full system freeze from which it recovered.
MOST of the time this happens when I start a game on Steam (doesn't matter whether it's native or uses Proton) and it also happens when I try to use wine with any application.

The problem is that I have no idea what's causing this or how to find out what the culprit might be. This system has two M2 drives installed. Is it one of those, i.e. is it maybe just bad firmware? I read that it could happen. Or is this related to the dedicated NVidia RTX 3070 that's in this laptop? I am running it in hybrid mode i.e. X is running on the integrated Intel video card but I can run any application using the dedicated video card.

While this issue is not a dealbreaker (I've been living with this for a year now) since it really mostly happens when I either start a game or an application using wine (it never happens when something is already running). I think I've had some occurrences where it happened for some other reason but those were so rare that I cannot pinpoint to a reason why it happened.

So yeah, does anyone have any ideas how to debug this or even has some suggestions what might be the cause?

Thanks and cheers
 


Oldhabbits

Member
Joined
May 24, 2021
Messages
61
Reaction score
44
Credits
422
Without any logs or system info, it will be hard to tell. Can you publish the output of inxi -Fxxz here please. Also check sudo journalctl -b 0 for any segfaults occuring during the freeze ? Thanks...
 
$100 Digital Ocean Credit
Get a free VM to test out Linux!

Linux.org Hosting Donations
Consider making a donation

Members online


Top