You are not logged in.

#1 2024-04-24 17:05:41

tonyrai26
Member
From: Greece
Registered: 2024-01-23
Posts: 3

rocm-smi-lib, btop error

I want to install btop-gpu-git(https://aur.archlinux.org/packages/btop-gpu-git) to use but when I try installing it it says it needs rocm-smi-lib install for amd gpus:

[tony@tonyarch ~]$ paru btop
1 extra/btop 1.3.2-1 [0 B 1.53 MiB]
    A monitor of system resources, bpytop ported to C++
2 extra/texlive-bibtexextra 2024.2-1 [6.95 MiB 46.27 MiB] (texlive)
    TeX Live - BibTeX additional styles
3 aur/btop-git 1.3.2.r1032.d168073-1 [+11 ~0.83] [Installed]
    A monitor of resources
4 aur/usbtop 1.0-1 [+10 ~0.01]
    top-like utility that shows an estimated instantaneous bandwidth on USB buses and devices
5 aur/btops-git 0.1.0.r0.g7ecfa08-1 [+3 ~0.00] [Out-of-date: 2024-01-28]
    bspwm desktop management
6 aur/usbtop-git 0.2-1 [+3 ~0.01]
    top-like utility that shows an estimated instantaneous bandwidth on USB buses and devices
7 aur/btop-gpu-git 1.3.0.r875.e15e0b7-1 [+1 ~0.09]
    A monitor of resources compiled with gpu support flags!
8 aur/nbtopy 1.1-1 [+1 ~0.00]
    Converts Jupyter notebook files to Python files
:: Packages to install (eg: 1 2 3, 1-3):
:: 7
:: Resolving dependencies...
:: Calculating conflicts...
:: Calculating inner conflicts...

:: Conflicts found:
    btop-gpu-git: btop-git (btop)  btop-git (btop)  

:: Conflicting packages will have to be confirmed manually

Aur (1)           Old Version  New Version           Make Only
aur/btop-gpu-git               1.3.0.r875.e15e0b7-1  No

:: Proceed to review? [Y/n]: y

:: Downloading PKGBUILDs...
 PKGBUILDs up to date
 nothing new to review
fetching devel info...
==> Making package: btop-gpu-git 1.3.0.r875.e15e0b7-1 (Wed Apr 24 20:03:12 2024)
==> Retrieving sources...
  -> Updating btop-gpu-git git repo...
==> Validating source files with sha512sums...
    btop-gpu-git ... Skipped
==> Making package: btop-gpu-git 1.3.0.r875.e15e0b7-1 (Wed Apr 24 20:03:13 2024)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
  -> Updating btop-gpu-git git repo...
==> Validating source files with sha512sums...
    btop-gpu-git ... Skipped
==> Removing existing $srcdir/ directory...
==> Extracting sources...
  -> Creating working copy of btop-gpu-git git repo...
Cloning into 'btop-gpu-git'...
done.
==> Starting prepare()...
ERROR: Either 'rocm-smi-lib' (for AMD) or 'nvidia-utils' (for Nvidia) must be installed.
==> ERROR: A failure occurred in prepare().
    Aborting...
error: failed to build 'btop-gpu-git-1.3.0.r875.e15e0b7-1': 
error: packages failed to build: btop-gpu-git-1.3.0.r875.e15e0b7-1
[tony@tonyarch ~]$ 

But when I try installing it I get this:

[~]$ sudo pacman -S rocm-smi-lib
resolving dependencies...
looking for conflicting packages...

Package (4)             New Version  Net Change

extra/hsa-rocr          6.0.2-2        3.19 MiB
extra/hsakmt-roct       6.0.0-2        0.27 MiB
extra/rocm-device-libs  6.0.2-1        3.13 MiB
extra/rocm-smi-lib      6.0.2-1        8.38 MiB

Total Installed Size:  14.98 MiB

:: Proceed with installation? [Y/n] y
(4/4) checking keys in keyring                                                                               [----------------------------------------------------------------] 100%
(4/4) checking package integrity                                                                             [----------------------------------------------------------------] 100%
(4/4) loading package files                                                                                  [----------------------------------------------------------------] 100%
(4/4) checking for file conflicts                                                                            [----------------------------------------------------------------] 100%
error: failed to commit transaction (conflicting files)
rocm-smi-lib: /opt/rocm/bin/rocm-smi exists in filesystem
rocm-smi-lib: /opt/rocm/include/oam/amd_oam.h exists in filesystem
rocm-smi-lib: /opt/rocm/include/oam/oam_mapi.h exists in filesystem
rocm-smi-lib: /opt/rocm/include/rocm_smi/kfd_ioctl.h exists in filesystem
rocm-smi-lib: /opt/rocm/include/rocm_smi/rocm_smi.h exists in filesystem
rocm-smi-lib: /opt/rocm/include/rocm_smi/rocm_smi64Config.h exists in filesystem
rocm-smi-lib: /opt/rocm/lib/cmake/rocm_smi/rocm_smi-config-version.cmake exists in filesystem
rocm-smi-lib: /opt/rocm/lib/cmake/rocm_smi/rocm_smi-config.cmake exists in filesystem
rocm-smi-lib: /opt/rocm/lib/cmake/rocm_smi/rocm_smiTargets.cmake exists in filesystem
rocm-smi-lib: /opt/rocm/lib/liboam.so exists in filesystem
rocm-smi-lib: /opt/rocm/lib/liboam.so.1 exists in filesystem
rocm-smi-lib: /opt/rocm/lib/liboam.so.1.0 exists in filesystem
rocm-smi-lib: /opt/rocm/lib/librocm_smi64.so exists in filesystem
rocm-smi-lib: /opt/rocm/libexec/rocm_smi/rocm_smi.py exists in filesystem
rocm-smi-lib: /opt/rocm/libexec/rocm_smi/rsmiBindings.py exists in filesystem
rocm-smi-lib: /opt/rocm/share/doc/rocm_smi/LICENSE.txt exists in filesystem
Errors occurred, no packages were upgraded.

I had tried install rocm-smi-lib in a way in the past ( I don't remember any details).
I use an RX 580 with a R5 5600X

Offline

#2 2024-04-25 09:21:23

Lone_Wolf
Forum Moderator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,971

Re: rocm-smi-lib, btop error

Please post the output of

$ pacman -Qo /opt/rocm/bin/rocm-smi

, see https://wiki.archlinux.org/title/Pacman … )%22_error

Last edited by Lone_Wolf (2024-04-25 09:22:23)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2024-04-25 11:09:35

tonyrai26
Member
From: Greece
Registered: 2024-01-23
Posts: 3

Re: rocm-smi-lib, btop error

  pacman -Qo /opt/rocm/bin/rocm-smi 

Can I just uninstall everything rocm-smi-lib related?

Last edited by tonyrai26 (2024-04-25 11:10:04)

Offline

#4 2024-04-25 15:37:55

Luciddream
Member
From: Greece
Registered: 2014-12-08
Posts: 22

Re: rocm-smi-lib, btop error

tonyrai26 wrote:
  pacman -Qo /opt/rocm/bin/rocm-smi 

Can I just uninstall everything rocm-smi-lib related?

Maybe you have an old version of `opencl-amd` installed (before 2022-10-02), try to remove it. Or update it and ignore `rocm-smi-lib` completely.

Last edited by Luciddream (2024-04-25 15:48:06)

Offline

Board footer

Powered by FluxBB