Skip to content

pcm-power: improve the error message to indicate that the client CPU can't be supported #812

Open

Description

@bjorn3
$ cat /proc/cpuinfo | head -5
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 154
model name      : 12th Gen Intel(R) Core(TM) i7-12650H

This happens both with the version in the Debian repos as well as the latest commit on the master branch (db66fd7) build from source. The pcm command works fine though.

Activity

  1. rdementi commented on Aug 13, 2024

    @rdementi
    Contributor

    this is a known limitation for your CPU: https://github.com/intel/pcm/blob/master/doc/FAQ.md#q5

  2. bjorn3 commented on Aug 13, 2024

    @bjorn3
    Author

    I see. Would it be possible to improve the error message to indicate that the hardware can't be supported at all rather than just missing an implementation in pcm?

  3. rdementi commented on Aug 13, 2024

    @rdementi
    Contributor

    that is a good idea

  4. changed the title [-]pcm-power exits with "Unsupported processor model (151)"[/-] [+]pcm-power: improve the error message to indicate that the client CPU can't be supported[/+] on Aug 13, 2024
  5. bjorn3 commented on Aug 13, 2024

    @bjorn3
    Author

    By the way https://gitlab.freedesktop.org/pipewire/pipewire/-/issues/4115 mentions that there is a way to diagnose why the package C state doesn't go below C3 that works on laptops. I couldn't find the documentation it referred to. Instead I came across this tool, which I hoped would be useful. Do you happen to know what documentation was referred to or how to diagnose this issue?

  6. rdementi commented on Aug 13, 2024

    @rdementi
    Contributor

    c-states should be still shown on your processor in the main pcm tool. A recent example: #811

  7. rdementi commented on Aug 13, 2024

    @rdementi
    Contributor

    image

  8. bjorn3 commented on Aug 13, 2024

    @bjorn3
    Author

    I see that it doesn't reach beyond package C3, just like I saw in powertop, but that is not helpful for figuring out why it doesn't reach beyond package C3. All P cores are in C7 the fast majority of the time and all E cores are in C6 the fast majority of the time, so I think it is either a kernel misconfiguration or some hardware that needs to be shutdown, but I don't know which of the two it is and which config/device is at fault. I hoped that pcm-power or some other program could tell me which of these it is.

  9. rdementi commented on Aug 14, 2024

    @rdementi
    Contributor

    I am afraid pcm-power is not going to help you but you can read more about package c6 states and conditions of entering package c6 state for 12th gen core processors here (e.g. the on-package graphics core needs to be powered down): https://edc.intel.com/content/www/us/en/design/ipla/software-development-platforms/client/platforms/alder-lake-desktop/12th-generation-intel-core-processors-datasheet-volume-1-of-2/001/package-c-states/

  10. hardikkaurani commented on Oct 19, 2026

    @hardikkaurani
    Contributor

    I have submitted a PR addressing this in #1060.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions