Closed spacekookie closed 7 years ago
Your newer card uses the amdgpu driver, not radeon. Radeontop has no support for amdgpu, I'm not sure if amdgpu even exposes a VRAM query, and even if it did, I have no such cards to test with.
In short: patches welcome, but not sure it's possible ATM.
Confirmed on Fiji and Polaris.
I did some investigation into this and it seems that there is a way to get the VRAM usage via Gallium:
GALLIUM_HUD="fps,VRAM-usage,GPU-load" glxgears
I was also able to run Steam games with this by appending it to the run command
GALLIUM_HUD="fps,VRAM-usage,GPU-load" %command%
Long story short: amdgpu exposees VRAM usage :) So if Gallium3D can do it, I would hope so can radeontop
@spacekookie looking into it.
I have it working on Tonga here, pull request incoming.
Hurray :) Awesome! Looking forward to getting the updated version
@spacekookie try #39.
Fixed in git.
@vedranmiletic
I tested it out. It builds but it doesn't seem to be able to pick up vram usage for me (link).
My system is Ubuntu 16.04 with Kernel 4.8-rc1 and I own an R9 380X (which is Tonga). Do you know if there is something else I need to enable to make this work? :/
Did you enable the amdgpu option in the Makefile?
Ah nvm...I didn't lok at the Makefile. It works now. Awesome :) <3 Thanks
When I use radeontop with my HD 7770 (GNC 1.0) it can detect the VRAM usage. When I do it on my R9 380X it tells me "Kernel too old for vram" and doesn't.
I am running Ubuntu 16.04 on Kernel 4.7 for both scenarios. Anything you can do about it?