radeon-profile icon indicating copy to clipboard operation
radeon-profile copied to clipboard

No GPU Usage Information

Open nschepsen opened this issue 7 years ago • 14 comments

Hello,

I've compiled this app, but there is no gpu usage information. My config is:

Kubuntu 14.04 AMD 7950 glxinfo - installed xdriinfo - installed xrandr - installed

gpu

Thanks

nschepsen avatar Oct 01 '17 10:10 nschepsen

Same issue here:

no_gpu_usage

Snowman3456 avatar Oct 02 '17 03:10 Snowman3456

Duplicate of #70

bugz8unny69 avatar Oct 02 '17 23:10 bugz8unny69

No, it is not, I have no entry shows me the GPU usage, the other guy has it, but it shows 0,0 %.

nschepsen avatar Oct 03 '17 14:10 nschepsen

In regards to @Enigma0, I would refer you to issue #70 to track progress as I am currently doing.

@NSchepsen I'll compile the latest version here on my RX480 and report back in regards to the icon not showing up. Frankly, to be quite honest with you as many have already reported, GPU usage is currently broken.

EDIT: It works here and looking over your glxinfo output, It seems glxinfo from Kubuntu doesn't support -B: brief output, print only the basics. It's a cosmetic bug.

bugz8unny69 avatar Oct 14 '17 01:10 bugz8unny69

@lhorace - Am I missing something? How does the output of glxinfo -B give you GPU usage info...?

I also have this problem. I'm on Ubuntu 16.04.4 LTS, 4.13 kernel, RX 580, Mesa 17.3.2 from Padoka stable PPA

Everything else works fine, and I can scrape GPU usage like this:

sudo grep -i load /sys/kernel/debug/dri/0/amdgpu_pm_info
~$ sudo grep -i load /sys/kernel/debug/dri/0/amdgpu_pm_info
GPU Load: 100 %

mainmachine avatar Mar 08 '18 20:03 mainmachine

@mainmachine In regards to the original OP's issue, his distribution of glxinfo thrown a glxinfo usage error because he is missing -B. Additionally, his GPU Usage icon is missing, and I don't know his glxinfo is the cause for it.

As far as GPU usage is concerned, that's still broken, originally radeon-profile was stating /sys/kernel/debug/dri/0/amdgpu_pm_info for GPU usage but unfortunately as a side effect, it caused stutter in 3D games. Last I read, the developer was still having issues greping GPU usage via libdrm and I haven't seen much commits from him in awhile now.

See #54 and https://bugs.freedesktop.org/show_bug.cgi?id=101182

bugz8unny69 avatar Mar 11 '18 11:03 bugz8unny69

@lhorace - thanks, makes sense now. :)

mainmachine avatar Mar 13 '18 19:03 mainmachine

@lhorace

Hi,

Thank you for your summary of GPU usage problem. I have been trying to get Radeon Profile to run on Ubuntu 16.04LTS with AMDGPU/PRO 18.10 drivers and ROCm install. I installed rocm-smi as well but it does not report GPU Utilization.

I tried Radeon Profile GUI - which I think AMD should point to since they do not provide a GUI in Ubuntu 16.04 LTS for 2 years.

I had a few problems getting the correct version of Qt installed and a few other compile issues, however I show it running here: https://youtu.be/iro19Yldd2Y?t=135

Reading https://github.com/marazmista/radeon-profile/issues/70 It looks like a new Linux kernel patch will be released to expose GPU usage information in future:

"A patch has been submitted to expose GPU usage via Sysfs: https://lists.freedesktop.org/archives/amd-gfx/2018-June/023283.html It would likely appear in Linux 4.19. --"

Bye.

colesdav avatar Aug 20 '18 11:08 colesdav

Fixed in commit e870733ed0a1ba4ca8bfb0cefd7cec979ee26413

marazmista avatar Jan 27 '19 13:01 marazmista

Problem persists for me on latest git (RX580 for reference). I didn't have it a couple months ago. Fresh install on ef512eb I noticed this issue. Just updated to c29341c to fix the fan rpm issue and the gpu usage problem persists. Both the icon on the 'Summary' is missing, and also there is no option to add Gpu utilization on the graphs tab.

I get the correct info from sys/kernel/debug/dri/0/amdgpu_pm_info. Ubuntu 18.04, with kernel 4.18.0-15-generic and oibaf ppa.

Podesta avatar Feb 25 '19 11:02 Podesta

@Podesta same here on an RX460

Using radeon-profile 20190311, and radeon-profile-daemon 20190309.

glutanimate avatar Jun 02 '19 16:06 glutanimate

Small update on the issue. Awhile back, not sure when, the gpu usage information came back to the property list, maybe after a kernel update. But the bar/graph at the top is still missing (only shows vram usage and fan speed). I cal also add it to the graph tab now.

Podesta avatar Sep 03 '19 00:09 Podesta

@Podesta Is this still relevant? Are you able to add the CPU usage pie chart manually: Configuration > General > User interface > Configure top bar > Add > GPU usage (as a pie)

Oxalin avatar Feb 04 '20 06:02 Oxalin

@Oxalin Sorry, I won't have access to machine with the AMD card for a few months. I'll update as soon as I can, but of somebody else could try it would be better.

Podesta avatar Mar 01 '20 12:03 Podesta