I get the same errors on Ubuntu 23.10, kernel 6.5.0-10-generic, but the CPU is an i7-12700, so the problem doesn't seem limited to 13th generation CPUs.
-- You received this bug notification because you are a member of Kernel Packages, which is subscribed to linux in Ubuntu. https://bugs.launchpad.net/bugs/2043320 Title: perf top error: "The cycles:P event is not supported" on 13th gen / raptor lake Status in linux package in Ubuntu: Confirmed Bug description: `perf top` immediately fails to start for me, 6.5 on i9-13900kf, with the error: The cycles:P event is not supported. `perf record` and `perf stat` appear to work fine, including `perf stat` showing the two different sets of counters for cpu_core and cpu_atom. Looking at strace, it appears that `perf top` is fails to fallback to lower fidelity events on the "efficiency" cores (16+ for me), while this process happens automatically for `record` and `stat`. `perf top -C0` (which should exclude the efficiency cores) and `perf top -e cpu_core/cycles/` (which should also exclude the efficiency cores, as I understand the docs) seem to fail in the same way. top's retry has a higher `sample_freq`, `mmap`, `comm`, `mmap2`, `comm_exec`, `ksymbol`, and `bpf_event`, but the reduced precise_ip it's trying for, and still gets an EINVAL. ProblemType: Bug DistroRelease: Ubuntu 23.10 Package: linux-tools-common 6.5.0-10.10 ProcVersionSignature: Ubuntu 6.5.0-10.10-generic 6.5.3 Uname: Linux 6.5.0-10-generic x86_64 ApportVersion: 2.27.0-0ubuntu5 Architecture: amd64 CRDA: N/A CasperMD5CheckResult: pass Date: Sun Nov 12 15:04:21 2023 Dependencies: lsb-release 12.0-2 InstallationDate: Installed on 2023-09-30 (43 days ago) InstallationMedia: Ubuntu 23.10 "Mantic Minotaur" - Beta amd64 (20230919.1) MachineType: {report['dmi.sys.vendor']} {report['dmi.product.name']} PackageArchitecture: all ProcFB: 0 amdgpudrmfb ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-6.5.0-10-generic root=UUID=54b402d8-c4e2-49c1-969b-640c2fe5e55f ro PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon. RelatedPackageVersions: linux-restricted-modules-6.5.0-10-generic N/A linux-backports-modules-6.5.0-10-generic N/A linux-firmware 20230919.git3672ccab-0ubuntu2.1 SourcePackage: linux UpgradeStatus: No upgrade log present (probably fresh install) dmi.bios.date: 09/08/2023 dmi.bios.release: 14.2 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 1402 dmi.board.asset.tag: Default string dmi.board.name: TUF GAMING Z790-PLUS WIFI dmi.board.vendor: ASUSTeK COMPUTER INC. dmi.board.version: Rev 1.xx dmi.chassis.asset.tag: Default string dmi.chassis.type: 3 dmi.chassis.vendor: Default string dmi.chassis.version: Default string dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr1402:bd09/08/2023:br14.2:svnASUS:pnSystemProductName:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnTUFGAMINGZ790-PLUSWIFI:rvrRev1.xx:cvnDefaultstring:ct3:cvrDefaultstring:skuSKU: dmi.product.family: To be filled by O.E.M. dmi.product.name: System Product Name dmi.product.sku: SKU dmi.product.version: System Version dmi.sys.vendor: ASUS To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/linux/+bug/2043320/+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