Digging the Internet I reached some posts/bugs that talked about a problem with some amd cpu that hard time getting out of C6 power state.
So I applied one of the suggested workaround that is: prevent cpu to enter C6 state so it won't have problem to exit ^^ For this purpose is used cpupower, more precisely I used this command: cpupower idle-set --disable-by-latency 350 before I ran this command, cpupower moniter résulted in: | Mperf || Idle_Stats CPU| C0 | Cx | Freq || POLL | C1 | C2 | C3 0| 0,07| 99,93| 1429|| 0,00| 0,00| 0,00| 99,86 nearly the same for other cores I guess it means that all cores can sleep down as much as possible… after the command, cpupower moniter résulted in: | Mperf || Idle_Stats CPU| C0 | Cx | Freq || POLL | C1 | C2 | C3 0| 0,07| 99,93| 1429|| 0,00| 0,00| 99,91| 0,00 nearly the same for other cores It seems cores can't sleep as much as before. I've not really understood what the C6 state is and what the mapping with those Cx shown by cpupower is (max for cpupower is C4). So far, cpupower idle-set --disable-by-latency 350 seems to do a good job preventing the cpu to go to far in sleeping state. Nearly one full day without a freeze makes my computer usable. Some questions please: - any help to understand the C6/Cx mapping? - is it a software problem (bug in the kernel like I'm guessing and I can hope for a fix) or a hardware problem and I should send the computer back to the manufacturer? - I'm on laptop, how to evaluate the impact on the battery usage? Many thanks -- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux-signed-hwe-5.19 in Ubuntu. https://bugs.launchpad.net/bugs/2020656 Title: system freeze (cpu fan goes high) Status in linux-signed-hwe-5.19 package in Ubuntu: New Bug description: More than once a day the system totally freeze. CPU fan then goes higher and higher. Does not seem to be related to system load as yesterday it happend during lunch break. Today's journalctl -b -1 last message is mai 24 11:50:06 ThinkPad-P14s kernel: watchdog: BUG: soft lockup - CPU#9 stuck for 167s! [opt ax7ixzwwoey:158586] There are many more of the same kind just before $ lsb_release -rd Description: Ubuntu 22.04.2 LTS Release: 22.04 $ apt-cache policy linux-image-5.19.0-42-generic linux-image-5.19.0-42-generic: Installé : 5.19.0-42.43~22.04.1 Candidat : 5.19.0-42.43~22.04.1 Table de version : *** 5.19.0-42.43~22.04.1 500 500 http://fr.archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages 500 http://security.ubuntu.com/ubuntu jammy-security/main amd64 Packages 100 /var/lib/dpkg/status Note this problem was present before last kernel updates ProblemType: Bug DistroRelease: Ubuntu 22.04 Package: linux-image-5.19.0-42-generic 5.19.0-42.43~22.04.1 ProcVersionSignature: Ubuntu 5.19.0-42.43~22.04.1-generic 5.19.17 Uname: Linux 5.19.0-42-generic x86_64 ApportVersion: 2.20.11-0ubuntu82.4 Architecture: amd64 CasperMD5CheckResult: pass CurrentDesktop: ubuntu:GNOME Date: Wed May 24 12:00:08 2023 InstallationDate: Installed on 2023-03-25 (59 days ago) InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223) ProcEnviron: TERM=alacritty PATH=(custom, no user) XDG_RUNTIME_DIR=<set> LANG=fr_FR.UTF-8 SHELL=/bin/bash SourcePackage: linux-signed-hwe-5.19 UpgradeStatus: No upgrade log present (probably fresh install) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux-signed-hwe-5.19/+bug/2020656/+subscriptions -- Mailing list: https://launchpad.net/~kernel-packages Post to : kernel-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~kernel-packages More help : https://help.launchpad.net/ListHelp