Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: Varog on December 16, 2014, 03:22:09 AM



Title: [SOLVED] Can't get cgminer working
Post by: Varog on December 16, 2014, 03:22:09 AM
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:

 http://i57.tinypic.com/2n7nv3k.jpg
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.


Title: Re: Can't get cgminer working
Post by: Bananana on December 16, 2014, 03:56:12 AM
You didn't put the most important info which is your GPU model. If you are using nvidia GPU then cgminer will not work.


Title: Re: Can't get cgminer working
Post by: Varog on December 16, 2014, 04:17:28 AM
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.


Title: Re: Can't get cgminer working
Post by: Whaler on December 16, 2014, 05:42:41 AM
check drivers and try lower version too.  8)
i find sometime you use lower version and better result.


Title: Re: Can't get cgminer working
Post by: djm34 on December 16, 2014, 12:51:26 PM
that's neat, what do you use to watch the code ?


Title: Re: Can't get cgminer working
Post by: Varog on December 16, 2014, 03:24:14 PM
that's neat, what do you use to watch the code ?
Sorry, what do you mean?