6

I have never compiled anything before and the steps on GitHub are too complicated for me. How can I get Wolf's open-source AMD miner to work on Ubuntu?

https://github.com/wolf9466/wolf-xmr-miner

Edit: since it matters, this is for Ubuntu 16.04 with multiple RX 470 cards.

| improve this question | | | | |
  • 1
    The answer to your question is both card dependent and Ubuntu version dependent. Can you modify your question to include your specific details? – bigreddmachine Sep 16 '16 at 7:05
  • Updated. Is that specific enough? – sgp Sep 16 '16 at 11:02
7
  1. There is a problem with amdgpu and Gnome on the kernel 4.4 (default kernel with ubuntu 16.04). So If you want to use Gnome, Install a new kernel before installing the drivers : example
  2. Install amdgpu-pro

  3. Install the latest AMD APP SDK

  4. Install required dependencies and tools: "sudo apt-get install libcurl4-openssl-dev build-essential libjansson-dev"

  5. Edit the Makefile : add "-I /opt/AMDAPPSDK-3.0/include" to the ligne that starts with "OPT"

  6. Compil : run "make"

  7. Edit xmr.conf : for the RX 480, rawintensity:960 and workersize:8 seems to give the best results

  8. run "sudo ./miner xmr.conf"

| improve this answer | | | | |
  • 1
    I didn't have to update the kernel, but everything else was perfect. Thank you! – sgp Sep 24 '16 at 15:28
  • 1
    Um, I'm not sure what that is. I just did a fresh install of Ubuntu, uninstalled some bloat like LibreOffice, and followed your steps except #1. – sgp Sep 24 '16 at 17:11
  • 1
    OK. Answer Edited – Moroccan Engineer Sep 24 '16 at 17:54
  • 1
    as of 20161102 this doesn't work with the 16.4 driver (at least for me) – Ginger Ale Nov 3 '16 at 2:53
  • 1
    yes, I can confirm that I've tested the above using 16.4 vs 16.3 driver, and 16.4 causes stuff not to work for some reason. I was gonna provide 16.3 available for download, but it seems like the license is all stupid. – Ginger Ale Nov 4 '16 at 3:14
2

I don't have a Ubuntu or these GPUs to test but based on this thread for the GPU driver, this Reddit thread about the CPU miner and the Github link, main steps would be:

  1. download amdgpu-pro_16.30.3-306809.tar.xz
  2. extract the compressed file.
  3. go to that folder and now run the installation script "sudo ./amdgpu-pro-install"
  4. run "aticonfig --od-enable"
  5. download source of the miner
  6. extract the archive and go to the directory
  7. install required dependencies and tools: "sudo apt-get install libcurl4-openssl-dev build-essential libjansson-dev"
  8. run "make"
  9. when build is finished without any error, configure "xmr.conf" file (index -1 being your CPU)
  10. run the miner
| improve this answer | | | | |
  • I'll try these out and report my results. Thank you. – sgp Sep 17 '16 at 20:46
  • There is no aticonfig with the new amdgpupro – Moroccan Engineer Sep 23 '16 at 21:21
1

Moroccon Engineer's answer above works with AMDGPU-Pro 16.50 and Ubuntu 16.04LTS but only if you also add -L/opt/amdgpu-pro/lib/x86_64-linux-gnu/ to the OPT section of the Makefile as described by Jolly Mort in his comment.

| improve this answer | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.