When attempting to mine scrypt with the latest version of CGminer I get this error "error -56 enquequeing: Enqueueing kernel onto command queue. (clEnqueueNDRangeKernel)". The miner then procedes to disable the GPU.
I'm running a XFX 5870 HD 1GB VC on Windows XP SP3 with 2GB system ram. the card is recognized as GPU 0 and the -n function shows it as ATI stream. It's set to run on Give-Me-Coins pool in this fashion
"cgminer --scrypt -o
http://ltc.give-me-coins.com:3334 -u USER.WORKER -p PASSWORD" via the BAT file
In between tries I delete the bin file as well as rename the conf file which I also rename as to not interfere with the BAT file. This error also occurs when I try and run CGminer.exe through the conf file. Running from the cmd prompt also has the same results. I'll also add that I have no problems mining BTC with card and CGminer. CGminer was not compiled. I downloaded the binaries from the main repository. Any suggestion to solve this problem will be appreciated.
did you have?
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
in your batch file or before calling cgminer?
Funny thing about this is that I have always included this in the BAT file. Initially the miner was just instantly shutting down no matter what I did. I then got some help from the MOD at my mining pool and he did some research and found out that Windows XP does not natively support the SETX command. A little bit of info that all the guides LEAVE OUT! I had to download Windows XP Service Pack 2 Support Tools to get the SETX function into XP which was a whole nightmare in itself (but I won't go there). Once I got that setup incorporated the setx GPU_MAX_ALLOC_PERCENT 100 into the BAT file but not the setx GPU_USE_SYNC_OBJECTS 1. There seems to be a lot of confusion about how to run CGminer on Windows Xp as opposed to Windows 7 or Linux systems. If you could explain what the setx commands do it would be much appreciated!
setx GPU_MAX_ALLOC_PERCENT 100
setx GPU_USE_SYNC_OBJECTS 1
are useless in Windows, eliminate them and then go System Variables/Environment Variables and delete them. They're not your problem, they just do nothing for you in Windows.
Are you using a conf file??? Here's what I use for a 5830:
{
"scrypt" : true,
"intensity" : "18",
"worksize" : "256",
"lookup-gap" : "2",
"thread-concurrency" : "5632",
"gpu-engine" : "800",
"gpu-memclock" : "1000",
"gpu-vddc" : "0",
"gpu-fan" : "0-85",
"auto-fan" : true,
"gpu-reorder" : true,
"gpu-threads" : "1",
"temp-cutoff" : "95",
"temp-overheat" : "88",
"temp-target" : "75",
"temp-hysteresis" : "9",
"api-port" : "4028",
"hotplug" : "0",
"log" : "5",
"shares" : "0",
"kernel-path" : "/usr/local/bin"
}