Bitcoin Forum
April 18, 2024, 12:38:41 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bit Moose - v1.0.0 - Run Bit/Lite-Coin Miners as Windows Service  (Read 31622 times)
awesomey (OP)
Newbie
*
Offline Offline

Activity: 26
Merit: 2



View Profile
November 01, 2012, 10:36:24 AM
Last edit: November 02, 2012, 04:30:30 AM by awesomey
Merited by ABCbits (2)
 #1

ABOUT BIT MOOSE
Bit Moose is a free, open source, Bitcoin mining assistant program. It allows miners to run under a background windows service. The package includes a GUI and console host. You can configure your miners from the GUI or modify the Settings.xml file yourself to fine tune adjustments.

Current Version: 1.0.0
Download Binaries
Download Source Code

REQUIREMENTS

- Windows Vista/7 (XP Untested) or Windows Server 2003/8
- .NET Framework 3.5


SCREENSHOTS

https://i.imgur.com/8w6qA.png

https://i.imgur.com/yD8Wo.png

LITECOIN
Bit Moose acts as a process controller, so it's just a matter of configuring each miner to run appropriately within the service context. The full Bit Moose release includes cgminer which can be configured to miner for litecoins using the --scrypt argument. Please read the SCRYPT-README.txt file in the cgminer folder for more information about which arguments should be passed to cgminer in order to mine for litecoins. You may also want to see this thread. In the full release, this can be found under {Bit Moose Folder}\miners\cgminer\.

INSTALLATION

    1. Run bitmoose-gui.exe
    2. Click the menu item Service->Install
    3. Wait about 5 seconds for the status bar to show "Service Stopped".
    4. Configure your miner.
    5. On your miner, click the 'Validation' tab, and click the button to make sure it runs ok from a console.
    6. Click the menu item Service->Start
      - After the service is started, you should see your miner's output trickling into the miner's status box.
    7. Done.
      - You can now log out of windows and let your miner work behind the scenes!

KNOWN ISSUES

    On some NVIDIA cards, OpenCL doesn't detect properly in the miners when they are run from a service. I haven't found a resolution to this yet, but you may want to try changing the account the service runs under, or try adjusting some input arguments.

SUPPORT
To report an issue, please PM me or create an issue ticket on codeplex. Feel free to send suggestions/comments.

If you like the project, please consider donating to address: 17psYruA7Z1m2S5zwmD8JEQyqGk8nes95V

Enjoy!
1713443921
Hero Member
*
Offline Offline

Posts: 1713443921

View Profile Personal Message (Offline)

Ignore
1713443921
Reply with quote  #2

1713443921
Report to moderator
1713443921
Hero Member
*
Offline Offline

Posts: 1713443921

View Profile Personal Message (Offline)

Ignore
1713443921
Reply with quote  #2

1713443921
Report to moderator
1713443921
Hero Member
*
Offline Offline

Posts: 1713443921

View Profile Personal Message (Offline)

Ignore
1713443921
Reply with quote  #2

1713443921
Report to moderator
"You Asked For Change, We Gave You Coins" -- casascius
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713443921
Hero Member
*
Offline Offline

Posts: 1713443921

View Profile Personal Message (Offline)

Ignore
1713443921
Reply with quote  #2

1713443921
Report to moderator
Vod
Legendary
*
Offline Offline

Activity: 3682
Merit: 3015


Licking my boob since 1970


View Profile WWW
November 01, 2012, 08:14:21 PM
 #2

Great idea!

I would consider buying this for bitcoin if you could add a scheduler so we could start/stop the miners at certain times of the day, for example when the computers are in use.

https://nastyscam.com - landing page up     https://vod.fan - advanced image hosting - coming soon!
OGNasty has early onset dementia; keep this in mind when discussing his past actions.
awesomey (OP)
Newbie
*
Offline Offline

Activity: 26
Merit: 2



View Profile
November 01, 2012, 11:04:41 PM
 #3

Great idea!

I would consider buying this for bitcoin if you could add a scheduler so we could start/stop the miners at certain times of the day, for example when the computers are in use.

That's a good idea. I'll see what I can come up with, but no need to 'buy' it. It's free  Smiley
Vod
Legendary
*
Offline Offline

Activity: 3682
Merit: 3015


Licking my boob since 1970


View Profile WWW
November 02, 2012, 02:44:34 AM
 #4

Great idea!

I would consider buying this for bitcoin if you could add a scheduler so we could start/stop the miners at certain times of the day, for example when the computers are in use.

That's a good idea. I'll see what I can come up with, but no need to 'buy' it. It's free  Smiley

