Pages:
Author

Topic: DiabloMiner GPU Miner - page 88. (Read 866491 times)

full member
Activity: 156
Merit: 100
November 10, 2010, 05:00:08 PM
#26
It doesn't work on 64-bit JVM on Vista.

Code:
#
# A fatal error has been detected by the Java Runtime Environment:
#
#  EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000000000000, pid=5376, tid=6540
#
# JRE version: 6.0_21-b07
# Java VM: Java HotSpot(TM) 64-Bit Server VM (17.0-b17 mixed mode windows-amd64 )
# Problematic frame:
# C  0x0000000000000000
#
# If you would like to submit a bug report, please visit:
#   http://java.sun.com/webapps/bugreport/crash.jsp
# The crash happened outside the Java Virtual Machine in native code.
# See problematic frame for where to report the bug.
#

---------------  T H R E A D  ---------------

Current thread (0x000000000103b800):  JavaThread "main" [_thread_in_native, id=6540, stack(0x00000000025d0000,0x00000000026d0000)]

siginfo: ExceptionCode=0xc0000005, ExceptionInformation=0x0000000000000008 0x0000000000000000

Registers:
EAX=0x00000000081376b0, EBX=0x00000000807dc608, ECX=0x000000000818bf40, EDX=0x0000000000000000
ESP=0x00000000026cf5a8, EBP=0x00000000026cf660, ESI=0x00000000803519a8, EDI=0x0000000002785a13
EIP=0x0000000000000000, EFLAGS=0x0000000000010202

Top of Stack: (sp=0x00000000026cf5a8)
0x00000000026cf5a8:   0000000002791260 0000000002784e90
0x00000000026cf5b8:   0000000000000000 00000000026cf708
0x00000000026cf5c8:   00000000026cf680 000000018000ac90
0x00000000026cf5d8:   0000000000fad930 0000000000962af0
0x00000000026cf5e8:   000000000103c2e8 000000000103c2c8
0x00000000026cf5f8:   000000000103c2c8 00000000fffffffe
0x00000000026cf608:   0000000080319838 00000000026cf650
0x00000000026cf618:   000000008031a6a8 00000000026cf620
0x00000000026cf628:   00000000807dc608 00000000026cf6c0
0x00000000026cf638:   00000000807dca18 0000000000000000
0x00000000026cf648:   00000000807dc608 0000000000000000
0x00000000026cf658:   00000000026cf680 00000000026cf708
0x00000000026cf668:   00000000027859ce 00000000807dc960
0x00000000026cf678:   000000000278e316 0000000000962af0
0x00000000026cf688:   0000000000000000 0000000000fad930
0x00000000026cf698:   00000000026cf708 000000018000ac90

Instructions: (pc=0x0000000000000000)
0xfffffffffffffff0:  


Stack: [0x00000000025d0000,0x00000000026d0000],  sp=0x00000000026cf5a8,  free space=3fd0000000000000000k
Java frames: (J=compiled Java code, j=interpreted, Vv=VM code)
j  org.lwjgl.opencl.CL11.nclSetEventCallback(JIJJJ)I+0
j  org.lwjgl.opencl.CL11.clSetEventCallback(Lorg/lwjgl/opencl/CLEvent;ILorg/lwjgl/opencl/CLEventCallback;)I+29
j  com.diablominer.DiabloMiner.DiabloMiner$DeviceState$ExecutionState.checkExecution()V+1072
j  com.diablominer.DiabloMiner.DiabloMiner$DeviceState.(Lcom/diablominer/DiabloMiner/DiabloMiner;Lorg/lwjgl/opencl/CLPlatform;Lorg/lwjgl/opencl/CLDevice;)V+954
j  com.diablominer.DiabloMiner.DiabloMiner.execute([Ljava/lang/String;)V+679
j  com.diablominer.DiabloMiner.DiabloMiner.main([Ljava/lang/String;)V+10
v  ~StubRoutines::call_stub

---------------  P R O C E S S  ---------------

Java Threads: ( => current thread )
  0x0000000006b0d000 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=6468, stack(0x00000000070b0000,0x00000000071b0000)]
  0x0000000006b0c800 JavaThread "CompilerThread1" daemon [_thread_blocked, id=6704, stack(0x0000000006fb0000,0x00000000070b0000)]
  0x0000000006b0a800 JavaThread "CompilerThread0" daemon [_thread_blocked, id=6604, stack(0x0000000006eb0000,0x0000000006fb0000)]
  0x0000000006b01000 JavaThread "Attach Listener" daemon [_thread_blocked, id=6432, stack(0x0000000006db0000,0x0000000006eb0000)]
  0x0000000006afc000 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=2672, stack(0x0000000006cb0000,0x0000000006db0000)]
  0x0000000000fa7800 JavaThread "Finalizer" daemon [_thread_blocked, id=7004, stack(0x00000000069b0000,0x0000000006ab0000)]
  0x0000000000fa1000 JavaThread "Reference Handler" daemon [_thread_blocked, id=5644, stack(0x00000000068b0000,0x00000000069b0000)]
=>0x000000000103b800 JavaThread "main" [_thread_in_native, id=6540, stack(0x00000000025d0000,0x00000000026d0000)]

Other Threads:
  0x0000000000f9d000 VMThread [stack: 0x00000000067b0000,0x00000000068b0000] [id=3224]
  0x0000000006b18800 WatcherThread [stack: 0x00000000071b0000,0x00000000072b0000] [id=3176]

VM state:not at safepoint (normal execution)

VM Mutex/Monitor currently owned by a thread: None

Heap
 PSYoungGen      total 38208K, used 9876K [0x00000000da950000, 0x00000000dd3f0000, 0x00000001053f0000)
  eden space 32768K, 30% used [0x00000000da950000,0x00000000db2f5190,0x00000000dc950000)
  from space 5440K, 0% used [0x00000000dcea0000,0x00000000dcea0000,0x00000000dd3f0000)
  to   space 5440K, 0% used [0x00000000dc950000,0x00000000dc950000,0x00000000dcea0000)
 PSOldGen        total 87424K, used 0K [0x00000000853f0000, 0x000000008a950000, 0x00000000da950000)
  object space 87424K, 0% used [0x00000000853f0000,0x00000000853f0000,0x000000008a950000)
 PSPermGen       total 21248K, used 8116K [0x000000007fff0000, 0x00000000814b0000, 0x00000000853f0000)
  object space 21248K, 38% used [0x000000007fff0000,0x00000000807dd060,0x00000000814b0000)

Dynamic libraries:
0x0000000000400000 - 0x000000000042e000 C:\Windows\system32\java.exe
0x0000000077c80000 - 0x0000000077e06000 C:\Windows\system32\ntdll.dll
0x0000000077b50000 - 0x0000000077c7d000 C:\Windows\system32\kernel32.dll
0x000007feff310000 - 0x000007feff418000 C:\Windows\system32\ADVAPI32.dll
0x000007fefe1d0000 - 0x000007fefe313000 C:\Windows\system32\RPCRT4.dll
0x000000006d7f0000 - 0x000000006dec1000 C:\Program Files\Java\jre6\bin\server\jvm.dll
0x0000000077a80000 - 0x0000000077b4d000 C:\Windows\system32\USER32.dll
0x000007feff2a0000 - 0x000007feff304000 C:\Windows\system32\GDI32.dll
0x000007fef92c0000 - 0x000007fef92f9000 C:\Windows\system32\WINMM.dll
0x000007feffec0000 - 0x000007fefff5c000 C:\Windows\system32\msvcrt.dll
0x000007feff8e0000 - 0x000007feffab8000 C:\Windows\system32\ole32.dll
0x000007feffde0000 - 0x000007feffeb3000 C:\Windows\system32\OLEAUT32.dll
0x0000000075da0000 - 0x0000000075df2000 C:\Windows\system32\OLEACC.dll
0x000007feffdb0000 - 0x000007feffddd000 C:\Windows\system32\IMM32.DLL
0x000007feffca0000 - 0x000007feffda2000 C:\Windows\system32\MSCTF.dll
0x000007fefff90000 - 0x000007fefff9d000 C:\Windows\system32\LPK.DLL
0x000007feff550000 - 0x000007feff5ea000 C:\Windows\system32\USP10.dll
0x000000006d760000 - 0x000000006d76e000 C:\Program Files\Java\jre6\bin\verify.dll
0x000000006d3b0000 - 0x000000006d3d7000 C:\Program Files\Java\jre6\bin\java.dll
0x000000006d310000 - 0x000000006d31a000 C:\Program Files\Java\jre6\bin\hpi.dll
0x0000000077e20000 - 0x0000000077e29000 C:\Windows\system32\PSAPI.DLL
0x000000006d7b0000 - 0x000000006d7c2000 C:\Program Files\Java\jre6\bin\zip.dll
0x0000000180000000 - 0x0000000180050000 C:\Users\mikhail\bitcoin miners\DiabloMiner\target\libs\natives\windows\lwjgl64.dll
0x000007fef37f0000 - 0x000007fef3921000 C:\Windows\system32\OPENGL32.dll
0x000007fef4140000 - 0x000007fef416d000 C:\Windows\system32\GLU32.dll
0x000007fef3de0000 - 0x000007fef3ecf000 C:\Windows\system32\DDRAW.dll
0x000007fef93f0000 - 0x000007fef93f8000 C:\Windows\system32\DCIMAN32.dll
0x000007feffac0000 - 0x000007feffc9c000 C:\Windows\system32\SETUPAPI.dll
0x000007fef84f0000 - 0x000007fef8501000 C:\Windows\system32\dwmapi.dll
0x000007fefd5f0000 - 0x000007fefd5fb000 C:\Windows\system32\VERSION.dll
0x000007fefcd90000 - 0x000007fefcf89000 C:\Windows\WinSxS\amd64_microsoft.windows.common-controls_6595b64144ccf1df_6.0.6002.18305_none_1509f852f40ee5cd\COMCTL32.dll
0x000007feff220000 - 0x000007feff293000 C:\Windows\system32\SHLWAPI.dll
0x0000000000960000 - 0x0000000000974000 C:\Windows\system32\OpenCL.dll
0x0000000007980000 - 0x0000000007ff3000 C:\Windows\system32\nvcuda.dll
0x0000000008200000 - 0x0000000008428000 C:\Windows\system32\nvapi64.dll
0x000007fefe320000 - 0x000007fefef73000 C:\Windows\system32\SHELL32.dll
0x000007fefcfe0000 - 0x000007fefd019000 C:\Windows\system32\WINTRUST.dll
0x000007fefd920000 - 0x000007fefda57000 C:\Windows\system32\CRYPT32.dll
0x000007fefdad0000 - 0x000007fefdae9000 C:\Windows\system32\MSASN1.dll
0x000007fefe040000 - 0x000007fefe066000 C:\Windows\system32\USERENV.dll
0x000007fefe020000 - 0x000007fefe03c000 C:\Windows\system32\Secur32.dll
0x000007fefff70000 - 0x000007fefff87000 C:\Windows\system32\imagehlp.dll
0x0000000009a30000 - 0x000000000abfc000 C:\Windows\system32\nvcompiler.dll
0x000007fefa250000 - 0x000007fefa363000 C:\Windows\system32\dbghelp.dll
0x000000006d600000 - 0x000000006d617000 C:\Program Files\Java\jre6\bin\net.dll
0x000007feff5f0000 - 0x000007feff634000 C:\Windows\system32\WS2_32.dll
0x000007fefff60000 - 0x000007fefff67000 C:\Windows\system32\NSI.dll
0x000007fefd5a0000 - 0x000007fefd5ef000 C:\Windows\system32\mswsock.dll
0x000007fefd620000 - 0x000007fefd627000 C:\Windows\System32\wship6.dll
0x000007fefd1e0000 - 0x000007fefd1e7000 C:\Windows\System32\wshtcpip.dll

VM Arguments:
jvm_args: -Djava.library.path=target\libs\natives\windows
java_command: com.diablominer.DiabloMiner.DiabloMiner --host 127.0.0.1 -u user -p **********
Launcher Type: SUN_STANDARD

Environment Variables:
PATH=C:\MinGW\bin\;C:\MinGW\msys\1.0\bin\;C:\MinGW\msys\1.0\sbin\;C:\Program Files (x86)\NVIDIA GPU Computing Toolkit\CUDA\v3.2\bin\;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Program Files (x86)\Delphi7SE\bin;C:\Program Files (x86)\Delphi7SE\Projects\BPL;c:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Program Files (x86)\Tesseract-OCR;C:\Program Files (x86)\Tesseract-OCR\training;
USERNAME=mikhail
OS=Windows_NT
PROCESSOR_IDENTIFIER=AMD64 Family 16 Model 2 Stepping 3, AuthenticAMD



---------------  S Y S T E M  ---------------

OS: Windows Vista Build 6002 Service Pack 2

CPU:total 4 (4 cores per cpu, 1 threads per core) family 16 model 2 stepping 3, cmov, cx8, fxsr, mmx, sse, sse2, sse3, popcnt, mmxext, 3dnow, 3dnowext, lzcnt, sse4a

Memory: 4k page, physical 8386940k(5533116k free), swap 16991484k(14315276k free)

vm_info: Java HotSpot(TM) 64-Bit Server VM (17.0-b17) for windows-amd64 JRE (1.6.0_21-b07), built on Jul 17 2010 01:05:36 by "java_re" with MS VC++ 8.0 (VS2005)

time: Thu Nov 11 02:56:21 2010
elapsed time: 1 seconds

And it doesn't work on 32-bit JVM on 64-bit Vista too:
Code:
Added GeForce GT 240 (12 CU, 1x vector, local work size of

: Considering profile 'compute_12' for gpu='sm_12' in 'cuModuleLoadDataEx_4'









Exception in thread "main" java.lang.Exception: Failed to build program on GeForce GT 240
        at com.diablominer.DiabloMiner.DiabloMiner$DeviceState.(DiabloMiner.java:342)
        at com.diablominer.DiabloMiner.DiabloMiner.execute(DiabloMiner.java:181)
        at com.diablominer.DiabloMiner.DiabloMiner.main(DiabloMiner.java:89)
legendary
Activity: 1386
Merit: 1097
November 10, 2010, 04:18:20 PM
#25
Hi, what I'm doing wrong? Sad

Code:
C:\Users\myname\xxx>dir
 Volume in drive C has no label.
 Volume Serial Number is FCC4-B48E

 Directory of C:\Users\myname\xxx

10.11.2010  22:14              .
10.11.2010  22:14              ..
10.11.2010  22:04               160 DiabloMiner-Linux.sh
10.11.2010  22:04               161 DiabloMiner-OSX.sh
10.11.2010  22:04               162 DiabloMiner-Solaris.sh
10.11.2010  22:04            35 147 LICENSE
10.11.2010  22:04               759 README
10.11.2010  22:14              target
               5 File(s)         36 389 bytes
               3 Dir(s)  1 469 357 600 768 bytes free

C:\Users\myname\xxx>java -cp target/libs/*:target/DiabloMiner-0.0.1-SNAPSHOT.jar -Djava.library.path=target/libs/natives/windows com.diablominer.DiabloMiner.DiabloMiner
Exception in thread "main" java.lang.NoClassDefFoundError: com/diablominer/DiabloMiner/DiabloMiner
Caused by: java.lang.ClassNotFoundException: com.diablominer.DiabloMiner.DiabloMiner
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
Could not find the main class: com.diablominer.DiabloMiner.DiabloMiner.  Program will exit.
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
November 10, 2010, 03:41:17 PM
#24
Vector width. I have a 4850, -w 64 -v 2 is the most optimum settings for GPUs like ours. m0mchil's doesn't seem to have a comparable option.
That makes it even slower. Desktop responsiveness stays the same.

Hmm, strange. Should work on yours like it does mine.
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
November 10, 2010, 03:39:04 PM
#23
Try running with -f 30; this will lag your desktop, but will reduce the overhead caused by OpenCL itself. You can go down to -f 2 safely if needed, it just slows down X.

58 Mhash/s at -f 2 after 15 minutes.

May I suggest that you calculate the hash rate over an interval of a few seconds, rather than the entire running time? This would make testing much more convenient. Also, I am interested in a little justification for the "should be faster" part, especially if the OpenCL kernel remains unchanged Smiley

I don't wanna do it like m0mchil does because it bounces around too much and gives a false impression of the speed. I probably should reset it after every 30 or 60 seconds or something.
legendary
Activity: 860
Merit: 1026
November 10, 2010, 03:12:55 PM
#22
Vector width. I have a 4850, -w 64 -v 2 is the most optimum settings for GPUs like ours. m0mchil's doesn't seem to have a comparable option.
That makes it even slower. Desktop responsiveness stays the same.
sr. member
Activity: 520
Merit: 253
555
November 10, 2010, 02:36:42 PM
#21
Try running with -f 30; this will lag your desktop, but will reduce the overhead caused by OpenCL itself. You can go down to -f 2 safely if needed, it just slows down X.

58 Mhash/s at -f 2 after 15 minutes.

May I suggest that you calculate the hash rate over an interval of a few seconds, rather than the entire running time? This would make testing much more convenient. Also, I am interested in a little justification for the "should be faster" part, especially if the OpenCL kernel remains unchanged Smiley
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
November 10, 2010, 01:52:05 PM
#20
Hrm, try my newest build. I wonder how badly the concurrency issues screwed the mhash meter.

The newest build does not give any noticeable improvement. I probably won't be testing this one very much, since the other implementation works well on my system, and I only have this one GPU for mining.

After much thought, I'm not sure why you're having this issue, especially if m0's works well. Try running with -f 30; this will lag your desktop, but will reduce the overhead caused by OpenCL itself. You can go down to -f 2 safely if needed, it just slows down X.
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
November 10, 2010, 01:48:49 PM
#19
Vector width. I have a 4850, -w 64 -v 2 is the most optimum settings for GPUs like ours. m0mchil's doesn't seem to have a comparable option.
legendary
Activity: 860
Merit: 1026
November 10, 2010, 01:21:39 PM
#18
I guess -w defines the worksize, but what exactly does -v do ?
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
November 10, 2010, 01:14:34 PM
#17
Hmm, Windows 7 64-Bit, Radeon 4870 here.

m0mchil's poclbm is ~1000khashes/s faster and my desktop stays more responsive than with yours.
I guess I'll stick to poclbm ;P

Try running my miner on your 4870 with -v 2 -w 64 and see who wins. Also, if you have responsiveness issues, try using -f 120... you shouldn't need it, but Windows sucks dick badly.
legendary
Activity: 860
Merit: 1026
November 10, 2010, 12:47:51 PM
#16
Hmm, Windows 7 64-Bit, Radeon 4870 here.

m0mchil's poclbm is ~1000khashes/s faster and my desktop stays more reponsive than with yours.
I guess I'll stick to poclbm ;P
sr. member
Activity: 520
Merit: 253
555
November 10, 2010, 11:53:58 AM
#15
Hrm, try my newest build. I wonder how badly the concurrency issues screwed the mhash meter.

The newest build does not give any noticeable improvement. I probably won't be testing this one very much, since the other implementation works well on my system, and I only have this one GPU for mining.
hero member
Activity: 489
Merit: 505
November 10, 2010, 11:09:50 AM
#14
This is great news. Time for me to dip my toes into OpenCL mining :-)
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
November 10, 2010, 10:02:31 AM
#13
Hrm, try my newest build. I wonder how badly the concurrency issues screwed the mhash meter.
sr. member
Activity: 520
Merit: 253
555
November 10, 2010, 09:08:59 AM
#12
On my Radeon HD 5570, the hashing rate is about 35 Mhash/s after 10 minutes. It seems to have increased slowly and ever slower, apparently it is calculated over the total running time. m0mchil's version gives 52 to 61 Mhash/s depending on settings.

What OS? And yes, my hash meter is an average of the whole run time, m0's isnt. Its not accurate until it stops going up, which might take an hour on some hardware, maybe more.

Gentoo Linux. There may be some bus/CPU issues here, since my system has an Atom D510, and only 1x PCIe slots.
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
November 10, 2010, 07:53:59 AM
#11
I've added the command line arguments for host and ip, and it now eats the exception when it can't connect to bitcoin so you can shut bitcoin off and the miner doesn't die. I've also fixed potential concurrency issues; it seems to have improved the mhash meter display.
sr. member
Activity: 314
Merit: 251
November 10, 2010, 05:30:43 AM
#10
Nice work!

I have a feature request. If m0mchil's miner can't connect to Bitcoin (because it is not running) it will tell you so and wait for it to come up. This miner just closes.

Could you change this? It makes things easier when you want to run it after startup, because Bitcoin takes a while. It's also nice if you have to restart BC, because you want to change some parameter or want to switch to an other version.
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
November 09, 2010, 07:21:41 PM
#9
Where can I enter the IP from RPC host?
Thanks

Hmm, I seem to have forgotten something. I probably should add that.
newbie
Activity: 32
Merit: 0
November 09, 2010, 06:59:47 PM
#8
Where can I enter the IP from RPC host?
Thanks
legendary
Activity: 1162
Merit: 1000
DiabloMiner author
November 09, 2010, 04:47:24 PM
#7
On my Radeon HD 5570, the hashing rate is about 35 Mhash/s after 10 minutes. It seems to have increased slowly and ever slower, apparently it is calculated over the total running time. m0mchil's version gives 52 to 61 Mhash/s depending on settings.

What OS? And yes, my hash meter is an average of the whole run time, m0's isnt. Its not accurate until it stops going up, which might take an hour on some hardware, maybe more.
Pages:
Jump to: