Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

won't hash on gpu #235

Closed
kelliblueeyes opened this issue Dec 30, 2019 · 15 comments
Closed

won't hash on gpu #235

kelliblueeyes opened this issue Dec 30, 2019 · 15 comments

Comments

@kelliblueeyes
Copy link

I've tried both the v3 beta and the v2. Compiled from source on mac os x catalina. The cpus work fine, the gpu won't hash.

I've got a 2010 mac pro with a sapphire radeon pulse rx580 8GB on catalina.

I followed your instructions in the read me, and also here:
https://www.grin-forum.org/t/grin-v1-0-step-by-step-miner-guide-on-macos-english-version/1630

the miner usually starts with no error, device 0 shows for gpu, connects to the pool and receives work, but it won't hash, says inf.

Screenshots are here:
https://www.grin-forum.org/t/gpu-wont-hash-mac-os-catalina/6801

@quentinlesceller
Copy link
Member

Did you compile the miner yourself? Instructions above are likely outdated.

@kelliblueeyes
Copy link
Author

kelliblueeyes commented Jan 6, 2020 via email

@quentinlesceller
Copy link
Member

I'm the pool manager of Grinmint and by the look of it it looks like your GPU is mining at all so Grinmint will not show you anything.
Did you uncomment this line before compiling? https://github.com/mimblewimble/grin-miner/blob/master/Cargo.toml#L40

@kelliblueeyes
Copy link
Author

kelliblueeyes commented Jan 6, 2020 via email

@quentinlesceller
Copy link
Member

Without that line you will not compile any GPU mining plugin (so no GPU mining can be done).

@kelliblueeyes
Copy link
Author

kelliblueeyes commented Jan 6, 2020 via email

@kelliblueeyes
Copy link
Author

kelliblueeyes commented Jan 6, 2020 via email

@quentinlesceller
Copy link
Member

quentinlesceller commented Jan 6, 2020

Sorry I just noticed that you were trying to mine with the OpenCL plugin. Give me some time to check a few things...

@kelliblueeyes
Copy link
Author

kelliblueeyes commented Jan 6, 2020 via email

@kelliblueeyes
Copy link
Author

kelliblueeyes commented Jan 6, 2020 via email

@quentinlesceller
Copy link
Member

Can you compile with cargo build --features opencl --release ?

@kelliblueeyes
Copy link
Author

kelliblueeyes commented Jan 6, 2020 via email

@quentinlesceller
Copy link
Member

Any idea @hashmap ?

@kelliblueeyes
Copy link
Author

A mac developer who's also into mining looked at the grin miner and says:

"I had look at grin-miner and it seems the AMD side of things requires the drivers which aren't available for macOS so unfortunately unless there's another miner around which doesn't that's not going to work right now. The majority of algorithms have this issue which makes GPU mining on Mac more than a little tricky."

@quentinlesceller
Copy link
Member

It's looks like macOS use a very old version of openCL. Closing, probably duplicate of #199

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants