Cpupower-gui in openSUSE Tumbleweed?

Hi, does openSUSE Tumbleweed have a GUI for cpupower? I do not see availability in YaST2 so I am curious about how I would see about this.

-Ahoy

https://build.opensuse.org/package/show/multimedia:proaudio/cpupower-gui

2 Likes
  1. How can I verify the content integrity of the cpupower-gui.ymp package correctly?

  2. The link you provided does appear to be a reputable website and so on. Is there a good way to implement checking this sort of thing similar to a sha256sum -b with .iso?

  3. What is the best way to install this package I downloaded onto the machine?

-Thanks for your fast response.

@panorain Add the repo, and accept the key, install the package and then disable the repo…

1 Like

This looks to be the correct repository here: https://downloadcontent.opensuse.org/tumbleweed/repo/oss

Does this look correct to you for what I am looking to do?

Why do you say to disable this repository (if it is the correct one), after adding cpupower? Is this to prevent malicious possibility?

@panorain No, you would use https://download.opensuse.org/repositories/multimedia:/proaudio/openSUSE_Tumbleweed/

zypper ar -f -g -n "download.opesuse.org-multimedia-proaudio" https://download.opensuse.org/repositories/multimedia:/proaudio/openSUSE_Tumbleweed/ Multimedia-Proaudio

zypper ref
zypper in cpupower-gui

zypper mr -d -F Multimedia-Proaudio

It’s disabled so you don’t pull anything that may reside there that is in Tumbleweed, you can check for updates at the link and enable and update as required. Or since you have the repo key installed, can just download and install via zypper the updated rpm…

What is the main purpose for person to add the repository I mentioned (dod x86-64)? I was thinking that cpupower-gui would be located in that repo. I did actually add the repository → [https://downloadcontent.opensuse.org/tumbleweed/repo/os] (I can disable it of course).

Is it spelling instead without quotes:

zypper ar -f -g -n "download.opensuse.org-multimedia-proaudio" https://download.opensuse.org/repositories/multimedia:/proaudio/openSUSE_Tumbleweed/Multimedia-Proaudio

To me it seem odd that repo name containing ‘multimedia-proaudio’ contains cpupower-gui . Why is this, in this instance example?

Thanks

@panorain that is not a valid repository url…

Likely because the Maintainer is the Project Maintainer as well…

Needs a missing space…

zypper ar -f -g -n "download.opensuse.org-multimedia-proaudio" https://download.opensuse.org/repositories/multimedia:/proaudio/openSUSE_Tumbleweed/ Multimedia-Proaudio

The last entry is the Alias.

Ok thanks, very good example of alias from you in this instance. I could see this when I attempt to open link in new browser tab: https://downloadcontent.opensuse.org/tumbleweed/repo/oss/
403 Forbidden

Is this a very good indication that the repository is not valid and not working? If the repo was valid what could I have expected to happen, send to a specific url or something in browser? It seems there are quite a few invalids around perhaps.

@panorain have no idea where you got that link from…

I got link from here: Repositories for openSUSE:Tumbleweed - openSUSE Build Service

@panorain why there, the Tumbleweed repositories needed are already on your system?

I think that I was told to remove the obs (or something because of double package display in YaST2). Please take a look at the current repository selection on this machine when you have a moment. I have attached a screenshot to this message.

Now this is the latest repository and zypper search -i | grep 'cpu' output using zypper in Konsole.

Thinkcentre-M57p:~ # zypper lr -d
#  | Alias                      | Name                                      | Enabled | GPG Check | Refresh | Priority | Type   | URI                                                                                  | Service
---+----------------------------+-------------------------------------------+---------+-----------+---------+----------+--------+--------------------------------------------------------------------------------------+---------
 1 | Games                      | Games                                     | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://download.opensuse.org/repositories/games/openSUSE_Tumbleweed/                 | 
 2 | Multimedia-Proaudio        | download.opensuse.org-multimedia-proaudio | No      | ----      | ----    |   99     | rpm-md | https://download.opensuse.org/repositories/multimedia:/proaudio/openSUSE_Tumbleweed/ | 
 3 | NVIDIA:repo-non-free       | repo-non-free                             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | https://download.nvidia.com/opensuse/tumbleweed/                                     | NVIDIA
 4 | home_pzz                   | home:pzz (openSUSE_Tumbleweed)            | No      | ----      | ----    |   99     | rpm-md | https://download.opensuse.org/repositories/home:/pzz/openSUSE_Tumbleweed/            | 
 5 | libdvdcss2                 | libdvdcss2                                | No      | ----      | ----    |   99     | rpm-md | http://opensuse-guide.org/repo/openSUSE_Tumbleweed/                                  | 
 6 | openSUSE:repo-non-oss      | repo-non-oss                              | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://cdn.opensuse.org/tumbleweed//repo/non-oss                                     | openSUSE
 7 | openSUSE:repo-openh264     | repo-openh264                             | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://codecs.opensuse.org/openh264/openSUSE_Tumbleweed                              | openSUSE
 8 | openSUSE:repo-oss          | repo-oss                                  | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://cdn.opensuse.org/tumbleweed//repo/oss                                         | openSUSE
 9 | openSUSE:repo-oss-debug    | repo-oss-debug                            | No      | ----      | ----    |   99     | N/A    | http://cdn.opensuse.org/debug/tumbleweed//repo/oss                                   | openSUSE
10 | openSUSE:repo-oss-source   | repo-oss-source                           | No      | ----      | ----    |   99     | N/A    | http://cdn.opensuse.org/source/tumbleweed//repo/oss                                  | openSUSE
11 | openSUSE:update-tumbleweed | update-tumbleweed                         | Yes     | (r ) Yes  | Yes     |   99     | rpm-md | http://cdn.opensuse.org/update/tumbleweed/                                           | openSUSE
12 | oss                        | oss                                       | No      | ----      | ----    |   99     | rpm-md | https://downloadcontent.opensuse.org/tumbleweed/repo/oss                             | 
13 | packman-essentials         | packman-essentials                        | Yes     | (r ) Yes  | Yes     |   90     | rpm-md | http://ftp.gwdg.de/pub/linux/misc/packman/suse/openSUSE_Tumbleweed/Essentials        | 
Thinkcentre-M57p:~ # zypper search -i | grep 'cpu'
i  | cpupower                                   | Tools to determine and set CPU Power related Settings                              | package
i  | cpupower-bash-completion                   | Bash completion for cpupower                                                       | package
i+ | cpupower-gui                               | Cpupower-gui is a graphical program to adjust the frequency limits of the cpu      | package
i  | libcpupower1                               | Processor power related C-library                                                  | package
Thinkcentre-M57p:~ #

What is the best method, most readable way to post the above output from Konsole?

@panorain That looks fine, I would only show enabled repositories with the E as in enabled option, so zypper lr -dE

Very well, my question now, turbostat show 4 cores being used. Not inxi or cpupower-gui, see below:

# turbostat
turbostat version 2023.11.07 - Len Brown <lenb@kernel.org>
Kernel command line: BOOT_IMAGE=/boot/vmlinuz-6.7.1-1-default root=/dev/mapper/system-root resume=/dev/system/swap nosimplefb=1 plymouth.enable=0 mitigations=auto
CPUID(0): GenuineIntel 0xd CPUID levels
CPUID(1): family:model:stepping 0x6:17:a (6:23:10) microcode 0xa0b
CPUID(0x80000000): max_extended_levels: 0x80000008
CPUID(1): SSE3 MONITOR - EIST TM2 TSC MSR ACPI-TM HT TM
CPUID(6): APERF, No-TURBO, DTS, No-PTM, No-HWP, No-HWPnotify, No-HWPwindow, No-HWPepp, No-HWPpkg, No-EPB
cpu0: MSR_IA32_MISC_ENABLE: 0x4366952489 (TCC EIST MWAIT PREFETCH No-TURBO)
CPUID(7): No-SGX No-Hybrid
cpu0: cpufreq driver: acpi-cpufreq
cpu0: cpufreq governor: schedutil
/dev/cpu_dma_latency: 16000 usec (constrained)
current_driver: intel_idle
current_governor: menu
current_governor_ro: menu
cpu0: POLL: CPUIDLE CORE POLL IDLE
cpu0: C1ACPI: ACPI FFH MWAIT 0x0
cpu0: Guessing tjMax 100 C, Please use -T to specify
Core    CPU     Avg_MHz Busy%   Bzy_MHz TSC_MHz IPC     IRQ     POLL    C1ACPI  POLL%   C1ACPI% CoreTmp
-       -       605     28.34   2134    2660    0.39    31760   22      41691   0.02    71.72   63
0       0       679     33.49   2028    2660    0.38    5929    4       8484    0.01    66.67   63
1       1       682     33.49   2036    2660    0.39    5932    3       8528    0.01    66.67   54
2       2       591     25.90   2283    2660    0.37    10636   6       12303   0.03    74.03   59
3       3       467     20.49   2277    2660    0.40    9263    9       12376   0.02    79.50   58

inxi -Fxz output displays:

Thinkcentre-M57p:~ # inxi -Fxz
System:
  Kernel: 6.7.1-1-default arch: x86_64 bits: 64 compiler: gcc v: 13.2.1
    Console: pty pts/4 Distro: openSUSE Tumbleweed 20240123
Machine:
  Type: Desktop System: LENOVO product: 9088A83 v: ThinkCentre M57p
    serial: <filter>
  Mobo: LENOVO model: LENOVO serial: N/A BIOS: LENOVO v: 2RKT64BUS
    date: 01/08/2014
CPU:
  Info: quad core model: Intel Core2 Quad Q8400 bits: 64 type: MCP
    arch: Penryn rev: A cache: L1: 256 KiB L2: 4 MiB
  Speed (MHz): avg: 1000 high: 2000 min/max: 2000/2667 cores: 1: 2000
    2: 2000 3: 0 4: 0 bogomips: 21290
  Flags: ht lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx

cpupower-gui says only 2 total cpu: I have attached 2 screenshots of cpupower-gui display/settings. Why only cpupower-gui sees 0 cpu and 1 cpu not 2 cpu and 3 cpu also?


I just toggled cpupower-gui interface All CPUs enabled by default to ON . Perhaps I need lougout or powercycle machine?

Thanks

@panorain are they offline? cat /sys/devices/system/cpu/online

Thinkcentre-M57p:~> cat /sys/devices/system/cpu/online
0-3

@panorain maybe needs a reboot…

Hi, after powercycle logging into KDE seemed to halt. I waited, then ctrl+alt+backspace then system became active. System seemed to halt again after attempting to execute cpupower-gui from menu. cpupower-gui opened and displayed menu. Same display on cpupower-gui menu as before, only 2 cpu’s listed. Outpu from inxi is:

CPU:
Info: quad core model: Intel Core2 Quad Q8400 bits: 64 type: MCP
arch: Penryn rev: A cache: L1: 256 KiB L2: 4 MiB
Speed (MHz): avg: 1047 high: 2155 min/max: 2000/2667 cores: 1: 2155
2: 2033 3: 0 4: 0 bogomips: 21286
Flags: ht lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx

This system came as core2 duo. I installed the Quad (because in manual it show some available with Quad core cpu. Mainboard seems to think it has only 2 cpu now with cpupower-gui installed.