Bitcoin Forum
November 14, 2024, 04:45:23 PM *
News: Check out the artwork 1Dq created to commemorate this forum's 15th anniversary
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bfgminer w/ opencl - Error -55: Enqueueing kernel onto command queue. (clEnq  (Read 3892 times)
slefevre (OP)
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
December 09, 2013, 04:07:10 PM
 #1

I'm trying to understand mining and learn a bit about GPU/OpenCL processing.  I've setup a simple test rig on Ubuntu 12.04 w/ an ATI Radeon HD 6350.  I've installed AMD's drivers and SDK and 'clinfo' shows both GPU and CPU device types.

bfgminer shows:
Code:
$ bfgminer -S opencl:auto -n
 [2013-12-09 10:58:04] CL Platform 0 vendor: Advanced Micro Devices, Inc.                   
 [2013-12-09 10:58:04] CL Platform 0 name: AMD Accelerated Parallel Processing                   
 [2013-12-09 10:58:04] CL Platform 0 version: OpenCL 1.2 AMD-APP (1214.3)                   
 [2013-12-09 10:58:04] Platform 0 devices: 1                   
 [2013-12-09 10:58:04]  0       Cedar                   
 [2013-12-09 10:58:04] ADL Initialisation Error! Error -1!                   
 [2013-12-09 10:58:04] 1 GPU devices max detected

I can run bfgminer with the following results:
Code:
bfgminer -S opencl:auto --scrypt -o http://[::1]:9332 -u xxxx -p yyyy
...
 [2013-12-09 11:04:32] Error -55: Enqueueing kernel onto command queue. (clEnqueueNDRangeKernel)
 [2013-12-09 11:04:32] OCL 0 failure, attempting to reinitialize
 [2013-12-09 11:04:32] Error -55: Enqueueing kernel onto command queue. (clEnqueueNDRangeKernel)
 [2013-12-09 11:04:32] OCL 0 failure, disabling!
 [2013-12-09 11:04:32] OCL 0 being disabled
 [2013-12-09 11:04:38] Attempting to reinitialize OCL 0
 [2013-12-09 11:04:38] OCL 0 being re-enabled
 [2013-12-09 11:04:38] Error -55: Enqueueing kernel onto command queue. (clEnqueueNDRangeKernel)
 [2013-12-09 11:04:38] OCL 0 failure, disabling!
 [2013-12-09 11:04:38] OCL 0 being disabled

I've searched the web and forums but can't find a way to fix this.  Anyone have any suggestions?

Thanks for any help!
S.
fionnlagh
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
December 24, 2013, 11:37:37 AM
 #2

I had this problem aswell.
The error -55 translates to "CL_INVALID_WORK_ITEM_SIZE" , which basically means that the work size is too big.
You can reduce the worksize to 128 or 64 by appending "-w 128" to your command line :
Code:
bfgminer -S opencl:auto --scrypt -o http://[::1]:9332 -u xxxx -p yyyy [color=red]-w 128[/color]

This worked for me.

Happy mining and merry christmas!
enginehead
Newbie
*
Offline Offline

Activity: 48
Merit: 0


View Profile
January 25, 2014, 10:04:19 AM
 #3

RAM! I had the same problem with a new 7990. Put in another 2 gig of ram now it's fine.
madjihad
Full Member
***
Offline Offline

Activity: 227
Merit: 260



View Profile
February 05, 2014, 12:26:11 AM
 #4

RAM! I had the same problem with a new 7990. Put in another 2 gig of ram now it's fine.

Just added extra 4Gigs, so now it's 8Gb, current memory load is about 15-20%. Sad
What is your OS and driver?
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!