Bitcoin Forum
November 12, 2024, 12:26:45 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 6 [7]  All
  Print  
Author Topic: Mac miner front-ends to Diablo and RPC  (Read 181611 times)
DiabloD3
Legendary
*
Offline Offline

Activity: 1162
Merit: 1000


DiabloMiner author


View Profile WWW
October 28, 2011, 11:47:51 PM
 #121

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.

lituar
Member
**
Offline Offline

Activity: 75
Merit: 10


View Profile
November 05, 2011, 05:51:05 PM
 #122

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?

Why dont you get paid by every file downloaded? Yes, you can. uploaded.to
Help? Donate.
BTC - 1NhcitLsepHod6bP8kpdi6qTzDGrThjitK
LTC - Lgfdw4gU4X3DLRqLknfSEivoa34VAagV3F
DiabloD3
Legendary
*
Offline Offline

Activity: 1162
Merit: 1000


DiabloMiner author


View Profile WWW
November 05, 2011, 11:59:27 PM
 #123

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.

MacCompiler (OP)
Newbie
*
Offline Offline

Activity: 53
Merit: 0


View Profile
November 08, 2011, 09:19:34 PM
 #124

Updated front-end to most recent version of DiabloMiner. Also should not crash. See first post of thread for links.
DiabloD3
Legendary
*
Offline Offline

Activity: 1162
Merit: 1000


DiabloMiner author


View Profile WWW
November 09, 2011, 05:05:57 AM
 #125

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.

DiabloD3
Legendary
*
Offline Offline

Activity: 1162
Merit: 1000


DiabloMiner author


View Profile WWW
November 11, 2011, 12:30:15 PM
 #126

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.

DiabloD3
Legendary
*
Offline Offline

Activity: 1162
Merit: 1000


DiabloMiner author


View Profile WWW
November 12, 2011, 07:32:21 AM
 #127


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.

DiabloD3
Legendary
*
Offline Offline

Activity: 1162
Merit: 1000


DiabloMiner author


View Profile WWW
November 14, 2011, 11:25:17 PM
 #128

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.

DiabloD3
Legendary
*
Offline Offline

Activity: 1162
Merit: 1000


DiabloMiner author


View Profile WWW
November 15, 2011, 07:59:17 AM
 #129


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.

emc2
Newbie
*
Offline Offline

Activity: 26
Merit: 0



View Profile WWW
November 16, 2011, 12:14:42 AM
Last edit: November 16, 2011, 04:25:56 AM by emc2
 #130

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!
DiabloD3
Legendary
*
Offline Offline

Activity: 1162
Merit: 1000


DiabloMiner author


View Profile WWW
November 16, 2011, 02:44:36 PM
 #131

The only thing to improve on that is quit calling Java manually. Use the DiabloMiner-OSX.sh from the DM distro itself.

emc2
Newbie
*
Offline Offline

Activity: 26
Merit: 0



View Profile WWW
November 16, 2011, 04:00:08 PM
Last edit: November 16, 2011, 09:14:37 PM by emc2
 #132

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/"
DiabloD3
Legendary
*
Offline Offline

Activity: 1162
Merit: 1000


DiabloMiner author


View Profile WWW
November 27, 2011, 05:28:14 PM
 #133

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.

DiabloD3
Legendary
*
Offline Offline

Activity: 1162
Merit: 1000


DiabloMiner author


View Profile WWW
November 28, 2011, 06:08:50 PM
 #134

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.

pletoss
Newbie
*
Offline Offline

Activity: 7
Merit: 0


View Profile WWW
January 23, 2012, 04:40:24 PM
 #135

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
crazy_rabbit
Legendary
*
Offline Offline

Activity: 1204
Merit: 1002


RUM AND CARROTS: A PIRATE LIFE FOR ME


View Profile
January 27, 2013, 02:32:13 PM
 #136

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.

more or less retired.
Wed
Legendary
*
Offline Offline

Activity: 1231
Merit: 1018



View Profile
May 06, 2013, 04:23:21 PM
 #137

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
Pages: « 1 2 3 4 5 6 [7]  All
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!