Bitcoin Forum

Other => Beginners & Help => Topic started by: cotelio on August 24, 2011, 10:33:15 AM



Title: Need some help with CGminer, please... [resolved]
Post by: cotelio on August 24, 2011, 10:33:15 AM
Windows 7 64 bit, 2.3ghz Phenom x4, one Radeon HD 4870. GCMiner version 1.5.8.
Offical thread: https://bitcointalk.org/index.php?topic=28402.0

I suppose it's not particularly urgent since I can run other mining programs until I can get this to work, but for some reason CGminer just instantly crashes when I try to start it up.

I made a shortcut, and added the commands, like so:

C:\[file hierarchy]\cgminer.exe -o http://deepbit.net:8332 -u [deepbit workername] -p [deepbit pass] -o http://arsbitcoin.com:8344 -u [ars workername] -p [ars pass] -o http://uscentral.btcguild.com:8332 -u [btcguild workername] -p [btcguild pass] --load-balance

However, it still crashes as soon as I finish putting in the information it asks for for any of those given pools upon starting the .exe directly.

Running it as administrator dosen't make a diffrence. >:


Title: Re: Need some help with CGminer, please...
Post by: Graet on August 24, 2011, 12:03:25 PM
usually it is  -u <sitenick>.<workername> -p <pasword>

eg one of mine for cgminer is

cgminer -o http://ozco.in:8332 - u Graet.g2 -p 1234 -I 8

where Graet = <site nick> then, . <dot>, then <workername> :)

hope thats a help :)


Title: Re: Need some help with CGminer, please...
Post by: BookLover on August 24, 2011, 01:14:22 PM
If what Graet suggested doesn't work try running cgminer in command-prompt and see what error you get.


Title: Re: Need some help with CGminer, please...
Post by: cotelio on August 24, 2011, 04:36:51 PM
Yeah, I know what to put in the field because I use a diffrent miner right now and it works...

I'll try running it in command prompt.

Also, googling how to run stuff in command prompt. x3


Title: Re: Need some help with CGminer, please...
Post by: cotelio on August 24, 2011, 05:30:36 PM
Yeah... command prompt didn't help at all, it just shows the same "cgminer.exe has stopped working" popup, with the terminal turning that unresponsive grey.


Title: Re: Need some help with CGminer, please...
Post by: joulesbeef on August 24, 2011, 05:34:09 PM
turn off other miners first

try to use cgminer with just one pool.. like ozcoin for example  ;D
they are a very lucky pool.
but yeah try with just one pool and no other miner software running before you add all that and tell us if it crashes again


Title: Re: Need some help with CGminer, please...
Post by: cotelio on August 24, 2011, 06:13:33 PM
Yah... Restarted my computer, closed everything, ran it with one pool, and it still crashed. >:


Title: Re: Need some help with CGminer, please...
Post by: PLaci1982 on August 24, 2011, 06:20:55 PM
What driver / SDK version do you have installed?


Title: Re: Need some help with CGminer, please...
Post by: cotelio on August 24, 2011, 06:33:08 PM
Uhm.... My Amd Catalyst 11.6.


Title: Re: Need some help with CGminer, please...
Post by: BookLover on August 24, 2011, 08:58:26 PM
Yeah... command prompt didn't help at all, it just shows the same "cgminer.exe has stopped working" popup, with the terminal turning that unresponsive grey.

Did you run it through command prompt or in command prompt?  Only one will show you what is going wrong.


Title: Re: Need some help with CGminer, please...
Post by: -ck on August 24, 2011, 09:37:09 PM
Windows 7 64 bit, 2.3ghz Phenom x4, one Radeon HD 4870. GCMiner version 1.5.8.C:\[file hierarchy]\cgminer.exe
You can't direct it like that using c:\blah\blah
You must run it from the directory it's in directly.
cd \blah\blah
cgminer.exe -blah -blah


Title: Re: Need some help with CGminer, please...
Post by: cotelio on August 24, 2011, 10:51:00 PM
Windows 7 64 bit, 2.3ghz Phenom x4, one Radeon HD 4870. GCMiner version 1.5.8.C:\[file hierarchy]\cgminer.exe
You can't direct it like that using c:\blah\blah
You must run it from the directory it's in directly.
cd \blah\blah
cgminer.exe -blah -blah

It still crashes when I run it directly and input the stuff for one pool by hand.

Yeah... command prompt didn't help at all, it just shows the same "cgminer.exe has stopped working" popup, with the terminal turning that unresponsive grey.

