Syllo / nvtop

GPU & Accelerator process monitoring for AMD, Apple, Huawei, Intel, NVIDIA and Qualcomm
Other
7.95k stars 291 forks source link

AMDGPU RX 6700 XT issue #144

Closed Syllo closed 2 years ago

Syllo commented 2 years ago

I'm on a 5.17.4 kernel with a RX 6700 XT AMD GPU and the output that I get is:

No GPU to monitor.

This is on Ubuntu 22.04 with nvtop_1.2.2-1_amd64.deb. I built from source(123908faff9c8ff4f8cba5ec7d4ba365c42610fc) and I get the same output. Any thing I should run to get output on what's missing on this kernel to get output?

Originally posted by @thomas-zimmerman in https://github.com/Syllo/nvtop/issues/106#issuecomment-1107002739

Syllo commented 2 years ago

@thomas-zimmerman have you install the dependency mentioned in the REAME before building from source? Namely: sudo apt install libdrm-dev

thomas-zimmerman commented 2 years ago

I'm not sure how I missed that; I thought I was following along for the build instructions. The build from master now works. The package in Ubuntu 22.04 (nvtop_1.2.2-1_amd64.deb) still has the issue:

 nvtop
No GPU to monitor.
qubes@pop-os ~/s/n/b/src (master)> which nvtop
/usr/bin/nvtop
qubes@pop-os ~/s/n/b/src (master)> dpkg -S /usr/bin/nvtop
nvtop: /usr/bin/nvtop
qubes@pop-os ~/s/n/b/src (master)> apt show nvtop
Package: nvtop
Version: 1.2.2-1
Priority: optional
Section: multiverse/utils
Origin: Ubuntu
Maintainer: Ubuntu Developers <ubuntu-devel-discuss@lists.ubuntu.com>
Original-Maintainer: Debian NVIDIA Maintainers <pkg-nvidia-devel@lists.alioth.debian.org>
Bugs: https://bugs.launchpad.net/ubuntu/+filebug
Installed-Size: 106 kB
Depends: libc6 (>= 2.34), libncursesw6 (>= 6), libtinfo6 (>= 6)
Homepage: https://github.com/Syllo/nvtop
Download-Size: 43.9 kB
APT-Manual-Installed: yes
APT-Sources: http://us.archive.ubuntu.com/ubuntu jammy/multiverse amd64 Packages
Description: Interactive NVIDIA GPU process monitor
 Nvtop is a ncurses-based GPU monitoring interface which provides information
 on the GPU states (GPU and memory utilization, temperature, etc) and well as
 information about the processes executing on the GPUs.

The build now works:

qubes@pop-os ~/s/n/b/src (master)> ./nvtop --version
nvtop version 2.0.1

This bug can be closed. I'll see if I can get the version in Ubuntu updated for next release. image

Syllo commented 2 years ago

The AMDGPU support was added in v2.0.0, hence it is normal that the package with version 1.2.2 does not show anything for this vendor.

Syllo commented 2 years ago

I consider this resolved since you successfully compiled from source and the package with v2.0.1 has not yet reached the distributions. Feel free to reopen if need be.