Git Product home page Git Product logo

Comments (16)

imrecsoka avatar imrecsoka commented on August 25, 2024 2

i get this stupid error:
Failed to ADL_Overdrive5_ODPerformanceLevels_Get

what is the solutuion, i mean * sake clamore miner never ever does this *
why dont SGminer and CGminer developers up their game and even ask for dev fee, i mean * sake how hard can it be
they never echo decent messages for trouble shooting either its ridiculous.
I have tried --verbose and -T and God knows its really a pain in the ass to use these * miners
i also dont understand how one knows what algorithms it supports.
if its not X11 then its X11mod i mean how the hell do u know, its really madness , seriously

from sgminer.

veox avatar veox commented on August 25, 2024

Relevant commit: veox@783cd01

ADL 6 in not used ATM.

from sgminer.

veox avatar veox commented on August 25, 2024

@lordeo, see if this is not a duplicate of https://github.com/veox/sgminer/issues/15

from sgminer.

Joe4782 avatar Joe4782 commented on August 25, 2024

This appears to be exactly the same problem that I have running two MSI R9 290s on Xubuntu 13.04. Latest catalyst driver, AMD APP 2.9, ADL6. Also exactly the same problem on cgminer 3.7.2.

I have tried various different combinations of drivers, etc. but this appears to be the best that I can get the miners working. Have looked at Issue 15, but this one appears to be an exact match for my problems.

from sgminer.

veox avatar veox commented on August 25, 2024

@Joe4782, does running the GPUs one-by-one (--device=0, --device=1) change anything?

from sgminer.

Joe4782 avatar Joe4782 commented on August 25, 2024

With the --device=0, the result was:

sgminer version 4.0.0 - Started: [2014-01-20 20:09:13]
--------------------------------------------------------------------------------
(5s):512.8K (avg):807.6Kh/s | A:0  R:0  HW:0  WU:670.1/m
ST: 2  SS: 0  NB: 1  LW: 6  GF: 0  RF: 0
Connected to xx.xxxxxxxxx.xx diff 128 with stratum as user xxxxxxx.xxx
Block: 8c23f585...  Diff:55.3M  Started: [20:09:13]  Best share: 269
--------------------------------------------------------------------------------
[P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
 GPU 0:  72.0C 4604RPM | 458.3K/908.6Kh/s | R:  0.0% HW:0 WU: 843.4/m I:20
 GPU 1:                | OFF   / 0.000h/s | R:  0.0% HW:0 WU:   0.0/m I:20
--------------------------------------------------------------------------------

With the --device=1, the result was:

sgminer version 4.0.0 - Started: [2014-01-20 20:11:46]
--------------------------------------------------------------------------------
(5s):314.2K (avg):796.9Kh/s | A:0  R:0  HW:0  WU:706.8/m
ST: 2  SS: 0  NB: 1  LW: 3  GF: 0  RF: 0
Connected to xx.xxxxxxxxx.xx diff 128 with stratum as user xxxxxxx.xxx
Block: 74f29f8c...  Diff:55.3M  Started: [20:11:46]  Best share: 123
--------------------------------------------------------------------------------
[P]ool management [G]PU management [S]ettings [D]isplay options [Q]uit
 GPU 0:  63.0C 4635RPM | OFF   / 0.000h/s | R:  0.0% HW:0 WU:  0.0/m I:20
 GPU 1:                | 183.0K/796.9Kh/s | R:  0.0% HW:0 WU:832.2/m I:20
--------------------------------------------------------------------------------

from sgminer.

Joe4782 avatar Joe4782 commented on August 25, 2024

I've been using my very crude c++ skills to try hacking the code to see if I can shed some further light on where the problem may lie. This basically means adding extra log messages. This is the result:

[23:55:37] CL Platform 0 vendor: Advanced Micro Devices, Inc.
[23:55:37] CL Platform 0 name: AMD Accelerated Parallel Processing
[23:55:37] CL Platform 0 version: OpenCL 1.2 AMD-APP (1348.5)
[23:55:37] Platform 0 devices: 2
[23:55:37]      0       Hawaii
[23:55:37]      1       Hawaii
[23:55:37] ATI ADL Overdrive5 API found.
[23:55:37] ATI ADL Overdrive6 API found.
[23:55:37] Found 8 ADL adapters
[23:55:37] ADL index 0, id 1594077552 - BIOS partno.: 113-C6711100-102, version: 015.039.000.007.003523, date: 10/03/13 13:51
[23:55:37] GPU 0 assigned: iAdapterIndex 0 strUDID 256:26545:4098:2816:4098 iBusNumber 1 iDeviceNumber 0 iFunctionNumber 0 iVendorID 4098 name AMD Radeon R9 290 Series          
[23:55:37] ADL index 1, id 1594077552 - BIOS partno.: 113-C6711100-102, version: 015.039.000.007.003523, date: 10/03/13 13:51
[23:55:37] ADL index 2, id 1594077552 - BIOS partno.: 113-C6711100-102, version: 015.039.000.007.003523, date: 10/03/13 13:51
[23:55:37] ADL index 3, id 1594077552 - BIOS partno.: 113-C6711100-102, version: 015.039.000.007.003523, date: 10/03/13 13:51
[23:55:37] ADL index 4, id 1594077552 - BIOS partno.: 113-C6711100-102, version: 015.039.000.007.003523, date: 10/03/13 13:51
[23:55:37] ADL index 5, id 1594077552 - BIOS partno.: 113-C6711100-102, version: 015.039.000.007.003523, date: 10/03/13 13:51
[23:55:37] ADL index 6, id 1595484400 - FAILED to get BIOS info
[23:55:37] GPU 1 assigned: iAdapterIndex 6 strUDID 1024:26545:4098:2816:4098 iBusNumber 4 iDeviceNumber 0 iFunctionNumber 0 iVendorID 4098 name AMD Radeon R9 290 Series         
[23:55:37] ADL index 7, id 1595484400 - FAILED to get BIOS info
[23:55:37] GPU 0 AMD Radeon R9 290 Series  hardware monitoring enabled
[23:55:37] ADL GPU 0 is Adapter index 0 and maps to adapter id 1594077552
[23:55:37] GPU 0 BIOS partno.: 113-C6711100-102, version: 015.039.000.007.003523, date: 10/03/13 13:51
[23:55:37] GPU 1 AMD Radeon R9 290 Series  hardware monitoring enabled
[23:55:37] ADL GPU 1 is Adapter index 6 and maps to adapter id 1595484400
[23:55:37] Failed to ADL_Overdrive5_ODParameters_Get
[23:55:37] Failed to ADL_Overdrive5_ODPerformanceLevels_Get
[23:55:37] Failed to ADL_Overdrive5_ODPerformanceLevels_Get
[23:55:37] Failed to ADL_Overdrive5_FanSpeedInfo_Get
[23:55:37] Failed to ADL_Overdrive5_FanSpeed_Get for default value
[23:55:37] Failed to ADL_Overdrive5_PowerControl_get
[23:55:37] 2 GPU devices max detected

from sgminer.

olejr avatar olejr commented on August 25, 2024

Something fishy going on inside init_adl() in adl.c

OpenCL finds 2 adapters, and ADL finds 8(!).
And this never trigger:

        if (++devices > nDevs && devs_match) {
            applog(LOG_ERR, "ADL found more devices than opencl!");
            applog(LOG_ERR, "There is possibly at least one GPU that doesn't support OpenCL");
            applog(LOG_ERR, "Use the gpu map feature to reliably map OpenCL to ADL");
            devs_match = false;

Had a look at the same function in bfgminer, and the logic/ordering of things are a bit different there.
Maybe have a look..

More spesific this commit:
luke-jr/bfgminer@41b944e
And/or:
luke-jr/bfgminer@6b72821

from sgminer.

Joe4782 avatar Joe4782 commented on August 25, 2024

I've been doing some more testing this evening on the sgminer codebase, but I can't get seem to get any ADL information out of the second card, apart from the adapter id (from ADL_Adapter_ID_Get). I don't have any monitors plugged in to either card, but I'm wondering if there's a bug in the driver that causes the ADL side of things to not initialise correctly on that second R9 290 card. I was thinking about raising the issue on the AMD developer forums.

I've not tried bgminer and don't know anything about it. But maybe that could be my next step. I'm going to be impressed if it works!

EDIT: I downloaded the latest bfgminer direct from github (version 3.10.0), and then autogen'd. And although I managed to both configure and build it, the result with -n was:

[2014-01-22 22:48:47] 0 GPU devices max detected

So either I've built it incorrectly (highly possible), or it doesn't have any support for these latest GPUs.

from sgminer.

olejr avatar olejr commented on August 25, 2024

bfgminer have to be configured with ./configure --enable-opencl --enable-scrypt afaik.

But after reading around on litecointalk, I see people running two or more 290 cards without this error
both on linux & windows, with cgminer and sgminer. So I really have no clue to why it fail so badly here..

Have you tried starting with --gpu-reorder? Or to disable adl, --no-adl..

from sgminer.

Joe4782 avatar Joe4782 commented on August 25, 2024

Yeah - that's how I configured the bfgminer build.

Before I switched to linux a few weeks ago, I was running on windows for a couple of weeks. Then I was relying on the MSI Afterburner software to speed up the cards/control fan (both cards successfully) - I don't recall whether cgminer was reporting the temps. I looked through the (single) example in the ADL6 SDK, and compared it with sgminer - tried some experiments - all with no luck. At this point, I don't think it's the miner software - probably the drivers and/or the ADL SDK.

I'll see about raising the issue on the AMD forums later - but I have to go to work first!

from sgminer.

Joe4782 avatar Joe4782 commented on August 25, 2024

It looks like the same issue has been raised yesterday on the AMD developer forums:

http://devgurus.amd.com/message/1302464

I've linked back to sgminer and this issue in that thread.

from sgminer.

olejr avatar olejr commented on August 25, 2024

Well I got my first 290 yesterday, and none of the miners (sg/cg) recognize it..
Would think it was a simple aticonfig --adapter=all --initial, but no..
ADL_Adapter_ID_Get fail with -1 no usable adapter found..
But this is another issue all together :-P

Btw. Running driver version 13.12 on Debian..
Reinstalled driver, got it working..

from sgminer.

veox avatar veox commented on August 25, 2024

@Joe4782 it has been confirmed (by billybigrigger on IRC) that Catalyst >=13.12 includes AMD APP SDK (and a separate installation of the latter might not be required).

I'd say you're getting OpenCL platform conflicts, but your comment above shows you only have one platform.

(Dropping this here JIC.)

from sgminer.

Joe4782 avatar Joe4782 commented on August 25, 2024

Well, hopefully someone on the AMD forums will be able to look into this - I think we've done quite a bit to explain the circumstances under which the problem manifests itself.

I'm fairly sure it's not the mining software itself. The testing I tried followed their example code - and it just didn't work as I would have expected. It shouldn't be that hard to get it to work - unless they've missed out some extra initiation code for multiple GPUs - but then, the code already works for non R9 cards just fine.

from sgminer.

mrbrdo avatar mrbrdo commented on August 25, 2024

Seems like there is nothing that can be done for now, so closing.

from sgminer.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.