Bitcoin Forum
May 07, 2024, 06:04:03 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: CGminer crashes on start, multiple graphic cards [Solved]  (Read 11287 times)
daggeteo (OP)
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
May 07, 2013, 01:39:34 PM
Last edit: May 08, 2013, 07:41:51 PM by daggeteo
 #1

I got problems getting CGminer to work at all, it shuts down directly.
I've tried several different versions of cgminer 3.1.0 and 3.0.0
Different flags have also been tried with no success, program just shuts down directly all the time.
I tried running just one of the cards with the "-d 0" flag but it didnt work.

here is a version of what I have tried in my .bat file
Quote
cgminer  --verbose -o http://stratum.d7.lt:3333 -u [myworkername] -p [mypass] -d 0 -g 1 2>logfile.txt

The output to the logfile is
Quote
[2013-05-07 15:25:02] Started cgminer 3.0.0
 [2013-05-07 15:25:02] CL Platform 0 vendor: Advanced Micro Devices, Inc.
 [2013-05-07 15:25:02] CL Platform 0 name: AMD Accelerated Parallel Processing
 [2013-05-07 15:25:02] CL Platform 0 version: OpenCL 1.2 AMD-APP (1124.2)
 [2013-05-07 15:25:02] Platform 0 devices: 2
 [2013-05-07 15:25:02]    0   Cypress
 [2013-05-07 15:25:02]    1   Cypress
 [2013-05-07 15:25:03] GPU 0 ATI Radeon HD 5800 Series hardware monitoring enabled
 [2013-05-07 15:25:03] GPU 1 ATI Radeon HD 5800 Series hardware monitoring enabled
 [2013-05-07 15:25:03] Probing for an alive pool
 [2013-05-07 15:25:03] Testing pool http://stratum.d7.lt:3333
 [2013-05-07 15:25:03] HTTP request failed: Empty reply from server
 [2013-05-07 15:25:03] HTTP request failed: Empty reply from server
 [2013-05-07 15:25:03] JSON-RPC decode failed: (unknown reason)
 [2013-05-07 15:25:03] Stratum authorisation success for pool 0
 [2013-05-07 15:25:03] Pool 0 http://stratum.d7.lt:3333 alive
 [2013-05-07 15:25:04] Init GPU thread 0 GPU 0 virtual GPU 0
 [2013-05-07 15:25:04] CL Platform vendor: Advanced Micro Devices, Inc.
 [2013-05-07 15:25:04] CL Platform name: AMD Accelerated Parallel Processing
 [2013-05-07 15:25:04] CL Platform version: OpenCL 1.2 AMD-APP (1124.2)
 [2013-05-07 15:25:04] List of devices:
 [2013-05-07 15:25:04]    0   Cypress
 [2013-05-07 15:25:04]    1   Cypress
 [2013-05-07 15:25:04] Selected 0: Cypress
 [2013-05-07 15:25:04] Selecting phatk kernel

I had the latest drivers (13.4) for the gpus 5850s from the start, so i uninstalled them and wiped the system clean(with AMDs uninstall utility), reinstalled a older version (13.1, I think, can't remember if it was 12.Cool that seemed to work for others but no luck for me.

Now after failing in basicly every turn i take i went back to the latest drivers so atleast can mine at slow pace with Bitminter-client which works now.

However i'd really like to get CGminer to work so i can start tweak the settings and get more out of these cards.

I appreciate any advice, thank you!


I had nvidia cards prior but all drivers and programs associated with nvidia has been uninstalled.

TLDR
  • Tried different drivers
  • Tried different versions of CGminer
  • Can mine with the Bitminter client, it works
  • Tried different versions of CGminer
  • Rig consists of two HD5850s
  • Powersupply is a Corsair AX850
  • Googling has not yielded any results and my troubleshooting is at a standstill, need your help!


Edit: The solution was to uninstall current drivers. Delete certains files (read msg #3 for which ones) and then reinstall 12.8.
1715105043
Hero Member
*
Offline Offline

Posts: 1715105043

View Profile Personal Message (Offline)

Ignore
1715105043
Reply with quote  #2

1715105043
Report to moderator
Bitcoin addresses contain a checksum, so it is very unlikely that mistyping an address will cause you to lose money.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715105043
Hero Member
*
Offline Offline

Posts: 1715105043

View Profile Personal Message (Offline)

Ignore
1715105043
Reply with quote  #2

1715105043
Report to moderator
MashRinx
Sr. Member
****
Offline Offline

Activity: 389
Merit: 250



View Profile
May 07, 2013, 03:23:15 PM
 #2

Quote
cgminer  --verbose -o http://stratum.d7.lt:3333 -u [myworkername] -p [mypass] -d 0 -g 1 2>logfile.txt

The issue may be the 2 after the -g parameter.  I think CGminer will parse this as wanting to use 1 GPU thread and then will see the 2 and see that as an extra argument.

Whenever I make changes to my CGMiner configs and I get immediate exist, I open a DOS windows to that folder and run the batch file.  It usually complains of some incorrectly parameter.
daggeteo (OP)
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
May 07, 2013, 06:24:40 PM
 #3


The issue may be the 2 after the -g parameter.  I think CGminer will parse this as wanting to use 1 GPU thread and then will see the 2 and see that as an extra argument.

Whenever I make changes to my CGMiner configs and I get immediate exist, I open a DOS windows to that folder and run the batch file.  It usually complains of some incorrectly parameter.

Hi,

That part is just for writing the logfile but CGminer will not work even if I remove that.  But I'll give the CMD idea a shoot later on and see what'll come out of it.

I received some help through the chat at one of the pools.

Basically what he/she said was that I'd have to se and older "SDK runtime" (12.8 for example). I'd have to uninstall the current SDK Runtime and then manually remove the files "amdocl.dll" and "opencl.dll" from  C:\Windows\system32 and C:\windows\Syswow64.

After that install SDK Runtime from Catalyst 12.8. Apparently uninstalling catalyst even with the tool will not remove these files and therefor they have to manually deleted.

At the time I'm writting this I haven't had the chance to try these things out. I'll update when I know more.


Disclaimer: If someone reads this and tries to remove the files, please remember that you do so at your own risk Smiley
MashRinx
Sr. Member
****
Offline Offline

Activity: 389
Merit: 250



View Profile
May 07, 2013, 06:52:50 PM
 #4

I have used Driver Sweeper with some success to help with this file deletion as well, if this helps...  Uninstall the driver, boot into safe-mode, run Driver Sweeper, select AMD-Display, Analyze, Clean, reboot and then reinstall the new driver version you want.
daggeteo (OP)
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
May 07, 2013, 09:44:47 PM
 #5

I have used Driver Sweeper with some success to help with this file deletion as well, if this helps...  Uninstall the driver, boot into safe-mode, run Driver Sweeper, select AMD-Display, Analyze, Clean, reboot and then reinstall the new driver version you want.
Great tip! I'll try that tomorrow!
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!