Trying to mine XMR with sgminer-gm on ubuntu 16.04.1 with three RX470s, but it segfaults immediately.
Anybody can give me a hint?
Driver is AMDGPU-PRO 16.50.
rawintensity/ws/threads: 1008/8/1
Here is the log:
[12:27:09] default_profile.name is xmr
[12:27:09] Started sgminer 5.5.4-gm
[12:27:09] * using Jansson 2.7
[12:27:09] Loaded configuration file ./sgminer.conf
[12:27:09] CL Platform vendor: Advanced Micro Devices, Inc.
[12:27:09] CL Platform name: AMD Accelerated Parallel Processing
[12:27:09] CL Platform version: OpenCL 2.0 AMD-APP (2236.5)
[12:27:09] Platform devices: 3
[12:27:09] 0 Ellesmere
[12:27:09] 1 Ellesmere
[12:27:09] 2 Ellesmere
[12:27:09] Default Devices = all
[12:27:09] set_devices(all)
[12:27:09] GPU 0 Worksize set to 8.
[12:27:09] GPU 1 Worksize set to 8.
[12:27:09] GPU 2 Worksize set to 8.
[12:27:09] Loading settings from profile "xmr" for pool 1
[12:27:09] Pool 1 Algorithm set to "cryptonight"
[12:27:09] Pool 1 devices set to "all"
[12:27:09] Pool 1 lookup gap set to "(null)"
[12:27:09] Pool 1 Raw Intensity set to "1008"
[12:27:09] Pool 1 Thread Concurrency set to "(null)"
[12:27:09] Pool 1 GPU Clock set to "1100"
[12:27:09] Pool 1 GPU Memory clock set to "(null)"
[12:27:09] Pool 1 GPU Threads set to "1"
[12:27:09] Pool 1 GPU Fan set to "34,25,25"
[12:27:09] Pool 1 GPU Powertune set to "(null)"
[12:27:09] Pool 1 GPU Vddc set to "(null)"
[12:27:09] Pool 1 Shaders set to "(null)"
[12:27:09] Pool 1 Worksize set to "8"
[12:27:09] Loading settings from profile "xmr" for pool 0
[12:27:09] Pool 0 Algorithm set to "cryptonight"
[12:27:09] Pool 0 devices set to "all"
[12:27:09] Pool 0 lookup gap set to "(null)"
[12:27:09] Pool 0 Raw Intensity set to "1008"
[12:27:09] Pool 0 Thread Concurrency set to "(null)"
[12:27:09] Pool 0 GPU Clock set to "1100"
[12:27:09] Pool 0 GPU Memory clock set to "(null)"
[12:27:09] Pool 0 GPU Threads set to "1"
[12:27:09] Pool 0 GPU Fan set to "34,25,25"
[12:27:09] Pool 0 GPU Powertune set to "(null)"
[12:27:09] Pool 0 GPU Vddc set to "(null)"
[12:27:09] Pool 0 Shaders set to "(null)"
[12:27:09] Pool 0 Worksize set to "8"
[12:27:09] Trying to set current pool...
[12:27:09] Probing for an alive pool
[12:27:09] Testing MineXMR
[12:27:09] Testing XMRDwarfPool
[12:27:10] Succeeded delayed connect
[12:27:10] Succeeded delayed connect
[12:27:10] Socket closed waiting in recv_line
[12:27:10] Closing socket for stratum XMRDwarfPool
[12:27:10] Failed to parse a \n terminated string in recv_line: buffer =
[12:27:10] XMR AuthID: 951616834173910
[12:27:10] parse_notify_cn()
[12:27:10] Stratum authorisation success for MineXMR
[12:27:10] [THR0] gen_stratum_work_cn() - algorithm = cryptonight
[12:27:10] gen_stratum_work_cn() done.
[12:27:10] [THR0] Pushing work from MineXMR to hash queue
[12:27:10] New block: e64fa5012b10d4c58016325c3988a7c1520623a725458f87e9d8a116a3c3052b... diff 24.4M
[12:27:10] Trying to set current pool...
[12:27:10] Switching to MineXMR - first alive pool
[12:27:10] MineXMR alive
[12:27:10] Trying to set current pool...
[12:27:10] Startup GPU initialization... Using settings from pool MineXMR.
[12:27:10] Startup Pool No = 1
[12:27:10] compare_pool_settings()
[12:27:10] set_devices(all)
[12:27:10] Switching to rawintensity: pool = 1008, default = 1008
[12:27:10] rawintensity -> 1008
[12:27:10] GPU 0 Worksize set to 8.
[12:27:10] GPU 1 Worksize set to 8.
[12:27:10] GPU 2 Worksize set to 8.
[12:27:10] Set GPU 0 to cryptonight
[12:27:10] Set GPU 1 to cryptonight
[12:27:10] Set GPU 2 to cryptonight
[12:27:10] Allocate new threads...
[12:27:10] Assign threads for device 0
[12:27:10] Thread 0 set pool = 1 (MineXMR)
[12:27:10] Init GPU thread 0 GPU 0 virtual GPU 0
[12:27:10] CL Platform vendor: Advanced Micro Devices, Inc.
[12:27:10] CL Platform name: AMD Accelerated Parallel Processing
[12:27:10] CL Platform version: OpenCL 2.0 AMD-APP (2236.5)
[12:27:10] Platform devices: 3
[12:27:10] 0 Ellesmere
[12:27:10] 1 Ellesmere
[12:27:10] 2 Ellesmere
[12:27:10] List of devices:
[12:27:10] 0 Ellesmere
[12:27:10] 1 Ellesmere
[12:27:10] 2 Ellesmere
[12:27:10] Selected 0: Ellesmere
EDIT: Trying to clue in on where it fails I attempted to recompile with the -ggdb option, but the compile fails with
algorithm/sgminer-blakecoin.o: In function `scanhash_blakecoin':
/home/bobben2/sgminer-gm/sgminer/algorithm/blakecoin.c:143: undefined reference to `blakecoinhash'
seems like inline functions do not compile properily when -g is used?
EDIT2:
I managed to find where it breaks:
ocl.c: in function create_opencl_command_queue on return from clCreateCommandQueue() status=6 which I think means out of host memory.
Then a 2nd call is made to clCreateCommandQueue with command queue propertiy value set to 0 and this is where the segfault occurs.
I can boot the rig into Win 8.1 and there sgminer runs ok (but crashes the rig on exit..)