Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PCM win11 24h2 // PCM ERROR. Exception ERROR: Core: thread_id cannot be larger than 1. #897

Open
yuspensky opened this issue Jan 3, 2025 · 4 comments
Labels

Comments

@yuspensky
Copy link

Hi PCM team,

I am trying to install and run PCM, did following steps:

  1. Compiled MSR driver, did not install it - disabled enforcement of driver signature before booting windows
  2. Compiled PCM using Visual Studio
  3. Put MSR.sys and pcm.exe to C:\Program Files (x86)\PCM and tried to run it. This is what I got:

DEBUG: Setting Ctrl+C done.

Intel(r) Performance Counter Monitor ($Format:%ci ID=%h$)

===== Processor information =====
Hybrid processor : yes
IBRS and IBPB supported : yes
STIBP supported : yes
Spec arch caps supported : yes
Max CPUID level : 32
CPU family : 6
CPU model number : 154
PCM ERROR. Exception ERROR: Core: thread_id cannot be larger than 1.

the same error appears for all pcm commands i tried. Appreciate if you could help me. More info on the system:

Processor 12th Gen Intel(R) Core(TM) i9-12900H, 2500 Mhz, 14 Core(s), 20 Logical Processor(s)
OS Name Microsoft Windows 11 Pro
Version 10.0.26100 Build 26100

@ogbrugge-work
Copy link
Contributor

Hi, you managed to find a bug, I’d ask you to post the output of any command when setting the environment variable PCM_PRINT_TOPOLOGY to 1 and run the command again but this is useless because it fails while trying to determine the topology so it will never print it. I’ll have to add debug output for this and similar cases next week when I am back from vacation. Oh btw happy new year 😉

@rdementi
Copy link
Contributor

rdementi commented Jan 7, 2025

thank you for reporting this issue. We have looked at it together with @ogbrugge-work . @yuspensky Could you please verify if this fix works for you: https://github.com/intel/pcm/tree/push-2025-01-07

@rdementi rdementi added the bug label Jan 7, 2025
@rdementi
Copy link
Contributor

rdementi commented Jan 8, 2025

we have reproduced the issue internally and the fix worked.

@rdementi
Copy link
Contributor

rdementi commented Jan 8, 2025

the fix merged into the master branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants