Closed jawn-smith closed 6 years ago
The board name of in clinfo of one gpu is strange. Device 687f
This looks not like an amd device for the miner. Do you flashed an
alternative bios on this gpu.
Start the miner and than edit amd.txt by hand. If the found gpu has the
index zero than use one for the other device or the other way around.
I thought that looked odd as well, but that's the one that's successfully mining. It's a Sapphire Pulse Vega 56
amd.txt had
{ "index" : 0, "intensity" : 1792, "worksize" : 8, "affine_to_cpu" : false, "strided_index" : 1, "mem_chunk" : 2, "comp_mode" : true},
So I added
{ "index" : 1, "intensity" : 1792, "worksize" : 8, "affine_to_cpu" : false, "strided_index" : 1, "mem_chunk" : 2, "comp_mode" : true},
right below it and got the error
Selected OpenCL device index 1 doesn't exist
do you use a riser extender?
try to set the platform to 1. It looks like you have two installed versions of opencl
The ROCm stack requires PCIe Atomics (which your CPU+mobo combo may not support? I did not check)
Do not bother with ROCm just do legacy and see how it goes.
@GlenPickle what specific drivers did you install? i did 17.50-543815.el7
System information
Motherboard: Gigabyte GA-B250-HD3
CPU: Intel Core i3-7100
PSU: EVGA 750 GQ 80+ GOLD 750W
GPU1: Sapphire Pulse Vega 56
GPU2: XFX GTS XXX Edition RX 580
OS: Ubuntu 16.04 (kernel 14.03)
Compile and run procedure
1) Fresh install of Ubuntu 16.04
2) Install AMD drivers version 17.50 with command
sudo ./amdgpu-pro-install --opencl=rocm,legacy --headless
3) Reboot
4) Install AMD SDK 3.0 (as root)
5)
export PATH=$PATH:/opt/amdgpu-pro
6)
which clinfo
shows/opt/amdgpu-pro/bin/clinfo
7)
git clone https://github.com/fireice-uk/xmr-stak.git
8)
mkdir xmr-stak/build && cd xmr-stak/build
9)
cmake -DCUDA_ENABLE=OFF -DOpenCL_LIBRARY=/opt/amdgpu-pro/lib/x86_64-linux-gnu/libOpenCL.so -DOpenCL_INCLUDE_DIR=/opt/AMDAPPSDK-3.0/include ..
10)
make install
Output of cmake:
Output of
make install
Output of
clinfo
:Output of
xmr-stak
Other notes:
The Vega (which xmr-stak is mining with) is in the top PCI-E 16x of the motherboard, and the RX 580 is in the lower slot
If I remove the Vega from the motherboard, xmr-stak will mine with the RX 580
Things I have already tried:
adding a new gpu to the amd.txt config file that is created.
re-installing the amd drivers and AMD SDK a bunch of times
other open source opencl libraries
Sacrificing a chicken