Bitcoin Forum
April 19, 2024, 09:06:13 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [Application] cgEasy {Bitcoin Edition} v1.0.0B --Automatic cgminer config Win!  (Read 11347 times)
Vorksholk (OP)
Legendary
*
Offline Offline

Activity: 1713
Merit: 1029



View Profile WWW
August 08, 2012, 02:21:25 AM
Last edit: October 17, 2012, 03:33:14 AM by Vorksholk
 #1

Using guiminer and want to switch to a more powerful, robust, faster miner without having to learn all the technical details?

Hello! A week or so ago, I created a simple program called cgEasy, it held the user's hand through the creation of a .bat file to start cgminer up for Litecoin mining, and since I already had the program made, I figured I'd just port it over to bitcoin mining instead. Smiley It's written in java, and launches at the click of a button.
To use, just drag it into your cgminer folder (so it is in the same folder as cgminer.exe) and double-click the jar file Smiley

What you need:
1.) Card worth mining on
2.) Know name of card (and my program will help you with overclocking if you want, it will tell you the default clock and memory speeds of your card)
3.) Java installed
4.) Cgminer downloaded/extracted
5.) Account with pool/solomining set up

How to use:
Download cgEasyB.jar (B stands for Bitcoin, my other version is for Litecoin, using Scrypt)
Drag to cgminer folder
Double-click

-------------------------------------------------------------------------------------------------------------------

Download: (compiled jar file): http://www.mediafire.com/?l46k9ao2f20664p
Download: (source code): http://www.mediafire.com/?zkj5s3lzsc1rc07
cgminer forum link: https://bitcointalk.org/index.php?topic=28402.0
cgminer download link: http://ck.kolivas.org/apps/cgminer/cgminer-2.6.1-win32.zip

-------------------------------------------------------------------------------------------------------------------

What does the program do?
--Allows you to customize what color the background and font of cgminer is
--Allows "shortcutting" to pools (enter btcguild, knows you mean http://mine.btcguild.com:8332).
------>Supported Pools for shortcutting: btcguild, deepbit, slush, ozcoin, eclipse, MtRed, BitMinter, Eligius, 50BTC  (if pool you want to use isn't listed here, you merely have to type the full address) (If you are a pool operator and you want your pool shortcut here, just let me know and I'll add it in the next release Smiley)
--Does the work of finding out what core clocks your gpu has. It asks what card you have, you type in whatever it is (say 5970, or 6990M) and it looks in it's almost 200-gpu database.
--If the card name you enter isn't recognized, you can enter oc info manually, no problem.
--Standalone, doesn't require any dependencies (aside from java)
--Adds ".bat" to filename if you don't add it.
--Allows overclocking of your GPU
--Tells you what default clock settings are of your GPU so you can decide
--Allows overvolting
--Allows setting custom fan control percentage
--Setup a port to scan for FPGA on

Screenshots:









FAQ:
1.) How should I format the name of my GPU when I enter it?
If you have, for example, a 5970, you could either enter: 5970 or ATI5970 (caps don't matter). With a mobile processor, say a Mobility Radeon HD 3650, you would put 3650M or M3650. (basically, just the number, plus an 'm' if it is a mobile card).

2.) Do you have a copy of the source code I can compile myself in case I want to change something or just make sure the code isn't doing anything malicious?
http://www.mediafire.com/?zkj5s3lzsc1rc07 Smiley

3.) Can I add things to the finished bat?

4.) Does this work on Mac or Linux?
cgEasyB will RUN on mac/linux, however it generates .bat files, which are a Windows thing.
Yeah, just open the generated .bat file with notepad. Smiley

5.) Do you plan on making a linux version?
Probably not. Most people using Linux probably wouldn't use a program like this anyhow.

6) Does this support overclocking?
The generated .bat file will work fine with an OC'd GPU, or you can set custom OC using my program.

7.) When does the overclock/overvolt apply?
The overclocking and overvolting settings apply and begin affecting the card once the generated .bat file from my application is run.

Full output sample of program:

Code:

Welcome to Vorksholk's cgEasy v1.0.1B!
What color do you want the background to be?
0 = Black
1 = Dark Blue
2 = Green
3 = Light Blue
4 = Red
5 = Purple
6 = Yellow
7 = White
8 = Gray
9 = Sky Blue
A = Light Green
B = Light Aqua
C = Light Red
D = Light Purple
E = Light Yellow
F = Bright White

