You are not logged in.
Hi, for people who mine ethereum, this is a must have!
Its possible someone can create a package for it, or its only possible build as new kernel, how about to install as addon? Please let me know!
First need to install latest opencl-amd from AUR: https://aur.archlinux.org/packages/opencl-amd/
Also in manual for AMDGPU-PRO it says: https://support.amd.com/en-us/kb-articl … stall.aspx
Installing the Optional ROCm Component
This AMDGPU-Pro driver package incorporates the ROCm component that can be optionally installed for running Compute/OpenCL applications. You can install the component by issuing the following command:
sudo apt install -y rocm-amdgpu-pro
Now how to install ROCm as component in Arch Linux, it only gives instructions for Ubuntu?
Here is the ROCm official github page.
https://rocm.github.io/install.html
Here I found some few months old post about how to build kernel with rocm on Arch Linux, not sure if works with latest kernel? https://github.com/RadeonOpenCompute/ROCm/issues/117
To compile the kernel:
First, clone the linux-git repo and check out the commit for linux 4.9.0
git clone https://aur.archlinux.org/linux-git.git linux-rocm
cd linux-rocm
git checkout 63b0d79
Then, edit PKGBUILD and rename linux-git.preset to linux-rocm.preset
diff --git a/PKGBUILD b/PKGBUILD
index ae5e7b0..c135a8f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,16 +5,16 @@
# Contributor: misc <tastky@gmail.com>
# Contributor: NextHendrix <cjones12 at sheffield.ac.uk>
-pkgbase=linux-git
-_srcname=linux
-pkgver=4.9.r0.g69973b8
+pkgbase=linux-rocm
+_srcname=ROCK-Kernel-Driver
+pkgver=roc.1.5.0.r0.g757f29e928f0
pkgrel=1
arch=('i686' 'x86_64')
url="http://www.kernel.org/"
license=('GPL2')
makedepends=('xmlto' 'docbook-xsl' 'kmod' 'inetutils' 'bc' 'git' 'libelf')
options=('!strip')
-source=('git+https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git'
+source=('git+https://github.com/RadeonOpenCompute/ROCK-Kernel-Driver.git'
# the main kernel config files
'config' 'config.x86_64'
# standard config files for mkinitcpio ramdisk
diff --git a/linux-git.preset b/linux-rocm.preset
similarity index 100%
rename from linux-git.preset
rename to linux-rocm.preset
Finally, makepkg
makepkg -s
ROCm offers a docker that can be used to try out the userspace tools: https://github.com/RadeonOpenCompute/ROCm-docker
Here are instrucions for Ubuntu: https://bitcointalk.org/index.php?topic … sg21305411
#Install new ROCm Kernel:
wget -qO - http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key | sudo apt-key add -
sudo sh -c 'echo deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main > /etc/apt/sources.list.d/rocm.list'
sudo apt-get update
sudo apt-get install rocm
#edit grub
sudo nano /etc/default/grub
#2MB fragments for Ellesmere are enabled with a grub option:
GRUB_CMDLINE_LINUX="amdgpu.vm_fragment_size=9"
sudo update-grub
sudo reboot
Last edited by !llum1nated (2017-10-27 23:46:53)
Offline
Bump
Offline
Don't do that: https://wiki.archlinux.org/index.php/Co … ct#Bumping
Offline
Is anyone on this? It would be a big help.
Offline
I'm 'on it' as well for many months, but so far utterly failing. Actually, this is just a fancy way of bumping.
Offline
I'm 'on it' as well for many months, but so far utterly failing.
What have you tried so far? How has that failed?
Offline