Pages:
Author

Topic: Mac miner front-ends to Diablo and RPC (Read 181620 times)

Wed
legendary
Activity: 1231
Merit: 1018
May 06, 2013, 11:23:21 AM
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://bitcointalksearch.org/topic/diablominer-for-mac-os-x-new-version-193274
legendary
Activity: 1204
Merit: 1002
RUM AND CARROTS: A PIRATE LIFE FOR ME
January 27, 2013, 09:32:13 AM
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.
newbie
Activity: 7
Merit: 0
January 23, 2012, 11:40:24 AM
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
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
November 28, 2011, 01: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.
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
November 27, 2011, 12: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.
newbie
Activity: 26
Merit: 0
November 16, 2011, 11:00:08 AM
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/"
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
November 16, 2011, 09:44:36 AM
The only thing to improve on that is quit calling Java manually. Use the DiabloMiner-OSX.sh from the DM distro itself.
newbie
Activity: 26
Merit: 0
November 15, 2011, 07:14:42 PM
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!
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
November 15, 2011, 02: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.
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
November 14, 2011, 06: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.
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
November 12, 2011, 02: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  Huh

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.
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
November 11, 2011, 07:30:15 AM
Anyone else getting this error since the update?



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

Dear Apple, please stop sucking. Signed, The Internet.
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
November 09, 2011, 12: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.
newbie
Activity: 53
Merit: 0
November 08, 2011, 04:19:34 PM
Updated front-end to most recent version of DiabloMiner. Also should not crash. See first post of thread for links.
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
November 05, 2011, 06: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.
member
Activity: 75
Merit: 10
November 05, 2011, 12: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?
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
October 28, 2011, 06: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.
legendary
Activity: 1762
Merit: 1011
October 28, 2011, 06: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.
newbie
Activity: 9
Merit: 0
September 15, 2011, 03: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://bitcointalksearch.org/topic/m.519340

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

Regards,
Gilles
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
August 27, 2011, 02: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.
Pages:
Jump to: