Pages:
Author

Topic: cgminer keeps crashing when mining litecoins (Read 14178 times)

member
Activity: 67
Merit: 10
February 14, 2014, 11:23:08 AM
#33
As a backup I've been running CGWatcher (https://bitcointalksearch.org/topic/cgwatcher-140-a-guimonitor-for-cgminer-bfgminer-to-help-minimize-downtime-159267) as it has an option to restart cgminer when it falls over. At least that will keep it going for now while you tackle the problem (but you'll lose a bit of profit as it has to ramp up to full speed each time).
lbr
sr. member
Activity: 423
Merit: 254
February 14, 2014, 09:24:29 AM
#32
yeah,this worked,but just for one of my cards,other one still have same problem,but thx anyway

What's the exact problem?
Anyway, if it's driver related, cleanup - https://litecointalk.org/index.php?topic=11001.msg79830#msg79830 usually fixes it.
newbie
Activity: 32
Merit: 0
December 15, 2013, 08:13:40 PM
#31
Why do you even install CCC?

Install the drivers via inf files? Or locate individual install files for display drivers after extracting the main driver zipped file?

0) Download and run amd_cleanup_util_1.2.1.0.exe, use google to find it
1) Download Catalyst from amd.com
2) Run it
3) When it asks 'where you want.. blah-blah.. to extract?' specify "C:\temp\bzzz"
4) After unpacking finished and it asks you to press "next", press "cancel" instead
5) Press "Windows button"+PAUSE, open Hardware(win xp)->"Device Manager" or Control Panel->System->Device Manager
6) Find your GPU under 'Display adapters'
7) right click->update->browse my computer->let me pick from a list->have disk->C:\temp\bzzz\AMD\Support\12-6_vista_win7_64_dd_ccc_whql\Packages\Drivers\Display\W76A_INF -> OK
8_) After installation go to Control Panel->Administrative tools->Services and disable 'AMD External Events service'
9*) If after all this cgminer/GPUZ reports that there is no OpenCL, go to C:\temp\bzzz\AMD\Support\12-6_vista_win7_64_dd_ccc_whql\Packages\Apps\OpenCL64 and run OpenCL.msi

path in step 7 could be different.
yeah,this worked,but just for one of my cards,other one still have same problem,but thx anyway
full member
Activity: 120
Merit: 100
Why do you even install CCC?

Install the drivers via inf files? Or locate individual install files for display drivers after extracting the main driver zipped file?

0) Download and run amd_cleanup_util_1.2.1.0.exe, use google to find it
1) Download Catalyst from amd.com
2) Run it
3) When it asks 'where you want.. blah-blah.. to extract?' specify "C:\temp\bzzz"
4) After unpacking finished and it asks you to press "next", press "cancel" instead
5) Press "Windows button"+PAUSE, open Hardware(win xp)->"Device Manager" or Control Panel->System->Device Manager
6) Find your GPU under 'Display adapters'
7) right click->update->browse my computer->let me pick from a list->have disk->C:\temp\bzzz\AMD\Support\12-6_vista_win7_64_dd_ccc_whql\Packages\Drivers\Display\W76A_INF -> OK
8_) After installation go to Control Panel->Administrative tools->Services and disable 'AMD External Events service'
9*) If after all this cgminer/GPUZ reports that there is no OpenCL, go to C:\temp\bzzz\AMD\Support\12-6_vista_win7_64_dd_ccc_whql\Packages\Apps\OpenCL64 and run OpenCL.msi

path in step 7 could be different.

Thank You
+1
hero member
Activity: 532
Merit: 500
Why do you even install CCC?

Install the drivers via inf files? Or locate individual install files for display drivers after extracting the main driver zipped file?

0) Download and run amd_cleanup_util_1.2.1.0.exe, use google to find it
1) Download Catalyst from amd.com
2) Run it
3) When it asks 'where you want.. blah-blah.. to extract?' specify "C:\temp\bzzz"
4) After unpacking finished and it asks you to press "next", press "cancel" instead
5) Press "Windows button"+PAUSE, open Hardware(win xp)->"Device Manager" or Control Panel->System->Device Manager
6) Find your GPU under 'Display adapters'
7) right click->update->browse my computer->let me pick from a list->have disk->C:\temp\bzzz\AMD\Support\12-6_vista_win7_64_dd_ccc_whql\Packages\Drivers\Display\W76A_INF -> OK
8_) After installation go to Control Panel->Administrative tools->Services and disable 'AMD External Events service'
9*) If after all this cgminer/GPUZ reports that there is no OpenCL, go to C:\temp\bzzz\AMD\Support\12-6_vista_win7_64_dd_ccc_whql\Packages\Apps\OpenCL64 and run OpenCL.msi

path in step 7 could be different.
So should I be installing 12.8 or?
Edit: It's working now, thank you so much :DDDD
lbr
sr. member
Activity: 423
Merit: 254
Why do you even install CCC?

Install the drivers via inf files? Or locate individual install files for display drivers after extracting the main driver zipped file?

0) Download and run amd_cleanup_util_1.2.1.0.exe, use google to find it
1) Download Catalyst from amd.com
2) Run it
3) When it asks 'where you want.. blah-blah.. to extract?' specify "C:\temp\bzzz"
4) After unpacking finished and it asks you to press "next", press "cancel" instead
5) Press "Windows button"+PAUSE, open Hardware(win xp)->"Device Manager" or Control Panel->System->Device Manager
6) Find your GPU under 'Display adapters'
7) right click->update->browse my computer->let me pick from a list->have disk->C:\temp\bzzz\AMD\Support\12-6_vista_win7_64_dd_ccc_whql\Packages\Drivers\Display\W76A_INF -> OK
8_) After installation go to Control Panel->Administrative tools->Services and disable 'AMD External Events service'
9*) If after all this cgminer/GPUZ reports that there is no OpenCL, go to C:\temp\bzzz\AMD\Support\12-6_vista_win7_64_dd_ccc_whql\Packages\Apps\OpenCL64 and run OpenCL.msi

path in step 7 could be different.
newbie
Activity: 26
Merit: 0
Why do you even install CCC?

Install the drivers via inf files? Or locate individual install files for display drivers after extracting the main driver zipped file?
lbr
sr. member
Activity: 423
Merit: 254
Why do you even install CCC?
hero member
Activity: 532
Merit: 500
pls help someone
Win 7 64 bit with 2 HD 5870's - Can't get 12.8 to work without having CCC.exe crash Sad
Tried using 13.4 but that doesn't work either  Huh
Looks like I'm just going back to using xubuntu 12.04 and mine at only 600 khash/s compared to 950 in windows, fuck you AMD.
lbr
sr. member
Activity: 423
Merit: 254
no .bin in the folder = cgminer was not able to compile the kernel cause amdocl crashed - your initial crash, happens to me on 13.4
amdocl.dll and OpenCL.dll and some .exe in System32 left after cleanup for my system means that Windows installed drivers from auto-update -> disable installing drivers from internet and cleanup cause those files will be used every time not the driver original libraries.
on my system I get best results for 7950 using 12.6 driver
and ofc no Catalyst install - driver only, AMD External events service - disabled

setx GPU_MAX_ALLOC_PERCENT 100 - allows to use all GPU memory
setx GPU_USE_SYNC_OBJECTS 1 - no idea
setx DISPLAY ":0" - allows w2k8 not to use dummys

check if were set - regedit, HKCU/Enviroment

I am using tc 44000
Intensity 20, if you are getting errors on higher intensity - tc is too low.
I overclock with AfterBurner, make profile and auto set it for both 2d and 3d.
On w2k8 AfterBurner auto-starts with low prio, so I've disabled auto-start in AfterBurner and created scheduled task manually with different name so AfterBurner won't delete it.
newbie
Activity: 26
Merit: 0
Update: Last night i once again decided that i will take another shot at it so i uninstalled the beta driver and cleaned all the files i mentioned earlier.

Installed 12.8
SDK 2.8

cgminer --scrypt -o POOL:PORT -u USERNAME -p PASSWORD --auto-fan --shaders 2048 --thread-concurrency 8192 --intensity 13 --worksize 256 -g 1 --gpu-engine 1100 --gpu-memclock 1400

I am getting  490 KH/S on avg since last night without crash. I expected better hash rate from XFX 7970 but 490 KH/S is best i have gotten without crash. If i increase gpu-memclock to 1500 (plz note default memclock for this card is 1400) computer crashes although i get on avg about 600 KH/s for like 5 minutes and as soon as temp reaches 80C computer crashes. I am  really disappointed with the performance from this XFX 7970. My computer  case is ANTEC tower with 4 fans running so i imagine there is plenty of airflow and since i am only running one 7970  i did not anticipate i would have this nightmare.
newbie
Activity: 1
Merit: 0
I am experiencing the same problems. I am currently running 2x7970s (Sapphire) with the following settings:

cgminer 3.1.1
13.4 drivers

-I 13 -w 256 -g 2 --shaders 2048 --thread-concurrency 8192 --gpu-engine 1045 --gpu-memclock 1500 --auto-fan --temp-target 75 --temp-overheat 80 --temp-cutoff 85

For approx. 3 minutes it mines LTC just fine, but then it either crashes completely or 1 GPU stops working.
I have no problems mining BTC whatsoever.

EDIT: I changed the gpu clock to 1000 and the mem clock to 1600 and it is running stable with only 50Kh/s loss

