Post
Topic
Board Mining (Altcoins)
Re: Wolf's XMR GPU Miner
by
sapientidiot
on 30/09/2016, 20:15:23 UTC
Is there something extra needed for this to work with amdgpu-pro drivers? I can't seem to get any miners working after changing from fglrx.

 I seem to have nothing but invalid shares on XMR pools, but miner indicates that its submiting valid shares. I know i'm missing something because other miners just refuse to work at all: sgminer-gm, claymore-dm, and genoil all either crash or just sit idle as if they are trying to mine but can't.  I was have no troubles using fglrx but now that i have RX 470s that isn't an option.

 I've tried with both ArchLinux (which is what i normally use) and Ubuntu 16.04 (because it seems to be whats popular) the results are basically the same on either one with amdgpu-pro.  I've tried fresh installs and read what few up to date guides on setup i could find, nothing seems to work though.

i got it working on ubuntu 14.04 (desktop edition), with fglrx drivers, and ADL SDK V10.1 + APP SDK v3.0.130.136

this is what i did:

- downloaded the miner:

Code:
git clone https://github.com/wolf9466/wolf-xmr-miner.git
cd wolf-xmr-miner

then using WinSCP (i use remote ssh to control my pc), i went to the location where its downloaded and opened the "Makefile" file and edited it as per the instructions found here http://superkuh.com/monero.html. Basically you have to edit it to the location of your AMDAPP which is the top part of the file (replace the file with the following changing it to the location of your AMDAPP):
Code:
CC = gcc
LD = gcc
OPT = -O0 -ggdb3
CFLAGS = -I/opt/AMDAPP/include -L/opt/AMDAPP/lib/x86_64/ -D_POSIX_SOURCE -D_GNU_SOURCE $(OPT) -pthread -c -std=c11
LDFLAGS = -pthread $(OPT)
LIBS = -ljansson -lOpenCL -ldl -L/opt/AMDAPP/lib/x86_64/

then edited the "main.c" file as to the location of "stdatomic.h" (after copying the file into the miner's folder - can be done using WinSCP)
Code:
#include
#include
#include
#include
#include
#include
#include
//#include
#include
#include

then executed the make
Code:
make

although it showed some errors during compiling, but i ended up with a working "miner" which you run with:

Code:
./miner xmr.conf

of course you have to edit the "xmr.conf" with your data (which i'm still trying to figure out the best settings for the r9 390x)




Thanks for the info, unfortunately my issue isn't with compiling it and seems to be specifically related to the amdgpu-pro driver because I had no issues on fglrx but i can't use that anymore.