Package Details: rocr-runtime 2.6.0-1

Git Clone URL: (read-only)
Package Base: rocr-runtime
Description: ROCm HSA
Upstream URL:
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:

NorthSailor commented on 2019-08-28 14:44


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 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
@@ -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 \

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
@@ -1,6 +1,6 @@
 # Maintainer: Jakub Okoński <>
 pkgdesc="ROCm HSA"
@@ -9,7 +9,7 @@ license=('unknown')
 makedepends=(git cmake gcc ninja)

 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 linking to rather then 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 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

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/".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff3b78072 in ?? () from /opt/rocm/hsa/lib/
(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 (0x00007ffe009fe000) => /opt/rocm/hsa/lib/ (0x00007f8b19ada000)