Did you run it through command prompt or in command prompt?  Only one will show you what is going wrong.

Apparently my googling hath failed me. Explain please?


Title: Re: Need some help with CGminer, please...
Post by: whitebird on August 24, 2011, 10:53:55 PM
Apparently my googling hath failed me. Explain please?
I think he means, open up msdos (by typing "cmd" in the search bar by the start menu) and then CD mapname to go to the directory of cgminer.


Title: Re: Need some help with CGminer, please...
Post by: joulesbeef on August 24, 2011, 10:56:29 PM
he just means did you open a cmd prompt up first or just run a batch file


as you know if you just run a batch fle and it hs an error message the cmd prompt black box will disappear


where if you run the command prompt first, it doesnt and you can read said message

i figure you already are.. but in case you arent.. Hold shift, and right click on the cgminer dir. select open command prompt here

and then right click and paste your command above..


the holding of shift only adds the new menu item to your right click menu.. "open command prompt here"


Title: Re: Need some help with CGminer, please...
Post by: cotelio on August 24, 2011, 11:10:39 PM
Yeah, I was doing it right.

No error message, just the "CGminer.exe has stopped working" popup and booting me back into the regular command prompt.

Last thing it says before crashing is "Long-polling activated for http://deepbit.net:8332/listenChannel"

Usually anyway. Occasionally it's gone to the main menu or whatever that it actually mines on ( CPU only runs... I tried it out just to see ) but always crashed right away whether it was able to output that first or not.

Just a thought, is the 4XXX series even compatible with CGminer? When I look around the forums, all I see are people talking about using 5XXX or 6XXX series cards...


Title: Re: Need some help with CGminer, please...
Post by: BookLover on August 25, 2011, 12:07:40 AM
Windows 7 64 bit, 2.3ghz Phenom x4, one Radeon HD 4870. GCMiner version 1.5.8.C:\[file hierarchy]\cgminer.exe
You can't direct it like that using c:\blah\blah
You must run it from the directory it's in directly.
cd \blah\blah
cgminer.exe -blah -blah

It still crashes when I run it directly and input the stuff for one pool by hand.

Yeah... command prompt didn't help at all, it just shows the same "cgminer.exe has stopped working" popup, with the terminal turning that unresponsive grey.

Did you run it through command prompt or in command prompt?  Only one will show you what is going wrong.

Apparently my googling hath failed me. Explain please?

I mean did you run cgminer with the Start command or simply go to the directory and type cgminer.exe -blah -blah.


Title: Re: Need some help with CGminer, please...
Post by: cotelio on August 25, 2011, 12:51:44 AM
Windows 7 64 bit, 2.3ghz Phenom x4, one Radeon HD 4870. GCMiner version 1.5.8.C:\[file hierarchy]\cgminer.exe
You can't direct it like that using c:\blah\blah
You must run it from the directory it's in directly.
cd \blah\blah
cgminer.exe -blah -blah

It still crashes when I run it directly and input the stuff for one pool by hand.

Yeah... command prompt didn't help at all, it just shows the same "cgminer.exe has stopped working" popup, with the terminal turning that unresponsive grey.

Did you run it through command prompt or in command prompt?  Only one will show you what is going wrong.

Apparently my googling hath failed me. Explain please?

I mean did you run cgminer with the Start command or simply go to the directory and type cgminer.exe -blah -blah.

I did what joulesbeef said, so the latter, I guess.

Edit: Just tried using "start" blahblahblah, didn't change anything, it just opened up a new window that crashed instead of running in the command prompt window.


Title: Re: Need some help with CGminer, please...
Post by: 3phase on August 26, 2011, 07:59:58 AM
Try adding the --verbose flag at the end of the command line and see what you get...


Title: Re: Need some help with CGminer, please...
Post by: cotelio on August 26, 2011, 11:08:41 AM
http://i255.photobucket.com/albums/hh122/Amideo/Capture.jpg

That's what I got with the verbose flag.


Title: Re: Need some help with CGminer, please...
Post by: 3phase on August 26, 2011, 11:44:21 AM
http://i255.photobucket.com/albums/hh122/Amideo/Capture.jpg

That's what I got with the verbose flag.

try --gpu-threads 1 (or -g 1) as an extra argument.

Looks like your card cannot start a second thread


Title: Re: Need some help with CGminer, please...
Post by: cotelio on August 26, 2011, 05:11:41 PM
http://i255.photobucket.com/albums/hh122/Amideo/Capture.jpg

That's what I got with the verbose flag.

try --gpu-threads 1 (or -g 1) as an extra argument.

