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

[BUG] WARNING: Intel GPU: Failed to initialize PMU #942

Open
dontknowhy opened this issue Sep 30, 2024 · 5 comments
Open

[BUG] WARNING: Intel GPU: Failed to initialize PMU #942

dontknowhy opened this issue Sep 30, 2024 · 5 comments
Assignees
Labels
bug Something isn't working

Comments

@dontknowhy
Copy link

Describe the bug
Intel updated their amazing/ugly intel_gpu_top and maybe they messed up btop's GPU detection.
Now I can't see my GPU usage again :(
Unless I always run it with sudo

To Reproduce
Compile it and do some setcap magic.

Expected behavior
It can detect my GPU usage without sudo.

Screenshots

[If applicable, add screenshots to help explain your problem.]

Info (please complete the following information):

  • btop++ version:
btop version: 1.4.0+2e7208d
Compiled with: g++ (14.2.0)
Configured with: make STATIC= FORTIFY_SOURCE=true GPU_SUPPORT=true RSMI_STATIC=
  • Binary: Tried both release binary and self compiled binary (gcc and clang)
  • Architecture: x86_64
  • Platform: Linux
  • (Linux) Kernel: 6.10.11-amd64
  • (OSX/FreeBSD) Os release version:
  • Terminal used: Konsole
  • Font used: Noto Sans Nerd Font

Additional context

2024/09/30 (22:10:13) | ===> btop++ v.1.4.0
2024/09/30 (22:10:13) | DEBUG: Running in DEBUG mode!
2024/09/30 (22:10:13) | INFO: Logger set to DEBUG
2024/09/30 (22:10:13) | DEBUG: Using locale zh_CN.UTF-8
2024/09/30 (22:10:13) | INFO: Running on /dev/pts/2
2024/09/30 (22:10:14) | INFO: Failed to load libnvidia-ml.so, NVIDIA GPUs will not be detected: libnvidia-ml.so.1: 无法打开共享目标文件: 没有那个文件或目录
2024/09/30 (22:10:14) | INFO: Failed to load librocm_smi64.so, AMD GPUs will not be detected: librocm_smi64.so.6: 无法打开共享目标文件: 没有那个文件或目录2024/09/30 (22:10:14) | WARNING: Intel GPU: Failed to initialize PMU
2024/09/30 (22:10:14) | DEBUG: Shared::init() : Initialized.

The Chinese part means: Unable to open shared object: No such file or directory

@dontknowhy dontknowhy added the bug Something isn't working label Sep 30, 2024
@dontknowhy
Copy link
Author

intel-gpu-tools version in Debian testing:

Package: intel-gpu-tools
Version: 1.29-1
Priority: optional
Section: x11
Maintainer: Debian X Strike Force <[email protected]>
Installed-Size: 17.2 MB
Depends: python3, libc6 (>= 2.38), libcairo2 (>= 1.12.0), libdrm-amdgpu1 (>= 2.4.100), libdrm-nouveau2 (>= 2.4.75), libdrm2 (>= 2.4.82), libdw1t64 (>= 0.127), libglib2.0-0t64 (>= 2.36.0), libkmod2 (>= 5~), libpciaccess0 (>= 0.11.0), libpixman-1-0 (>= 0.15.14), libproc2-0 (>= 2:4.0.4), libudev1 (>= 183), libunwind8, libx11-6 (>= 2:1.4.99.1), libxext6, libxv1, zlib1g (>= 1:1.1.4)
Conflicts: xserver-xorg-video-intel (<< 2.9.1)
Homepage: https://01.org/linuxgraphics/
Tag: devel::debugger, hardware::video, implemented-in::c, role::program
Download-Size: 1,672 kB
APT-Manual-Installed: yes
APT-Sources: https://mirrors.ustc.edu.cn/debian testing/main amd64 Packages
Description: tools for debugging the Intel graphics driver
 intel-gpu-tools is a package of tools for debugging the Intel graphics driver,
 including a GPU hang dumping program, performance monitor, and performance
 microbenchmarks for regression testing the DRM.

It can read vram usage now.
DISCLAIMER:I guess Intel has messed up something but I'm NOT sure.

@RudolphSedlin
Copy link

Might I ask if this is a discrete Arc Alchemist card like an A770? Seems like a common thread with another issue I saw.

@dontknowhy
Copy link
Author

Might I ask if this is a discrete Arc Alchemist card like an A770? Seems like a common thread with another issue I saw.

Nope, This is an Iris Xe AlderLake-P. (why not AlderLake-:P)
And I have to say GPU detection works randomly between different builds in the same commit.

@dm17
Copy link

dm17 commented Oct 9, 2024

Might I ask if this is a discrete Arc Alchemist card like an A770? Seems like a common thread with another issue I saw.

Nope, This is an Iris Xe AlderLake-P. (why not AlderLake-:P) And I have to say GPU detection works randomly between different builds in the same commit.

Same here with Alder Lake Iris Xe. However, it does automatically show /dev/fb0 in the custom gpu name0 preference.

@chikobara
Copy link

same here with Iris Xe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants