Adding GPU to BTOP display

I am continuing to enjoy Bluefin on a couple of my machines. I did recently discover the BTOP app, and like it as well. I notice that I cannot see my GPU in Bluefin like I can when I have used BTOP in other distros. I read some articles about adding this: rocm-smi to my machine and that will make the GPU appear in BTOP. I have no clue how to do that. I really need step-by-step instructions on what to do as this is above my head a bit. Is there a way to add this component to Bluefin?

I appreciate any help you can provide.

Hey,

It seems you are AMD graphics card user.

By default ROCm System Management Interface (ROCm SMI) Library rocm-smi is not deployed and it’s a pre-requisite for btop to show AMD GPU graph / usage / temp, etc.

You can layer the rocm-smi available in Fedora Packages - rocm-smi with the following command:

rpm-ostree install rocm-smi

and then reboot.

Please keep in mind that ROCm SMI Library is planned to be deprecated, and the release date will be announced soon.

In case you want to remove it, you can use rpm-ostree reset and reboot again.

1 Like

Do note that this removes everything that is layered (like if you also had 1Password layered).
If you only want to remove rocm-smi, you would:

rpm-ostree uninstall rocm-smi
1 Like

If you need rocm-smi then turn on developer mode, though we can move it to the base image if it’s necessary. Much better than putting your machine in an unsupported configuration.

1 Like

Jorge- should I start over on my pc using the dev install option? I did not select that initially as I figured I wouldn’t need those extra capabilities

No need to reinstall. Turn on devmode and you get the goods.

2 Likes

Turned on devmode per the instructions on that page. The PC appeared to download a list of “segments”, I entered the sudo PW several times then rebooted. The gpu still is not appearing in BTOP. Maybe there is a step I missed? Did I have to do anything else after the machine rebooted?

Last I checked the homebrew provided btop doesn’t provide the right library search path to find rocm-smi. I compiled btop locally (in fedora-toolbox-40, IIRC) to get my AMD GPU to appear. Btop and GPU support
I don’t know what’s involved with having Fedora include in btop in the distro but that’s what I’d advocate for if I had unlimited energy.
You could also run nvtop, it provides a bit more detail, but I still run btop daily.