[Testing Update] 2022-07-17 - Kernel 5.18, Octopi, Haskell, Python

$ uname -r
5.18.12-3-MANJARO
$ zgrep PSTATE /proc/config.gz
CONFIG_X86_INTEL_PSTATE=y
CONFIG_X86_AMD_PSTATE=m   # why not y?
$ lscpu | grep "cppc"
# nope
$ sudo modprobe amd_pstate
# That works
$ sudo cpupower frequency-info
analyzing CPU 0:
  driver: amd-pstate
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 131 us
  hardware limits: 550 MHz - 4.21 GHz
  available cpufreq governors: conservative ondemand userspace powersave performance schedutil
  current policy: frequency should be within 550 MHz and 4.21 GHz.
                  The governor "schedutil" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 2.55 GHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes
    AMD PSTATE Highest Performance: 166. Maximum Frequency: 4.21 GHz.
    AMD PSTATE Nominal Performance: 142. Nominal Frequency: 3.60 GHz.
    AMD PSTATE Lowest Non-linear Performance: 68. Lowest Non-linear Frequency: 1.72 GHz.
    AMD PSTATE Lowest Performance: 22. Lowest Frequency: 550 MHz.

This path fixed, but why does CONFIG_X86_AMD_PSTATE show m instead y ?
Thanks!

1 Like

It needs to be a module to work, Y means built into the kernel.

4 Likes
[omano@omano-nvme ~]$ cpupower frequency-info 
analyzing CPU 0:
  driver: amd-pstate
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 131 us
  hardware limits: 550 MHz - 4.43 GHz
  available cpufreq governors: conservative ondemand userspace powersave performance schedutil
  current policy: frequency should be within 550 MHz and 4.43 GHz.
                  The governor "schedutil" may decide which speed to use
                  within this range.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 1.37 GHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes
    AMD PSTATE Highest Performance: 166. Maximum Frequency: 4.43 GHz.
    AMD PSTATE Nominal Performance: 135. Nominal Frequency: 3.60 GHz.
    AMD PSTATE Lowest Non-linear Performance: 66. Lowest Non-linear Frequency: 1.76 GHz.
    AMD PSTATE Lowest Performance: 21. Lowest Frequency: 550 MHz.

All good here with latest 5.18 kernel it loads fine on boot now with proper parameters. Great to have it back as my CPU clocks higher (respecting my bios settings) with this amd-pstate driver, it only goes to defaults with acpi-cpufreq.

2 Likes

it’s ok now

uname -a
Linux mjro 5.18.12-3-MANJARO #1 SMP PREEMPT_DYNAMIC Sun Jul 17 14:33:15 UTC 2022 x86_64 GNU/Linux

nvidia-smi
Sun Jul 17 21:26:07 2022       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 515.57       Driver Version: 515.57       CUDA Version: 11.7     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  NVIDIA GeForce ...  Off  | 00000000:07:00.0  On |                  N/A |
|  0%   51C    P8    16W / 201W |    129MiB /  4096MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A       696      G   /usr/lib/Xorg                     122MiB |
|    0   N/A  N/A       856      G   xfwm4                               2MiB |
+-----------------------------------------------------------------------------+

cpupower frequency-info
analyse du CPU 0 :
  driver: amd-pstate
  CPUs which run at the same hardware frequency: 0
  CPUs which need to have their frequency coordinated by software: 0
  maximum transition latency: 131 us
  limitation matérielle : 550 MHz - 4.65 GHz
  régulateurs disponibles : conservative ondemand userspace powersave performance schedutil
  tactique actuelle : la fréquence doit être comprise entre 550 MHz et 4.65 GHz.
                  Le régulateur "schedutil" est libre de choisir la vitesse
                  dans cette plage de fréquences.
  current CPU frequency: Unable to call hardware
  current CPU frequency: 2.95 GHz (asserted by call to kernel)
  boost state support:
    Supported: yes
    Active: yes
    AMD PSTATE Highest Performance: 166. Maximum Frequency: 4.65 GHz.
    AMD PSTATE Nominal Performance: 132. Nominal Frequency: 3.70 GHz.
    AMD PSTATE Lowest Non-linear Performance: 62. Lowest Non-linear Frequency: 1.73 GHz.
    AMD PSTATE Lowest Performance: 20. Lowest Frequency: 550 MHz.

sudo turbostat
turbostat version 21.05.04 - Len Brown <lenb@kernel.org>
CPUID(0): AuthenticAMD 0x10 CPUID levels
CPUID(1): family:model:stepping 0x19:21:0 (25:33:0) microcode 0x0
CPUID(0x80000000): max_extended_levels: 0x80000023
CPUID(1): SSE3 MONITOR - - - TSC MSR - HT -
CPUID(6): APERF, No-TURBO, No-DTS, No-PTM, No-HWP, No-HWPnotify, No-HWPwindow, No-HWPepp, No-HWPpkg, No-EPB
CPUID(7): No-SGX
RAPL: 234 sec. Joule Counter Range, at 280 Watts
/dev/cpu_dma_latency: 2000000000 usec (default)
current_driver: acpi_idle
current_governor: menu
current_governor_ro: menu
cpu7: POLL: CPUIDLE CORE POLL IDLE
cpu7: C1: ACPI FFH MWAIT 0x0
cpu7: C2: ACPI IOPORT 0x414
cpu7: cpufreq driver: amd-pstate
cpu7: cpufreq governor: schedutil
cpufreq boost: 1
1 Like

Thanks a lot @philm to apply the patches to the 5.18.12 Kernel its nice to see its work now again :slight_smile:

1 Like

VeraCrypt is funky due to the update. See error message below.
I get it when it says it’s not a problem to the end user, and it still works fine AFAIK but since it’s on community repository, I consider it relevant.

/build/wxwidgets/src/wxWidgets-3.2.0/src/common/sizer.cpp(2288): assert "CheckSizerFlags(!((flags) & (wxALIGN_RIGHT | wxALIGN_CENTRE_HORIZONTAL | wxALIGN_BOTTOM | wxALIGN_CENTRE_VERTICAL)))" failed in DoInsert(): wxALIGN_RIGHT | wxALIGN_CENTRE_HORIZONTAL | wxALIGN_BOTTOM | wxALIGN_CENTRE_VERTICAL will be ignored in this sizer: wxEXPAND overrides alignment flags in box sizers

DO NOT PANIC !!

If you're an end user running a program not developed by you, please ignore this message, it is harmless, and please try reporting the problem to the program developers.

You may also set WXSUPPRESS_SIZER_FLAGS_CHECK environment variable to suppress all such checks when running this program.

If you're the developer, simply remove this flag from your code to avoid getting this message. You can also call wxSizerFlags::DisableConsistencyChecks() to globally disable all such checks, but this is strongly not recommended.

should I see this update in stable releases?

Check the last announcement

This is the Testing branch thread.

Here is the Stable branch Stable Updates - Manjaro Linux Forum

Here is the Branch Compare site https://packages.manjaro.org

Here is the Manjaro Check Repo application (available in the repositories) patrick / manjaro-check-repos · GitLab

All what’s needed to answer basic questions :slight_smile:

Truecrypt was working perfectly fine and reliable for those being happy with the limited encryption security level truecrypt provided. All newer alternatives have their own issues.