m0mchil / poclbm

PyOpenCL bitcoin miner
Other
681 stars 387 forks source link

ADL_Adapter_Active_Get failed, cutoff temperature disabled #54

Closed colindean closed 11 years ago

colindean commented 11 years ago

While attempting to use poclbm with guiminer, using the version packaged with the latest release of guiminer:

C:\Users\colin\Desktop\guiminer>poclbm.exe user:pass@api2.bitcoin.cz:8332 --device=0 --platform=0 --verbose -r1 -v -w 128 -f 30
 27/11/2012 20:19:41, ADL_Adapter_Active_Get failed, cutoff temperature disabled
 for 0:0:Barts
Traceback (most recent call last):
  File "poclbm.py", line 78, in <module>
  File "OpenCLMiner.pyo", line 100, in initialize
  File "OpenCLMiner.pyo", line 129, in __init__
TypeError: 'NoneType' object has no attribute '__getitem__'

I think this is the offending line:

https://github.com/m0mchil/poclbm/blob/master/OpenCLMiner.py#L129

My shot in the dark would be that OpenCLMiner.get_adapter_info() is returning None when it hits a bad condition at L361 and L129 isn't checking for that possible condition or recovering from the thrown exception.

I'm running a Radeon HD 6850 on Windows 7 x64 with an AMD Athlon X2 6000+. I've also reported this in https://github.com/Kiv/poclbm/issues/54. I've executed poclbm both within guiminer and at the command line.

colindean commented 11 years ago

Neglected to mention that I'm on Catalyst 12.10, which is the current drivers as of November 17, 2012.

m0mchil commented 11 years ago

Fixed at 8e37a4ca60

colindean commented 11 years ago

Pleased to report that it is working as of the latest release of GUIminer. Thanks!