Update: New Launch4J windows binary, just run DiabloMiner-Windows.exe instead of Java manually or using DiabloMiner-Windows.bat.
Changed -w back to device maximum.
|
|
|
I agree with the previous post.
|
|
|
Diablo, did you see post #395 ? Offer is still available. I'd be a lot easier if I just scrape up the money for a 5xxx myself. DiabloMiner development sometimes involves rebooting the machine. Repeatedly. Amongst swearing. 5850 cost has dropped enough that I can almost afford one. Your choose, but donīt worry if you need to reboot or reinstall, this is a dedicated rig for you I'm offering. I might end up getting one soon, so I think I'll just wait for that.
|
|
|
Diablo, did you see post #395 ? Offer is still available. I'd be a lot easier if I just scrape up the money for a 5xxx myself. DiabloMiner development sometimes involves rebooting the machine. Repeatedly. Amongst swearing. 5850 cost has dropped enough that I can almost afford one.
|
|
|
Gives me this (OSX)
Exception in thread "main" java.lang.NoClassDefFoundError: com/diablominer/DiabloMiner/DiabloMiner Caused by: java.lang.ClassNotFoundException: com.diablominer.DiabloMiner.DiabloMiner
Any Help? Seems to be missing a class file
Are you sure you downloaded the binary version from the first message? (git clone/source downloads won't work unless you build it first) Disq got it right. If you're trying to run it from git, install Maven run mvn package first.
|
|
|
I wouldn't mind adding BFI_INT support, but I own a Radeon 4xxx. I have no way of testing it.
|
|
|
DiabloMiner now supports long polling (after much requesting).
|
|
|
Update: I've beefed up the error reporting, and I've also added long poll.
|
|
|
Here is what I have. From what I read seems right to me - still getting errors most of the time though. rpcuser=user rpcpassword=password server=1 rpctimeout=30 rpcallowip=192.168.1.4 rpcport=8332 gen=1
Most people only use rpcuser, rpcpassword, and rpcallowip. Maybe one of the other arguments are screwing it up? Also, make sure you have the right IP. Try changing to 192.168.1.* temporarily and see if that fixes it (if it does, your IP is wrong or not static).
|
|
|
I just set up Bitcoin and DiabloMiner for the first time.
I started Bitcoin - I see it running
Generating - 25 connections - 57208 blocks
But when I start DiabloMiner
DiabloMiner-Windows.bat -f 180 -u <user> -p password -o 127.0.0.1 -r 8332
I get
ERROR: Can't connect to Bitcoin: Connection refused: connect
occasionally I see
28000/28000 khash/sec
for 1 or 2 seconds then error continues.
Port forwarding for 8332 forwards to the correct computer
Windows 7 64 bit ATI Radeon HD 5670
My google-fu got me through all the other hurdles I encountered setting this up, but I am not finding a solution to this issue.
Suggestions?
Thanks!
Sounds like you didn't enable RPC correctly on your bitcoind.
|
|
|
Thanks,
Yes the switches were a typo, was tired this morning.
I got the rpc response, so bitcoin is running in server mode, I set the switch in the .conf file. In the conf file I set the port to 8332. I assume the port you set for the Diablo command line is for the bitpool? In this case it's 8334 for bitcoinpool.com.
The error message below I assume is then for the *remote* bitcoin server in the pool? I can't think what else I'm doing wrong
Error: Can't connect to Bitcoin: Bitcoin disconnected during response
Getting 80K plus hashes now, assuming I get it to work.
Yes, my miner refers to whatever it connects to as Bitcoin. Your -r should be 8334. My miner does not read any conf files, thats for Bitcoin itself only; which if you're connected to a pool, it doesn't matter.
|
|
|
Just chiming in, on windows, you need to create a bitcoin.conf file and define your rpc username and pw in order to be able to launch 'bitcoin.exe -daemon', then you use the username and pw you specify here to call diablo's miner rpcuser=username rpcpassword=password
likely located in C:\Users\[your win username]\AppData\Roaming\Bitcoin\bitcoin.conf in win7 And I cannot recall where that would go in XP off hand, but wherever the rest of the bitcoin stuff is stored Also, I don't think that java is appended to PATH by default, so you will probably want to add that as well to use 'java' from the command line C:\Program Files (x86)\Java\jre6\bin win32 patched getwork binaries at: http://bitcointalk.org/index.php?topic=1334.0 No longer needed I've managed to get the miner and open CL working kinda with my AMD 5830. I can also authenticate to bitcoinpool.com. I assume the -u and -l switched are for the username and password to connect to the pool. There is mention of "rpc" which I assume is a remote procedure call? Does the Diablo *require* bitcoin run with the -daemon (windows service) switch to work? I've tried running bitcoin -daemon, it just brings up the bitcoin Window as normal. I've also tried running bitcoind.exe, the daemon directly, it appears in task manager, but I have no way of verifying if it is accepting rpc calls. Also where does the Diablo miner get to know what rpc passwords to use?, does it just read the bitcoin.conf file and pass them on to bitcoin? I can get bitcoin to generate hashes normally, but whenever I try to run the Java Diablo miner it keeps saying it can't connect to bitcoin. ERROR: Can't connect to Bitcoin: Bitcoin disconnected during I assumed getting Open CL to work would be the hardest thing, it seems something really simply must be wrong here, but I can't see what. I'm using latest version of Windows 7 64 bit and Java downloaded today.By the way it says I'm getting about 40K hashes, I was getting 1K from each CPU before, big difference. EDIT: I typed .\bitcoind.exe "" to check if rpc was working I got the following, error: {"code":-32601,"message":"Method not found"} So I assume rpc IS working, just that the Java Diablo can't connect for some weird reason? I hope you made a typo in your post, -p is for passwords, not -l. You need -u, -p, -o, -r (username, password, host, and port, respectively) OR give -l http://username:password@host:port/. Don't mix and match. Any user of the JSON RPC API that Bitcoin has either needs to run bitcoin.exe -server or bitcoind.exe (which automatically does -server). -daemon only makes it run in the background automatically, it doesn't enable -server implicitly. A local running Bitcoin is not required for connecting to a pool. To check if Bitcoin is accepting RPC commands run bitcoin.exe getinfo, it should return a blob of JSON with things like your balance and Bitcoin's version.
|
|
|
Something is very wrong with your fglrx installation. Which video card do you own?
Two Radeon 6870s. Make sure you have at least 11.1, and it was installed right, and you built the kernel module and its being loaded before X starts. Your 2D and 3D acceleration is dead, and OpenCL isn't going to work either. And since you'd be on 11.1 or later, make sure you're using SDK 2.4
|
|
|
Is it possible to run 4 seperate miners for my 4 x 5870 setup WITHOUT the ubuntu desktop running?
For example, right now when I run 4 GPUs mining at once on one machine, I open up 4 terminals and enter the appropriate d 1, d 2, d 3, etc commands....
How would I open up multiple terminals or run multiple instances when only running the all black console screen?
Why not just use DiabloMiner then? DiabloMiner already uses all GPUs available by default.
|
|
|
You're supposed to start DiabloMiner in a terminal. It is not a GUI app.
I did start it from a terminal. Please post the entire error, then. I can't - the terminal displays two messages, which look normal, then disappears along with my login session. :-( I just checked the syslog, and there are no errors logged, but I did notice on login I get some warnings: Apr 24 18:43:08 griphook AptDaemon: INFO: Initializing daemon Apr 24 18:43:31 griphook acpid: client 9131[0:0] has disconnected Apr 24 18:43:31 griphook acpid: client connected from 10969[0:0] Apr 24 18:43:31 griphook acpid: 1 client rule loaded Apr 24 18:43:32 griphook gnome-session[10994]: atk-bridge-WARNING: AT_SPI_REGISTRY was not started at session startup. Apr 24 18:43:32 griphook gnome-session[10994]: atk-bridge-WARNING: IOR not set. Apr 24 18:43:32 griphook gnome-session[10994]: atk-bridge-WARNING: Could not locate registry Apr 24 18:43:32 griphook gdm-simple-greeter[11010]: Gtk-WARNING: /scratch/build-area/gtk+2.0-2.20.1/gtk/gtkwidget.c:5628: widget not within a GtkWindow
/var/log/Xorg.0.log has some interesting, and possibly useful info: (EE) fglrx(1): Multiview is only supported with acceleration; this screen will now shutdown. (EE) fglrx(1): PreInit failed (II) fglrx(1): === [xdl_x750_atiddxPreInit] === end (EE) fglrx(0): Failed shutdown interrupts. Error -9 (II) UnloadModule: "fglrx" (II) UnloadModule: "fb" (II) UnloadModule: "fglrxdrm" (II) UnloadModule: "fglrxdrm" (--) Depth 24 pixmap format is 32 bpp (EE) fglrx(0): atiddxDriScreenInit failed, GPS not been initialized. (WW) fglrx(0): *********************************************************** (WW) fglrx(0): * DRI initialization failed * (WW) fglrx(0): * kernel module (fglrx.ko) may be missing or incompatible * (WW) fglrx(0): * 2D and 3D acceleration disabled * (WW) fglrx(0): ***********************************************************
(II) Module amdxmm: vendor="X.Org Foundation" compiled for 1.4.99.906, module version = 2.0.0 (EE) fglrx(0): XMM failed to open CMMQS connection.(EE) fglrx(0): (EE) fglrx(0): XMM failed to initialize
(WW) fglrx(0): board is an unknown third party board, chipset is supported (EE) fglrx(0): ACPI: DRM connection failed (WW) fglrx(0): Hasn't establisted DRM connection (II) fglrx(0): [FB] MC range(MCFBBase = 0xf00000000, MCFBSize = 0x40000000) (WW) fglrx(0): No DRM connection for driver fglrx.
and this one: (II) fglrx(0): Modeline "1440x900"x0.0 136.75 1440 1536 1688 1936 900 903 909 942 -hsync +vsync (70.6 kHz)
Backtrace: 0: /usr/bin/Xorg (xorg_backtrace+0x28) [0x4acd58] 1: /usr/bin/Xorg (0x400000+0x61a09) [0x461a09] 2: /lib/libpthread.so.0 (0x7f7c7c125000+0xef60) [0x7f7c7c133f60] 3: /usr/lib/xorg/modules/drivers/fglrx_drv.so (xdl_x750_swlDriOpenConnection+0x25) [0x7f7c784a28d5] 4: /usr/lib/xorg/modules/drivers/fglrx_drv.so (0x7f7c780bb000+0x3d7150) [0x7f7c78492150] 5: /usr/lib/xorg/modules/drivers/fglrx_drv.so (0x7f7c780bb000+0x3d3d82) [0x7f7c7848ed82] 6: /usr/bin/Xorg (0x400000+0x48c84) [0x448c84] 7: /usr/bin/Xorg (0x400000+0x25c35) [0x425c35] 8: /lib/libc.so.6 (__libc_start_main+0xfd) [0x7f7c7ac29c4d] 9: /usr/bin/Xorg (0x400000+0x257e9) [0x4257e9] Segmentation fault at address 0x8
Fatal server error: Caught signal 11 (Segmentation fault). Server aborting
Please consult the The X.Org Foundation support at http://wiki.x.org for help. Please also check the log file at "/var/log/Xorg.0.log" for additional information.
Any other logs I should look at? Something is very wrong with your fglrx installation. Which video card do you own?
|
|
|
You're supposed to start DiabloMiner in a terminal. It is not a GUI app.
I did start it from a terminal. Please post the entire error, then.
|
|
|
Hi,
I'm trying to get Diablo Miner running on my Debian box. I'm using the latest DiabloMiner.zip, ATI drivers v11.3 and the 2.4 SDK. When I start DiabloMiner, it displays two lines of text, then crashes my logon session. I think the second line says "Connecting to (somethingorother)" but it disappears too quickly to tell.
I have two Radeon 6870 cards.
Any help would be appreciated!
You're supposed to start DiabloMiner in a terminal. It is not a GUI app.
|
|
|
Apple wrote their own OpenCL implementation for OSX instead of using far more optimized ones supplied by AMD or Nvidia. Using OSX means you lose about 20% of your speed right off the bat. Try toying with -z 0 in combination with -w 128.
Unrecognized option: -z So i have the binary and the option isn't there. I had to download the source and compiled it. I have no speed increase at all... btw Will be great to have more documentation about what the switch does exactly and how to compile it, i had to dig for that I only recently added it. Make sure you have the absolute newest binary. Try using somewhere between -z 0 and -z 20, you might get speed increases, you might not. I don't think OSX's impl has bitalign, so you're losing a lot of performance and there might be no way to fix it.
|
|
|
Github repo, issue tracker, and wikiNewest binary, always updated to match newest git revision Works on AMD Radeon 5xxx and up (SDK 2.1 or 2.4 recommended, avoid 2.2 and 2.3), and Nvidia 8xxx and up (make sure you have their newest driver). ... Note, in addition to the previous notes: OSX users, you need at least OSX 10.6 (Snow Leopard) to run OpenCL apps of any kind. Hi, i run seach about my problem without luck... i have 2 questions 1) I have those error in my console : [20/04/11 12:08:27] Block 290 found on ATI Radeon HD 5770 (#1) [20/04/11 12:10:40] ERROR: Invalid block found on ATI Radeon HD 5770 (#1), possible driver or hardware issue [20/04/11 12:10:47] Block 291 found on ATI Radeon HD 5770 (#1)
So i run the latest version of Diablo, with mac os 10.6.6, what can be the error ? 2) Also, with the default setting (-w 64) i had 70 M/hash sec, i have tried with -w 128, now i have 105 Mhash, but i am supposed to be at over 150... i have tried -w 128, 192, 256 without any luck (the program don`t start) thanks ! Apple wrote their own OpenCL implementation for OSX instead of using far more optimized ones supplied by AMD or Nvidia. Using OSX means you lose about 20% of your speed right off the bat. Try toying with -z 0 in combination with -w 128. There is pretty much no way to fix this, Apple loves screwing customers.
|
|
|
Update: I've added -z, so you can now change the size of the in kernel loop. The number is the exponent of power of two, 0 turns it off. Default is -z 10 (1024) on Radeon 5xxx/6xxx, -z 0 on everything else.
|
|
|
|