Bitcoin Forum

Bitcoin => Mining software (miners) => Topic started by: MacCompiler on May 19, 2011, 09:23:19 PM



Title: Mac miner front-ends to Diablo and RPC
Post by: MacCompiler on May 19, 2011, 09:23:19 PM
Presenting beginner-friendly Mac frontends for the two popular miners DiabloMiner (GPU) and RPCminer (CPU)! The applications work like normal applications on the Mac were you double-click to start them, and after answering some questions you’re all set. For future runs just double-click on the application icons and you’ll start mining immediately.

Downloads
Updated: 2011-11-08
  • DiabloMiner.app (http://hotfile.com/dl/134533151/3bf9f62/DiabloMiner-GPU-Bitcoin-miner-20111108.zip.html) (13.8 MiB)
Updated: 2011-06-18
  • RPCminer.app (http://hotfile.com/dl/121201857/bc44690/RPCminer-CPU-Bitcoin-miner-20110618.zip.html) (29.51 MiB)

Both miners require Mac OS 10.6 ‘Snow Leopard.’ DiabloMiner require a OpenCL capable graphics card (AMD Radeon 5xxx and up; and Nvidia 8xxx and up). RPCminer does not require a recent graphics card.

Installation
Start by downloading a miner, and unpack the application by double-clicking on the downloaded ZIP archive.

Register an account with your mining pool, and register a new miner (if needed). Open the application and answer the questions about the pool server (or even localhost if solo mining), and miner user credentials.

After the initial setup you only need to open the application again to start mining.


Performance hints for the Mac user
Close other CPU and GPU (anything that draws on the screen) intensive applications for most efficient mining. Time Machine back-ups will have a hourly negative performance impact on Diablo. Consider temporarily disabling the back-up system when running this miner. RPC Miner will generate considerable heat. Place the Mac in a way that ensures free air circulation to avoid loss of performance due to heat. Try keeping it lifted from from the table surface.


Development
I will keep these applications up to date as upstream source code is released. Check this thread (bookmark it now!) for updates. License: same open source licenses as the upstream works.

The development goal was to aid users who are unfamiliar with the command line. These scripts are written and packaged for use on Mac OS. Reimplementing them for Linux and Windows should be fairly easy for anyone interested. Contact me if you want to coordinate effort.

Known issues: DiabloMiner exits without notification if the graphics card is unsupported.

https://i.imgur.com/5y7zE.png


Donations
This distribution and Mac packaging: 14V7RiwD3joqDF2Jv6zst3ZnQsR686u9iH
DiabloMiner upstream component: 1DbeWKCxnVCt3sRaSAmZLoboqr8pVyFzP1
RPCminer upstream component: 1HZNsUqQxKVLmfPfCAzLwrnVDzx8CxwxnM



Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: endthefed on May 20, 2011, 12:58:33 AM
I keep getting the response:



Quote
Missing argument for option: u

usage: DiabloMiner -u myuser -p mypassword [args]
                  
 -D,--devices <arg>    devices to enable
 -d,--debug            enable debug output
 -dd,--edebug          enable extra debug output
 -f,--fps <arg>        target execution timing
 -g,--getwork <arg>    seconds between getwork refresh
 -h,--help             this help
 -l,--url <arg>        bitcoin host url
 -o,--host <arg>       bitcoin host IP
 -p,--pass <arg>       bitcoin host password
 -r,--port <arg>       bitcoin host port
 -u,--user <arg>       bitcoin host username
 -v,--vectors <arg>    vector size in kernel (1 - 6)
 -w,--worksize <arg>   override worksize
 -x,--proxy <arg>      optional proxy settings IP:PORT<:username:password>
 -z,--loops <arg>      kernel loops (PoT exp, 0 is off)

Remember to set rpcuser and rpcpassword in your ~/.bitcoin/bitcoin.conf
before starting bitcoind or bitcoin --daemon
logout

[Process completed]

even though I have the password and username set in both the bitcoin.conf and the plist file for DiabloMiner. Help?


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: fabric on May 20, 2011, 02:53:28 AM
Thanks for making these easy to use packages! I seem to have run into a snag though.

When I try to run RPCminer on my 10.5.8 Macbook it tells me:
"dyld: unknown required load command 0x80000022" apparently from RPCminer.app/Contents/MacOS/rpcminer_exe: line 62

Any thoughts? Or is it because I need Snow Leopard?


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: ninjasmurf on May 20, 2011, 04:44:16 AM
good evening. thank you macCompiler for taking the time to make this application for us who are a little shaky in terminal. you are the first person that i will be giving my bitcoins to. as soon as i can make some. have a bang-up day.


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: MacCompiler on May 20, 2011, 05:18:05 AM
Quote
Missing argument for option: u

Remember to set rpcuser and rpcpassword in your ~/.bitcoin/bitcoin.conf
before starting bitcoind or bitcoin --daemon

even though I have the password and username set in both the bitcoin.conf and the plist file for DiabloMiner.
I assume you are trying to setup a local server? The error message says that the username is entirely missing. Try reconfiguring by pressing Y + Enter during the first seconds of the application startup. When connecting to a local rpcserver, the username and password you set in the client must obviously match.

Thanks for making these easy to use packages! I seem to have run into a snag though.

When I try to run RPCminer on my 10.5.8 Macbook it tells me:
"dyld: unknown required load command 0x80000022" apparently from RPCminer.app/Contents/MacOS/rpcminer_exe: line 62

Any thoughts? Or is it because I need Snow Leopard?
That is a probable cause. I have access to some Leopard machines at work. I will test and have a look at what I can do about it. Thanks for reporting the problem.

good evening. thank you macCompiler for taking the time to make this application for us who are a little shaky in terminal. you are the first person that i will be giving my bitcoins to. as soon as i can make some. have a bang-up day.
You’re welcome. I wanted to make these small helper scripts based on feedback I got from compiling the first rpcminer binary. It was obvious that Mac users didn’t know how to use the command line. If enough people download these tools I might even make a full blown Cocoa application front-end. :)

Keem’em donations coming.  8)


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: DiabloD3 on May 20, 2011, 05:40:54 AM
Known issues: DiabloMiner exits without notification if the graphics card is unsupported. Hostnames cannot be set with a protocol prefix. (Should be supported in future versions.)

Donations: 14V7RiwD3joqDF2Jv6zst3ZnQsR686u9iH ;)

If you wanna use full urls, use -l http://user:password@hostname:port/

Also, you should also include the donation addresses for all the miners you support with your script.


Title: Reply to DiabloD3’s feedback
Post by: MacCompiler on May 20, 2011, 06:21:02 AM
If you wanna use full urls, use -l http://user:password@hostname:port/
I will add a test to the hostname entered by the user to support both ways seamlessly for the user.

Also, you should also include the donation addresses for all the miners you support with your script.
Of course. :) I updated the first post to include upstream donation points.


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: okboy on May 20, 2011, 07:23:09 AM
Sorry, but RPCminer doesn't seem to be beginner friendly or have a GUI (as I know them). Maybe they're friendlier than the alternatives. Thanks for the effort, though.


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: endthefed on May 20, 2011, 11:02:54 AM
Quote
Missing argument for option: u

Remember to set rpcuser and rpcpassword in your ~/.bitcoin/bitcoin.conf
before starting bitcoind or bitcoin --daemon

even though I have the password and username set in both the bitcoin.conf and the plist file for DiabloMiner.
I assume you are trying to setup a local server? The error message says that the username is entirely missing. Try reconfiguring by pressing Y + Enter during the first seconds of the application startup. When connecting to a local rpcserver, the username and password you set in the client must obviously match.


