sandos
Sr. Member
  
Offline
Activity: 440
Merit: 250
#SWGT CERTIK Audited
|
 |
October 19, 2010, 08:29:01 PM |
|
you’re welcome  The new code you provided runs on my computer. OpenCL-wise it seems to work fine on my 9400 GT, now I just have trouble compiling bitcoind 
|
|
|
|
sandos
Sr. Member
  
Offline
Activity: 440
Merit: 250
#SWGT CERTIK Audited
|
 |
October 19, 2010, 09:18:55 PM |
|
you’re welcome  The new code you provided runs on my computer. OpenCL-wise it seems to work fine on my 9400 GT, now I just have trouble compiling bitcoind  Ah, it worked it was just using another port. I knew the 9400 GT would be slow relative to other cards, but maybe not this slow: I get 1800kh/s, which is slower than my cpu =) I was hoping to maybe double performance, but oh well.
|
|
|
|
jef.blanc
Newbie
Offline
Activity: 29
Merit: 0
|
 |
October 20, 2010, 07:57:30 AM |
|
Only 1800kh/s ? It seems very low in comparison to my 9800 GT which give me about 15200 kh/s Perhaps for some strange reason your GPU is not fully used, if your graphical card gives you this information you can check the GPU load with GPU-Z, in the "Sensors" tab ( http://www.techpowerup.com/gpuz/).
|
|
|
|
ArtForz
|
 |
October 20, 2010, 02:54:41 PM |
|
9400GT 16SPs @ 1.4GHz 9800GT 112SPs @ 1.5GHz -> a 9800GT is about 7.5x 9400GT ...
|
bitcoin: 1Fb77Xq5ePFER8GtKRn2KDbDTVpJKfKmpz i0coin: jNdvyvd6v6gV3kVJLD7HsB5ZwHyHwAkfdw
|
|
|
jef.blanc
Newbie
Offline
Activity: 29
Merit: 0
|
 |
October 20, 2010, 06:08:23 PM |
|
ah ... yes, I didn't check that before talking  1800 * 7.5 = 13500 ... no so far than my 15200 ... logical then in fact.
|
|
|
|
Guybrush01
Newbie
Offline
Activity: 20
Merit: 0
|
 |
October 21, 2010, 01:58:35 AM |
|
Hi there! Trying to use this, but here is the error I see: D:\pycuda>poclbm.exe No device specified, you may use -d to specify one of the following
Traceback (most recent call last): File "poclbm.py", line 58, in <module> File "pyopencl\__init__.pyc", line 138, in program_build pyopencl.RuntimeError: clBuildProgram failed: build program failure
Build on <pyopencl.Device 'GeForce GTX 470' at 0x2d112d8>:
:52: error: incompatible type assigning 'int', expected 'uint2' work[5]=0x00000000; ^~~~~~~~~~~ :53: error: incompatible type assigning 'int', expected 'uint2' work[6]=0x00000000; ^~~~~~~~~~~ :54: error: incompatible type assigning 'int', expected 'uint2' work[7]=0x00000000; ^~~~~~~~~~~ :55: error: incompatible type assigning 'int', expected 'uint2' work[8]=0x00000000; ^~~~~~~~~~~ :56: error: incompatible type assigning 'int', expected 'uint2' work[9]=0x00000000; ^~~~~~~~~~~ :57: error: incompatible type assigning 'int', expected 'uint2' work[10]=0x00000000; ^~~~~~~~~~~ :58: error: incompatible type assigning 'int', expected 'uint2' work[11]=0x00000000; ^~~~~~~~~~~ :59: error: incompatible type assigning 'int', expected 'uint2' work[12]=0x00000000; ^~~~~~~~~~~ :60: error: incompatible type assigning 'int', expected 'uint2' work[13]=0x00000000; ^~~~~~~~~~~ :61: error: incompatible type assigning 'int', expected 'uint2' work[14]=0x00000000; ^~~~~~~~~~~ :62: error: incompatible type assigning 'int', expected 'uint2' work[15]=0x00000280; ^~~~~~~~~~~ :141: error: incompatible type assigning 'int', expected 'uint2' work[9]=0x00000000; ^~~~~~~~~~~ :142: error: incompatible type assigning 'int', expected 'uint2' work[10]=0x00000000; ^~~~~~~~~~~ :143: error: incompatible type assigning 'int', expected 'uint2' work[11]=0x00000000; ^~~~~~~~~~~ :144: error: incompatible type assigning 'int', expected 'uint2' work[12]=0x00000000; ^~~~~~~~~~~ :145: error: incompatible type assigning 'int', expected 'uint2' work[13]=0x00000000; ^~~~~~~~~~~ :146: error: incompatible type assigning 'int', expected 'uint2' work[14]=0x00000000; ^~~~~~~~~~~ :147: error: incompatible type assigning 'int', expected 'uint2' work[15]=0x00000100; ^~~~~~~~~~~ :149: error: incompatible type assigning 'int', expected 'uint2' A=0x6a09e667; ^~~~~~~~~~~ :151: error: incompatible type assigning 'int', expected 'uint2' C=0x3c6ef372; ^~~~~~~~~~~ :153: error: incompatible type assigning 'int', expected 'uint2' E=0x510e527f; ^~~~~~~~~~~ :155: error: incompatible type assigning 'int', expected 'uint2' G=0x1f83d9ab; ^~~~~~~~~~~ :156: error: incompatible type assigning 'int', expected 'uint2' H=0x5be0cd19; Wish I were smart enough to understand what that means! Any ideas?
|
|
|
|
jef.blanc
Newbie
Offline
Activity: 29
Merit: 0
|
 |
October 21, 2010, 07:16:26 AM Last edit: October 21, 2010, 10:31:22 AM by jef.blanc |
|
Hello, it is the errors I had when running poclbm from poclbm_py2exe.7z with the original OpenCL.dll inside. The 7z archive contains the dll from the ATI driver, so using an nvidia card I had to replace this dll by the one provided by my nvidia driver which is in C:\Windows\System32\ Is it your case, executing poclbm from the package poclbm_py2exe.7z ? The things I had to do for using poclbm : - building pyopencl for my system, I installed the latest CUDA Toolkit from here http://developer.nvidia.com/object/cuda_3_2_toolkit_rc.html#Windows%20XP,%20Windows%20Vista%20and%20Windows7 to build pyopencl. - using the latest driver (Developer Drivers) from here http://developer.nvidia.com/object/cuda_3_2_toolkit_rc.html#Windows%20XP,%20Windows%20Vista%20and%20Windows7 , I had the following errors without that : ImportError: DLL load failed: La procÚdure spÚcifiÚe est introuvable. - using the latest version of poclbm from http://github.com/m0mchil/poclbm , a correction has been made to make poclbm running on nvidia GPU without errors
|
|
|
|
LZ
Legendary
Offline
Activity: 1722
Merit: 1072
P2P Cryptocurrency
|
 |
October 21, 2010, 08:22:49 AM Last edit: January 22, 2018, 08:37:37 AM by LZ |
|
Can someone give direct links to NVIDIA OpenCL 1.1 drivers?
|
My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
|
|
|
jef.blanc
Newbie
Offline
Activity: 29
Merit: 0
|
 |
October 21, 2010, 10:29:27 AM |
|
I didn't success to found a link to this driver (and I found two cd iso on bittorent, but I don't try to get them) ... But Nvidia has apparently merge his OpenCL implementation in his CUDA Toolkit and drivers. The latest "Developer Drivers" from the "CUDA Toolkit 3.2 RC" page contains an OpenCL 1.1 compliant* driver (it is the one I use). *at least concerning the openCL 1.1 functions needed by pyopencl http://developer.nvidia.com/object/cuda_3_2_toolkit_rc.htmlScroll down in the page to found the drivers for windows, linux (some distributions), and MacOS) Note : GPU Caps Viewer shows me OpenCL 1.0, but it works anyway.
|
|
|
|
m0mchil (OP)
|
 |
October 21, 2010, 01:45:40 PM Last edit: November 30, 2010, 04:22:34 PM by m0mchil |
|
bitcoin-getwork-svn170-win32.7zpoclbm_win32_exe.7z Wrong kernel was packed in the py2exe version, now fixed. Removed AMD OpenCL.dll to prevent conflicts. I also reverted back to scalars. With vectors it was faster, but required hardware specific tweaks and was making it slower for others. Unfortunately OpenCL is not mature enough to provide means of automatic performance optimization.
|
|
|
|
BitLex
|
 |
October 21, 2010, 03:02:13 PM |
|
seems to work now on my GTX260 hashcount results are similar to puddinpops cuda-code, both get around 45Mhash/s. C:\Documents and Settings\Administrator\Desktop\bitcoin_stuff\OpenCL\poclbm_win3 2_exe>poclbm --user=*** --pass=*** No device specified, you may use -d to specify one of the following
44120 khash/s
|
|
|
|
kwukduck
Legendary
Offline
Activity: 1937
Merit: 1001
|
 |
October 21, 2010, 04:58:22 PM |
|
I'm not sure if and whats going wrong, i started bitcoin in server mode. start poclbm with user and pass, then it shows khash/s for about 5 seconds then pops back to asking username and pass. i can keep doing that over and over.
|
14b8PdeWLqK3yi3PrNHMmCvSmvDEKEBh3E
|
|
|
kwukduck
Legendary
Offline
Activity: 1937
Merit: 1001
|
 |
October 21, 2010, 08:15:51 PM |
|
tnx, working fine now, forgot the username.
On my other pc i get this error "ImportError: DLL load failed: The specified module could not be found."
I already updated to latest graphics drivers and nvidia cuda toolkit..
Geforce 9800 GX2 @ win7 32 bit
i also noticed that the old puddingpop cuda client only puts out 2000khash/s on that gpu... i should get at least ten times as much...
any ideas?
|
14b8PdeWLqK3yi3PrNHMmCvSmvDEKEBh3E
|
|
|
jef.blanc
Newbie
Offline
Activity: 29
Merit: 0
|
 |
October 21, 2010, 08:43:18 PM Last edit: October 21, 2010, 08:57:47 PM by jef.blanc |
|
hum, you can check with dependency walker ( http://www.dependencywalker.com/) that your OpenCL.dll file (in C:\Windows\System32\) provides the OpenCL 1.1 functions needed by pyopencl : clCreateSubBuffer clCreateUserEvent clEnqueueCopyBufferRect clEnqueueReadBufferRect clEnqueueWriteBufferRect clSetUserEventStatus If not, then either the driver installation has failed, or it is not the good driver. Otherwise ... I don't know  Edit : you can check with GPU Caps Viewer if this GPU really manage OpenCL, because 2000 kh/s is what is currently made by the CPU alone. The Geforce 9800 GX2 is if I'm rigth two 8800 GTX functionning in pair, not sure that they manage OpenCL.
|
|
|
|
gim
Member

Offline
Activity: 90
Merit: 10
|
 |
October 22, 2010, 10:16:18 AM Last edit: October 22, 2010, 11:18:08 AM by gim |
|
Hi, First, thanks for this wonderful miner. I managed to make it work on linux (lib64 only) with a 8600 GT (A bit disappointed about my card performance though: 5300kh/s) :52: error: incompatible type assigning 'int', expected 'uint2' work[5]=0x00000000; ^~~~~~~~~~~ Any ideas?
Got this error too, just put some "u"s at the end of all these uint constants. Example:
|
|
|
|
L29Ah
Newbie
Offline
Activity: 8
Merit: 0
|
 |
October 23, 2010, 08:51:04 AM |
|
Just pulled a fresh version and got this:
$ python2.6 poclbm.py -u l29ah --pass=hackme No device specified, you may use -d to specify one of the following
Traceback (most recent call last): File "poclbm.py", line 133, in <module> target[6], pack('I', base), output_buf) File "/usr/lib64/python2.6/site-packages/pyopencl/__init__.py", line 158, in kernel_call self.set_arg(i, arg) TypeError: expected a readable buffer object
|
|
|
|
gim
Member

Offline
Activity: 90
Merit: 10
|
 |
October 23, 2010, 10:00:53 AM |
|
File "/usr/lib64/python2.6/site-packages/pyopencl/__init__.py", line 158, in kernel_call self.set_arg(i, arg) TypeError: expected a readable buffer object
Upgrade to pyopencl-0.92.
|
|
|
|
L29Ah
Newbie
Offline
Activity: 8
Merit: 0
|
 |
October 23, 2010, 10:09:27 AM |
|
File "/usr/lib64/python2.6/site-packages/pyopencl/__init__.py", line 158, in kernel_call self.set_arg(i, arg) TypeError: expected a readable buffer object
Upgrade to pyopencl-0.92. Thank you! Getting 31MH/s from GeForce 9800 GTX if run with -f 10.
|
|
|
|
xxmalouinxx
Newbie
Offline
Activity: 26
Merit: 0
|
 |
October 23, 2010, 01:29:15 PM |
|
It finally work on my side ! Without optimisation, I got around 265000 khash/sec. I got an i7 920 oc to 3.6ghz with a radeon 5970. I'm gonna look to do some tweak to speed up this thing a bit  If you have any comment or something you want me to try don't hesitate. By the way, I've been running this thing tonight, and in 8 hours, my wallet is still at 0. Is it normal ? Do I need to restart it? Or it's just like the way it should work, which mean it's still pretty long to generate? Thanks for your OpenCL gui Moo, I really appreciate it ! Malouin P-S I think I only got 265000 khash/sec on my 5970 because i'm only using 1 heart. When I'm at the point I need to choose the device, I see 3 option, 0 = my cpu, and 1 and 2 is the same thing. is it possible ?
|
|
|
|
LZ
Legendary
Offline
Activity: 1722
Merit: 1072
P2P Cryptocurrency
|
 |
October 23, 2010, 01:39:14 PM |
|
265 mhps? 
|
My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
|
|
|
|