clbr / radeontop

GNU General Public License v3.0
789 stars 69 forks source link

Cannot access GPU registers #109

Closed physkets closed 3 years ago

physkets commented 3 years ago

Using sudo or a root account gives me the same message as when using a non-root account:

Cannot access GPU registers, are you root?

I'm using an AMD Ryzen 7 PRO 4750U with integrated Radeon Graphics. Is that not supported?

clbr commented 3 years ago

Your distro may be blocking the access, as mentioned in the README.

clbr commented 3 years ago

That is why root access didn't work, that is. Why the other paths failed, I don't know. If there were no other error messages prior to that, it'd be up to you to find out, you have the hw.

physkets commented 3 years ago

I'm using Arch Linux, and installed thus using the build-script in the AUR.

The integrated graphics card is pretty new: Vega 7, and I'm using the driver that's part of the Linux kernel. Nothing external or proprietary.

There were no other error messages. How do I find out what the issue is?

clbr commented 3 years ago

You'd need to add printfs to track what happened, start in detect.c amdgpu path.

physkets commented 3 years ago

Okay, never mind; I was using v1.2, and after building the current git version, it works.