Skip to content
This repository has been archived by the owner on Jan 9, 2021. It is now read-only.
This repository has been archived by the owner on Jan 9, 2021. It is now read-only.

AMD GPU #31

Closed
aaronsace opened this issue Oct 28, 2016 · 22 comments
Closed

AMD GPU #31

aaronsace opened this issue Oct 28, 2016 · 22 comments

Comments

@aaronsace
Copy link

aaronsace commented Oct 28, 2016

GPU mining not working:

<info> found 2 devices
<info> compiling ...
<info> source: 0 bytes
<error> source files not found or empty
@Eyedol-X
Copy link

I get "Fail OCL" spam error message when attempting to use AMD GPU here

@aaronsace
Copy link
Author

aaronsace commented Oct 28, 2016

Me to, it says this just before the spam. Price is so high, really wanted to get my GPUs on it as well.

@Eyedol-X
Copy link

Eyedol-X commented Oct 28, 2016

I got a capture right before it where it said no OpenCL GPU's detected

I'm using latest WHQL Drivers on Win 7 X64

I also tried deleting the .bin file as described in instructions and it had no effect

@aaronsace
Copy link
Author

aaronsace commented Oct 28, 2016

Fixed it! Put a bat file in the same folder as 'nheqminer.exe'. Nicehash haven't set the working directory correctly. Est. over $20 a day! GPUs 10C cooler.

@Eyedol-X
Copy link

@aaronsace -- can you elaborate on what the bat file contains? I have been using a bat file to launch mine from the beginning, Perhaps is the directory I'm using?

@aaronsace
Copy link
Author

@Eyedol-X -- it needs to build a bin file per gpu. Put the files in 'c:\nheqminer' then put 'cd c:\nheqminer' on the first line of the bat. Call 'nheqminer.exe' without the full path.

@Eyedol-X
Copy link

Eyedol-X commented Oct 29, 2016

@aaronsace My GPU is being detected as "(OCL_XMP) TODO" -- still fails with the batch and call using same directory you indicated -- any suggestions?
ocl todo

Batch File

cd c:\nheqminer
Call nheqminer.exe -l usa -u BTCADDRESS -od 0 1 2 3

@aaronsace
Copy link
Author

Seems like it's not detecting your cards properly. You tried downloading the drivers from here?http://support.amd.com/en-us/download/desktop?os=Windows+7+-+64

@aaronsace aaronsace reopened this Oct 29, 2016
@Eyedol-X
Copy link

looks like I got it working with my RX480's -- still working on my R9390 system, drivers were out of date.

Thanks!

@Eyedol-X
Copy link

Some more info: have to be careful to pay attention to the platform ID setting. On one of my systems I had to define -op as the default 0 was my iGPU on one of my systems.

@IlyaParachuter
Copy link

AMD Radeon HD5450:

nheqminer_v0.3a_suprnova>nheqminer_suprnova -u zenbooster.censored -p censored -t 0 -od 0

    ==================== www.nicehash.com ====================
            Equihash CPU&GPU Miner for Suprnova v0.3a
    Thanks to Zcash developers for providing base of the code.
        Special thanks to tromp and xenoncat for providing
             optimized CPU and CUDA equihash solvers.
    ==================== www.nicehash.com ====================

Setting log level to 2
[2016-10-29 08:52:20.788917][0x00001024]: Using SSE2: YES
[2016-10-29 08:52:20.798917][0x00001024]: Using AVX: NO
[2016-10-29 08:52:20.808917][0x00001024]: Using AVX2: NO
[2016-10-29 08:52:20.818917][0x00001a50]: stratum | Starting miner
[2016-10-29 08:52:20.828917][0x00001398]: miner#0 | Starting thread #0 (OCL_XMP) TODO
[2016-10-29 08:52:20.838917][0x00001a50]: stratum | Connecting to stratum server zec-eu.suprnova.cc:2142
[2016-10-29 08:52:21.008917][0x00001a50]: stratum | Connected!
[2016-10-29 08:52:21.068917][0x00001a50]: stratum | Subscribed to stratum server
[2016-10-29 08:52:21.078917][0x00001a50]: miner | Extranonce is c2b5010000000000000000000001b5c3
[2016-10-29 08:52:21.148918][0x00001a50]: stratum | ←[35mTarget set to 00f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0f0←[0m
[2016-10-29 08:52:21.168918][0x00001a50]: stratum | ←[36mReceived new job #183←[0m
found 1 devices
Using device 0 as GPU 0
compiling ...
source: 41162 bytes
[2016-10-29 08:52:21.408918][0x00001a50]: stratum | Authorized worker zenbooster.censored
[2016-10-29 08:52:31.320932][0x00001024]: ←[33mSpeed [300 sec]: 0 I/s, 0 Sols/s←[0m
[2016-10-29 08:52:43.516950][0x00001024]: ←[33mSpeed [300 sec]: 0 I/s, 0 Sols/s←[0m
[2016-10-29 08:52:59.368972][0x00001024]: ←[33mSpeed [300 sec]: 0 I/s, 0 Sols/s←[0m
[2016-10-29 08:53:13.196992][0x00001024]: ←[33mSpeed [300 sec]: 0 I/s, 0 Sols/s←[0m

@runvnc
Copy link

runvnc commented Oct 29, 2016

Sorry if this is a dumb question but I have an R9 380 on Windows, single core CPU. I used the command line nheqminer.exe -l usa -u 13cii8BfnKbZkGUQM2Qgz42zzdMo6fYk5d -t 2 -od 0

How can I verify that I am actually using the GPU at all? When it started up things scrolled by fast but I was not sure it said anything about using the GPU. It definitely mentioned the CPU, couldn't tell if it said anything about GPU. Would it just error out if I said od and it couldn't find a GPU?

Thanks.

@IlyaParachuter
Copy link

Try use -t 0 -od 0

@runvnc
Copy link

runvnc commented Oct 29, 2016

@zenbooster thanks, by turning off threads I was able to confirm it is GPU mining, but it seems to be going much faster with the CPU on also, so I put it back to the original command line. But I believe AMD mining is working also (maybe not as much faster as CPU mining as I would have thought though -- I was looking at 5.5 I/s, 10.7 Sols/s on the GPU, now with CPU on also it changed to 12.2 I/s, 23.6 Sols/s (should have bought nVidia lol)).
EDIT: whoops I do have dual core of course LOL, not single core. changed to 4 threads.

@aaronsace
Copy link
Author

GPU mining has much more potential; I hope they update it soon.

@Eyedol-X
Copy link

Eyedol-X commented Oct 29, 2016

AMD GPU is not optimized at this time, only CUDA has been with 0.3a

2x 1070's is hashing more than 4x 480's or 4x 390s

@molitar
Copy link

molitar commented Oct 29, 2016

Yeah why no new release yet! It's been 7 days! We need an AMD GPU miner!

@aaronsace
Copy link
Author

There is; just not optimized yet.

@dtawom
Copy link

dtawom commented Nov 9, 2016

I'm getting 0 Sols/sec with AMD GPU mining for on a R7 260x . I'm running with just the GPU switch and it is detecting the card properly at the beginning. Mining with the cpu switch works fine, and the gpu switch works fine on my nvidia system. Is there a certain version of the amd driver that must be installed for this to work? The switches I'm using are nheqminer.exe -l stratum.zcash.nicehash.com:3357 -u mypublicaddress -t 0 -od 0 Attached is a screenshot of my no sols.
mine1
And another of my card detection.
mine2

@molitar
Copy link

molitar commented Nov 9, 2016

If your using an older card like that you need to use the 15.12 drivers.

From: dtawom
Sent: Wednesday, November 09, 2016 1:15 AM
To: nicehash/nheqminer
Cc: molitar ; Comment
Subject: Re: [nicehash/nheqminer] AMD GPU (#31)

I'm getting 0 Sols/sec with AMD GPU mining for on a R7 260x . I'm running with just the GPU switch and it is detecting the card properly at the beginning. Mining with the cpu switch works fine, and the gpu switch works fine on my nvidia system. Is there a certain version of the amd driver that must be installed for this to work? The switches I'm using are nheqminer.exe -l stratum.zcash.nicehash.com:3357 -u mypublicaddress -t 0 -od 0 Attached is a screenshot of my no sols.

And another of my card detection.


You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

@dtawom
Copy link

dtawom commented Nov 9, 2016

Thanks molitar, I found somebody mention the 15.11 drivers for another miner and suspected as much. I appreciate the confirmation though. I wish they'd add something about this in the FAQ or the official nicehash getting started page.

Update#1: I clean un-installed the old amd drivers, rebooted, and installed the 15.12 drivers, rebooted again and I'm still getting 0 Sols/sec on GPU mining. I don't think the drivers are the only problem. Anything else you can think of that might be causing the issue like OS version, or other applications that might be interfering with it?
gpu

Update#2: Just for giggles I tried the 15.11 drivers as well with the same 0 Sols/sec results. I think I will start a new thread as my problem is obviously different than the person that started this thread.

@S74nk0
Copy link
Contributor

S74nk0 commented Jan 12, 2017

AMD (OpenCL) solver are dropped from nheqminer.
Closing issue...

@S74nk0 S74nk0 closed this as completed Jan 12, 2017
miketout added a commit to miketout/nheqminer that referenced this issue Dec 26, 2018
* Remove clhash.c reference from Windows build

* Windows fix

* Add portable verusclhash to Windows build
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants