Bitcoin Forum
December 02, 2023, 06:53:21 PM *
News: Latest Bitcoin Core release: 25.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [SOLVED] Can't get cgminer working  (Read 870 times)
Varog (OP)
Jr. Member
*
Offline Offline

Activity: 240
Merit: 1


View Profile
December 16, 2014, 03:22:09 AM
Last edit: December 16, 2014, 03:33:40 PM by Varog
 #1

Hello All,
First of all, forgive my English, I'm not a native speaker. Please, also forgive if my request is stupid but I can't cope with my trouble and need at least a clue. My "CGMINER" won't mine. In fact, I have got not a single cgminer instance but about ten, and some of them are Sgminer, and till one moment they all worked. I haven't changed my hardware in the meantime. The major thing I've done was to reinstall Windows several times willing to downgrade from 8 back to 7 (just for my comfort). From my memories, I also played around some BIOS hardware settings but eventually I loaded the defaults which for sure worked before.

The basic output of the faulty cgminer is "clDevicesNum returned error, no GPUs usable  All devices disabled, cannot mine!" - I have googled and read everything around this error but nothing helpful.

The detailed output with -n argument derives the following:
Code:
[06:18:57] CL Platform 0 vendor: Advanced Micro Devices, Inc.                    
[06:18:57] CL Platform 0 name: AMD Accelerated Parallel Processing                    
[06:18:57] CL Platform 0 version: OpenCL 2.0 AMD-APP (1598.5)                    
[06:18:57] Platform 0 devices: 2                    
[06:18:57] 0 Tahiti                    
[06:18:57] 1 Tahiti                    
[06:18:57] Number of ADL devices: 2                    
[06:18:57] ATI ADL Overdrive5 API found.                    
[06:18:57] ATI ADL Overdrive6 API found.                    
[06:18:57] Found 8 ADL adapters                    
[06:18:57] ADL index 0, id 72896576 - BIOS partno.: 113-C47601S0-100, version: 015.032.000.004, date: 2013/04/14 21:46                    
[06:18:57] GPU 0 assigned: iAdapterIndex:0 iPresent:0 strUDID:PCI_VEN_1002&DEV_679B&SUBSYS_045C1043&REV_00_6&23923AA4&0&00800008A iBusNumber:4 iDeviceNumber:0 iFunctionNumber:0 iVendorID:1002 name:AMD Radeon HD 7900 Series                    
[06:18:57] ADL index 1, id 72896576 - BIOS partno.: 113-C47601S0-100, version: 015.032.000.004, date: 2013/04/14 21:46                    
[06:18:57] ADL index 2, id 17428928 - BIOS partno.: 113-C47601M0-100, version: 015.032.000.004, date: 2013/04/15 00:36                    
[06:18:57] GPU 1 assigned: iAdapterIndex:2 iPresent:1 strUDID:PCI_VEN_1002&DEV_679B&SUBSYS_045C1043&REV_00_6&CFD27C8&0&00400008A iBusNumber:3 iDeviceNumber:0 iFunctionNumber:0 iVendorID:1002 name:AMD Radeon HD 7900 Series                    
[06:18:57] ADL index 3, id 17428928 - BIOS partno.: 113-C47601M0-100, version: 015.032.000.004, date: 2013/04/15 00:36                    
[06:18:57] ADL index 4, id 17428928 - BIOS partno.: 113-C47601M0-100, version: 015.032.000.004, date: 2013/04/15 00:36                    
[06:18:57] ADL index 5, id 17428928 - BIOS partno.: 113-C47601M0-100, version: 015.032.000.004, date: 2013/04/15 00:36                    
[06:18:57] ADL index 6, id 17428928 - BIOS partno.: 113-C47601M0-100, version: 015.032.000.004, date: 2013/04/15 00:36                    
[06:18:57] ADL index 7, id 17428928 - BIOS partno.: 113-C47601M0-100, version: 015.032.000.004, date: 2013/04/15 00:36                    
[06:18:57] GPU 0 AMD Radeon HD 7900 Series hardware monitoring enabled                    
[06:18:57] ADL GPU 0 is Adapter index 0 and maps to adapter id 72896576                    
[06:18:57] GPU 0 BIOS partno.: 113-C47601S0-100, version: 015.032.000.004, date: 2013/04/14 21:46                    
[06:18:57] GPU 1 AMD Radeon HD 7900 Series hardware monitoring enabled                    
[06:18:57] ADL GPU 1 is Adapter index 2 and maps to adapter id 17428928                    
[06:18:57] GPU 1 BIOS partno.: 113-C47601M0-100, version: 015.032.000.004, date: 2013/04/15 00:36                    
[06:18:57] Failed to ADL_Overdrive5_FanSpeed_Get for default value                    
[06:18:57] 2 GPU devices max detected                  
I also ran CompuBench CL and OCCT and everything went smooth. GPU Caps Viewer gave me a single error:

 
Otherwise it works OK..

And, of course, I've tried different versions of Catalyst under both Windows 7 and 8, and the result is the same at all my tries. Any help will be very appreciated.



UPD: Assuming that my efforts can help somebody else. As expected, the catch was very simple and difficult to notice.

I only changed one argument in sgminer.conf file "gpu-platform" : "1" -> "gpu-platform" : "0"

Apparently, before my reinstallations the iGPU was read as "0" and PCIe as "1". Now it's vice versa, for some reason.
1701543201
Hero Member
*
Offline Offline

Posts: 1701543201

View Profile Personal Message (Offline)

Ignore
1701543201
Reply with quote  #2

1701543201
Report to moderator
1701543201
Hero Member
*
Offline Offline

Posts: 1701543201

View Profile Personal Message (Offline)

Ignore
1701543201
Reply with quote  #2

1701543201
Report to moderator
The network tries to produce one block per 10 minutes. It does this by automatically adjusting how difficult it is to produce blocks.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1701543201
Hero Member
*
Offline Offline

Posts: 1701543201

View Profile Personal Message (Offline)

Ignore
1701543201
Reply with quote  #2

1701543201
Report to moderator
1701543201
Hero Member
*
Offline Offline

Posts: 1701543201

View Profile Personal Message (Offline)

Ignore
1701543201
Reply with quote  #2

1701543201
Report to moderator
1701543201
Hero Member
*
Offline Offline

Posts: 1701543201

View Profile Personal Message (Offline)

Ignore
1701543201
Reply with quote  #2

1701543201
Report to moderator
Bananana
Sr. Member
****
Offline Offline

Activity: 481
Merit: 250



View Profile WWW
December 16, 2014, 03:56:12 AM
 #2

You didn't put the most important info which is your GPU model. If you are using nvidia GPU then cgminer will not work.

Varog (OP)
Jr. Member
*
Offline Offline

Activity: 240
Merit: 1


View Profile
December 16, 2014, 04:17:28 AM
 #3

You didn't put the most important info which is your GPU model. If you are using nvidia GPU then cgminer will not work.
ASUS HD7990 = 2xATI 7970
In the code field above you can see any details about the HW and drivers
Thank you.
Whaler
Full Member
***
Offline Offline

Activity: 123
Merit: 100


View Profile
December 16, 2014, 05:42:41 AM
 #4

check drivers and try lower version too.  Cool
i find sometime you use lower version and better result.
djm34
Legendary
*
Offline Offline

Activity: 1400
Merit: 1050


View Profile WWW
December 16, 2014, 12:51:26 PM
 #5

that's neat, what do you use to watch the code ?

djm34 facebook page
BTC: 1NENYmxwZGHsKFmyjTc5WferTn5VTFb7Ze
Pledge for neoscrypt ccminer to that address: 16UoC4DmTz2pvhFvcfTQrzkPTrXkWijzXw
Varog (OP)
Jr. Member
*
Offline Offline

Activity: 240
Merit: 1


View Profile
December 16, 2014, 03:24:14 PM
 #6

that's neat, what do you use to watch the code ?
Sorry, what do you mean?
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!