---->0
Background color set.
Please enter preferred font color:
0 = Black
1 = Dark Blue
2 = Green
3 = Light Blue
4 = Red
5 = Purple
6 = Yellow
7 = White
8 = Gray
9 = Sky Blue
A = Light Green
B = Light Aqua
C = Light Red
D = Light Purple
E = Light Yellow
F = Bright White


---->2
Text color set.
What would you like the .bat file name to be?

---->launch
File Name set.

Please enter the server address.
(ex: http://mine.btcguild.com:8332)

---->btcguild
Server address set.
Please enter the worker (ex: vorksholk_1)

---->vorksholk_1
Worker set.
Please enter the password for the worker vorksholk_1

---->1
Password set.
Please enter the GPU model you want to mine on (ex: ATi5970)

---->5970
Some if not all clocks known for that card!
Please enter the aggression you would like (1-14).
Note: higher aggression = higher hash rate, lower aggression = less lag
If you want to use your computer while mining, choose a number under 13!

---->14
Aggression set.
Would you like to scan any ports on startup (for FPGA)? (y/n)

---->y
What port would you like to scan for FPGA?

---->COM4
Would you like to do overclocking? (y/n)

---->y
Warning: Overclocking your device can not only shorten it's lifespan, but can
outright damage it. Overclocking makes your GPU work harder than it is
programmed/made to. This features is only recommended If you know what you are doing
and are comfortable with your system GPU running hotter than average. If you do
not know what you are doing with overclocking, do NOT use this feature!
In the making of this software, I programmed in the default core and memory
clocks for the almost 200 supported GPUs. Please double-check the
info provided if you would like. No guarantees I didn't make a typo.
As well, if I found multiple clock speeds, I put the range of
 speeds that I found.VORKSHOLK IS NOT RESPONSIBLE FOR ANY DAMAGE
DONE USING THIS FEATURE!
(AGREE/DISAGREE)

---->agree
Your 5970 has a default core clock of 725MHz.
What would you like to set the engine to in MHz?

---->910
Engine OC set.
Your 5970 has a default memory clock of 1000MHz
What would you like to set the memory to in MHz?

---->150
Memory OC set. Would you like to set a custom voltage? (y/n)

---->y
What would you like to set your voltage to in Volts?

---->1.1
Overvoltage set. Please enter the worksize you would like (64, 128, 256)

---->256
Would you like to set a custom fan percentage? (y/n)

---->y
What would you like to set the fan to (in %?)

---->100
Config file written! Type "launch" to launch cgminer with those settings!
---->launch
Launched!



VeriBlock: Securing The World's Blockchains Using Bitcoin
https://veriblock.org
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, but full nodes are more resource-heavy, and they must do a lengthy initial syncing process. As a result, lightweight clients with somewhat less security are commonly used.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713560773
Hero Member
*
Offline Offline

Posts: 1713560773

View Profile Personal Message (Offline)

Ignore
1713560773
Reply with quote  #2

1713560773
Report to moderator
vitruvio
Sr. Member
****
Offline Offline

Activity: 850
Merit: 331



View Profile
October 11, 2012, 02:50:16 PM
 #2

Indeed, but by experience most fo times must change something.

Regards
Vorksholk (OP)
Legendary
*
Offline Offline

Activity: 1713
Merit: 1029



View Profile WWW
October 12, 2012, 02:25:36 AM
 #3

Indeed, but by experience most fo times must change something.

Regards

Curious, what did you need to change with the config?

VeriBlock: Securing The World's Blockchains Using Bitcoin
https://veriblock.org
vitruvio
Sr. Member
****
Offline Offline

Activity: 850
Merit: 331



View Profile
October 12, 2012, 10:54:32 AM
 #4

Ideed it's vey usefull, but every PC is a world, the optimal config may even not work in my pc, that what I mean.

So if you are beggining or setting up a new GPU, use this to generate the conf and then check how small changes can benefit or can make crash your PC.

Regards
Vorksholk (OP)
Legendary
*
Offline Offline

Activity: 1713
Merit: 1029



View Profile WWW
October 12, 2012, 03:24:51 PM
 #5

Indeed, but by experience most fo times must change something.

Regards

Curious, what did you need to change with the config?

I had to add few pools manualy. Also, intensity range is -10 to 10, not 1 to 14. I'm using 0 currently since mining runs unnoticably.

Oh, do you do multiple pool mining?

VeriBlock: Securing The World's Blockchains Using Bitcoin
https://veriblock.org
Vorksholk (OP)
Legendary
*
Offline Offline

Activity: 1713
Merit: 1029



View Profile WWW
October 12, 2012, 03:25:18 PM
 #6

Ideed it's vey usefull, but every PC is a world, the optimal config may even not work in my pc, that what I mean.

So if you are beggining or setting up a new GPU, use this to generate the conf and then check how small changes can benefit or can make crash your PC.

Regards

Ahh yeah, not something this program can do, I suppose Sad


VeriBlock: Securing The World's Blockchains Using Bitcoin
https://veriblock.org
Vorksholk (OP)
Legendary
*
Offline Offline

Activity: 1713
Merit: 1029



View Profile WWW
October 13, 2012, 12:48:59 AM
 #7

Indeed, but by experience most fo times must change something.

Regards

Curious, what did you need to change with the config?

I had to add few pools manualy. Also, intensity range is -10 to 10, not 1 to 14. I'm using 0 currently since mining runs unnoticably.

Oh, do you do multiple pool mining?

Not anymore. But you know, this is starting to be really funny! On one side, you look surprised by the mere notion of multiple pool mining.
On the other side, more than few forum members, including one VIP guy, are attempting to silence me down for pointing out more than
obvious = not many miners have their mining software setup to properly cope with possible attack on pools, and thus Bitcoin network itself.

https://bitcointalk.org/index.php?topic=117549.0

I seemed surprised because it's a more advanced feature, not the kind of people I thought would use this program, but I agree it is important Smiley Why would they be trying to silence you on that?

VeriBlock: Securing The World's Blockchains Using Bitcoin
https://veriblock.org
gigica viteazu`
Sr. Member
****
Offline Offline

Activity: 458
Merit: 250

beast at work


View Profile
October 17, 2012, 01:04:10 AM
 #8

link to the .jar file is down
Vorksholk (OP)
Legendary
*
Offline Offline

Activity: 1713
Merit: 1029



View Profile WWW
October 17, 2012, 03:33:37 AM
 #9

link to the .jar file is down


Unsure why that was, but fixed it, thanks for pointing it out! Smiley

VeriBlock: Securing The World's Blockchains Using Bitcoin
https://veriblock.org
jasinlee
Hero Member
*****
Offline Offline

Activity: 742
Merit: 500


Its as easy as 0, 1, 1, 2, 3


View Profile
October 23, 2012, 03:51:06 AM
 #10

Could we get you to make a version for multiple cards such that would populate based on how many you have of the same card? Like if I have 4 5970s have the cgeasy make a batch for something like this for 1 5970:

Code:
cgminer --scrypt -o http://litecoinpool.org:9332 -u username -p password --shaders 1600 --intensity 15 --worksize 256 -g 1 --gpu-engine 850 --gpu-memclock 1100

into

Code:
cgminer --scrypt -o http://litecoinpool.org:9332 -u username -p password --shaders 1600,1600,1600,1600,1600,1600,1600,1600 --intensity 15 --worksize 256,256,256,256,256,256,256,256 -g 1 --gpu-engine 850,850,850,850,850,850,850,850 --gpu-memclock 1100,1100,1100,1100,1100,1100,1100,1100

Or whatever it would be on the command line for multiple cards?

BTC 1JASiNZxmAN1WBS4dmGEDoPpzN3GV7dnjX DVC 1CxxZzqcy7YEVXfCn5KvgRxjeWvPpniK3                     Earn Devcoins Devtome.com
sinistral
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
December 08, 2013, 11:11:45 PM
Last edit: December 08, 2013, 11:48:32 PM by sinistral
 #11

Just found this and I'm glad I did. This helped me out a lot. I don't know what example.conf is supposed to be renamed in the cgminer directory so this seems to solve my problems with that by passing the parameters directly to cgminer.exe. Big improvement over having GUI Miner run cgminer. Used to get ~500 MH/s with GUI Miner with my 7970 and now I've had a few spikes of ~700 MH/s! That resulting output should be taken with a grain of salt but overall my average has definitely increased. Right now I'm getting about 550 MH/s and this is with no optimization. I think I can consistently get closer to 700 MH/s than 500 MH/s with some tweaking.

I know this is an old thread but I think it deserves a bump since it still works and quite well.
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!