clbr / radeontop

GNU General Public License v3.0
804 stars 70 forks source link

VRAM on rx480 + amdgpu + kernel 4.9 #46

Closed gsedej closed 7 years ago

gsedej commented 7 years ago

Does VRAM reporting on works on rx480? I just did build radeontop from git.

notice: i am usin ROCm driver

$ sudo ./radeontop 
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 v1.0-4-gba7beb7, running on POLARIS10, 120 samples/sec
$ uname -a
Linux  4.9.0-kfd-compute-rocm-rel-1.5-99 #1 SMP Wed May 31 09:59:28 CDT 2017 x86_64 x86_64 x86_64 GNU/Linux
clbr commented 7 years ago

You need to enable it during the build, see the Makefile.

gsedej commented 7 years ago

in Makefile changing amdgpu ?= 1 did help