EDIT2: got a super-bright white screen (crash) after an hour (or so)....changing clocks to 925/1375
newbie
Activity: 26
Merit: 0
This is really bizzare... Someone call Kanoi or ckolivas, Hell even Luke-Jr could help.
This is probobly a Stupid question, But have you tried cleaning the drivers via AMD's driver cleanup utility? (I have harsh doubts that this will even make a differance since your btc mining is fine)

I had but for some strange odd reason it did not delete following files so i went to safe mode and deleted the files manually from system32 and syswow64

amdave32.dll
amdocl.dll
amdocl_as32.exe
amdocl_ld32.exe
amdpcom32.dll
opencl.dll

After that i reinstalled 13.4 but same issue so i decided to go beta route and repeated the above deletion and intalled 13.6 beta 2.....Wow  now i can mine litecoins using my XFX 7970 but dumb graphics card only produced 350 KH/s at best until today i stumbled upon following:

cgminer --scrypt -o pool -u username -p password --shaders 2048 --thread-concurrency 8192 --intensity 13 --worksize 256 -g 1 --gpu-engine 1100  --gpu-memclock 1800

now i can mine 590 KH/s. Good but wait, there is more lol. It went on mining for like an hour and computer restarted resulting  in corrupting some of my virtual box machines (completely different topic altogether  but i managed to recover from this after spending couple of hours recovering my database) so now i am sitting duck and scared to try again lmao. My mistake i should not have tried on production machine but regardless i dont know why computer restarted itself all of a sudden with above settings, i am thinking beta drivers perhaps but i am scared to try something until probably sunday night when nobody is using VMs so i can safely shutdown VMs and try different drivers or parameter for cgminer. Any opinion or suggestion ? much appreciated...
legendary
Activity: 1428
Merit: 1001
Okey Dokey Lokey
This is really bizzare... Someone call Kanoi or ckolivas, Hell even Luke-Jr could help.
This is probobly a Stupid question, But have you tried cleaning the drivers via AMD's driver cleanup utility? (I have harsh doubts that this will even make a differance since your btc mining is fine)
newbie
Activity: 26
Merit: 0
I have a similar problem on with CGminer on Linux. Whilst mining BTC is fine, and I compiled cgminer with scrypt enabled, as soon as I use

./cgminer --scrypt _other_options_and_pool_info

cgminer almost immediately segfaults.

Is there another GPU miner for Linux other than cgminer and Litecoins I could try to compile that would work well with ATI Radeon 7850's and 7950's?



If you find one please let me know, i am pulling my hair over here and going bald lol
newbie
Activity: 5
Merit: 0
I have a similar problem on with CGminer on Linux. Whilst mining BTC is fine, and I compiled cgminer with scrypt enabled, as soon as I use

./cgminer --scrypt _other_options_and_pool_info

cgminer almost immediately segfaults.

Is there another GPU miner for Linux other than cgminer and Litecoins I could try to compile that would work well with ATI Radeon 7850's and 7950's?

member
Activity: 98
Merit: 10
The best advice I can give you is to follow the scrypt-readme text file. It will take a bit, but you will get it.
My settings are
setx GPU_MAX_ALLOC_PERCENT 100
color 02
--intensity 13 --thread-concurrency 8192 --gpu-threads 2 --gpu-fan 100 --gpu-powertune 20 --gpu-engine 1045,1040,1045 --gpu-memclock 1500
I get 2.176 average with three Vapor-x 7970 cards.
newbie
Activity: 26
Merit: 0
hmm, I don't know anything about guiminer, I use CGminer. You can get the gist of reflashing here https://forum.litecoin.net/index.php/topic,2963.0.html I don't know what bios you would need. Before you flash things, is there a guide to setup guiminer somewhere? CGminer has the Scrypt-readme text file that comes with the program to get you started. It took me about 2 hours to dial the cards in to their max before flashing.

I tried cgminer directly as well using the following command but it produces same error (really pulling my hair lmao)

cgminer --scrypt -o http://pool.litebonk.com:3333 -u username.1 -p passsword --thread-concurrency 8192 -I 10 -g 1 -w 256
member
Activity: 98
Merit: 10
hmm, I don't know anything about guiminer, I use CGminer. You can get the gist of reflashing here https://forum.litecoin.net/index.php/topic,2963.0.html I don't know what bios you would need. Before you flash things, is there a guide to setup guiminer somewhere? CGminer has the Scrypt-readme text file that comes with the program to get you started. It took me about 2 hours to dial the cards in to their max before flashing.
newbie
Activity: 26
Merit: 0
What card is it? I had a heap of trouble with the Sapphire HD7970 vapor-x and it required a bios flash to perform correctly with litecoin.

Probably a dumb question but how do i reflash it?
Pages:
Jump to: