Radeon AMD Beta Blockchain Driver for Ubuntu Linux

In my previous post outlining tips about smart contract deployment using parity and truffle, I mentioned I’ll be passing along a bit of mining news in this post.  AMD has finally released their block chain specific drivers for Linux, on order to overcome growing memory sizes for memory hard mining algorithms.  This will be an extremely short post explaining how to do the upgrade, since it’s almost trivial.

The install

First install the new software:

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

Next add GRUB_CMDLINE_LINUX="amdgpu.vm_fragment_size=9" to the grub file:

sudo vim  /etc/default/grub
GRUB_CMDLINE_LINUX="amdgpu.vm_fragment_size=9"
sudo update-grub 

and reboot.

Hash Rate

We experienced a ~2 Mh/s increase on each GPU after installing this new driver, which seems to be what everyone else is getting as well.  As of now there doesn’t appear to be any drawbacks associated with this new driver, so give it a shot!

Notes

A couple things to note.  When I did this install, I thought it was replacing the amdgpu-pro drivers we installed in this tutorial.  So I un-installed them before the reboot.  This is not correct.  The rocm package is a kernel level component for the entire amdgpu-pro driver package, not a replacement.

That’s all for now! as I said, this one would be short.  Next time I plan on discussing some tweaks we’ve made to our operating system, and why we made them.  Until then!

Advertisements

One thought on “Radeon AMD Beta Blockchain Driver for Ubuntu Linux

  1. öhm you should try it ….

    root@rick:~# wget -qO – http://repo.radeon.com/rocm/apt/debian/rocm.gpg.key | sudo apt-key add –
    OK
    root@rick:~# sudo sh -c ‘echo deb [arch=amd64] http://repo.radeon.com/rocm/apt/debian/ xenial main > /etc/apt/sources.list.d/rocm.list’
    root@rick:~# sudo apt-get update
    Holen:1 file:/var/opt/amdgpu-pro-local ./ InRelease
    Ign:1 file:/var/opt/amdgpu-pro-local ./ InRelease
    Holen:2 file:/var/opt/amdgpu-pro-local ./ Release [814 B]
    Holen:2 file:/var/opt/amdgpu-pro-local ./ Release [814 B]
    Holen:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
    Ign:3 file:/var/opt/amdgpu-pro-local ./ Release.gpg
    Holen:4 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
    OK:5 http://de.archive.ubuntu.com/ubuntu xenial InRelease
    Holen:6 http://repo.radeon.com/rocm/apt/debian xenial InRelease [1.814 B]
    OK:7 http://de.archive.ubuntu.com/ubuntu xenial-updates InRelease
    OK:8 http://de.archive.ubuntu.com/ubuntu xenial-backports InRelease
    Holen:9 http://repo.radeon.com/rocm/apt/debian xenial/main amd64 Packages [5.765 B]
    Es wurden 110 kB in 1 s geholt (79,3 kB/s).
    Paketlisten werden gelesen… Fertig
    root@rick:~# sudo apt-get install rocm
    Paketlisten werden gelesen… Fertig
    Abhängigkeitsbaum wird aufgebaut.
    Statusinformationen werden eingelesen…. Fertig
    E: Paket rocm kann nicht gefunden werden.

    Like

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s