I actually started programming a service called http://minermanager.com that offered a similar thing.  An application installed on each mining machine that you could schedule/control from the website.  I didn't finish it though.

https://nastyscam.com - landing page up     https://vod.fan - advanced image hosting - coming soon!
OGNasty has early onset dementia; keep this in mind when discussing his past actions.
vitruvio
Sr. Member
****
Offline Offline

Activity: 850
Merit: 331



View Profile
November 03, 2012, 09:32:13 PM
 #5

Great, I will test it.

Regards
vitruvio
Sr. Member
****
Offline Offline

Activity: 850
Merit: 331



View Profile
November 04, 2012, 09:59:26 AM
 #6

It fail for me with cgminer or bfgminer

Code:
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] Started bfgminer 2.9.1
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] CL Platform 0 vendor: Advanced Micro Devices, Inc.
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] CL Platform 0 name: AMD Accelerated Parallel Processing
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] CL Platform 0 version: OpenCL 1.2 AMD-APP (938.2)
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] Platform 0 devices: 1
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] 0 Juniper
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] Failed to ADL_Adapter_ID_Get. Error -5
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] Failed to ADL_Adapter_ID_Get. Error -5
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] ADL found less devices than opencl!
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] There is possibly more than one display attached to a GPU
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] Use the gpu map feature to reliably map OpenCL to ADL
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] WARNING: Number of OpenCL and ADL devices did not match!
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] Hardware monitoring may NOT match up with devices!
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] Probing for an alive pool
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] Testing pool http://bittruvianman.com:8341
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] HTTP request failed: The requested URL returned error: 403
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] HTTP request failed: The requested URL returned error: 403
11/04/2012 10:50:04 :  [2012-11-04 10:50:04] JSON decode failed(1): '[' or '{' expected near 'HTTP'
11/04/2012 10:50:04 :  [2012-11-04 10:50:04] Pool 0 slow/down or URL or credentials invalid
11/04/2012 10:50:04 :  [2012-11-04 10:50:04] Unable to get work from pool 0 http://bittruvianman.com:8341
11/04/2012 10:50:04 :  [2012-11-04 10:50:04] No servers were found that could be used to get work from.
11/04/2012 10:50:04 :  [2012-11-04 10:50:04] Please check the details from the list below of the servers you have input
11/04/2012 10:50:04 :  [2012-11-04 10:50:04] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers
11/04/2012 10:50:04 :  [2012-11-04 10:50:04] Pool: 0  URL: http://bittruvianman.com:8341  User: vitruvio.1  Password: xxxxxxx
11/04/2012 10:50:04 : No servers could be used! Exiting.

I see 2 issues,

11/04/2012 10:50:03 :  [2012-11-04 10:50:03] Failed to ADL_Adapter_ID_Get. Error -5
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] ADL found less devices than opencl!

I haven't this kind of error running bfgminer in command line (some param added to conf?)

11/04/2012 10:50:04 :  [2012-11-04 10:50:04] JSON decode failed(1): '[' or '{' expected near 'HTTP'
11/04/2012 10:50:04 :  [2012-11-04 10:50:04] Pool 0 slow/down or URL or credentials invalid

Some parse error.

Regards

GenTarkin
Legendary
*
Offline Offline

Activity: 2450
Merit: 1002


View Profile
November 05, 2012, 03:37:07 PM
 #7

I made something similar , but strictly for litecoin mining on cpu's. Its a windows service designed to run semi stealthy =)
It also has a command and control element for remote managing miners.
https://bitcointalk.org/index.php?topic=50464.0

GenTarkin's MOD Kncminer Titan custom firmware! v1.0.4! -- !!NO LONGER AVAILABLE!!
Donations: bitcoin- 1Px71mWNQNKW19xuARqrmnbcem1dXqJ3At || litecoin- LYXrLis3ik6TRn8tdvzAyJ264DRvwYVeEw
flipperfish
Sr. Member
****
Offline Offline

Activity: 350
Merit: 251


Dolphie Selfie


View Profile
November 06, 2012, 01:49:03 PM
 #8

It fail for me with cgminer or bfgminer

Code:
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] Started bfgminer 2.9.1
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] CL Platform 0 vendor: Advanced Micro Devices, Inc.
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] CL Platform 0 name: AMD Accelerated Parallel Processing
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] CL Platform 0 version: OpenCL 1.2 AMD-APP (938.2)
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] Platform 0 devices: 1
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] 0 Juniper
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] Failed to ADL_Adapter_ID_Get. Error -5
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] Failed to ADL_Adapter_ID_Get. Error -5
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] ADL found less devices than opencl!
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] There is possibly more than one display attached to a GPU
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] Use the gpu map feature to reliably map OpenCL to ADL
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] WARNING: Number of OpenCL and ADL devices did not match!
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] Hardware monitoring may NOT match up with devices!
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] Probing for an alive pool
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] Testing pool http://bittruvianman.com:8341
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] HTTP request failed: The requested URL returned error: 403
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] HTTP request failed: The requested URL returned error: 403
11/04/2012 10:50:04 :  [2012-11-04 10:50:04] JSON decode failed(1): '[' or '{' expected near 'HTTP'
11/04/2012 10:50:04 :  [2012-11-04 10:50:04] Pool 0 slow/down or URL or credentials invalid
11/04/2012 10:50:04 :  [2012-11-04 10:50:04] Unable to get work from pool 0 http://bittruvianman.com:8341
11/04/2012 10:50:04 :  [2012-11-04 10:50:04] No servers were found that could be used to get work from.
11/04/2012 10:50:04 :  [2012-11-04 10:50:04] Please check the details from the list below of the servers you have input
11/04/2012 10:50:04 :  [2012-11-04 10:50:04] Most likely you have input the wrong URL, forgotten to add a port, or have not set up workers
11/04/2012 10:50:04 :  [2012-11-04 10:50:04] Pool: 0  URL: http://bittruvianman.com:8341  User: vitruvio.1  Password: xxxxxxx
11/04/2012 10:50:04 : No servers could be used! Exiting.

I see 2 issues,

11/04/2012 10:50:03 :  [2012-11-04 10:50:03] Failed to ADL_Adapter_ID_Get. Error -5
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] ADL found less devices than opencl!

I haven't this kind of error running bfgminer in command line (some param added to conf?)

11/04/2012 10:50:04 :  [2012-11-04 10:50:04] JSON decode failed(1): '[' or '{' expected near 'HTTP'
11/04/2012 10:50:04 :  [2012-11-04 10:50:04] Pool 0 slow/down or URL or credentials invalid

Some parse error.

Regards



I tried to do something like this some months ago, but gave up the plan, because of exactly this error. The ADL can't be accessed from within the windows service's environment, because of Session-Isolation. So the GPU-Monitoring/-Control features of cgminer won't work. You need to have a server process, which is running under a currently logged in user at the local console (RDP won't work either).
awesomey (OP)
Newbie
*
Offline Offline

Activity: 26
Merit: 2



View Profile
November 06, 2012, 06:04:35 PM
 #9

It fail for me with cgminer or bfgminer
...

I see 2 issues,

11/04/2012 10:50:03 :  [2012-11-04 10:50:03] Failed to ADL_Adapter_ID_Get. Error -5
11/04/2012 10:50:03 :  [2012-11-04 10:50:03] ADL found less devices than opencl!

I haven't this kind of error running bfgminer in command line (some param added to conf?)

11/04/2012 10:50:04 :  [2012-11-04 10:50:04] JSON decode failed(1): '[' or '{' expected near 'HTTP'
11/04/2012 10:50:04 :  [2012-11-04 10:50:04] Pool 0 slow/down or URL or credentials invalid

Some parse error.

Regards


I tried to do something like this some months ago, but gave up the plan, because of exactly this error. The ADL can't be accessed from within the windows service's environment, because of Session-Isolation. So the GPU-Monitoring/-Control features of cgminer won't work. You need to have a server process, which is running under a currently logged in user at the local console (RDP won't work either).

Hi thanks for the information everyone. Oddly enough cgminer works for my ATI card under the service, but I was unable to get my NVidia card to work for likely the reasons mentioned (although this could be due to the fact they are on different OSs as well...). I will look into the issue, it may be something I can tackle by using some different win32 api calls. I'll post an update within a week or so.
flipperfish
Sr. Member
****
Offline Offline

Activity: 350
Merit: 251


Dolphie Selfie


View Profile
November 06, 2012, 10:30:20 PM
 #10

Hi thanks for the information everyone. Oddly enough cgminer works for my ATI card under the service, but I was unable to get my NVidia card to work for likely the reasons mentioned (although this could be due to the fact they are on different OSs as well...). I will look into the issue, it may be something I can tackle by using some different win32 api calls. I'll post an update within a week or so.

The mining part of cgminer worked for me to, too. It's only the fan/clock-controlling part, that doesn't work. In the posted log it complains about a mismatch between number of fan-controllable devices and overall mining devices.
Nachtwind
Hero Member
*****
Offline Offline

Activity: 700
Merit: 507



View Profile
November 10, 2012, 11:32:40 AM
 #11

Nice idea.. how do i add other mining software to it? I am running ZTEX's BTCMiner and cant seem to find a solution on adding it..
If that did work i would use that tool asap.
Sitarow
Legendary
*
Offline Offline

