jackjack
Legendary
Offline
Activity: 1176
Merit: 1257
May Bitcoin be touched by his Noodly Appendage
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 04, 2011, 05:12:25 PM |
|
I found Jackjack7eYNdGkbgUUrtKBraSWBUV5DJP too ![Grin](https://bitcointalk.org/Smileys/default/grin.gif) Wow! Is that: 1Jackjack7eYNdGkbgUUrtKBraSWBUV5DJP, or without the 1? How long did it take you to find it? No, it really starts with a J, so it works only for Namecoin and testnets It took less than 10h at about 16Mk/s, i was a bit lucky this time I just tested the last version to try your fix but I get the same error
|
Own address: 19QkqAza7BHFTuoz9N8UQkryP4E9jHo4N3 - Pywallet support: 1AQDfx22pKGgXnUZFL1e4UKos3QqvRzNh5 - Bitcointalk++ script support: 1Pxeccscj1ygseTdSV1qUqQCanp2B2NMM2 Pywallet: instructions. Encrypted wallet support, export/import keys/addresses, backup wallets, export/import CSV data from/into wallet, merge wallets, delete/import addresses and transactions, recover altcoins sent to bitcoin addresses, sign/verify messages and files with Bitcoin addresses, recover deleted wallets, etc.
|
|
|
samr7 (OP)
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 140
Merit: 430
Firstbits: 1samr7
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 04, 2011, 05:29:50 PM |
|
I just tested the last version to try your fix but I get the same error
Are you referring to the problem where oclvanitygen won't start if there is an .oclbin file saved from a previous session, but works if you delete the .oclbin? Somebody else was complaining about this, and we concluded that the AMD driver was broken somehow, but only for his GPU -- the binary save/restore still worked fine with the OpenCL CPU device. Also, the GPU/driver stack was able to run DiabloMiner, which compiles its kernel each time from source, but not Phoenix Miner, which saves binaries. In the end we disabled oclvanitygen OpenCL binaries for that specific GPU. I believe it was RV710. I hope this isn't happening with your GPU.
|
|
|
|
gimme_bottles
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 04, 2011, 06:04:42 PM |
|
hey, found this project today and tried it out. so i ran vanitygen on the pattern "1", expecting it would write every address it generates to the out-file, what it did. but when i tried oclvanitygen, it creates masses of addresses, but writes only very few (1 per second) to the out-file. my command: ./oclvanitygen -o out -f in -k -q any idea?
|
|
|
|
samr7 (OP)
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 140
Merit: 430
Firstbits: 1samr7
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 04, 2011, 07:12:06 PM |
|
hey, found this project today and tried it out. so i ran vanitygen on the pattern "1", expecting it would write every address it generates to the out-file, what it did. but when i tried oclvanitygen, it creates masses of addresses, but writes only very few (1 per second) to the out-file. my command: ./oclvanitygen -o out -f in -k -q Congrats, I'm glad it worked for you! What GPU are you using? Oclvanitygen currently has problems with work size autoconfiguration on smaller GPUs. It will choose excessively large batches of keys that can take 1s or more to finish, and is restricted to producing at most a single match from each batch. Even after this gets cleaned up, for the task of producing large numbers of matches to simpler patterns, vanitygen will always run circles around oclvanitygen.
|
|
|
|
gimme_bottles
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 04, 2011, 09:12:35 PM |
|
thanks for your response.
until now i have only tried it on a laptop with a small nvidia card, i dont know the exact type. you say it is because of the work size. which value would you recommend to set with the '-w' option?
|
|
|
|
Rassah
Legendary
Offline
Activity: 1680
Merit: 1035
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 05, 2011, 02:37:31 AM |
|
I'm trying to run oclvanitygen on Win7(x64) with an ATI card, and it keeps going into "compiling..." and then crashing out. Does this not run in Windows?
|
|
|
|
samr7 (OP)
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 140
Merit: 430
Firstbits: 1samr7
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 05, 2011, 03:33:49 AM |
|
until now i have only tried it on a laptop with a small nvidia card, i dont know the exact type. you say it is because of the work size. which value would you recommend to set with the '-w' option?
The -w option will help, but it won't reduce the overall workload alone, for that you'll also want to specify the total grid size, like: -w256 -g512x256. Depending on what it chose as your default grid size, this could make it more responsive, but will probably reduce overall throughput. It will display the grid size and all the other parameters if you run with -v. This mechanism has worked quite well for large GPUs, but clearly doesn't cut it for smaller ones, and will be overhauled in a bit. I'm trying to run oclvanitygen on Win7(x64) with an ATI card, and it keeps going into "compiling..." and then crashing out. Does this not run in Windows?
What hardware are you using? If you could run oclvanitygen with the same options that caused the crash, plus -v, and post or PM the output, I'd appreciate it.
|
|
|
|
Rassah
Legendary
Offline
Activity: 1680
Merit: 1035
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 05, 2011, 04:06:58 AM |
|
Using ATI 5830. Output is: Prefix difficulty: 264104224 1Test Difficulty: 264104224 Device: Cypress Vendor: Advanced Micro Devices, Inc. Driver: CAL 1.4.1417 (VM) Profile: FULL_PROFILE Version: OpenCL 1.1 AMD-APP-SDK-v2.4 (650.9) Max compute units: 14 Max workgroup size: 256 Global memory: 838860800 Max allocation: 209715200 OpenCL compiler flags: -DUNROLL_MAX=16 -DVERY_EXPENSIVE_BRANCHES Compiling kernel...
followed by a "oclvanitygen.exe has stopped working" window
|
|
|
|
fcmatt
Legendary
Offline
Activity: 2072
Merit: 1001
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 05, 2011, 04:17:25 AM |
|
well done fun program. thanks for writing it sam.
|
|
|
|
samr7 (OP)
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 140
Merit: 430
Firstbits: 1samr7
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 05, 2011, 05:23:15 AM |
|
Driver: CAL 1.4.1417 (VM)
Well that's embarassing, Radeon 5830 is supposed to be one of the best tested cards! Unfortunately I'm not sure how well tested it is with Catalyst 11.6 on either Windows or Linux, which would appear to be the driver you're using? I'm going to look into this. There are two things you can try: - Safe mode (-S flag), which disables loop unrolling optimizations, but also kills performance.
- Different versions of the Catalyst driver. My test environment is 11.5 on Linux.
|
|
|
|
ctoon6
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 06, 2011, 06:10:59 AM Last edit: August 06, 2011, 06:53:59 AM by ctoon6 |
|
im trying to build it for windows and im running into some issues, this is the first time i ever tried to make anything bigger than wget. i downloaded and installed all the list things but i run into issues when i want to build Setting environment for using Microsoft Visual Studio 2010 x86 tools.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>cd C:\Users\testbed\Deskt op\New folder\src
C:\Users\testbed\Desktop\New folder\src>nmake /fMakefile.Win32 vanitygen.exe ocl vanitygen.exe
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01 Copyright (C) Microsoft Corporation. All rights reserved.
cl /D_WIN32 /DPTW32_STATIC_LIB /DPCRE_STATIC /IC:\OpenSSL-Win32\include /IC:\pthreads-w32 /IC:\pcre-7.9-src /c /Tpvanitygen.c /Fovanitygen.obj Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86 Copyright (C) Microsoft Corporation. All rights reserved.
vanitygen.c vanitygen.c(24) : fatal error C1083: Cannot open include file: 'pthread.h': No s uch file or directory NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0 \VC\BIN\cl.EXE"' : return code '0x2' Stop.
C:\Users\testbed\Desktop\New folder\src> this is a clean windows 7 x64 VM. i guess im having trouble setting the cflags, i dont know what they are i guess. C:\>dir Volume in drive C has no label.
Directory of C:\
08/05/2011 09:52 PM <DIR> OpenSSL-Win32 08/05/2011 10:13 PM <DIR> pcre-7.9-src 08/05/2011 10:55 PM <DIR> pthread-w32 24 File(s) 3,169,847 bytes 8 Dir(s) 86,889,963,520 bytes free
C:\>cd pthread-w32
C:\pthread-w32>dir
Directory of C:\pthread-w32
08/05/2011 10:55 PM <DIR> . 08/05/2011 10:55 PM <DIR> .. 12/21/2006 10:00 PM 14,188 ANNOUNCE 12/21/2006 10:00 PM 6,041 BUGS 12/21/2006 10:00 PM 184,885 ChangeLog 12/19/2006 10:00 PM 5,078 CONTRIBUTORS 12/19/2006 10:00 PM 5,939 COPYING 12/19/2006 10:00 PM 26,934 COPYING.LIB 12/19/2006 10:00 PM 15,359 FAQ 08/05/2011 10:54 PM <DIR> include 08/05/2011 10:54 PM <DIR> lib 12/21/2006 10:00 PM 89,608 libpthreadGC2.a 12/21/2006 10:00 PM 89,614 libpthreadGCE2.a 12/19/2006 10:00 PM 99 MAINTAINERS 12/21/2006 10:00 PM 132 md5.sum 12/21/2006 10:00 PM 38,603 NEWS 12/19/2006 10:00 PM 142 PROGRESS 12/19/2006 10:00 PM 43,162 pthread.h 12/21/2006 10:00 PM 60,273 pthreadGC2.dll 12/21/2006 10:00 PM 112,556 pthreadGCE2.dll 12/21/2006 10:00 PM 86,070 pthreadVC2.dll 12/21/2006 10:00 PM 29,280 pthreadVC2.lib 12/21/2006 10:00 PM 77,879 pthreadVCE2.dll 12/21/2006 10:00 PM 29,400 pthreadVCE2.lib 12/21/2006 10:00 PM 86,071 pthreadVSE2.dll 12/21/2006 10:00 PM 29,400 pthreadVSE2.lib 12/19/2006 10:00 PM 22,520 README 12/19/2006 10:00 PM 2,595 README.Borland 12/19/2006 10:00 PM 89,774 README.CV 12/19/2006 10:00 PM 12,014 README.NONPORTABLE 12/19/2006 10:00 PM 2,349 README.Watcom 12/19/2006 10:00 PM 220 README.WinCE 12/19/2006 10:00 PM 4,844 sched.h 12/19/2006 10:00 PM 4,429 semaphore.h 12/19/2006 10:00 PM 217 TODO 12/19/2006 10:00 PM 7,904 WinCE-PORT 32 File(s) 1,177,579 bytes 4 Dir(s) 86,889,963,520 bytes free
C:\pthread-w32> if you need anymore info i can supply it, or just provide a windows binary and that will make me happy too ![Grin](https://bitcointalk.org/Smileys/default/grin.gif) edit: well the problem above was a missing s on pthread s-w32 now i get Setting environment for using Microsoft Visual Studio 2010 x86 tools.
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>cd C:\Users\testbed\Deskt op\New folder\src
C:\Users\testbed\Desktop\New folder\src>nmake /fMakefile.Win32 vanitygen.exe ocl vanitygen.exe
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01 Copyright (C) Microsoft Corporation. All rights reserved.
cl /D_WIN32 /DPTW32_STATIC_LIB /DPCRE_STATIC /IC:\OpenSSL-Win32\include /IC:\pthreads-w32 /IC:\pcre-7.9-src /c /Tpvanitygen.c /Fovanitygen.obj Microsoft (R) 32-bit C/C++ Optimizing Compiler Version 16.00.30319.01 for 80x86 Copyright (C) Microsoft Corporation. All rights reserved.
vanitygen.c vanitygen.c(26) : fatal error C1083: Cannot open include file: 'openssl/sha.h': No such file or directory NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0 \VC\BIN\cl.EXE"' : return code '0x2' Stop.
C:\Users\testbed\Desktop\New folder\src> I fixed that problem by using Win32OpenSSL-1_0_0d.exe and not the lite version. now i get C:\Users\testbed\Desktop\New folder\src>nmake /fMakefile.Win32 vanitygen.exe ocl vanitygen.exe
Microsoft (R) Program Maintenance Utility Version 10.00.30319.01 Copyright (C) Microsoft Corporation. All rights reserved.
link /nologo /out:vanitygen.exe vanitygen.obj pattern.obj winglue.obj C: \OpenSSL-Win32\lib\libeay32.lib C:\pthreads-w32\pthread.lib C:\pcre-7.9-src\pcre .lib ws2_32.lib LINK : fatal error LNK1181: cannot open input file 'C:\pthreads-w32\pthread.lib'
NMAKE : fatal error U1077: '"C:\Program Files (x86)\Microsoft Visual Studio 10.0 \VC\BIN\link.EXE"' : return code '0x49d' Stop.
C:\Users\testbed\Desktop\New folder\src> I can not find pthread.lib anywhere. Directory of C:\pthreads-w32 08/05/2011 10:54 PM <DIR> include 08/05/2011 10:54 PM <DIR> lib 12/21/2006 10:00 PM 89,608 libpthreadGC2.a 12/21/2006 10:00 PM 89,614 libpthreadGCE2.a 12/21/2006 10:00 PM 60,273 pthreadGC2.dll 12/21/2006 10:00 PM 112,556 pthreadGCE2.dll 12/21/2006 10:00 PM 86,070 pthreadVC2.dll 12/21/2006 10:00 PM 29,280 pthreadVC2.lib 12/21/2006 10:00 PM 77,879 pthreadVCE2.dll 12/21/2006 10:00 PM 29,400 pthreadVCE2.lib 12/21/2006 10:00 PM 86,071 pthreadVSE2.dll 12/21/2006 10:00 PM 29,400 pthreadVSE2.lib
Directory of C:\pthreads-w32\lib 12/21/2006 10:00 PM 29,280 pthreadVC2.lib 12/21/2006 10:00 PM 29,400 pthreadVCE2.lib 12/21/2006 10:00 PM 29,400 pthreadVSE2.lib
C:\pthreads-w32\lib>C:\ i managed to get a working .exe but it requires pthreadVSE2.dll to be in the same dir as vanitygen.exe, also i can not seem to get oclvanitygen.exe to work.
|
|
|
|
samr7 (OP)
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 140
Merit: 430
Firstbits: 1samr7
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 06, 2011, 08:23:01 AM |
|
I can not find pthread.lib anywhere.
i managed to get a working .exe but it requires pthreadVSE2.dll to be in the same dir as vanitygen.exe, also i can not seem to get oclvanitygen.exe to work.
Wow ctoon6, I'm impressed! Getting a Windows build environment set up is extremely difficult. If it needs pthreadvse2.dll, it just means you built the DLL version of pthreads-win32. You must have removed the /DPTW32_STATIC_LIB in order for it to have linked vanitygen.exe, and it should still work fine. I didn't spend enough time reading the documentation for pthreads-win32, had a lot of problems with this, and ended up using their visual studio project to build a static pthread.lib. What's wrong with your build of oclvanitygen?
|
|
|
|
ctoon6
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 06, 2011, 10:14:58 AM Last edit: August 06, 2011, 10:58:55 AM by ctoon6 |
|
@echo off oclvanitygen.exe -kqi -d 0 -o file 1 pause Error loading CL kernel: No such file or directory Press any key to continue . . . i probably am not passing the proper parameters to oclvanitygen.exe some more stuff to get it to build i renamed pthreadVSE2.lib to pthread.lib i think. it complained that it could not find it so i just picked that one lol. CC = cl OPENSSL_DIR = C:\OpenSSL-Win32 PTHREADS_DIR = C:\pthreads-w32 PCRE_DIR = C:\pcre-7.9-src OPENCL_DIR = "C:\Program Files (x86)\AMD APP" OPENCL_INCLUDE = /I$(OPENCL_DIR)\include OPENCL_LIBS = $(OPENCL_DIR)\lib\x86\OpenCL.lib CFLAGS = /D_WIN32 /DPTW32_STATIC_LIB /DPCRE_STATIC /I$(OPENSSL_DIR)\include /I$(PTHREADS_DIR) /I$(PCRE_DIR) LIBS = $(OPENSSL_DIR)\lib\libeay32.lib $(PTHREADS_DIR)\pthread.lib $(PCRE_DIR)\pcre.lib ws2_32.lib OBJS = vanitygen.obj oclvanitygen.obj pattern.obj winglue.obj
all: vanitygen.exe
vanitygen.exe: vanitygen.obj pattern.obj winglue.obj link /nologo /out:$@ $** $(LIBS)
oclvanitygen.exe: oclvanitygen.obj pattern.obj winglue.obj link /nologo /out:$@ $** $(LIBS) $(OPENCL_LIBS)
.c.obj: $(CC) $(CFLAGS) /c /Tp$< /Fo$@
oclvanitygen.obj: oclvanitygen.c $(CC) $(CFLAGS) $(OPENCL_INCLUDE) /c /Tpoclvanitygen.c /Fo$@
clean: del vanitygen.exe $(OBJS)
en.obj pattern.obj winglue.obj C: \OpenSSL-Win32\lib\libeay32.lib C:\pthreads-w32\pthread.lib C:\pcre-7.9-src\pcre .lib ws2_32.lib link /nologo /out:oclvanitygen.exe oclvanitygen.obj pattern.obj winglue. obj C:\OpenSSL-Win32\lib\libeay32.lib C:\pthreads-w32\pthread.lib C:\pcre-7.9-sr c\pcre.lib ws2_32.lib "C:\Program Files (x86)\AMD APP"\lib\x86\OpenCL.lib i moved the src folder to the root to make it easier. i removed /DPTW32_STATIC_LIB and it builds, but still requires the dll.
|
|
|
|
samr7 (OP)
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 140
Merit: 430
Firstbits: 1samr7
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 06, 2011, 11:04:36 AM |
|
Error loading CL kernel: No such file or directory Press any key to continue . . . Ah, the calc_addrs.cl file needs to be in the working directory. I'll change that error message. Also, regarding those command line options, you're going to run into one of oclvanitygen's weak spots -- it won't be able to produce more than 1-2 addresses per second. CPU vanitygen is much better at this. I'll add a warning message.
|
|
|
|
samr7 (OP)
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 140
Merit: 430
Firstbits: 1samr7
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 06, 2011, 12:13:32 PM |
|
to get it to build i renamed pthreadVSE2.lib to pthread.lib i think. it complained that it could not find it so i just picked that one lol.
i removed /DPTW32_STATIC_LIB and it builds, but still requires the dll.
This part is over my head, but I think you definitely want to leave the /DPTW32_STATIC_LIB flag in the vanitygen CFLAGS, as it sets static linkage for the pthread functions. I figured out how to build pthreads-win32 using their nmake makefile. First, edit the CFLAGS in the pthreads-win32 Makefile and remove the /MD. Then build the static lib: nmake clean VC-staticThen, point the vanitygen makefile at pthreadVC2.lib, and it should build and link with static pthreads.
|
|
|
|
ctoon6
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 06, 2011, 12:26:06 PM |
|
i put the pthreadVC2.lib file in C:\pthreads-win32 from making pthreads and it complains about vanitygen.c(24) : fatal error C1083: Cannot open include file: 'pthread.h': No s uch file or directory Directory of C:\pthreads-win32 12/19/2006 10:00 PM 15,359 FAQ 08/06/2011 04:46 AM <DIR> include 08/06/2011 04:46 AM <DIR> lib 12/21/2006 10:00 PM 89,608 libpthreadGC2.a 12/21/2006 10:00 PM 89,614 libpthreadGCE2.a 12/19/2006 10:00 PM 99 MAINTAINERS 12/21/2006 10:00 PM 132 md5.sum 12/21/2006 10:00 PM 38,603 NEWS 12/19/2006 10:00 PM 142 PROGRESS 12/19/2006 10:00 PM 43,162 pthread.h 12/21/2006 10:00 PM 60,273 pthreadGC2.dll 12/21/2006 10:00 PM 112,556 pthreadGCE2.dll 12/21/2006 10:00 PM 86,070 pthreadVC2.dll 08/06/2011 05:18 AM 75,986 pthreadVC2.lib 12/21/2006 10:00 PM 77,879 pthreadVCE2.dll 12/21/2006 10:00 PM 29,400 pthreadVCE2.lib 12/21/2006 10:00 PM 86,071 pthreadVSE2.dll 12/21/2006 10:00 PM 29,400 pthreadVSE2.lib 12/19/2006 10:00 PM 4,844 sched.h 12/19/2006 10:00 PM 4,429 semaphore.h 12/19/2006 10:00 PM 7,904 WinCE-PORT the vanitygen make file is the original. i am very confused ![Huh](https://bitcointalk.org/Smileys/default/huh.gif)
|
|
|
|
samr7 (OP)
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 140
Merit: 430
Firstbits: 1samr7
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 06, 2011, 12:58:26 PM |
|
i put the pthreadVC2.lib file in C:\pthreads-win32 from making pthreads the vanitygen make file is the original. i am very confused ![Huh](https://bitcointalk.org/Smileys/default/huh.gif) Your pthreads dir certainly looks complete. Try renaming c:\pthreads-win32 to c:\pthreads-w32. If you're up for it, send me a /msg on freenode, same nickname.
|
|
|
|
ctoon6
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 06, 2011, 01:04:17 PM |
|
i put the pthreadVC2.lib file in C:\pthreads-win32 from making pthreads the vanitygen make file is the original. i am very confused ![Huh](https://bitcointalk.org/Smileys/default/huh.gif) Your pthreads dir certainly looks complete. Try renaming c:\pthreads-win32 to c:\pthreads-w32. If you're up for it, send me a /msg on freenode, same nickname. that worked now i get LINK : fatal error LNK1181: cannot open input file 'C:\pthreads-w32\pthread.lib' this is probably from me now knowing how to change it to use the other lib file.
|
|
|
|
Rassah
Legendary
Offline
Activity: 1680
Merit: 1035
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 06, 2011, 05:42:01 PM |
|
Driver: CAL 1.4.1417 (VM)
Well that's embarassing, Radeon 5830 is supposed to be one of the best tested cards! Unfortunately I'm not sure how well tested it is with Catalyst 11.6 on either Windows or Linux, which would appear to be the driver you're using? I'm going to look into this. There are two things you can try: - Safe mode (-S flag), which disables loop unrolling optimizations, but also kills performance.
- Different versions of the Catalyst driver. My test environment is 11.5 on Linux.
It worked with the -S flag. Getting 3.12Mkey/s on my 900Mhz 5830. I hope I'm not losing much speed. Still says [50% in 1.8d] for the address I chose with Difficulty: 888446610538 (better than ~50 days that I was getting with my CPU)
|
|
|
|
samr7 (OP)
Full Member
![*](https://bitcointalk.org/Themes/custom1/images/star.gif) ![*](https://bitcointalk.org/Themes/custom1/images/star.gif)
Offline
Activity: 140
Merit: 430
Firstbits: 1samr7
|
![](https://bitcointalk.org/Themes/custom1/images/post/xx.gif) |
August 06, 2011, 08:41:00 PM |
|
It worked with the -S flag. Getting 3.12Mkey/s on my 900Mhz 5830. I hope I'm not losing much speed. Still says [50% in 1.8d] for the address I chose with Difficulty: 888446610538 (better than ~50 days that I was getting with my CPU)
That sounds about right for safe mode. If you manage to get it to run with the optimizations turned on, with a 900 clock, you should be able to get >20Mkey/s out of it. On the topic of crashing, I managed to get similar behavior to what you described, with a Win7 x64 VM. Obviously not with a GPU. But, attempting to compile any sort of OpenCL kernel with a #pragma unroll would cause a crash. This affected both KernelAnalyzer and oclvanitygen on the CPU device. It initially had Catalyst 11.6 and APP SDK 2.4. Upgrading didn't fix it. I didn't connect it to your problem until a couple days ago when it needed to be reinstalled. Lo and behold, with a clean install of APP SDK 2.5, #pragma unroll no longer causes everything to crash! Now, to get it back to the broken state.
|
|
|
|
|