Open evg-tyurin opened 6 years ago
Like the warning says, that build of radeontop does not include amdgpu support. On many kernels, that only restricts VRAM usage reporting, and you'd still have the percentages, but Ubuntu disables the direct access radeontop falls back on IIRC. So please ask whoever built that package to enable amdgpu support.
That may not be enough on Ubuntu kernels due to the restriction mentioned, as the amdgpu non-root code is not complete, it's in an open pull request with some issues.
fwiw, everything works for me on Radeon RX470 Ubuntu 18.04
except VRAM usage -- but the tool itself works
fermulator@fermmy:~$ sudo radeontop
[sudo] password for fermulator:
amdgpu DRM driver is used, but amdgpu VRAM size reporting is not enabled
amdgpu DRM driver is used, but amdgpu VRAM usage reporting is not enabled
Failed to get VRAM usage, kernel likely too old
Collecting data, please wait....
radeontop unknown, running on POLARIS10, 120 samples/sec
│
Graphics pipe 5.83% │
──────────────────────────────────────────────────────────────────────────────────────────────────────────┼────────────────────────────────────────────────────────────────────────────────────────────────────────
Event Engine 0.00% │
│
Vertex Grouper + Tesselator 0.00% │
│
Texture Addresser 2.50% │
│
Shader Export 5.00% │
Sequencer Instruction Cache 0.00% │
Shader Interpolator 5.00% │
│
Scan Converter 5.00% │
Primitive Assembly 0.00% │
│
Depth Block 5.00% │
Color Block 5.00% │
│
fermulator@fermmy:~$ cat /etc/issue
Ubuntu 18.04 LTS \n \l
fermulator@fermmy:~$ uname -a
Linux fermmy 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux
$ dpkg --list | egrep "radeontop|amdgpu|libdrm-amdgpu"
ii libdrm-amdgpu1:amd64 2.4.91-2 amd64 Userspace interface to amdgpu-specific kernel DRM services -- runtime
ii libdrm-amdgpu1:i386 2.4.91-2 i386 Userspace interface to amdgpu-specific kernel DRM services -- runtime
ii radeontop 1.0-1 amd64 Utility to show Radeon GPU utilization
ii xserver-xorg-video-amdgpu 18.0.1-1 amd64 X.Org X server -- AMDGPU display driver
fwiw
fwiw
fwiw, everything works for me on Radeon RX470 Ubuntu 18.04
except VRAM usage -- but the tool itself works
fermulator@fermmy:~$ sudo radeontop [sudo] password for fermulator: amdgpu DRM driver is used, but amdgpu VRAM size reporting is not enabled amdgpu DRM driver is used, but amdgpu VRAM usage reporting is not enabled Failed to get VRAM usage, kernel likely too old Collecting data, please wait....
radeontop unknown, running on POLARIS10, 120 samples/sec │ Graphics pipe 5.83% │ ──────────────────────────────────────────────────────────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────── Event Engine 0.00% │ │ Vertex Grouper + Tesselator 0.00% │ │ Texture Addresser 2.50% │ │ Shader Export 5.00% │ Sequencer Instruction Cache 0.00% │ Shader Interpolator 5.00% │ │ Scan Converter 5.00% │ Primitive Assembly 0.00% │ │ Depth Block 5.00% │ Color Block 5.00% │ │
fermulator@fermmy:~$ cat /etc/issue Ubuntu 18.04 LTS \n \l fermulator@fermmy:~$ uname -a Linux fermmy 4.15.0-20-generic #21-Ubuntu SMP Tue Apr 24 06:16:15 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux $ dpkg --list | egrep "radeontop|amdgpu|libdrm-amdgpu" ii libdrm-amdgpu1:amd64 2.4.91-2 amd64 Userspace interface to amdgpu-specific kernel DRM services -- runtime ii libdrm-amdgpu1:i386 2.4.91-2 i386 Userspace interface to amdgpu-specific kernel DRM services -- runtime ii radeontop 1.0-1 amd64 Utility to show Radeon GPU utilization ii xserver-xorg-video-amdgpu 18.0.1-1 amd64 X.Org X server -- AMDGPU display driver
Same problem here, even tried to build it from source.
I've installed radeontop 1.0 deb package from launchpad.net. When I ran it reports
amdgpu DRM driver is used, but amdgpu VRAM size reporting is not enabled amdgpu DRM driver is used, but amdgpu VRAM usage reporting is not enabled Failed to get VRAM usage, kernel likely too old Collecting data, please wait....
After that it shows all zeros.
I've checked all dependencies and they're ok.
libc6/xenial-updates,xenial-security,now 2.23-0ubuntu10 amd64 [installed] libc6-dbg/xenial-updates,xenial-security,now 2.23-0ubuntu10 amd64 [installed] libc6-dev/xenial-updates,xenial-security,now 2.23-0ubuntu10 amd64 [installed] libc6-dev-i386/xenial-updates,xenial-security,now 2.23-0ubuntu10 amd64 [installed,automatic] libc6-dev-x32/xenial-updates,xenial-security,now 2.23-0ubuntu10 amd64 [installed,automatic] libc6-i386/xenial-updates,xenial-security,now 2.23-0ubuntu10 amd64 [installed,automatic] libc6-x32/xenial-updates,xenial-security,now 2.23-0ubuntu10 amd64 [installed,automatic] libdrm2/now 2.4.76-1~ubuntu16.04.1 amd64 [installed,upgradable to: 2.4.83-1~16.04.1] libncurses5/xenial,now 6.0+20160213-1ubuntu1 amd64 [installed] libncurses5-dev/xenial,now 6.0+20160213-1ubuntu1 amd64 [installed] libpciaccess0/xenial,now 0.13.4-1 amd64 [installed] libtinfo5/xenial,now 6.0+20160213-1ubuntu1 amd64 [installed] libxcb-dri2-0/xenial,now 1.11.1-1ubuntu1 amd64 [installed] libxcb1/xenial,now 1.11.1-1ubuntu1 amd64 [installed] libxcb1-dev/xenial,now 1.11.1-1ubuntu1 amd64 [installed,automatic]
My configuration is described in #54