Open RussianNeuroMancer opened 8 years ago
Please try latest git, there was a contribution that changed the -b logic recently.
In git version this is other way around - no VRAM info for iGPU. Do I need to open separate issue about iGPU?
This one is ok.
Please try to see where it fails - add a printf after the drmOpen call, printing the busid string and what drmOpen returned.
Oh, also, does it only fail when starting without -b, or in both cases?
Please try to see where it fails - add a printf after the drmOpen call, printing the busid string and what drmOpen returned.
I am not developer so I have no idea what to do there. I even build radeontop not on my machine but using Launchpad: https://launchpad.net/~russianneuromancer/+archive/ubuntu/ppa
Oh, also, does it only fail when starting without -b, or in both cases?
In both cases.
Maybe someone on an Ubuntu IRC channel can walk you through the steps? I'm afraid I can't.
For what it's worth, monitoring the VRAM usage of two discrete GPUs works fine. So this issue seems limited to the combination of an iGPU and a dGPU. Proof:
# ./radeontop -b 21
could not drmOpen for busid=pci:0000:21:00.0
Failed to open DRM node, no VRAM support.
I added this code to detect.c, after the if() following drmOpen:
else
fprintf(stderr, "could not drmOpen for busid=%s\n", busid);
For reference:
# /opt/amdgpu-pro/bin/clinfo |grep -i 'name:'
Platform Name: NVIDIA CUDA
Platform Name: AMD Accelerated Parallel Processing
Platform Name: NVIDIA CUDA
Name: GeForce GTX 1080 Ti
Name: GeForce GTX 970
Platform Name: AMD Accelerated Parallel Processing
Board name: AMD Radeon Graphics
Name: Ellesmere
# lspci|grep Radeon
21:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X/590] (rev e1)
21:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Ellesmere HDMI Audio [Radeon RX 470/480 / 570/580/590]
# dpkg --get-selections|grep -i drm.*amdgpu
libdrm-amdgpu-amdgpu1:amd64 install
libdrm-amdgpu-common install
libdrm-amdgpu-pro-amdgpu1:amd64 install
libdrm-amdgpu-pro-radeon1:amd64 install
libdrm-amdgpu-radeon1:amd64 install
libdrm-amdgpu1:amd64 install
libdrm-amdgpu1:i386 install
libdrm2-amdgpu:amd64 install
libdrm2-amdgpu-pro:amd64 install
It seems to me you are running an older version of radeontop, please try again with the latest git version
Thanks, that fixed it. The version in Debian Testing is older.
Hi
I have SUMO iGPU and TURKS dGPU. radeontop version is 0.9.
With "radeontop -b 0" there is info about VRAM usage, but with "radeontop -b 1" - not VRAM info at all. Strange thing that I thought it works before year ago or so (at least as I remember).