Looks like your card cannot start a second thread

No diffrence...


Title: Re: Need some help with CGminer, please...
Post by: MadHacker on August 26, 2011, 08:28:45 PM
although i don't get it to crash on my machine...
sometimes it just starts then closes immediately.
i have a file that is generated in my CGMiner dir called 'phatk110816Caymanbitalignv2w128long4.bin'
i find if i delete that file.. then the miner starts back up again and runs.
perhaps this will help


Title: Re: Need some help with CGminer, please...
Post by: cotelio on August 26, 2011, 11:38:48 PM
although i don't get it to crash on my machine...
sometimes it just starts then closes immediately.
i have a file that is generated in my CGMiner dir called 'phatk110816Caymanbitalignv2w128long4.bin'
i find if i delete that file.. then the miner starts back up again and runs.
perhaps this will help

You are a god. Thank you SO much. Now I can finally mine without everything being all sluggish. <3

Also, thank you to who told me to add -g 1. It worked once I deleted the file, but broke again when I removed that command. So that piece of advice helped too. n.n;;


Title: Re: Need some help with CGminer, please... [resolved]
Post by: BookLover on August 27, 2011, 12:03:08 AM
although i don't get it to crash on my machine...
sometimes it just starts then closes immediately.
i have a file that is generated in my CGMiner dir called 'phatk110816Caymanbitalignv2w128long4.bin'
i find if i delete that file.. then the miner starts back up again and runs.
perhaps this will help
Can you provide a like as to where you got this information?  I would like to know what's wrong, how this works, and why it works.

Thanks,
BookLover


Title: Re: Need some help with CGminer, please... [resolved]
Post by: cotelio on August 27, 2011, 12:09:21 AM
although i don't get it to crash on my machine...
sometimes it just starts then closes immediately.
i have a file that is generated in my CGMiner dir called 'phatk110816Caymanbitalignv2w128long4.bin'
i find if i delete that file.. then the miner starts back up again and runs.
perhaps this will help
Can you provide a like as to where you got this information?  I would like to know what's wrong, how this works, and why it works.

Thanks,
BookLover

If it helps, for me the file was poclbm110817ATI RV770v2w128long4.bin

My uneducated guess is that it's somehow saving the settings that don't work for the system and make the program crash/close. =shrugs=


Title: Re: Need some help with CGminer, please... [resolved]
Post by: xpman on May 02, 2013, 06:06:08 PM
I had this problem and it was driving me crazy.

Finally I figured it out - download then run the AMD Catalyst Un-install Utility (http://sites.amd.com/us/game/downloads/Pages/catalyst-uninstall-utility.aspx).  Then clean install your drivers, and it finally stops crashing.  Catalyst 13.3 seemed to be causing me problems, so I tried with 12.8 and finally everything worked.


Title: Re: Need some help with CGminer, please... [resolved]
Post by: Blisk on May 10, 2013, 08:08:16 PM
I have also problems with crashing cgminer.exe on radeon hd 6670.


Title: Re: Need some help with CGminer, please... [resolved]
Post by: go4gonzo on May 10, 2013, 11:11:13 PM
I had this problem and it was driving me crazy.

Finally I figured it out - download then run the AMD Catalyst Un-install Utility (http://sites.amd.com/us/game/downloads/Pages/catalyst-uninstall-utility.aspx).  Then clean install your drivers, and it finally stops crashing.  Catalyst 13.3 seemed to be causing me problems, so I tried with 12.8 and finally everything worked.

Followed your instructions and worked perfectly after installing 12.8 everything is running smoothly. Thanks for your help.


Title: Re: Need some help with CGminer, please... [resolved]
Post by: bitpop on May 17, 2013, 10:23:01 PM
Does anyone know how to make the cgminer window bigger?


Title: Re: Need some help with CGminer, please... [resolved]
Post by: Blisk on May 18, 2013, 06:26:36 AM
I had this problem and it was driving me crazy.

Finally I figured it out - download then run the AMD Catalyst Un-install Utility (http://sites.amd.com/us/game/downloads/Pages/catalyst-uninstall-utility.aspx).  Then clean install your drivers, and it finally stops crashing.  Catalyst 13.3 seemed to be causing me problems, so I tried with 12.8 and finally everything worked.
this worked for me too


Title: Re: Need some help with CGminer, please... [resolved]
Post by: Blisk on May 18, 2013, 06:27:26 AM
Does anyone know how to make the cgminer window bigger?
right click on left top at window -> properties -> fonts
and make fonts biggest you can