Activity: 1792
Merit: 1047



View Profile
November 13, 2012, 09:37:09 PM
 #12



Works once you run the client. But if you close down the client it stops working.


crazyearner
Legendary
*
Offline Offline

Activity: 1820
Merit: 1001



View Profile
December 01, 2012, 10:23:03 PM
 #13

how do i get this working with ltc coins says to do somthing in settings but lost

=
  R E B E L L I O U S 
  ▄▀▀▀▀▀▄▄                           ▄▄▀▀▀▀▀▄
▄▀        █▄▄                     ▄▄█        ▀▄
█            █████████████████████            █
█▄          ██       ██ ██       ██          ▄█
█        █            █            █        █
  █    █               █               █    █
   █ ██               █ █               ██ █
    █ █               █ █               █ █
    █ ███▄  █████▄   ██ ██   ▄█████  ▄███ █
    █     ███     █         █     ███     █
     █   █   ▀███ █  █   █  █ ███▀   █   █
     █   █      █ █  █   █  █ █      █   █
     █   █      ██  █     █  ██      █   █
      █  █     ██  █       █  ██     █  █
      █  █    ██  █ ███████ █  ██    █  █
      █ ███   ██  █         █  ██   ███ █
       █   ▀███      █   █      ███▀   █
        █     ██       █       ██     █
         █      █   ▄▄███▄▄   █      █
          ███   ███▀       ▀███   ███
             █████           █████
                  ███████████
  ▄▀▀▀▀▀▄▄                           ▄▄▀▀▀▀▀▄
▄▀        █▄▄                     ▄▄█        ▀▄
█            █████████████████████            █
█▄          ██       ██ ██       ██          ▄█
█        █            █            █        █
  █    █               █               █    █
   █ ██               █ █               ██ █
    █ █               █ █               █ █
    █ ███▄  █████▄   ██ ██   ▄█████  ▄███ █
    █     ███     █         █     ███     █
     █   █   ▀███ █  █   █  █ ███▀   █   █
     █   █      █ █  █   █  █ █      █   █
     █   █      ██  █     █  ██      █   █
      █  █     ██  █       █  ██     █  █
      █  █    ██  █ ███████ █  ██    █  █
      █ ███   ██  █         █  ██   ███ █
       █   ▀███      █   █      ███▀   █
        █     ██       █       ██     █
         █      █   ▄▄███▄▄   █      █
          ███   ███▀       ▀███   ███
             █████           █████
                  ███████████
  R E B E L L I O U S
rchapoteau
Newbie
*
Offline Offline

Activity: 56
Merit: 0



View Profile WWW
December 03, 2012, 11:55:57 PM
 #14

This may be just what I was looking for!
mdopro1
Sr. Member
****
Offline Offline

Activity: 308
Merit: 250


Double your Personal Bitcoin Funds.


View Profile WWW
December 10, 2013, 04:27:32 AM
 #15

If this project is still supported, is it possible to run the service only when computer is idle and stop when idle is interrupted?

New Bitcoin fund doubling platform has launched!
Receive Automated Payment Every 2 Hours
Appealing alternative with Sophisticated algorithms.
https://Btc-Funds.com
Presidium
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
February 19, 2014, 04:57:10 AM
 #16

First off, I'm running Windows 8.1. I didn't think it would be an issue, seeing that .NET 3.5 is enabled on my machine. If that's the reason I can't get this service to work, then let me know. Otherwise...

My error messages are as follows:

[1]   AMD Accelerated Parallel Processing
[0]   Intel(R) OpenCL
 Wrong platform or more than one OpenCL platforms found, use --platform to select one of the following



I wish to mine using my Intel i5 CPU. I have tried all three miner programs (from what I've heard, I need to use poclbm. Correct me if I'm wrong), but they all give me this error message. I have added the --platform argument in various manners to troubleshoot it. The closest I seem to be getting is when I start the miner in the console window under the Validation tab using the poclbm program with the following arguments:
-f 40 -d 0 -w 128 -v --verbose --platform 0 (I've also tried --platform 1 and a couple other combinations)

This gives me a console window that writes the following:

api.bitcoin.cz:8332 18/02/2014 23:43:22, Setting pool (worker name removed @
api.bitcoin.cz:8332)


When I leave this console alone for a minute, it actually begins to mine (though very slowly, around .300 MH/s. I was getting about 13.0 MH/s on another program, but I'd much rather have the service.) While this seems to work, when try to I Start this very same service, I get the error message I gave at the top.

Any ideas on how I can get the service up and running? And, if so, to bring up the speed of the hash calculations?

Thanks
Pages: [1]
  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!