sgminer-dev / sgminer

Scrypt GPU miner
GNU General Public License v3.0
633 stars 825 forks source link

Error -9999: Building Program (clBuildProgram) #485

Open ghost opened 6 years ago

ghost commented 6 years ago

Hi there,

I have the following error when I start sgminer:

$ sudo sh sgminerETH [19:21:03] Started sgminer 5.5.5-gm-a
[19:21:03] * using Jansson 2.7
[19:21:04] Probing for an alive pool
[19:21:04] Startup GPU initialization... Using settings from pool eu1.ethermine.org.
[19:21:04] Startup Pool No = 0
[19:21:05] Building binary ethashGeForce GTX 1070gw256l8.bin
[19:21:05] Error -9999: Building Program (clBuildProgram)
[19:21:05] ptxas application ptx input, line 116; error : Call has wrong number of parameters ptxas application ptx input, line 155; error : Call has wrong number of parameters

The script I use for launching the app is as follows:

!/bin/bash

export GPU_FORCE_64BIT_PTR=1 export GPU_USE_SYNC_OBJECTS=1 export GPU_MAX_ALLOC_PERCENT=100 export GPU_SINGLE_ALLOC_PERCENT=100 export GPU_MAX_HEAP_SIZE=100

cd sgminer-gm

./sgminer -T -I21 -o stratum+tcp://eu1.ethermine.org:4444 -u 0xb780e075a256c98cdc20925cb42e989e13c51a19 -p c=ETH -k ethash

it looks like my cards are still detected correctly: $ ./sgminer --ndevs [19:20:44] CL Platform vendor: NVIDIA Corporation
[19:20:44] CL Platform name: NVIDIA CUDA
[19:20:44] CL Platform version: OpenCL 1.2 CUDA 9.1.84
[19:20:44] Platform devices: 4
[19:20:44] 0 GeForce GTX 1070
[19:20:44] 1 GeForce GTX 1070
[19:20:44] 2 GeForce GTX 1070
[19:20:44] 3 GeForce GTX 1070
[19:20:44] 4 GPU devices max detected

Any clue where it comes from?

Thank you in advance for your help!

rotaryfurball commented 6 years ago

Got the exact same problem