-
Notifications
You must be signed in to change notification settings - Fork 71
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
radeontop - non-root access #61
Comments
The DRM node is /dev/dri/card0 on systems with just one GPU. Otherwise the number might be something else. I don't have the required kernel/libdrm versions at hand, but Ubuntu 18.04 is certainly new enough. I believe the issue for you is that your card is new; only the "radeon" cards currently support non-root querying, your RX card is an "amdgpu" card. That support is in a pull request with some issues, nobody is working on it, and I have no such cards either. |
Hello, I'm using Fedora 29, my graphic card is a Sapphire Radeon RX Vega 64
I also get the same message when running the command without sudo
How can I run the command without sudo? Do I need to configure selinux to allow radeontop to read /dev/drm and /dev/mem? Something like this? or This? |
Your card is also an amdgpu card, and that situation hasn't changed unfortunately. I suppose giving your user read access to /dev/mem would work, but that'd be horribly insecure. |
Thanks for answering. Running with sudo gives this
before it launches something that looks like an ncurses GUI |
Non-root access for amdgpu might work in current git, please try. |
With the amdgpu-pro stack, non-root seems to be working (built v1.2-8-g09d8c0b) |
amdgpu 19.0.1-1 non-root access does not seems to work, im part of the group video and |
For my RX Vega 64s, non-root access does indeed work using amdgpu 19.0.1-1 under Ubuntu 18.04.
I upgraded my kernel using ukuu, though:
|
The README currently states:
Should we add a link from the README to this issue for more details to users to whom running as root is an inacceptable limitation? |
No, this issue will be closed in the future. Non-root support for
amdgpu is now in git.
|
I confirm the support of non-root access using the 20191001 git snapshot.
|
Hi, I just tried building the current git master branch of radeontop on Ubuntu 20.04 to get it to run without root access, and it is now working fine for my GPU (AMD Radeon RX5700 XT) without needing to run |
As per #51 , a community contributor (@franglais125) was adding support for GPU monitoring directly in gnome system monitor (awesome!) - nVidia support was added, but AMD not yet;
radeontop was proven capable to query + parse the necessary information there, however, the problem is that it required root privs.
A comment from @clbr in #51 (comment), indicates:
More details? I'm on latest Ubuntu 18.04 just recently, and still radeontop isn't ready for non-root usage.
(if we run as root of course it works)
How to access "DRM node"?
The text was updated successfully, but these errors were encountered: