Miner- [NiceHash] Zcash CPU/GPU for Linux and Windows

did you install a driver for your GPU ?

Did you try something like -cb 64 -ct 64 ?

Bugger. Can’t be compiled on Ubuntu 14.04.05… Is this only for 16.x

I have minimal 16.04 but the command line sudo apt-get install
build-essential pkg-config libc6-dev m4 g+±multilib
autoconf libtool ncurses-dev unzip git python
zlib1g-dev wget bsdmainutils automake opencl-headers

doesn’t work

This is from the tutorial here Mining Zcash Ubuntu CPU, GPU, zcash.flypool.org — Steemit

on windows 10 get:
clenqueuNDRangeKernel (-36)
clSetKernelAng (-48)
clSetKernelAng (-48)
clSetKernelAng (-48)

spammed over and over ig i get -od 0 1
if i only get -od 0, everything works fine
any idea what i can do to get the second gpu to run? both are rx480

thank you

Try -od 1 only what happens ?

My guess is you have onboard display enabled in bios

-od 1 works perfect, i need to check the bios then

use -t 0 -od 0 1
or run 2 different .bats (in different folders)

one with -od 0 and one with -od 1

thats what i was thinking, changes in the bios did nothing
ill give it a go

that did the trick, well 2 cmd lines up till i figure out a different solution:)
thank you trolloniex:)

1 Like

This seems to quit the program every few hours… and the Genoil loops don’t work.

Anyone care to post a script?

What’s the executable name and your config?

@echo off
echo starting miner
if exist output.txt del output.txt
time /t
start /MIN run.bat
timeout /T 5 /NOBREAK >nul
findstr /C:“ignore” output.txt && (
taskkill /F /IM nheqminer.exe
timeout /T 1 /NOBREAK >nul
echo re-starting miner
goto loop
) || (
goto loop2


nheqminer -u BTC_ADDRESS -l equihash.usa.nicehash.com:3357 -od 0 1 2 3 4 5 -t 0 > output.txt
echo quit > output.txt

@echo off


set executable=nheqminer.exe
set commandline= nheqminer -u BTC_ADDRESS -l equihash.usa.nicehash.com:3357 -od 0 1 2 3 4 5 -t 0

set runforseconds=3600
set restartinseconds=5
set /a counter=0
timeout 3
start “nheqminer” %executable% %commandline%
echo The software will run for %runforseconds% seconds
timeout %runforseconds%
taskkill /f /im %executable%
echo Restarting the software in %restartinseconds% seconds (%counter%)
timeout %restartinseconds%
set /a counter+=1
goto start

But thats a counter loop, I need the one that restarts the program when it quits which is random.

Change your output.txt as nhqeminer spits out different things than genoil

I did, it stops writing to the file after the GPUs are detected. it needs a file so it can read “quit” when the program stops

Right now I’m using GTX 1070 and i7 4790k for mining and I get around 55-60 sols/s

But may I ask if it’s possible that I add RX 470 to my system and mine with that GPU also?
Will there be any problem because of drivers or anything?

Is that even possible, or I have to make new build if I want to use AMD GPU?

using Windows 10 x64.

hey guys how do i compile this for linux ?

delete the silentarym_gpu0.bin in the mining folder. it creates this file after first run and. apparently this file causes alot of issues if not deleted when machine restarts