Package Details: rocr-runtime 2.6.0-1

Git Clone URL: https://aur.archlinux.org/rocr-runtime.git (read-only)
Package Base: rocr-runtime
Description: ROCm HSA
Upstream URL: https://github.com/RadeonOpenCompute/ROCR-Runtime
Licenses: unknown
Submitter: farnoy
Maintainer: farnoy
Last Packager: farnoy
Votes: 12
Popularity: 0.787815
First Submitted: 2018-12-21 15:31
Last Updated: 2019-07-14 18:57

Latest Comments

1 2 Next › Last »

ulyssesrr commented on 2019-08-31 01:07

PKGBUILD for v2.7.0: https://gist.github.com/ulyssesrr/f78e5043e29be20224763bd0ddcdf8ed

NorthSailor commented on 2019-08-28 14:44

Hi!

On a clean install system, I tried to install the ROCm runtime by: * Installing roct--thunk-interface * Installing rocr-runtime

The thing is, roct-thunk-interface was (at least in my case) installing libhsakmt.so under /opt/rocm/lib, instead of /opt/rocm/lib64. Therefore I had to make the following change for it to build:

diff --git a/PKGBUILD b/PKGBUILD
index 007d4a7..3673910 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -18,7 +18,7 @@ build() {
         -DCMAKE_INSTALL_PREFIX=$pkgdir/opt/rocm \
         -DCMAKE_PREFIX_PATH=/opt/rocm/libhsakmt \
         -DHSAKMT_INC_PATH=/opt/rocm/include \
-        -DHSAKMT_LIB_PATH=/opt/rocm/lib64 \
+        -DHSAKMT_LIB_PATH=/opt/rocm/lib \
         -G Ninja \
         "$srcdir/ROCR-Runtime-roc-$pkgver/src"
   ninja

It seems to be working fine now.

farnoy commented on 2019-08-07 12:51

@dan_kasak Something is likely to be missing from the packages I build, they never worked as well as the official ones. I'd recommend using docker if you want the fully working setup.

dan_kasak commented on 2019-08-03 03:36

I'm also getting segfaults running clinfo. However I can run some boinc tasks on my GPU. Is there some configuration required, post-installation?

kbeckmann commented on 2019-07-11 17:55

Please update the pkgver to 2.6.0. rocm-opencl-runtime depends on this package with that version. If you need this version, you can apply the following patch in the meantime:

diff --git a/PKGBUILD b/PKGBUILD
index 66df78f..c65d41a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,6 +1,6 @@
 # Maintainer: Jakub Okoński <jakub@okonski.org>
 pkgname=rocr-runtime
-pkgver=2.5.0
+pkgver=2.6.0
 pkgrel=1
 pkgdesc="ROCm HSA"
 arch=(x86_64)
@@ -9,7 +9,7 @@ license=('unknown')
 makedepends=(git cmake gcc ninja)
 depends=('roct-thunk-interface')
 source=("https://github.com/RadeonOpenCompute/ROCR-Runtime/archive/roc-$pkgver.tar.gz")
-sha256sums=("6678bdaf4f6d8ce6e4ed24131f4455c719c0a643c8479f3d69722caa8b4d7187")
+sha256sums=('46636716ef9f222e90cd2f3d54acf9bf50c4088cd55178230628bd195833de88')

 build() {
   mkdir -p "$srcdir/build"

rigred commented on 2019-03-21 12:07

Took me a while to follow up on this. I can confirm it's now working properly again.

Maverick commented on 2019-03-19 00:02

@rigred I had a similar problem with libhsa-runtime64.so linking to libhsakmt.so.2 rather then libhsakmt.so.1. The install was made through trizen. I may have had some older ROCm packages installed which I had deleted later.

I've rebuilt the current rocr-runtime by unpacking and running "makepkg" manually to reproduce the problem and for some reason now it links correctly. Maybe there was some residual in the trizen build directory? o.O Unfortunately I can not reproduce the problem any more..

farnoy commented on 2019-03-18 16:37

Do you have some residuals from another installation? I haven't packaged anything that would provide OpenCL on top of ROCm, so I have no idea why libhsa-runtime64.so would be linked&used.

chrido commented on 2019-03-18 15:15

I get a segfault when I run rocminfo or clinfo. It seems to come from libhsa-runtime64.so.1.

Any hints?

laptop :: ~ » clinfo
[1]    8320 segmentation fault (core dumped)  clinfo
laptop :: ~ » gdb clinfo                                                                                                            139 ↵
GNU gdb (GDB) 8.2.1
(gdb) r
Starting program: /usr/bin/clinfo 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/usr/lib/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff3b78072 in ?? () from /opt/rocm/hsa/lib/libhsa-runtime64.so.1
(gdb) q

farnoy commented on 2019-03-16 15:16

@ulyssesrr I'm updating all the packages and switching to tarballs instead of git. Thanks for the help.

@rigred I found the issue you experienced. It was because I did not define a parameter they recommend in their README: CMAKE_PREFIX_PATH=/opt/rocm/libhsakmt. I will push the change out soon as it fixes the issue for me:

$ ldd /opt/rocm/bin/rocminfo
    linux-vdso.so.1 (0x00007ffe009fe000)
    libhsa-runtime64.so.1 => /opt/rocm/hsa/lib/libhsa-runtime64.so.1 (0x00007f8b19ada000)
...