So I would add a line that says
Code:
rpcserver=localhost
to the plist? What else would need to be in the plist for DiabloMiner? I tried configuring from the command line and the problem just repeats.


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: lakehead on May 20, 2011, 12:05:18 PM
OK, I'm gonna look lazy and/or stupid here... but,
I don't know how to answer the questions asked by Terminal when I launch the GUI Diablo.
I want to use my Slush's account.
What is the answer to Server host name or IP address? and port? and so on (I didn't get passed the port???)?  Is this local info, as in off my computer? or BPM info from the site?

thx
and sorry
lakehead


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: jlminer on May 20, 2011, 12:18:37 PM
The phoenix miner works just fine on mac if you install the prerequisites.  It also seems to miner a little faster than Diablo, at my on my rig.  Having a UI for it would also be great.


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: lakehead on May 20, 2011, 12:27:05 PM
OK
Now, where do I find instructions for using phoenix miner on a mac?  Where is the Mac app? source? I don't know.
Lakehead


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: jlminer on May 20, 2011, 01:01:38 PM
OK
Now, where do I find instructions for using phoenix miner on a mac?  Where is the Mac app? source? I don't know.
Lakehead

http://forum.bitcoin.org/index.php?topic=6458.0

Use the source code version and install the python prerequisites.  Python should be already installed on your mac.


Title: Adding an account for Slush’s pool
Post by: MacCompiler on May 20, 2011, 03:58:02 PM
I want to use my Slush's account.
What is the answer to Server host name or IP address? and port? and so on (I didn't get passed the port???)?
You must add a worker (http://mining.bitcoin.cz/accounts/profile/worker-edit/) to your account. That will be your login in the client.

mining.bitcoin.cz on port 8332

The phoenix miner works just fine on mac if you install the prerequisites.  It also seems to miner a little faster than Diablo, at my on my rig.  Having a UI for it would also be great.
Packaging it should be simple. But for it to be useful I guess I should auto-configure the miner based on the recommendations posted by the developer matching the hardware. (This is fairly easy on the Mac.) I will have a look at it over the weekend.


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: lakehead on May 20, 2011, 08:26:25 PM
Thx
got it working and it is dead simple
does 35000 khash/sec seem right?
lakehead


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: mmortal03 on May 20, 2011, 08:40:26 PM
Is there a way to get the plists to be stored in the same directory as the application, instead of inside ~/Library/Preferences/?


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: lakehead on May 20, 2011, 08:55:48 PM
another noob q
???
within 20 minutes, Terminal is telling me I found 12 blocks??? can this be right? or is this the entire pool?

lakehead


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: MacCompiler on May 20, 2011, 09:04:58 PM
Is there a way to get the plists to be stored in the same directory as the application, instead of inside ~/Library/Preferences/?
Not at the moment. The miners use Mac OS’ User Defaults API which decides on where the preferences are saved. If I ever do a Linux port of these scripts I will probably use something more generic.


Title: Re: Adding an account for Slush’s pool
Post by: jlminer on May 20, 2011, 09:10:48 PM
I want to use my Slush's account.
What is the answer to Server host name or IP address? and port? and so on (I didn't get passed the port???)?
You must add a worker (http://mining.bitcoin.cz/accounts/profile/worker-edit/) to your account. That will be your login in the client.

mining.bitcoin.cz on port 8332

The phoenix miner works just fine on mac if you install the prerequisites.  It also seems to miner a little faster than Diablo, at my on my rig.  Having a UI for it would also be great.
Packaging it should be simple. But for it to be useful I guess I should auto-configure the miner based on the recommendations posted by the developer matching the hardware. (This is fairly easy on the Mac.) I will have a look at it over the weekend.

If you work on phoenix one thing you will need to account for on the mac is the fact that for some reason when it compiles the kernel and you restart it, it causes the script to fail.  That means everytime you restart phoenix you have to manually go in and remove the compiled kernel.  Yes, I could easily fix it via shell script but I have been lazy.


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: DiabloD3 on May 20, 2011, 09:50:43 PM
another noob q
???
within 20 minutes, Terminal is telling me I found 12 blocks??? can this be right? or is this the entire pool?

lakehead

Shares are diff 1 blocks, the miner can't tell the difference.


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: lakehead on May 20, 2011, 10:05:05 PM
I don't get it?
Shares vs blocks... The miner can't tell the difference??
So I'm getting shares and not blocks. Yes??
Lakehead


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: DiabloD3 on May 20, 2011, 10:24:37 PM
I don't get it?
Shares vs blocks... The miner can't tell the difference??
So I'm getting shares and not blocks. Yes??
Lakehead

Yes.


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: mmortal03 on May 21, 2011, 12:26:41 AM
I'm getting a good percentage of invalid blocks found on a Radeon HD 4870 on Diablo.  Is this normal?


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: DiabloD3 on May 21, 2011, 12:40:51 AM
I'm getting a good percentage of invalid blocks found on a Radeon HD 4870 on Diablo.  Is this normal?

Sounds like pool failure. Always double check using a local bitcoin installation to rule this out.


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: Littleshop on May 21, 2011, 03:07:52 AM
So I have it working.  Two questions:

I get an error:
[5/20/11 11:03:07 PM] ERROR: Invalid block found on ATI Radeon HD 6490M (#1), possible driver or hardware issue

And second, the output shows two numbers 13600/14000 (changing of course).  Is my total hash rate both of those combined?



Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: DiabloD3 on May 21, 2011, 05:20:34 AM
So I have it working.  Two questions:

I get an error:
[5/20/11 11:03:07 PM] ERROR: Invalid block found on ATI Radeon HD 6490M (#1), possible driver or hardware issue

And second, the output shows two numbers 13600/14000 (changing of course).  Is my total hash rate both of those combined?



Ahh, that. That usually indicates the hardware is overheating, damaged, or the driver sucks.

The two numbers are 15 sec avg/forever avg.


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: mmortal03 on May 21, 2011, 05:32:02 AM
So I have it working.  Two questions:

I get an error:
[5/20/11 11:03:07 PM] ERROR: Invalid block found on ATI Radeon HD 6490M (#1), possible driver or hardware issue


Ahh, that. That usually indicates the hardware is overheating, damaged, or the driver sucks.


Yeah, that's what I was getting consistently.  Hopefully it's just "the driver sucks".


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: DiabloD3 on May 21, 2011, 05:35:13 AM
So I have it working.  Two questions:

I get an error:
[5/20/11 11:03:07 PM] ERROR: Invalid block found on ATI Radeon HD 6490M (#1), possible driver or hardware issue


Ahh, that. That usually indicates the hardware is overheating, damaged, or the driver sucks.


Yeah, that's what I was getting consistently.  Hopefully it's just "the driver sucks".

Check your GPU temp, it shouldn't exceed 75c on anything mobile or anything nvidia, or 85c on non-mobile radeons


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: mmortal03 on May 21, 2011, 09:16:04 AM
Check your GPU temp, it shouldn't exceed 75c on anything mobile or anything nvidia, or 85c on non-mobile radeons

It's a stock Mac Pro setup, so that'd be fresh!  I don't even know if they have the temp sensors on the GPUs inside these rigs. 

If so, should Hardware Monitor or iStat be able to read the temps from inside Mac OSX?


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: DiabloD3 on May 21, 2011, 12:17:08 PM
Check your GPU temp, it shouldn't exceed 75c on anything mobile or anything nvidia, or 85c on non-mobile radeons

It's a stock Mac Pro setup, so that'd be fresh!  I don't even know if they have the temp sensors on the GPUs inside these rigs. 

If so, should Hardware Monitor or iStat be able to read the temps from inside Mac OSX?

Dunno, I don't use OSX.


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: endthefed on May 21, 2011, 01:58:43 PM
Check your GPU temp, it shouldn't exceed 75c on anything mobile or anything nvidia, or 85c on non-mobile radeons

It's a stock Mac Pro setup, so that'd be fresh!  I don't even know if they have the temp sensors on the GPUs inside these rigs. 

If so, should Hardware Monitor or iStat be able to read the temps from inside Mac OSX?

iStat does, they update it with every hardware release for the new sensors.


Title: Miner versions 1.1 released
Post by: MacCompiler on May 21, 2011, 07:42:45 PM
New versions of both miners released. Get the downloads. (http://forum.bitcoin.org/index.php?topic=8994.0) Changes for the 2011-05-21 release:

  • Much improved input checks for the configuration wizard to prevent user-error with helpful error messages.
  • Minimum OS version set to 10.6.0.
  • Diablo updated from new upstream release.
  • RPCminer gained HTTPS support.


Title: Re: Miner versions 1.1 released
Post by: DiabloD3 on May 21, 2011, 08:44:26 PM
New versions of both miners released. Get the downloads. (http://forum.bitcoin.org/index.php?topic=8994.0) Changes for the 2011-05-21 release:

  • Much improved input checks for the configuration wizard to prevent user-error with helpful error messages.
  • Minimum OS version set to 10.6.0. (OS 10.5 support for RPCminer is coming later.)
  • Diablo updated from new upstream release.
  • RPCminer gained HTTPS support.

Just as a side note, mine probably was the first to support https. ;)


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: Littleshop on May 23, 2011, 03:51:02 AM
I think there is a bug.  I enter port 8337 and it always corrects it to 8332 and fails to connect. 


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: metonymous on May 23, 2011, 03:19:41 PM
hey, don't bother if it's too much work, people like me number few

1st gen MacBook Pro's have Intel Core Duo's, which are 32bit x86...

Could you possibly compile it somewhat universal?


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: DiabloD3 on May 23, 2011, 04:00:37 PM
hey, don't bother if it's too much work, people like me number few

1st gen MacBook Pro's have Intel Core Duo's, which are 32bit x86...

Could you possibly compile it somewhat universal?

Its... written in Java. Surely Apple provides a Universal binary JVM?


Title: Re: ‘GUI’ miners for Mac (Diablo GPU and RPCminer CPU)
Post by: metonymous on May 23, 2011, 04:21:40 PM
The Diablo miner wasn't specifically what I was referring to, as you are correct, it works as suggested (although not in my card).

The RPCMiner, however, doesn't work (sorry for the confusion)


Title: Adressing user concern
Post by: MacCompiler on May 23, 2011, 04:23:49 PM
I think there is a bug.  I enter port 8337 and it always corrects it to 8332 and fails to connect.
I will publish for this in less than one hour. Stay tuned. (Some preference files were created read-only.)
hey, don't bother if it's too much work, people like me number few

1st gen MacBook Pro's have Intel Core Duo's, which are 32bit x86...

Could you possibly compile it somewhat universal?
Your machine will not be able to run the DiabloMiner because the graphics card does not support OpenCL. Second generation MacBooks and newer, and you would have been fine.

You can use the RPCminer. Currently Mac OS 10.6 only. But I am working on getting a don't-crash-after-two-hours-use version for OS 10.5 ready soonish.


Title: New versions of the applications published – Version 1.5/2011-05-23
Post by: MacCompiler on May 23, 2011, 05:06:22 PM
New versions of both miners released. Get the downloads. (http://forum.bitcoin.org/index.php?topic=8994.0) ;) Changes for the 2011-05-23 release:

  • Much more flexible re-configuration wizard.
  • Displays improved menu on start-up (after first being configured.)
  • Option for launching miner on system logins.
  • Miner credentials limited to defaults domain on current host only.
  • Fixed an issue with preferences being saved as read-only (OS 10.6.5 bug).
  • Code clean-up, and bug fixes (means less screw-ups.)

I hope everyone—well, except for users on OS ‘Leopard’ who will still have to wait—is happy with what I’m done. Feedback is always welcome!


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: MattTheGr8 on May 24, 2011, 08:36:25 PM
Having some trouble getting started with the RPCminer app (current version). Just downloaded and opened it, and I don't get a prompt for my configuration info. Instead, I just get:

Starting RPCminer (CPU)...
--------------------------
Client will start 2 miner threads
Work will be refreshed every 4000 ms
Could not retrieve work from RPC server.
CURL return value = 22
Could not retrieve work from RPC server.
CURL return value = 22
Could not retrieve work from RPC server.
CURL return value = 22
Could not retrieve work from RPC server.
CURL return value = 22
No blocks are being hashed right now.  This can happen if the application is
still starting up, you supplied incorrect parameters, or there is a
communications error connecting to the RPC server.
Could not retrieve work from RPC server.
CURL return value = 22
No blocks are being hashed right now.  This can happen if the application is
still starting up, you supplied incorrect parameters, or there is a
communications error connecting to the RPC server.
Could not retrieve work from RPC server.
CURL return value = 22

Etc., etc. Without being able to see the source code, I'm not quite sure how to proceed. Any thoughts?

Will try DiabloMiner in the meantime... the MegaUpload link was broken for a little while, but it looks like it just started working again.

Thanks in advance...

EDIT: Tried DiabloMiner, similar issues. Immediately exits upon first run without ever asking for configuration info. Getting the same usage/error message as endthefed got in the second post in this thread. Checked ~/.bitcoin and it isn't getting created, and similarly there are no miner-relevant plist files in ~/Library/Preferences. Thoughts? Thanks.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: MacCompiler on May 24, 2011, 09:30:52 PM
Tried DiabloMiner, similar issues. Immediately exits upon first run without ever asking for configuration info. Getting the same usage/error message as endthefed got in the second post in this thread. Checked ~/.bitcoin and it isn't getting created, and similarly there are no miner-relevant plist files in ~/Library/Preferences. Thoughts? Thanks.

How do you start the app? You just double-click on the icon, right? OS version?

What does the following two commands in the Terminal output?

Code:
defaults read oss.bitcoin-utils.rpcminer
defaults -currentHost read oss.bitcoin-utils.rpcminer
(or .diablominer)

If they find something, copy the output here or in a message to me first; and then replace ‘read’ with ‘delete’ in the above commands to reset.

Update: Oh, damn. My bad. Will upload an update very very soon. I apologize for the inconvenience.

Update 2: New version now available. Downloads. (http://forum.bitcoin.org/index.php?topic=8994.0)


Title: Quick fixes available now
Post by: MacCompiler on May 24, 2011, 09:58:06 PM
I’ve fixed the issue reported by MattTheGr8 that caused first time configuration to fail. Download the updated apps. (http://forum.bitcoin.org/index.php?topic=8994.0)

Sorry about this mistake. :o


Title: Re: Quick fixes available now
Post by: MattTheGr8 on May 24, 2011, 10:02:43 PM
I’ve fixed the issue reported by MattTheGr8 that caused first time configuration to fail. Download the updated apps. (http://forum.bitcoin.org/index.php?topic=8994.0)

Sorry about this mistake. :o

Awesome, thanks for the fast fix. Looks like we are up and running smoothly now.

For people interested in stats: Looks like I am getting around 2000 khash/sec from the GPU, and around 1300 khash/sec from the CPUs...
[EDIT: ...on a mid-2009 MacBook Pro with stock hardware, so not exactly a dinosaur but clearly not high-end either]


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: Insulin on May 25, 2011, 12:57:50 PM
I used the app but I keep getting:

49965/49455 khash/secERROR: Can't connect to Bitcoin: Connection refused
[5/25/11 8:54:24 AM] ERROR: Can't connect to Bitcoin: Connection refused
[5/25/11 8:54:26 AM] ERROR: Can't connect to Bitcoin: Connection refused
[5/25/11 8:54:26 AM] ERROR: Can't connect to Bitcoin: Connection refused
[5/25/11 8:54:30 AM] ERROR: Can't connect to Bitcoin: Connection refused
[5/25/11 8:54:32 AM] ERROR: Can't connect to Bitcoin: Connection refused
[5/25/11 8:54:32 AM] ERROR: Can't connect to Bitcoin: Connection refused

I'm not sure exactly what to do to fix this.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: canphaz on May 25, 2011, 01:08:32 PM
Hi everyone,

DiabloMiner worked for me on OSX 10.6, but i'm getting the following message consistently now:

Code:
[5/25/11 3:01:14 PM] Started
[5/25/11 3:01:14 PM] Connecting to: http://deepbit.net:8332/
[5/25/11 3:01:15 PM] Added GeForce 320M (#1) (6 CU, local work size of 512)
[5/25/11 3:01:16 PM] DEBUG: Enabling long poll support
[5/25/11 3:01:16 PM] DEBUG: Enabling long poll support
[5/25/11 3:01:17 PM] DEBUG: Enabling long poll support
[5/25/11 3:01:36 PM] ERROR: [CL_INVALID_COMMAND_QUEUE] : OpenCL Fatal Error : Read caused an error that invalidated the queue (0x100124ad0). This may be  due to a resource allocation failure at execution time.
[5/25/11 3:01:36 PM] ERROR: [CL_INVALID_COMMAND_QUEUE] : OpenCL Error : clEnqueueReadBuffer failed: Invalid command queue
[5/25/11 3:01:36 PM] ERROR: [CL_INVALID_COMMAND_QUEUE] : OpenCL Error : clEnqueueNDRangeKernel failed: queue (0x100124ad0) has been invalidated.
[5/25/11 3:01:36 PM] ERROR: Failed to queue kernel, error -36

I believe i might have caused it by the way i tried to interrupt it (CTRL + C and CTRL + X).
Anyone know how to "reset" the queue? Or is there something else that might have been corrupted?

Also, can someone upload RPCMiner to a new location?
The existing MegaUpload link isn't working anymore.
Thanks!

Canphaz


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on May 25, 2011, 01:56:56 PM
Hi everyone,

DiabloMiner worked for me on OSX 10.6, but i'm getting the following message consistently now:

Code:
[5/25/11 3:01:14 PM] Started
[5/25/11 3:01:14 PM] Connecting to: http://deepbit.net:8332/
[5/25/11 3:01:15 PM] Added GeForce 320M (#1) (6 CU, local work size of 512)
[5/25/11 3:01:16 PM] DEBUG: Enabling long poll support
[5/25/11 3:01:16 PM] DEBUG: Enabling long poll support
[5/25/11 3:01:17 PM] DEBUG: Enabling long poll support
[5/25/11 3:01:36 PM] ERROR: [CL_INVALID_COMMAND_QUEUE] : OpenCL Fatal Error : Read caused an error that invalidated the queue (0x100124ad0). This may be  due to a resource allocation failure at execution time.
[5/25/11 3:01:36 PM] ERROR: [CL_INVALID_COMMAND_QUEUE] : OpenCL Error : clEnqueueReadBuffer failed: Invalid command queue
[5/25/11 3:01:36 PM] ERROR: [CL_INVALID_COMMAND_QUEUE] : OpenCL Error : clEnqueueNDRangeKernel failed: queue (0x100124ad0) has been invalidated.
[5/25/11 3:01:36 PM] ERROR: Failed to queue kernel, error -36

I believe i might have caused it by the way i tried to interrupt it (CTRL + C and CTRL + X).
Anyone know how to "reset" the queue? Or is there something else that might have been corrupted?

Also, can someone upload RPCMiner to a new location?
The existing MegaUpload link isn't working anymore.
Thanks!

Canphaz


I don't use OSX, but if that happens during normal execution, that looks a lot like a OSX bug, which doesn't surprise me at all.


Title: User problems
Post by: MacCompiler on May 25, 2011, 03:45:13 PM
DiabloMiner worked for me on OSX 10.6, but i'm getting the following message consistently now:

I believe i might have caused it by the way i tried to interrupt it (CTRL + C and CTRL + X).
Anyone know how to "reset" the queue? Or is there something else that might have been corrupted?
From the log, I would say you would have to reboot the machine to reinitialize all kernel extensions. You exit the miner by pressing Command–q and confirming that you want it to halt. I have never had any problems like the one you have experienced, though.

Also, can someone upload RPCMiner to a new location?
The existing MegaUpload link isn't working anymore.
I have noticed that the links are broken for up to 5 minutes at random. Researching this problem, I found that MegaUpload sometimes take links temporarily offline while they move files around on their internal servers. (Sounds like a super inefficient design.)  I will providing more download mirrors soon.

Update: I have added alternate links now. Will find another provider soon.

I used the app but I keep getting:

49965/49455 khash/sec
ERROR: Can't connect to Bitcoin: Connection refused
Are you sure your configuration is correct? Firewall? …details?

Update 2: I actually see this in my log also. Seems the pool I’m using is ‘temporarily down for maintenance.’ You can use another pool or simply wait to your preferred pool is back online.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: Insulin on May 25, 2011, 06:23:27 PM
I switched pools thanks.  ;D

Only problem now is that I keep randomly getting these and it seems my khash/sec is being affected by a lot.

[5/25/11 1:48:56 PM] Block 102 found on Radeon HD 4850 (#1)
[5/25/11 1:49:49 PM] Block 103 found on Radeon HD 4850 (#1)
[5/25/11 1:55:28 PM] Block 104 found on Radeon HD 4850 (#1)
[5/25/11 1:56:33 PM] Block 105 found on Radeon HD 4850 (#1)
[5/25/11 1:56:47 PM] Block 106 found on Radeon HD 4850 (#1)
[5/25/11 1:57:22 PM] Block 107 found on Radeon HD 4850 (#1)
[5/25/11 1:59:08 PM] ERROR: Invalid block found on Radeon HD 4850 (#1), possible driver or hardware issue
[5/25/11 1:59:29 PM] Block 108 found on Radeon HD 4850 (#1)
[5/25/11 2:04:22 PM] ERROR: Invalid block found on Radeon HD 4850 (#1), possible driver or hardware issue
[5/25/11 2:04:24 PM] Block 109 found on Radeon HD 4850 (#1)
[5/25/11 2:08:05 PM] ERROR: Invalid block found on Radeon HD 4850 (#1), possible driver or hardware issue
[5/25/11 2:08:05 PM] Block 110 found on Radeon HD 4850 (#1)
[5/25/11 2:08:40 PM] Block 111 found on Radeon HD 4850 (#1)
[5/25/11 2:11:08 PM] ERROR: Invalid block found on Radeon HD 4850 (#1), possible driver or hardware issue


Title: Possible driver or hardware issue on a Mac
Post by: MacCompiler on May 25, 2011, 07:57:17 PM
Only problem now is that I keep randomly getting these and it seems my khash/sec is being affected by a lot.

[5/25/11 1:59:08 PM] ERROR: Invalid block found on Radeon HD 4850 (#1), possible driver or hardware issue.
Try running Software Update to ensure you have the latest updates for your Mac. I don’t really have any suggestion other than searching the forum for this error message. DiabloD3, might know some troubleshooting steps.

Also, can someone upload RPCMiner to a new location? The existing MegaUpload link isn't working anymore.
Update: I have added alternate links now. Will find another provider soon.
Found two file hosting providers with better reputation and uptime. I hope they will be better for all users.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: jagedge on May 25, 2011, 09:17:50 PM
I downloaded the current version of your Diablo wrapper about 15 mins ago, and I am also/still seeing the issue where it defaults to 8332 even though I've specified a different port and confirmed that it's in the plist file ServerHostPort entry.


Title: Bugfixing release
Post by: MacCompiler on May 25, 2011, 11:13:43 PM
New versions of both miners released. Get the downloads. (http://forum.bitcoin.org/index.php?topic=8994.0) Changes for the 2011-05-26 release:

  • Fixed an issue were the user supplied port number would be ignored in Diablo.
  • More readable start-up sequence as per request by users who have poked at the code.

First release to be checked for regressions/bugs automatically.


Title: Re: Possible driver or hardware issue on a Mac
Post by: DiabloD3 on May 26, 2011, 12:00:46 AM
Only problem now is that I keep randomly getting these and it seems my khash/sec is being affected by a lot.

[5/25/11 1:59:08 PM] ERROR: Invalid block found on Radeon HD 4850 (#1), possible driver or hardware issue.
Try running Software Update to ensure you have the latest updates for your Mac. I don’t really have any suggestion other than searching the forum for this error message. DiabloD3, might know some troubleshooting steps.

Only time it says that specific error message is either the hardware is overheating, its insane, the drivers are insane, or the planets are aligned.

Make sure your GPU is under 85c.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: mmortal03 on May 26, 2011, 11:22:43 PM
I switched pools thanks.  ;D

Only problem now is that I keep randomly getting these and it seems my khash/sec is being affected by a lot.

[5/25/11 1:59:08 PM] ERROR: Invalid block found on Radeon HD 4850 (#1), possible driver or hardware issue

I've run it on an iMac with a 4850 and I didn't see that, however, I have gotten that consistently on a Mac Pro with a 4870.  Unfortunately, while Apple included the temperature sensor on the iMac with the 4850, they didn't for the Mac Pro with the 4870! Therefore, I can't check the GPU temp on the machine that I need to.  I would check to see if yours has it by installing Hardware Monitor or iStat.

Edit: Scratch that, I just saw it happen two times on the iMac 4850, as well. The temperature on the GPU was between 80 and 82 degrees C at the time. I'm still not seeing it quite as much as on the Mac Pro, though.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: MacCompiler on May 27, 2011, 05:19:32 PM
Those of you experiencing problems with mining using your GPUs: why not consider a CPU miner?


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on May 27, 2011, 08:37:39 PM
Those of you experiencing problems with mining using your GPUs: why not consider a CPU miner?

Because the watts used by CPU mining exceeds that of the value of BTC produced by CPU mining. Also, the fastest mining CPU that isn't enterprise hardware is that $1000 i7 six core.... it does 25 mhash max. A 5850 outside of OSX does 285 at stock speeds. They both use, at maximum, similar watts (130 watt part vs 150).


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: punin on May 28, 2011, 02:17:37 PM
I'm trying to pool mine with http://mining.bitcoin.cz

I keep getting:

Can't connect to Bitcoin: Bitcoin returned unparsable JSON

But in the bottom left corner of the terminal it's displaying khash, and it's changing all the time. Am I mining or not?


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: 1248 on May 28, 2011, 05:13:56 PM
for some reason after a while the Diablo Miner for mac starts making rejected blocks.  Is this because i need to enable long poll support.  If so, how?  (btw, macbook pro 2010 13in, deepbit.net)


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: MacCompiler on May 28, 2011, 05:52:26 PM
Can't connect to Bitcoin: Bitcoin returned unparsable JSON
mining.bitcoin.cz is under ongoing maintenance. Means it is sometimes unavailable (and thus returns something the client cannot understand.)


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on May 28, 2011, 10:23:15 PM
for some reason after a while the Diablo Miner for mac starts making rejected blocks.  Is this because i need to enable long poll support.  If so, how?  (btw, macbook pro 2010 13in, deepbit.net)


DiabloMiner automatically uses LP when available. I'm not aware of any bugs that can cause your described behavior.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: 1248 on May 29, 2011, 05:25:31 AM
maybe its just my pool, or my computer getting too hot or something.  only does it once in a while now anyway.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on May 29, 2011, 01:03:17 PM
maybe its just my pool, or my computer getting too hot or something.  only does it once in a while now anyway.

No, if it was getting too hot, it'd give you the "check your hardware" error. DiabloMiner does not blindly pass solutions to the pool.

Rejected shares are natural, they should just never exceed 0.75% give or take.


Title: BTC Guild for the hoppyist Mac miner
Post by: MacCompiler on May 29, 2011, 09:32:16 PM
I’ve previously been recommending Slush’s pool; but I think hobbyist Mac miners will be better off with the no-fee pool over at BTC Guild. (http://www.btcguild.com)


Title: dazed and confused
Post by: bakerb4379 on May 30, 2011, 01:15:11 AM
Hi all,

So I'm completely new at this, and I'm really not that familiar with console commands, either (a bigger and bigger problem, nowadays). I've just started up my bitcoin account, and I'm trying to install both RPC and Diablo. Everything seems to work fine, I have all the commands entered correctly, etc., but when it initializes, I get:

bad cpu type in executable

Would someone be so kind as to tell me what the hell this means? hah.

Thanks,
bb


Title: Re: dazed and confused
Post by: MacCompiler on May 31, 2011, 09:28:32 PM
bad cpu type in executable
A PowerPC machine? The application is Intel only, and the Mac OS launch service should not even launch it a PowerPC.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: danqi on May 31, 2011, 10:51:16 PM
Hi,

just found out about Bitcoin a couple of hours ago, so this is all really new to me. I just downloaded and started the Diablo app (I am using a Mac Pro). During setup it asked me "Start mining automatically on log-in?". I said "yes", but now I am wondering: What log-in is meant by this? The system user log-in?

Also, does this look like everything is working properly to you:


Starting DiabloMiner (GPU)...
-----------------------------
[6/1/11 12:25:41 AM] Started
[6/1/11 12:25:41 AM] Connecting to: http://deepbit.net:8332/
[6/1/11 12:25:43 AM] Added ATI Radeon HD 5770 (#1) (10 CU, local work size of 256)
[6/1/11 12:27:11 AM] ERROR: Invalid block found on ATI Radeon HD 5770 (#1), possible driver or hardware issue
[6/1/11 12:27:12 AM] Block 1 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:27:34 AM] Block 2 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:28:46 AM] Block 3 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:29:36 AM] Block 4 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:29:54 AM] ERROR: Invalid block found on ATI Radeon HD 5770 (#1), possible driver or hardware issue
[6/1/11 12:30:38 AM] Block 5 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:31:39 AM] Block 6 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:33:49 AM] Block 7 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:34:13 AM] Block 8 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:34:55 AM] Block 9 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:35:30 AM] Block 10 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:36:32 AM] Block 11 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:37:56 AM] Block 12 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:38:18 AM] Block 13 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:39:22 AM] Block 14 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:46:20 AM] ERROR: Invalid block found on ATI Radeon HD 5770 (#1), possible driver or hardware issue
[6/1/11 12:47:29 AM] Block 15 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:48:38 AM] ERROR: Invalid block found on ATI Radeon HD 5770 (#1), possible driver or hardware issue
[6/1/11 12:49:07 AM] Block 16 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:49:20 AM] Block 17 found on ATI Radeon HD 5770 (#1)
89747/98467 khash/sec


Thanks!


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on May 31, 2011, 11:55:56 PM
Hi,

just found out about Bitcoin a couple of hours ago, so this is all really new to me. I just downloaded and started the Diablo app (I am using a Mac Pro). During setup it asked me "Start mining automatically on log-in?". I said "yes", but now I am wondering: What log-in is meant by this? The system user log-in?

Also, does this look like everything is working properly to you:


Starting DiabloMiner (GPU)...
-----------------------------
[6/1/11 12:25:41 AM] Started
[6/1/11 12:25:41 AM] Connecting to: http://deepbit.net:8332/
[6/1/11 12:25:43 AM] Added ATI Radeon HD 5770 (#1) (10 CU, local work size of 256)
[6/1/11 12:27:11 AM] ERROR: Invalid block found on ATI Radeon HD 5770 (#1), possible driver or hardware issue
[6/1/11 12:27:12 AM] Block 1 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:27:34 AM] Block 2 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:28:46 AM] Block 3 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:29:36 AM] Block 4 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:29:54 AM] ERROR: Invalid block found on ATI Radeon HD 5770 (#1), possible driver or hardware issue
[6/1/11 12:30:38 AM] Block 5 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:31:39 AM] Block 6 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:33:49 AM] Block 7 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:34:13 AM] Block 8 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:34:55 AM] Block 9 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:35:30 AM] Block 10 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:36:32 AM] Block 11 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:37:56 AM] Block 12 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:38:18 AM] Block 13 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:39:22 AM] Block 14 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:46:20 AM] ERROR: Invalid block found on ATI Radeon HD 5770 (#1), possible driver or hardware issue
[6/1/11 12:47:29 AM] Block 15 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:48:38 AM] ERROR: Invalid block found on ATI Radeon HD 5770 (#1), possible driver or hardware issue
[6/1/11 12:49:07 AM] Block 16 found on ATI Radeon HD 5770 (#1)
[6/1/11 12:49:20 AM] Block 17 found on ATI Radeon HD 5770 (#1)
89747/98467 khash/sec


Thanks!

That looks normal if your GPU is overheating. HW check errors will happen on all hardware from time to time, but driving the temp up is sure to do it.

Make sure your temp is below 85c.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: coel on June 01, 2011, 12:07:34 AM
Hi,

I'm getting errors like this:

[01.06.11 01:49:04] ERROR: Can't connect to Bitcoin: Unexpected end of file from server

At first start, there was "Waiting...", then these errors came up every few seconds, then a connection seems to have been established, and I got stable speeds at about 5000 khash/sec.

Then I wanted to see what happened if I put my Mac to sleep. After wake, it started to show values 0 khash/sec before the slash, sometimes going up to a few thousand, than back to 0.

Then I restarted the Bitcoin server and Diablo, too. This time, after
[01.06.11 01:45:00] Added GeForce GT 120 (#1) (4 CU, local work size of 256)
there was nothing for about two minutes, then the first error like above showed up, 2 minutes pause, two errors in 5 seconds, 2 minutes pause, and so on; then at some point "Waiting..." showed up, and some errors later it began showing what it was doing.

The situation now is that most of the time it is at 0 khash/sec, and every now and then it goes up to 2000 or 3000 khash/sec and then back to 0. The above error is shown every two minutes 2-4 times every 5 seconds. My average is down to about 630 khash/sec.

Anyone seen this? What's the problem?

EDIT: To clarify: In two minute intervals, there's first errors every 5 seconds (1-3), then the khash rate going up, then khash rate returning to zero until next interval. Normally, there's two errors while the rate is going up and a third one while it's going down again. Not always, though, there might be 2 or 4 in total.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: danqi on June 01, 2011, 08:55:00 AM
That looks normal if your GPU is overheating. HW check errors will happen on all hardware from time to time, but driving the temp up is sure to do it.

Make sure your temp is below 85c.


Thanks for your answer! I have no way of checking the gpu temperature and don't want to risk damaging my hardware. I am probably not savvy enough to do serious mining anyway.

Can you give me a tip on how to cleanly uninstall the DiabloMiner.app? Since it starts automatically when I turn on my Mac, I assume it has installed some sort of system extensions?


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on June 01, 2011, 09:36:11 AM
That looks normal if your GPU is overheating. HW check errors will happen on all hardware from time to time, but driving the temp up is sure to do it.

Make sure your temp is below 85c.


Thanks for your answer! I have no way of checking the gpu temperature and don't want to risk damaging my hardware. I am probably not savvy enough to do serious mining anyway.

Can you give me a tip on how to cleanly uninstall the DiabloMiner.app? Since it starts automatically when I turn on my Mac, I assume it has installed some sort of system extensions?

There are temp reader apps for OSX out there that can read GPU temps using the GPU's built in monitor.

I don't maintain the OSX frontend, so I assume you can just turn automatic startup off and delete the .app.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: PaZer on June 01, 2011, 10:39:42 AM
Hi,

I'm a newbie and using DiabloMiner on my iMac with Radeon HD 4670 and all works fine. From time to time I get the following messages:
 
Code:
[01.06.11 12:30:27] Rejected block 3 found on Radeon HD 4670 (#1)

What does it mean exactly? Can anybody help?

btw: speed on my iMac is 23973/29958 khash/sec


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: PaZer on June 01, 2011, 10:53:10 AM
That looks normal if your GPU is overheating. HW check errors will happen on all hardware from time to time, but driving the temp up is sure to do it.

Make sure your temp is below 85c.


Thanks for your answer! I have no way of checking the gpu temperature and don't want to risk damaging my hardware. I am probably not savvy enough to do serious mining anyway.

Can you give me a tip on how to cleanly uninstall the DiabloMiner.app? Since it starts automatically when I turn on my Mac, I assume it has installed some sort of system extensions?

There are temp reader apps for OSX out there that can read GPU temps using the GPU's built in monitor.

I don't maintain the OSX frontend, so I assume you can just turn automatic startup off and delete the .app.

Hi,

for reading CPU and GPU temperatures I use iStat (http://bjango.com/mac/istatmenus/ (http://bjango.com/mac/istatmenus/)). That's a perfect tool for mac, not only for mining! My iMac with Radeon HD 4670 has temperature around 83°C and 86°C. That's on the limit. That's the reason why I sometimes get the following message in DiabloMiner:

Code:
[01.06.11 12:23:25] ERROR: Invalid block found on Radeon HD 4670 (#1), possible driver or hardware issue

Is there a way to prioritize down the DiabloMiner to a lower priority, otherwise working with the mac at the same time is quite hard. Maybe there is also a way to reduce the GPU workload from 100% to 80%?


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: danqi on June 01, 2011, 12:16:39 PM
Hi,

for reading CPU and GPU temperatures I use iStat (http://bjango.com/mac/istatmenus/ (http://bjango.com/mac/istatmenus/)). That's a perfect tool for mac, not only for mining! My iMac with Radeon HD 4670 has temperature around 83°C and 86°C. That's on the limit. That's the reason why I sometimes get the following message in DiabloMiner:

Code:
[01.06.11 12:23:25] ERROR: Invalid block found on Radeon HD 4670 (#1), possible driver or hardware issue

Is there a way to prioritize down the DiabloMiner to a lower priority, otherwise working with the mac at the same time is quite hard. Maybe there is also a way to reduce the GPU workload from 100% to 80%?

Unfortunately iStat does not show a GPU temperature for me. Neither do other tools.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: PaZer on June 01, 2011, 01:06:32 PM
Hi,

for reading CPU and GPU temperatures I use iStat (http://bjango.com/mac/istatmenus/ (http://bjango.com/mac/istatmenus/)). That's a perfect tool for mac, not only for mining! My iMac with Radeon HD 4670 has temperature around 83°C and 86°C. That's on the limit. That's the reason why I sometimes get the following message in DiabloMiner:

Code:
[01.06.11 12:23:25] ERROR: Invalid block found on Radeon HD 4670 (#1), possible driver or hardware issue

Is there a way to prioritize down the DiabloMiner to a lower priority, otherwise working with the mac at the same time is quite hard. Maybe there is also a way to reduce the GPU workload from 100% to 80%?

Unfortunately iStat does not show a GPU temperature for me. Neither do other tools.

Oh it does. I have iStat Menus Version 3.17. Under Preferences go to Sensors and select GPU from available sensors to active sensors. That's it! Don't forget to activate the sensor bar as well!


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on June 01, 2011, 01:25:48 PM
That looks normal if your GPU is overheating. HW check errors will happen on all hardware from time to time, but driving the temp up is sure to do it.

Make sure your temp is below 85c.


Thanks for your answer! I have no way of checking the gpu temperature and don't want to risk damaging my hardware. I am probably not savvy enough to do serious mining anyway.

Can you give me a tip on how to cleanly uninstall the DiabloMiner.app? Since it starts automatically when I turn on my Mac, I assume it has installed some sort of system extensions?

There are temp reader apps for OSX out there that can read GPU temps using the GPU's built in monitor.

I don't maintain the OSX frontend, so I assume you can just turn automatic startup off and delete the .app.

Hi,

for reading CPU and GPU temperatures I use iStat (http://bjango.com/mac/istatmenus/ (http://bjango.com/mac/istatmenus/)). That's a perfect tool for mac, not only for mining! My iMac with Radeon HD 4670 has temperature around 83°C and 86°C. That's on the limit. That's the reason why I sometimes get the following message in DiabloMiner:

Code:
[01.06.11 12:23:25] ERROR: Invalid block found on Radeon HD 4670 (#1), possible driver or hardware issue

Is there a way to prioritize down the DiabloMiner to a lower priority, otherwise working with the mac at the same time is quite hard. Maybe there is also a way to reduce the GPU workload from 100% to 80%?

You want -f. It should be a multiple or divisor of 60, and some people just turn it the whole way to 1000 and don't care how many mhash they lose.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: danqi on June 01, 2011, 03:06:27 PM
Oh it does. I have iStat Menus Version 3.17. Under Preferences go to Sensors and select GPU from available sensors to active sensors. That's it! Don't forget to activate the sensor bar as well!

Unfortunately, it does not list GPU as an available sensor for me. Unless it is "PCIe Slot 1", which has a temperature of around 85° when running DiabloMiner.

Edit: It seems like this is indeed the GPU. Guess it really is overheating. It is usually around 65° and the moment I start DiabloMiner it shoots up to around 85° (even went to 90° once). I am no hardware geek, so I am not going to build some kind of cooling mechanism. Am I right in assuming that I a out of look then?


Title: User questions
Post by: MacCompiler on June 01, 2011, 11:25:28 PM
During setup it asked me "Start mining automatically on log-in?". I said "yes", but now I am wondering: What log-in is meant by this? The system user log-in?
User log-in. You can disable this option from the menu you get during the application start-up.

I'm getting errors like this:

[01.06.11 01:49:04] ERROR: Can't connect to Bitcoin: Unexpected end of file from server
You’re mining from your own local server? It will need to fetch the hash tables and sycnronize to the BitCoin network before it can be assigned some work. Just leave it on.

Can you give me a tip on how to cleanly uninstall the DiabloMiner.app? Since it starts automatically when I turn on my Mac, I assume it has installed some sort of system extensions?
Everything is stored in the user domain.

For novice users, I recommend AppCleaner (http://www.freemacsoft.net/AppCleaner/) to purge all user defaults (settings) and the launch agent (log-in process).

Is there a way to prioritize down the DiabloMiner to a lower priority, otherwise working with the mac at the same time is quite hard. Maybe there is also a way to reduce the GPU workload from 100% to 80%?
Not currently. I could easily add functionality to reduce the process priority. It kind of defeats the purpose, as you want as much juice out of your system as possible. But if this is something others also want, I can add it in an update. Let me know.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: stellan0r on June 02, 2011, 06:19:21 AM
Good morning,

can someone please explain me how do I setup the DiabloMiner.app for SOLO mining, if this is possible at all?

Like do I have to run the Bitcoin Client, what do I enter then in the DiabloMiner Setup for host, port, user and pw?


Thanks!


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on June 02, 2011, 06:46:22 AM
Good morning,

can someone please explain me how do I setup the DiabloMiner.app for SOLO mining, if this is possible at all?

Like do I have to run the Bitcoin Client, what do I enter then in the DiabloMiner Setup for host, port, user and pw?


Thanks!

Set the user and pw you put in bitcoin.conf, and use localhost and 8332


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: PaZer on June 02, 2011, 04:55:39 PM
@DiabloD3:
Quote
You want -f. It should be a multiple or divisor of 60, and some people just turn it the whole way to 1000 and don't care how many mhash they lose.

I think this could help. Where do I have to put this in DibloMiner to use the -f option? Could you explain in more detail what exactly it does?

@MacCompiler:
Quote
Not currently. I could easily add functionality to reduce the process priority. It kind of defeats the purpose, as you want as much juice out of your system as possible. But if this is something others also want, I can add it in an update. Let me know.

I would like this option for two reasons:

1. during the day I would like to use my mac for daily work. With GPU on 100% workload all the time it is really hard to use the mac. Therefore currently I have only the option to work or to mine, but not doing both at the same time.
2. The GPU temperature is always about 85°C. That's high and not good for the GPU and the mac at all. I can lose some MHash to get the GPU coolness. I love my mac and I don't want to get it corrupted :-)

Thanks!


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on June 02, 2011, 09:19:29 PM
Hello,

I need some help to get the Diablo miner working on 10.6. (MBP late 08)

I'd like to try local/single mining or however it is called.

I'm new to Bitcoin. I started reading here for a while and just tried the Diablo but always getting the error message:

Starting DiabloMiner (GPU)...
-----------------------------
[02.06.11 19:09:53] Started
[02.06.11 19:09:53] Connecting to: http://localhost:8332/
[02.06.11 19:09:54] Added GeForce 9600M GT (#1) (4 CU, local work size of 256)
[02.06.11 19:09:54] ERROR: Can't connect to Bitcoin: Connection refused
[02.06.11 19:09:54] ERROR: Can't connect to Bitcoin: Connection refused
[02.06.11 19:09:54] ERROR: Can't connect to Bitcoin: Connection refused
[02.06.11 19:09:55] Added GeForce 9400M (#2) (2 CU, local work size of 256)
[02.06.11 19:09:55] ERROR: Can't connect to Bitcoin: Connection refused
...

[02.06.11 19:10:33] ERROR: Can't connect to Bitcoin: Connection refused
1254/1863 khash/sec ERROR: Can't connect to Bitcoin: Connection refused
[02.06.11 19:10:33] ERROR: Can't connect to Bitcoin: Connection refused
[02.06.11 19:10:33] ERROR: Can't connect to Bitcoin: Connection refused
...



I had just installed the Bitcoin client 03.21-beta from bitcoin.org. I mean the GUI application ^^

My bitcoin.conf:
rpcuser=borsti
rpcpassword=xxxxxxxx
rpctimeout=10
rpcport=8332
noirc=1
gen=1


rpcuser/-password means the user and password of my localhost?

Do I have to start the Bitcoin application as server and does the Bitcoin app need to run when the diablo is running?

I answered the Diablo wizard questions with localhost as IP, port 8332, username with borsti and the password of my borsti account. 

THX


Its typically called solo mining.

Yes, you have to start bitcoin either as bitcoin -server or as bitcoind. I've made requests to have this functionality put into the GUI preferences, but apparently no one has listened.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: Tongpu on June 02, 2011, 10:45:39 PM
Diablo Miner gives me this:
ERROR: OpenCL platform Apple contains no devices.

RPCminer gives me no errors.

I'm sure I've got GPU, so it should be compatible with DiabloMiner.

What could be the problem?


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: martinw79 on June 03, 2011, 12:53:29 AM
Totally new @ this and could use some help.  On my main PC I am running GUIMiner and it's working fine.  I tried to use DiabloMiner and connect to the main PC that way GUIMiner shows it as a separate Miner instance.

I know the Mac can get to the main PC, they can ping and telnet to port 8333.

Diablo states this error;


Starting DiabloMiner (GPU)...
-----------------------------
[6/2/11 8:50:02 PM] Started
[6/2/11 8:50:02 PM] Connecting to: http://192.168.88.5:8333/
[6/2/11 8:50:02 PM] Added GeForce 9400M (#1) (2 CU, local work size of 256)
[6/2/11 8:52:04 PM] ERROR: Can't connect to Bitcoin: Unexpected end of file from server


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: stellan0r on June 03, 2011, 08:04:03 AM
Good morning,

can someone please explain me how do I setup the DiabloMiner.app for SOLO mining, if this is possible at all?

Like do I have to run the Bitcoin Client, what do I enter then in the DiabloMiner Setup for host, port, user and pw?


Thanks!

Set the user and pw you put in bitcoin.conf, and use localhost and 8332


Thanks Diablo! But can you please specify that?

like those: 

#rpcuser=user
#rpcpassword=password

? :)
I know where to put the file, but I'm not sure what I have to put in it to make it work.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: coel on June 03, 2011, 12:37:47 PM
I'm getting errors like this:

[01.06.11 01:49:04] ERROR: Can't connect to Bitcoin: Unexpected end of file from server

The port was set to 8333 instead of 8332. I'm wondering why it partly seemed to work at all. :-)


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: KRec on June 03, 2011, 02:04:53 PM
Hey guys,
Pretty new to mining so any help is very appreciated.

I seem to be having 2 issues. I have a 27" Imac with a Radeon HD 5750 it is currently mining between 70-72Mhash. According to hardware comparsion on the wiki with the right flags it should be running well over 120 and up to 170MHash/s. Is there a way to add the -v -f flags to increase my hash rate or am i doing something else wrong (everything is closed).

My other issue is my stale rate has been very high 12-15% on deepbit and the same or more other places. Any ideas what i'm doing wrong here. I get a few device hardware issue warnings and a few rejected blocks every 15 minutes or so. Thanks for any advice guys. Great app thanks for that hoping to donate once i start making some BTC.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: vonshmitt on June 03, 2011, 04:22:35 PM
I am having a very similar problem with the exact same computer setup.  (27" Imac with a Radeon HD 5750 it is currently mining between 70-72Mhash)

The odd thing is that ALL of mine are being rejected about 15 minutes after I get them.  I am not sure if I set this up correctly or if I am starting it up right. 

1) I open bitcoin-0.3.2.1
2) I start DiabloMiner
Server host name or IP address [mining.bitcoin.cz]:
Server port number [8332]:
Miner username [sbuXXX.workXX]:
Miner password [XXXXXX]:


Below is my bitcoin.conf file located in ~/.bitcoin
rpcuser=sbuXXX
rpcpassword=XXXXXX
gen=1
server=1

What am I doing incorrectly?  Thanks for the help!

-VONNY


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on June 03, 2011, 04:43:53 PM
Hey guys,
Pretty new to mining so any help is very appreciated.

I seem to be having 2 issues. I have a 27" Imac with a Radeon HD 5750 it is currently mining between 70-72Mhash. According to hardware comparsion on the wiki with the right flags it should be running well over 120 and up to 170MHash/s. Is there a way to add the -v -f flags to increase my hash rate or am i doing something else wrong (everything is closed).

My other issue is my stale rate has been very high 12-15% on deepbit and the same or more other places. Any ideas what i'm doing wrong here. I get a few device hardware issue warnings and a few rejected blocks every 15 minutes or so. Thanks for any advice guys. Great app thanks for that hoping to donate once i start making some BTC.

You're on a Mac. OSX sucks about 40% of your hashing speed out because it has an inferior OpenCL implementation and can't do bfi_int on Radeons.

So yeah, that sounds about right.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on June 03, 2011, 04:44:44 PM
Good morning,

can someone please explain me how do I setup the DiabloMiner.app for SOLO mining, if this is possible at all?

Like do I have to run the Bitcoin Client, what do I enter then in the DiabloMiner Setup for host, port, user and pw?


Thanks!

Set the user and pw you put in bitcoin.conf, and use localhost and 8332


Thanks Diablo! But can you please specify that?

like those:  

#rpcuser=user
#rpcpassword=password

? :)
I know where to put the file, but I'm not sure what I have to put in it to make it work.


Try this:

rpcuser=(your account name)
rpcpassword=(your password)
rpcport=8332
gen=1
server=1

That's my bitcon.conf

rpcuser and rpcpassword means the account where your Bitcointclient is running at. Write it without "#" in the bitcoin.conf.

My diablo seems to be running now.

It just saying this:

Starting DiabloMiner (GPU)...
-----------------------------
[03.06.11 12:34:04] Started
[03.06.11 12:34:04] Connecting to: http://127.0.0.1:8332/
[03.06.11 12:34:05] Added GeForce 9600M GT (#1) (4 CU, local work size of 256)
[03.06.11 12:34:08] Added GeForce 9400M (#2) (2 CU, local work size of 256)
2411/2436 khash/sec


Is it right?





If you have one of the Macs with a hybrid GPU setup, OpenCL apps may not function correctly.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: KRec on June 03, 2011, 06:54:04 PM
I cant seem to get windows to correctly run OpenCL i believe because of bootcamp driver issues. Should i look into running linux or would i have the same problems.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on June 03, 2011, 09:11:42 PM
I cant seem to get windows to correctly run OpenCL i believe because of bootcamp driver issues. Should i look into running linux or would i have the same problems.

Should work properly in Linux.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on June 03, 2011, 10:51:13 PM
Good morning,

can someone please explain me how do I setup the DiabloMiner.app for SOLO mining, if this is possible at all?

Like do I have to run the Bitcoin Client, what do I enter then in the DiabloMiner Setup for host, port, user and pw?


Thanks!

Set the user and pw you put in bitcoin.conf, and use localhost and 8332


Thanks Diablo! But can you please specify that?

like those:  

#rpcuser=user
#rpcpassword=password

? :)
I know where to put the file, but I'm not sure what I have to put in it to make it work.


Try this:

rpcuser=(your account name)
rpcpassword=(your password)
rpcport=8332
gen=1
server=1

That's my bitcon.conf

rpcuser and rpcpassword means the account where your Bitcointclient is running at. Write it without "#" in the bitcoin.conf.

My diablo seems to be running now.

It just saying this:

Starting DiabloMiner (GPU)...
-----------------------------
[03.06.11 12:34:04] Started
[03.06.11 12:34:04] Connecting to: http://127.0.0.1:8332/
[03.06.11 12:34:05] Added GeForce 9600M GT (#1) (4 CU, local work size of 256)
[03.06.11 12:34:08] Added GeForce 9400M (#2) (2 CU, local work size of 256)
2411/2436 khash/sec


Is it right?





If you have one of the Macs with a hybrid GPU setup, OpenCL apps may not function correctly.

I think no. It's just a Macbook Pro (late 08) for testing. Something like Dual Core 2,4 with 9600 and/or 9400.  The "big" test's starting on Monday.

Anyway, can you gife me/us an example of "you got a trophy" with Diablo miner. 

*cough* Thats a dual nvidia hybrid. Only one chip is on at the same time, and it confuses the hell out of most apps because OSX is too stupid to not list chips that are powered off.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: kitsura on June 05, 2011, 06:17:08 AM
Hi Diablo, I'm running the RPCminer on a quad-core Xeon 2.26GHz and only getting about 2MHash/s.
Even my ancient core2 duo PC is getting about 5MHash/s so what am I doing wrong?


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on June 05, 2011, 02:24:08 PM
Hi Diablo, I'm running the RPCminer on a quad-core Xeon 2.26GHz and only getting about 2MHash/s.
Even my ancient core2 duo PC is getting about 5MHash/s so what am I doing wrong?

Ahh, dunno. Your question would be better off towards the author of RPC Miner or the front end for it.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: Tongpu on June 05, 2011, 04:25:40 PM
I've got a crappy Intel GMA X3100 on my MacBook.
Isn't it compatible with GPU miners?


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on June 06, 2011, 12:31:06 AM
I've got a crappy Intel GMA X3100 on my MacBook.
Isn't it compatible with GPU miners?

No. Intel only very recently manufactured GPUs that do OpenCL, it is limited to the new GMA HD 2000/3000 series only. GMA 2000/3000/4000 and GMA HD (aka 5000 aka HD 1000) do not support it and do not even have the hardware to support it.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: batkiller on June 06, 2011, 06:33:04 AM
Hello,

I'm using a (primitive) MacBook Core Duo, so I'm using rpcminer instead of diablo, but although the connection wizard saves all the pool mining information (site, port, worker, password, etc.) correctly, the terminal window disappears and there's no indication that it's actually running. Netstat shows nothing listening on port 8332, top doesn't show any process resembling rpcminer, so my question is: is it actually running? It looks like everyone's posts about diablo indicate an active terminal window that's constantly displaying/updating activity--should rpcminer do the same? Also, does the bitcoin.app have to be running simultaneously?

So my simplified question: what does rpcminer look like when it's running? Is it an invisible process, or should I be seeing some sort of feedback about its activity?

Thanks!


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: MacCompiler on June 06, 2011, 08:18:21 PM
So my simplified question: what does rpcminer look like when it's running? Is it an invisible process, or should I be seeing some sort of feedback about its activity?
You should be looking at a Terminal window that displays information about the mining performance. Also, if something goes wrong; the Terminal window should remain open and display more information if something went wrong. Do you get a crash dialog or some other information when the application disappears?

Also, does the bitcoin.app have to be running simultaneously?
Only when doing solo-mining (not connecting to a third-party pool).


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: batkiller on June 06, 2011, 09:43:26 PM
Thanks for the reply! No, there's nothing... as soon as I hit 'enter' or wait the 15 seconds, the terminal window immediately disappears. The only information in the system log is that a new process was started, and then 2 seconds later the process died. Is there a way to force the terminal window to stay open so I can see any error messages? I know how to do that when issuing a command, but not from within the rpcminer app (or its menu).


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: MacCompiler on June 07, 2011, 12:29:08 AM
batkiller, I sent you a personal message with information on how to get some more debug information. Please respond to that message and I’ll see what I can do. :)


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: aBitcoiner on June 07, 2011, 10:58:11 AM
Feature request:
Diablominer keeps crashing every few hours. (Apparently thanks to Apple's poor OpenCL implementation.) Would it be possible to have your front-end check every few minutes if the process is alive and restart the miner if it wasn't killed manually?

Anyway nice job with the app. Makes things really easy.

(Posted with bugmenot.com user/pass to avoid registration.)


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: MarcelloM on June 09, 2011, 07:35:14 AM
What is this message I am getting on the easier (not so easier) DIABLOMINER gui interface for Java?

[6/9/11 9:34:19 AM] ERROR: Can't connect to Bitcoin: Bitcoin returned unparsable JSON


I cant find a real GUI for cooperative mining on MacOSX


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on June 09, 2011, 08:49:39 AM
What is this message I am getting on the easier (not so easier) DIABLOMINER gui interface for Java?

[6/9/11 9:34:19 AM] ERROR: Can't connect to Bitcoin: Bitcoin returned unparsable JSON


I cant find a real GUI for cooperative mining on MacOSX

Sounds like user error.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: lolwhatisthis on June 09, 2011, 07:45:42 PM
This is what shows up in my terminal at the moment.  Is there a way to utilize both GPUs at the same time?  If not, is there way to just use my 9600M GT for mining and not the 9400M?  I can't seem to get it to stop using the 9400M.

Code:
[6/9/11 11:21:04 AM] Added GeForce 9600M GT (#1) (4 CU, local work size of 256)
[6/9/11 11:21:07 AM] Added GeForce 9400M (#2) (2 CU, local work size of 256)
[6/9/11 11:26:03 AM] Block 1 found on GeForce 9400M (#2)
[6/9/11 11:41:27 AM] Block 2 found on GeForce 9400M (#2)
[6/9/11 12:19:45 PM] Block 3 found on GeForce 9400M (#2)
2314/1936 khash/sec


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on June 09, 2011, 11:26:16 PM
This is what shows up in my terminal at the moment.  Is there a way to utilize both GPUs at the same time?  If not, is there way to just use my 9600M GT for mining and not the 9400M?  I can't seem to get it to stop using the 9400M.

Code:
[6/9/11 11:21:04 AM] Added GeForce 9600M GT (#1) (4 CU, local work size of 256)
[6/9/11 11:21:07 AM] Added GeForce 9400M (#2) (2 CU, local work size of 256)
[6/9/11 11:26:03 AM] Block 1 found on GeForce 9400M (#2)
[6/9/11 11:41:27 AM] Block 2 found on GeForce 9400M (#2)
[6/9/11 12:19:45 PM] Block 3 found on GeForce 9400M (#2)
2314/1936 khash/sec


You're on one of those hybrid dual Nvidia setups. You can't force one on or the other. Use -D to force it to use the right one (starts at 1).


Title: Minor bug fixes and feature focus
Post by: MacCompiler on June 16, 2011, 01:06:53 AM
Posted a small update.

Next I will work on automatically recovering from crashes, and catching more exceptions.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: synergy543 on June 16, 2011, 08:18:30 PM
Hey just tried the lastest version and it crashes when I try to run it:


DiabloMiner-exe: line 175:   618 Segmentation fault      java -Xmx16m -cp target/libs/*:target/DiabloMiner.jar -Djava.awt.headless=true -Djava.library.path=target/libs/natives/macosx com.diablominer.DiabloMiner.DiabloMiner -u $diablominer_username -p $diablominer_userpass -o $diablominer_hostname -r $diablominer_hostport
Did something go wrong? Relaunch and enter the Set up wizard by pressing 1 and Enter during start-up, and check your configuration.
logout




Also I am only getting about 160Kh/s with my 5870. I wanted to try to enable vectors and set the worksize to 128 but when I try to run the miner from the command line with the -w 128 and -v settings it doesn't seem to do anything. Any advise?


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: synergy543 on June 16, 2011, 11:02:28 PM
Also while running Diablo on a MacPro with a 5870 (@160k hash/s rate), my UI screen is sluggish.  When I move windows around, they are very jerky whereas when Diablo is off, they are smooth.  Is there a way to give priority to the US of the open appwhen its being used?

With my previous graphics card (NVidia8800), the UI operations seemed to be smoother, although the hash rate was 1/10.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on June 17, 2011, 04:27:57 AM
Also while running Diablo on a MacPro with a 5870 (@160k hash/s rate), my UI screen is sluggish.  When I move windows around, they are very jerky whereas when Diablo is off, they are smooth.  Is there a way to give priority to the US of the open appwhen its being used?

With my previous graphics card (NVidia8800), the UI operations seemed to be smoother, although the hash rate was 1/10.

Increase -f, it expects a multiple or divisior of 60. Also, that 5870 can easily do >350 mhash/sec... OSX really sucks.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: MacCompiler on June 17, 2011, 10:35:20 PM
Another small update with some crash fixes. (Thanks for reporting it when you run into problems.) Downloads. (http://forum.bitcoin.org/index.php?topic=8994.0)


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: MacCompiler on June 17, 2011, 10:42:01 PM
Also while running Diablo on a MacPro with a 5870 (@160k hash/s rate), my UI screen is sluggish.  When I move windows around, they are very jerky whereas when Diablo is off, they are smooth.  Is there a way to give priority to the US of the open appwhen its being used?

I have a partially working implementation of idle detection that will—at the cost of mining performance—prevent the miner from using too much system resources when the machine is in use. This is not fully working yet, but I’ll get there.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: synergy543 on June 18, 2011, 06:27:08 AM
I have a partially working implementation of idle detection that will—at the cost of mining performance—prevent the miner from using too much system resources when the machine is in use. This is not fully working yet, but I’ll get there.

Great news!

I wonder if it would be possible for the user to input the idle detection time?  Sometimes a minute would be all that it needs to crank back up to 100%.  Other times, when I'm seriously working on the machine I might want to kick it back to 10 or 15 minutes idle wait so as not to interfere.  Of course right now, I have the option of turning it off completely although still with the excitement of not receiving my first bitcoin yet, I'm tolerating a very sluggish screen.  :-\

I'm on a MacPro 8-core on OSX 10.6.7 with an ATI 5870 with an Artic Cooler.  I must say it is rather disappointing to see only 156 Mhash/sec when others on the PC are reporting easily more than double (and someone claimed 421).  It would be nice if there were some options to optimize performance on the Mac to squeeze a 'bit' more performance (sorry). ::)

EDIT I just installed the latest version DiabloMiner-GPU-Bitcoin-miner-20110618.zip and at first I thought I saw an increase in speed.  I saw number over 205,000 that really excited me.  Then, slowly it started dropping down.  Now it seems to be running about the same rate as before.  I see 156,000/160,000 khash/sec

btw, why the fraction?  What do the two numbers mean?

Are there any ways to set the vector worksize to 128?  Might this not provide some advantage?


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on June 18, 2011, 07:32:51 AM
I have a partially working implementation of idle detection that will—at the cost of mining performance—prevent the miner from using too much system resources when the machine is in use. This is not fully working yet, but I’ll get there.

Great news!

I wonder if it would be possible for the user to input the idle detection time?  Sometimes a minute would be all that it needs to crank back up to 100%.  Other times, when I'm seriously working on the machine I might want to kick it back to 10 or 15 minutes idle wait so as not to interfere.  Of course right now, I have the option of turning it off completely although still with the excitement of not receiving my first bitcoin yet, I'm tolerating a very sluggish screen.  :-\

I'm on a MacPro 8-core on OSX 10.6.7 with an ATI 5870 with an Artic Cooler.  I must say it is rather disappointing to see only 156 Mhash/sec when others on the PC are reporting easily more than double (and someone claimed 421).  It would be nice if there were some options to optimize performance on the Mac to squeeze a 'bit' more performance (sorry). ::)

EDIT I just installed the latest version DiabloMiner-GPU-Bitcoin-miner-20110618.zip and at first I thought I saw an increase in speed.  I saw number over 205,000 that really excited me.  Then, slowly it started dropping down.  Now it seems to be running about the same rate as before.  I see 156,000/160,000 khash/sec

btw, why the fraction?  What do the two numbers mean?

Are there any ways to set the vector worksize to 128?  Might this not provide some advantage?

Its 15 sec average/forever avg.

Also, you can set -w all you want. Most OSX users say anything but default is slower for them.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: MacCompiler on June 18, 2011, 03:00:11 PM
I wonder if it would be possible for the user to input the idle detection time?  Sometimes a minute would be all that it needs to crank back up to 100%.  Other times, when I'm seriously working on the machine I might want to kick it back to 10 or 15 minutes idle wait so as not to interfere.  Of course right now, I have the option of turning it off completely although still with the excitement of not receiving my first bitcoin yet, I'm tolerating a very sluggish screen.  :-\
I’m trying to hook it into the same API that dims your screen (right before the screensaver kicks in). In other words, it will be configurable in the same way as your power settings.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: synergy543 on June 19, 2011, 12:14:49 AM
I’m trying to hook it into the same API that dims your screen (right before the screensaver kicks in). In other words, it will be configurable in the same way as your power settings.

Is that option even available as an option on desktop machines? (Mac Pros and iMacs).  The dim key doesn't do anything here, and I can't find an option in the sys prefs.  I'm getting quite good at hitting Control+C in the terminal when I need an interrupt which is at least letting me work on the same machine.  Totally disruptive to mining though. :'(

My old NVidea 8800 didn't didn't get as much hashing done, although while hashing, it didn't seem to interfere with the screen UI as much as my faster ATI5870 card.  I still don't quite understand why.  Maybe because it was just working less?




Title: Re: Mac miner front-ends to Diablo and RPC
Post by: opticbit on June 21, 2011, 07:42:43 PM
when logged in as a regular user in OSX it starts to open but fails.
I switched over to an admin accout and it gave me the
-DL from web do you want to run- question,
after pressing ok it started went into terminal and started running.

I'm on a 4yr old Mac Book Pro.  I get about 4mhash/s.  When I was in bootcamp with win xp I got 5mhash with the guiminer.

I might be getting a real mining rig soon.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: Stupidpal on July 24, 2011, 09:12:34 AM
Any chance of this being updated soon?


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: NielDLR on August 27, 2011, 10:49:51 AM
@DiabloD3:
Quote
You want -f. It should be a multiple or divisor of 60, and some people just turn it the whole way to 1000 and don't care how many mhash they lose.

I think this could help. Where do I have to put this in DibloMiner to use the -f option? Could you explain in more detail what exactly it does?

@MacCompiler:
Quote
Not currently. I could easily add functionality to reduce the process priority. It kind of defeats the purpose, as you want as much juice out of your system as possible. But if this is something others also want, I can add it in an update. Let me know.

I would like this option for two reasons:

1. during the day I would like to use my mac for daily work. With GPU on 100% workload all the time it is really hard to use the mac. Therefore currently I have only the option to work or to mine, but not doing both at the same time.
2. The GPU temperature is always about 85°C. That's high and not good for the GPU and the mac at all. I can lose some MHash to get the GPU coolness. I love my mac and I don't want to get it corrupted :-)

Thanks!


I have these exact same questions and it seems they haven't been answered yet in this thread. Just got my Macbook and would like to mine some coins, but the processes takes up too much power, leaving the rest very sluggish. Anyone care to help?


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on August 27, 2011, 07:31:53 PM
OSX's OpenCL impl is so screwed up, its not really worth it. Plus, the frontend is not shipping with my most up to date version of DiabloMiner.


Title: Re: dazed and confused
Post by: Roodemol on September 15, 2011, 08:55:30 PM
bad cpu type in executable
A PowerPC machine? The application is Intel only, and the Mac OS launch service should not even launch it a PowerPC.

Hi, it´s possible to mine on a PowerPC machine, see my post in the newbies section:
https://bitcointalk.org/index.php?topic=24875.msg519340#msg519340 (https://bitcointalk.org/index.php?topic=24875.msg519340#msg519340)

You will end up somewhere around 1100 khash/sec on a G4 with 1,5 GHz, not a lot.

Regards,
Gilles


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: mmortal03 on October 28, 2011, 11:46:05 PM
Any chance of this being updated soon?

It doesn't look like he's been around since that June 18th post above.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on October 28, 2011, 11:47:51 PM
Any chance of this being updated soon?

It doesn't look like he's been around since that June 18th post above.

Just use DM directly. Its not hard to use.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: lituar on November 05, 2011, 05:51:05 PM
Hi.

I was trying to use RPCminer on my imac. He works. He gave me 2.000khash, but pool-x.eu doesnt compute. I left minig for one hour and nothing change on my account. However the RPCminer is working great. I checked login, password, ports and url.

On my ubuntu works and the pool reward me.

Someone could help me?


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on November 05, 2011, 11:59:27 PM
Hi.

I was trying to use RPCminer on my imac. He works. He gave me 2.000khash, but pool-x.eu doesnt compute. I left minig for one hour and nothing change on my account. However the RPCminer is working great. I checked login, password, ports and url.

On my ubuntu works and the pool reward me.

Someone could help me?

Never heard of that pool. Try a different one.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: MacCompiler on November 08, 2011, 09:19:34 PM
Updated front-end to most recent version of DiabloMiner. Also should not crash. See first post of thread for links.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on November 09, 2011, 05:05:57 AM
Updated front-end to most recent version of DiabloMiner. Also should not crash. See first post of thread for links.

Yay, everyone thought you ragequit.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on November 11, 2011, 12:30:15 PM
Anyone else getting this error since the update?

http://img713.imageshack.us/img713/8402/screenshot20111110at104.png

Known bug on 10.7, cut your worksize down to 128 or 64.

Dear Apple, please stop sucking. Signed, The Internet.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on November 12, 2011, 07:32:21 AM

Known bug on 10.7, cut your worksize down to 128 or 64.

Dear Apple, please stop sucking. Signed, The Internet.

The previous release was running fine on my 10.7 OS  ???

I'm not exactly sure how to do that on a Mac.
I went through the application's package contents but couldn't find anything.
Any help is greatly appreciated!

MacCompiler, how do you change worksize in your UI? I dont have a mac to test on.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on November 14, 2011, 11:25:17 PM
Do you have archives of the previous releases?
The last version worked perfect on my same setup, I would rather just re-install that version than edit info via MacCompiler just to get the newer version going.

This has been going on in DiabloMiner awhile, the Mac frontend just hasn't been updated in awhile.

OSX has a very broken OpenCL implementation, and Apple doesn't seem to want to fix it. Although, otoh, 10.7's isn't as bad as 10.6's was.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on November 15, 2011, 07:59:17 AM

This has been going on in DiabloMiner awhile, the Mac frontend just hasn't been updated in awhile.

OSX has a very broken OpenCL implementation, and Apple doesn't seem to want to fix it. Although, otoh, 10.7's isn't as bad as 10.6's was.

Man that sucks, I was using BTC mining as an excuse to upgrade to a 27" iMac with the 6970M since I've been wanting it for gaming and movies anyway.

I wouldn't mine on a laptop or an iMac anyways, they simply do not have enough cooling, nor do they have powerful enough GPUs to make it worthwhile.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: emc2 on November 16, 2011, 12:14:42 AM
Yeah finally I'm out of the newbie pool!

Since this quick and really dirty fix, I modified the DiabloMiner-exe bash script file. Now you can setup worksize, vectors and fps with the configuration wizard. If you use AUTO that will use DM without these options.

You can download the app on http://cl.ly/2M2W0s0Q0k3o392j1t2K

If you prefer to modify the "DiabloMiner.app/Contents/MacOS/DiabloMiner-exe" file by yourself here are my changes:

Code:
#!/bin/bash

# clean up behavioral- and read in variables
clear
unset diablominer_menu
unset diablominer_menu_feedback
export user_defaults_domain_list=$(defaults domains)
export user_defaults_currenthost_domain_list=$(defaults -currentHost domains)

# functions
diablominer_read_preferences()
{
  export diablominer_hostname=$(defaults read oss.bitcoin-utils.diablominer 'ServerHostName')
  export diablominer_hostport=$(defaults read oss.bitcoin-utils.diablominer 'ServerHostPort')
  export diablominer_username=$(defaults -currentHost read oss.bitcoin-utils.diablominer 'MinerName')
  export diablominer_userpass=$(defaults -currentHost read oss.bitcoin-utils.diablominer 'MinerPassword')
  export diablominer_worksize=$(defaults read oss.bitcoin-utils.diablominer 'WorkSize')
  export diablominer_fps=$(defaults read oss.bitcoin-utils.diablominer 'Fps')
  export diablominer_vectors=$(defaults read oss.bitcoin-utils.diablominer 'Vectors')
}

diablominer_set_up_wizard()
{
  clear
 
  echo 'DiabloMiner set up wizard'
  echo 'GPU based Bitcoin miner.'
  echo '-------------------------'

  while :
  do
    read -p "Server host name or IP address [$diablominer_hostname]: " diablominer_set_hostname
    if [ -n $diablominer_hostname ]; then if [ -z $diablominer_set_hostname ]; then
      diablominer_set_hostname=$diablominer_hostname
    fi; fi
    if [ -n "$diablominer_set_hostname" ]; then
      if [[ ! "$diablominer_set_hostname" =~ ^(https?)://? ]]; then # matches input without a supported protocol
        if [[ ! "$diablominer_set_hostname" =~ :[0-9]{2,6}$ ]]; then # checks that there is no protocol number.
          break
    fi; fi; fi
    echo 'Error: Enter a valid domain name without specifying a port number or protocol (will default to http.)'
  done

  while :
  do
    read -p "Server port number [$diablominer_hostport]: " diablominer_set_hostport
    if [ -n $diablominer_hostport ]; then if [ -z $diablominer_set_hostport ]; then
      diablominer_set_hostport=$diablominer_hostport
    fi; fi
    if [[ "$diablominer_set_hostport" =~ ^[0-9]{2,6} ]]; then # matches numerials with length 2-6
      break
    fi
    echo 'Error: Enter a port number from two to six digits.'
  done

  while :
  do
    read -p "Miner username [$diablominer_username]: " diablominer_set_username
    if [ -n $diablominer_username ]; then if [ -z $diablominer_set_username ]; then
      diablominer_set_username=$diablominer_username
    fi; fi
    if [ -n "$diablominer_set_username" ]; then
      break
    fi
    echo 'Error: Enter a username.'
  done

  while :
  do
    read -p "Miner password: " diablominer_set_userpass
    if [ -n $diablominer_userpass ]; then if [ -z $diablominer_set_userpass ]; then
      diablominer_set_userpass=$diablominer_userpass
    fi; fi
    if [ -n "$diablominer_set_userpass" ]; then
      break
    fi
    echo 'Error: Enter a password.'
  done

  # offer LaunchAgent
  if [ ! -f "$HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist" ]; then
    echo ''
    read -p 'Start mining automatically on log-in? [yes/NO]: ' diablominer_wizard_startup
    case $diablominer_wizard_startup in
      [y/Y]|[y/Y][e/E][s/S]) cp $(dirname $0)/../Resources/loginitem.plist $HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist ;;
    esac
    unset diablominer_wizard_startup
  fi

  echo '----------------------'
  echo 'Advanced settings, use AUTO if you do not know your settings'
  echo '----------------------'

  # Set worksize (AUTO don't work in 10.7)
  while :
  do
    read -p "Override worksize (AUTO for automatic) [$diablominer_worksize]: " diablominer_set_worksize
    if [ -n $diablominer_worksize ]; then if [ -z $diablominer_set_worksize ]; then
      diablominer_set_worksize=$diablominer_worksize
    fi; fi
    if [ -z "$diablominer_set_worksize" ]; then
      diablominer_set_worksize="AUTO"
      echo 'Using automatic settings'
    fi
    value_worksize=`echo $diablominer_set_worksize | tr '[:lower:]' '[:upper:]'`
    if [ "$value_worksize" == "AUTO" ]; then
      diablominer_set_worksize="AUTO"
    fi
    if [ -n "$diablominer_set_worksize" ]; then
      break
    fi
  done

  # Set vector size
  while :
  do
    read -p "Vector size in kernel (1-6 or AUTO for automatic) [$diablominer_vectors]: " diablominer_set_vectors
    if [ -n $diablominer_vectors ]; then if [ -z $diablominer_set_vectors ]; then
      diablominer_set_vectors=$diablominer_vectors
    fi; fi
    if [ -z "$diablominer_set_vectors" ]; then
      diablominer_set_vectors="AUTO"
      echo 'Using automatic settings'
    fi
    value_vectors=`echo $diablominer_set_vectors | tr '[:lower:]' '[:upper:]'`
    if [ "$value_vectors" == "AUTO" ]; then
      diablominer_set_vectors="AUTO"
    fi
    if [ -n "$diablominer_set_vectors" ]; then
      break
    fi
  done

  # Set FPS
  while :
  do
    read -p "Target execution timing (AUTO for automatic) [$diablominer_fps]: " diablominer_set_fps
    if [ -n $diablominer_fps ]; then if [ -z $diablominer_set_fps ]; then
      diablominer_set_fps=$diablominer_fps
    fi; fi
    if [ -z "$diablominer_set_fps" ]; then
      diablominer_set_fps="AUTO"
      echo 'Using automatic settings'
    fi
    value_fps=`echo $diablominer_set_fps| tr '[:lower:]' '[:upper:]'`
    if [ "$value_fps" == "AUTO" ]; then
      diablominer_set_fps="AUTO"
    fi
    if [ -n "$diablominer_set_fps" ]; then
      break
    fi
  done

  # writing user defaults
  defaults write oss.bitcoin-utils.diablominer 'ServerHostName' -string  $diablominer_set_hostname
  defaults write oss.bitcoin-utils.diablominer 'ServerHostPort' -integer $diablominer_set_hostport
  defaults -currentHost write oss.bitcoin-utils.diablominer 'MinerName'       -string  $diablominer_set_username
  defaults -currentHost write oss.bitcoin-utils.diablominer 'MinerPassword'   -string  $diablominer_set_userpass
  defaults write oss.bitcoin-utils.diablominer 'WorkSize' -string $diablominer_set_worksize
  defaults write oss.bitcoin-utils.diablominer 'Vectors' -string $diablominer_set_vectors
  defaults write oss.bitcoin-utils.diablominer 'Fps' -string $diablominer_set_fps

}

# runtime
if [[ ! "$user_defaults_domain_list" =~ 'oss.bitcoin-utils.diablominer' ]]; then # first run

  diablominer_set_up_wizard
  diablominer_read_preferences

elif [[ "$user_defaults_domain_list" =~ 'oss.bitcoin-utils.diablominer' ]]; then
  # upgrade user defaults from versions < 1.5
  if [[ ! "$user_defaults_currenthost_domain_list" =~ 'oss.bitcoin-utils.diablominer' ]]; then
    defaults -currentHost write oss.bitcoin-utils.diablominer 'MinerName'       -string  $(defaults read oss.bitcoin-utils.diablominer 'UserName')
    defaults -currentHost write oss.bitcoin-utils.diablominer 'MinerPassword'   -string  $(defaults read oss.bitcoin-utils.diablominer 'UserPassword')
    export user_defaults_currenthost_domain_list=$(defaults -currentHost domains)
    defaults delete oss.bitcoin-utils.diablominer 'UserName'
    defaults delete oss.bitcoin-utils.diablominer 'UserPassword'
  fi

  # runtime configuration: reading user defaults
  if [[ "$user_defaults_currenthost_domain_list" =~ 'oss.bitcoin-utils.diablominer' ]]; then
    diablominer_read_preferences

  else # not fully configured
    diablominer_set_up_wizard
    diablominer_read_preferences
  fi

  # start-up menu
  while :
  do
    clear
    echo 'DiabloMiner (GPU) menu'
    echo '----------------------'
    echo '1) Set up wizard / configuration'
    echo '2) How to support article (opens in Web browser)'
    if [ -f "$HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist" ]; then
      echo '3) Start mining on login is ON'
    elif [ ! -f "$HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist" ]; then
      echo '3) Start mining on login is OFF'
    fi
    echo '4) Check for updates (opens in Web browser)'
    echo ''
    echo '   '$diablominer_menu_feedback
    read -t 15 -p "Make a selection, or press [Enter] or wait 15 sec to run the miner: " diablominer_menu
    unset diablominer_menu_feedback
    if [ -z $diablominer_menu ]; then break; fi
    case $diablominer_menu in
      1*)
        diablominer_set_up_wizard
        diablominer_read_preferences
        break
      ;;
      2*)
        open http://maccoinminer.wordpress.com/2011/05/20/diablominer-for-mac/
        export diablominer_menu_feedback='Link sent to browser.'
      ;;
      3*)
        if [ -f "$HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist" ]; then
          rm $HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist
          export diablominer_menu_feedback='LaunchAgent removed.'
        elif [ ! -f "$HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist" ]; then
          cp $(dirname $0)/../Resources/loginitem.plist $HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist
          export diablominer_menu_feedback='LaunchAgent installed.'
        fi
      ;;
      4*)
        open http://forum.bitcoin.org/index.php?topic=8994.0
        export diablominer_menu_feedback='Link sent to browser.'
      ;;
    esac
  done
else
  echo 'No user default system. Something is wrong.'
  exit 8
fi

# Advanced args initialization
if [ $diablominer_worksize == "AUTO" ]; then
  _worksize=""
elif [ -n "$diablominer_worksize" ]; then
  _worksize="-w "$diablominer_worksize
fi

if [ $diablominer_vectors == "AUTO" ]; then
  _vectors=""
elif [ -n "$diablominer_vectors" ]; then
  _vectors="-v "$diablominer_vectors
fi

if [ $diablominer_fps == "AUTO" ]; then
  _fps=""
elif [ -n "$diablominer_fps" ]; then
  _fps="-f "$diablominer_fps
fi


clear


echo 'Starting DiabloMiner (GPU)...'
echo '-----------------------------'

cd $(dirname $0)/../Resources/miner/

export GPU_USE_SYNC_OBJECTS=1
java -Xmx16m -cp target/libs/*:target/DiabloMiner.jar -Djava.awt.headless=true -Djava.library.path=target/libs/natives/macosx com.diablominer.DiabloMiner.DiabloMiner -u $diablominer_username -p $diablominer_userpass -o $diablominer_hostname -r $diablominer_hostport $_worksize $_vectors $_fps

echo '-----------------------------'
echo 'Did something go wrong? Relaunch and enter the Set up wizard by pressing 1 and Enter during start-up, and check your configuration.'

Feel free to modify/improve!


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on November 16, 2011, 02:44:36 PM
The only thing to improve on that is quit calling Java manually. Use the DiabloMiner-OSX.sh from the DM distro itself.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: emc2 on November 16, 2011, 04:00:08 PM
Try with this version: http://cl.ly/0D292u2g262E0A173d42

It will directly call DiabloMiner-OSX.sh

changes:
Code:
#!/bin/bash

# clean up behavioral- and read in variables
clear
unset diablominer_menu
unset diablominer_menu_feedback
export user_defaults_domain_list=$(defaults domains)
export user_defaults_currenthost_domain_list=$(defaults -currentHost domains)

# functions
diablominer_read_preferences()
{
  export diablominer_hostname=$(defaults read oss.bitcoin-utils.diablominer 'ServerHostName')
  export diablominer_hostport=$(defaults read oss.bitcoin-utils.diablominer 'ServerHostPort')
  export diablominer_username=$(defaults -currentHost read oss.bitcoin-utils.diablominer 'MinerName')
  export diablominer_userpass=$(defaults -currentHost read oss.bitcoin-utils.diablominer 'MinerPassword')
  export diablominer_worksize=$(defaults read oss.bitcoin-utils.diablominer 'WorkSize')
  export diablominer_fps=$(defaults read oss.bitcoin-utils.diablominer 'Fps')
  export diablominer_vectors=$(defaults read oss.bitcoin-utils.diablominer 'Vectors')
}

diablominer_set_up_wizard()
{
  clear
 
  echo 'DiabloMiner set up wizard'
  echo 'GPU based Bitcoin miner.'
  echo '-------------------------'

  while :
  do
    read -p "Server host name or IP address [$diablominer_hostname]: " diablominer_set_hostname
    if [ -n $diablominer_hostname ]; then if [ -z $diablominer_set_hostname ]; then
      diablominer_set_hostname=$diablominer_hostname
    fi; fi
    if [ -n "$diablominer_set_hostname" ]; then
      if [[ ! "$diablominer_set_hostname" =~ ^(https?)://? ]]; then # matches input without a supported protocol
        if [[ ! "$diablominer_set_hostname" =~ :[0-9]{2,6}$ ]]; then # checks that there is no protocol number.
          break
    fi; fi; fi
    echo 'Error: Enter a valid domain name without specifying a port number or protocol (will default to http.)'
  done

  while :
  do
    read -p "Server port number [$diablominer_hostport]: " diablominer_set_hostport
    if [ -n $diablominer_hostport ]; then if [ -z $diablominer_set_hostport ]; then
      diablominer_set_hostport=$diablominer_hostport
    fi; fi
    if [[ "$diablominer_set_hostport" =~ ^[0-9]{2,6} ]]; then # matches numerials with length 2-6
      break
    fi
    echo 'Error: Enter a port number from two to six digits.'
  done

  while :
  do
    read -p "Miner username [$diablominer_username]: " diablominer_set_username
    if [ -n $diablominer_username ]; then if [ -z $diablominer_set_username ]; then
      diablominer_set_username=$diablominer_username
    fi; fi
    if [ -n "$diablominer_set_username" ]; then
      break
    fi
    echo 'Error: Enter a username.'
  done

  while :
  do
    read -p "Miner password: " diablominer_set_userpass
    if [ -n $diablominer_userpass ]; then if [ -z $diablominer_set_userpass ]; then
      diablominer_set_userpass=$diablominer_userpass
    fi; fi
    if [ -n "$diablominer_set_userpass" ]; then
      break
    fi
    echo 'Error: Enter a password.'
  done

  # offer LaunchAgent
  if [ ! -f "$HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist" ]; then
    echo ''
    read -p 'Start mining automatically on log-in? [yes/NO]: ' diablominer_wizard_startup
    case $diablominer_wizard_startup in
      [y/Y]|[y/Y][e/E][s/S]) cp $(dirname $0)/../Resources/loginitem.plist $HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist ;;
    esac
    unset diablominer_wizard_startup
  fi

  echo '----------------------'
  echo 'Advanced settings, use AUTO if you do not know your settings'
  echo '----------------------'

  # Set worksize (AUTO don't work in 10.7)
  while :
  do
    read -p "Override worksize (AUTO for automatic) [$diablominer_worksize]: " diablominer_set_worksize
    if [ -n $diablominer_worksize ]; then if [ -z $diablominer_set_worksize ]; then
      diablominer_set_worksize=$diablominer_worksize
    fi; fi
    if [ -z "$diablominer_set_worksize" ]; then
      diablominer_set_worksize="AUTO"
      echo 'Using automatic settings'
    fi
    value_worksize=`echo $diablominer_set_worksize | tr '[:lower:]' '[:upper:]'`
    if [ "$value_worksize" == "AUTO" ]; then
      diablominer_set_worksize="AUTO"
    fi
    if [ -n "$diablominer_set_worksize" ]; then
      break
    fi
  done

  # Set vector size
  while :
  do
    read -p "Vector size in kernel (1-6 or AUTO for automatic) [$diablominer_vectors]: " diablominer_set_vectors
    if [ -n $diablominer_vectors ]; then if [ -z $diablominer_set_vectors ]; then
      diablominer_set_vectors=$diablominer_vectors
    fi; fi
    if [ -z "$diablominer_set_vectors" ]; then
      diablominer_set_vectors="AUTO"
      echo 'Using automatic settings'
    fi
    value_vectors=`echo $diablominer_set_vectors | tr '[:lower:]' '[:upper:]'`
    if [ "$value_vectors" == "AUTO" ]; then
      diablominer_set_vectors="AUTO"
    fi
    if [ -n "$diablominer_set_vectors" ]; then
      break
    fi
  done

  # Set FPS
  while :
  do
    read -p "Target execution timing (AUTO for automatic) [$diablominer_fps]: " diablominer_set_fps
    if [ -n $diablominer_fps ]; then if [ -z $diablominer_set_fps ]; then
      diablominer_set_fps=$diablominer_fps
    fi; fi
    if [ -z "$diablominer_set_fps" ]; then
      diablominer_set_fps="AUTO"
      echo 'Using automatic settings'
    fi
    value_fps=`echo $diablominer_set_fps| tr '[:lower:]' '[:upper:]'`
    if [ "$value_fps" == "AUTO" ]; then
      diablominer_set_fps="AUTO"
    fi
    if [ -n "$diablominer_set_fps" ]; then
      break
    fi
  done

  # writing user defaults
  defaults write oss.bitcoin-utils.diablominer 'ServerHostName' -string  $diablominer_set_hostname
  defaults write oss.bitcoin-utils.diablominer 'ServerHostPort' -integer $diablominer_set_hostport
  defaults -currentHost write oss.bitcoin-utils.diablominer 'MinerName'       -string  $diablominer_set_username
  defaults -currentHost write oss.bitcoin-utils.diablominer 'MinerPassword'   -string  $diablominer_set_userpass
  defaults write oss.bitcoin-utils.diablominer 'WorkSize' -string $diablominer_set_worksize
  defaults write oss.bitcoin-utils.diablominer 'Vectors' -string $diablominer_set_vectors
  defaults write oss.bitcoin-utils.diablominer 'Fps' -string $diablominer_set_fps

}

# runtime
if [[ ! "$user_defaults_domain_list" =~ 'oss.bitcoin-utils.diablominer' ]]; then # first run

  diablominer_set_up_wizard
  diablominer_read_preferences

elif [[ "$user_defaults_domain_list" =~ 'oss.bitcoin-utils.diablominer' ]]; then
  # upgrade user defaults from versions < 1.5
  if [[ ! "$user_defaults_currenthost_domain_list" =~ 'oss.bitcoin-utils.diablominer' ]]; then
    defaults -currentHost write oss.bitcoin-utils.diablominer 'MinerName'       -string  $(defaults read oss.bitcoin-utils.diablominer 'UserName')
    defaults -currentHost write oss.bitcoin-utils.diablominer 'MinerPassword'   -string  $(defaults read oss.bitcoin-utils.diablominer 'UserPassword')
    export user_defaults_currenthost_domain_list=$(defaults -currentHost domains)
    defaults delete oss.bitcoin-utils.diablominer 'UserName'
    defaults delete oss.bitcoin-utils.diablominer 'UserPassword'
  fi

  # runtime configuration: reading user defaults
  if [[ "$user_defaults_currenthost_domain_list" =~ 'oss.bitcoin-utils.diablominer' ]]; then
    diablominer_read_preferences

  else # not fully configured
    diablominer_set_up_wizard
    diablominer_read_preferences
  fi

  # start-up menu
  while :
  do
    clear
    echo 'DiabloMiner (GPU) menu'
    echo '----------------------'
    echo '1) Set up wizard / configuration'
    echo '2) How to support article (opens in Web browser)'
    if [ -f "$HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist" ]; then
      echo '3) Start mining on login is ON'
    elif [ ! -f "$HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist" ]; then
      echo '3) Start mining on login is OFF'
    fi
    echo '4) Check for updates (opens in Web browser)'
    echo ''
    echo '   '$diablominer_menu_feedback
    read -t 15 -p "Make a selection, or press [Enter] or wait 15 sec to run the miner: " diablominer_menu
    unset diablominer_menu_feedback
    if [ -z $diablominer_menu ]; then break; fi
    case $diablominer_menu in
      1*)
        diablominer_set_up_wizard
        diablominer_read_preferences
        break
      ;;
      2*)
        open http://maccoinminer.wordpress.com/2011/05/20/diablominer-for-mac/
        export diablominer_menu_feedback='Link sent to browser.'
      ;;
      3*)
        if [ -f "$HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist" ]; then
          rm $HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist
          export diablominer_menu_feedback='LaunchAgent removed.'
        elif [ ! -f "$HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist" ]; then
          cp $(dirname $0)/../Resources/loginitem.plist $HOME/Library/LaunchAgents/oss.bitcoin-utils.diablominer.plist
          export diablominer_menu_feedback='LaunchAgent installed.'
        fi
      ;;
      4*)
        open http://forum.bitcoin.org/index.php?topic=8994.0
        export diablominer_menu_feedback='Link sent to browser.'
      ;;
    esac
  done
else
  echo 'No user default system. Something is wrong.'
  exit 8
fi

# Advanced args initialization
if [ $diablominer_worksize == "AUTO" ]; then
  _worksize=""
elif [ -n "$diablominer_worksize" ]; then
  _worksize="-w "$diablominer_worksize
fi

if [ $diablominer_vectors == "AUTO" ]; then
  _vectors=""
elif [ -n "$diablominer_vectors" ]; then
  _vectors="-v "$diablominer_vectors
fi

if [ $diablominer_fps == "AUTO" ]; then
  _fps=""
elif [ -n "$diablominer_fps" ]; then
  _fps="-f "$diablominer_fps
fi


clear


echo 'Starting DiabloMiner (GPU)...'
echo '-----------------------------'

exec $(dirname ${0})/../Resources/miner/DiabloMiner-OSX.sh -u $diablominer_username -p $diablominer_userpass -o $diablominer_hostname -r $diablominer_hostport $_worksize $_vectors $_fps

echo ''
echo 'Did something go wrong? Relaunch and enter the Set up wizard by pressing 1 and Enter during start-up, and check your configuration.'

+ addition of "DiabloMiner-OSX.sh" from DM distro in "DiabloMiner.app/Contents/Resources/miner/"


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on November 27, 2011, 05:28:14 PM
Does anyone have the previous release of Diablo?

Even though I got this newer version going, I am still getting far more issues than the last version I was using.

File a bug with Apple, seriously.

The more people that complain their OpenCL stack is completely broken, the better.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: DiabloD3 on November 28, 2011, 06:08:50 PM
I would understand doing that if my situation were different.

Since the new release, I have been on the same OS (Lion), same settings, everything.
The previous release ran much better on my Mac than this current release; higher hash rate, less connection issues (no matter which pool I've used), and less editing of the script just to get it running.
So I don't see how it could be on Apple's side if the previous release ran great and I haven't changed settings since I've upgraded, that only leaves the new release as the source of the issues for mining on my Mac.

Really I just want to ability to re-download the previous release with the front end.
Surely someone on here still has the .dmg file.

EDIT:
Found it: http://hotfile.com/dl/121201735/605cf04/DiabloMiner-GPU-Bitcoin-miner-20110618.zip.html

What you're calling the current release, from my point of view, is several months old. All the changes I've made since the last release of the front end bundle has improved performance, stability, and network handling for every other user.

Apple refuses to fix their OpenCL stack, so if it is slower for you then it is a bug on their side. Your same hardware running Windows or Linux would be close to twice as fast.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: pletoss on January 23, 2012, 04:40:24 PM
Hi,

I packaged Kiv's poclbm guiminer into a bundled standalone Mac OS X Binary (app) using py2app and some funky voodoo patching action.

You can get it from here: https://github.com/downloads/pletoss/poclbm/guiminer-poclbm-macosx.dmg and give it a try. I hope this works for everybody.

It's important to drag it out of the dmg to some place where it is writable before running since it needs to be able to write some log files in the app. Dragging it to Applications as usual should work.

If you're interested in the voodoo: https://github.com/pletoss/poclbm.

Cheers,
Pletoss


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: crazy_rabbit on January 27, 2013, 02:32:13 PM
Hi,

I packaged Kiv's poclbm guiminer into a bundled standalone Mac OS X Binary (app) using py2app and some funky voodoo patching action.

You can get it from here: https://github.com/downloads/pletoss/poclbm/guiminer-poclbm-macosx.dmg and give it a try. I hope this works for everybody.

It's important to drag it out of the dmg to some place where it is writable before running since it needs to be able to write some log files in the app. Dragging it to Applications as usual should work.

If you're interested in the voodoo: https://github.com/pletoss/poclbm.

Cheers,
Pletoss

Very nice! Now using it to mine TRC on OSX.


Title: Re: Mac miner front-ends to Diablo and RPC
Post by: Wed on May 06, 2013, 04:23:21 PM
I've updated the originally .app with the newest diablominer binary and added some new functionality (to choose parameters).
You can get it here: https://bitcointalk.org/index.php?topic=193274.0