Bitcoin Forum
May 23, 2024, 06:07:34 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 [45]
881  Other / CPU/GPU Bitcoin mining hardware / Re: Ufasoft Miner Thread - SSE2-optimized for Intel CPUs, version 0.8 (2011-April) on: May 27, 2011, 10:17:47 PM
Having some trouble compiling this on Ubuntu 11.04 x64:

Code:
jwasm -DX64=1 -10 -elf64 -zcw -c -Fosha256sse.o sha256sse.asm
JWasm v2.05, Mar  2 2011, Masm-compatible assembler.
Portions Copyright (c) 1992-2002 Sybase, Inc. All Rights Reserved.
Source code is available under the Sybase Open Watcom Public License.

sha256sse.asm(48) : Error A2091: Language type must be specified
sha256sse.asm(314) : Error A2142: Unmatched block nesting: CalcSha256Sse
sha256sse.asm: 316 lines, 1 passes, 0 ms, 0 warnings, 2 errors
make: *** [sha256sse.o] Error 1

I checked the sha256sse.asm file and found that a language type was declared on x86, but not on x64. I removed the if statement, and did the same on the other ASM file, which allows it to compile but then I get "error 80004001" if I try to use it. Obviously the language type isn't declared on x64 for a reason, but I'm just not certain what it should be on x64 (since it obviously has to be something).

This also happened with the latest version of JWASM - I'm using the older one since that's what most others here are using though.

Thanks in advance!


On another member's advice, I simplified it from

IF X64
ELSE
OPTION LANGUAGE: C
.XMM
ENDIF

to this

OPTION LANGUAGE: C
.XMM

It compiled OK, but now I get a segmentation fault every time I try to run it (I can run the program, but as soon as I try to actually connect to a server and mine bitcoins, I get the seg fault)

882  Other / CPU/GPU Bitcoin mining hardware / Re: Ufasoft Miner Thread - SSE2-optimized for Intel CPUs, version 0.10 (2011-May) on: May 27, 2011, 04:23:27 PM
Hey ufasoft, I compiled your miner on ubuntu x64 and I get a segfault:

Code:
root@ts3:~/ufasoft_bitcoin-miner-0.10# ./bitcoin-miner -g yes -o http://deepbit.net:8332 -v -u xxxxxxxx -p yyyyyyyy
bitcoin-miner 0.10  Copyright (c) 2011 Ufasoft  http://ufasoft.com/open/bitcoin
Mining for http://deepbit.net:8332
1 threads       Using SSE2
Switching to http://j2.deepbit.net:8332
Segmentation fault (core dumped)
root@ts3:~/ufasoft_bitcoin-miner-0.10#

Here is the coredump, hope it helps.

I just had the same problem this morning. I recompiled everything for Ubuntu 11 (Linux Mint, actually, which is basically Ubuntu under the hood) 64-bit.

Ideas?

Matthew

P.S. It took me much less time to compile it this time, since I already had a recent version of GCC, etc. Seems that I had to do a lot less manual compiling this time around.
883  Other / CPU/GPU Bitcoin mining hardware / Re: Ufasoft Miner Thread - SSE2-optimized for Intel CPUs, version 0.10 (2011-May) on: May 23, 2011, 09:48:23 PM
I apparently get a lot of Linux geek cred -- I compiled it to work on Ubuntu 10.04 (32-bit).

Once you get used to compiling source, it's not that big of a deal. You just have to look at the "install" file for the instructions, etc. Often, you have to go 1 level deeper and get a prerequisite -- compile that -- then come back to where you left off, and continue.

Eventually, you're able to compile the program you set out to compile Smiley

And it gives you a great sense of accomplishment, I must say. I speak from personal experience here  Smiley

Anyhow, I'm sure Linux gives you a bit more power, since you can customize everything and can easily turn off things you don't need.

I'm wondering now if 64-bit would give me any more power -- I'm upgrading my PC & vid card (whole new system, actually) and I plan on installing Mint 10 or Mint 11 -- they're supposed to be better than Ubuntu (both are based on Ubuntu). Plus it's an Irish distribution, and I have Irish heritage Wink

Anyhow, I might go with the 64-bit install. I'll have to recompile everything, but maybe I'll make a list or guide this time around, and I can post it on somewhere like this forum.

Matthew
884  Bitcoin / Mining / Re: Buying a videocard. on: May 19, 2011, 04:35:56 AM
That SAPPHIRE 100297L Radeon HD 5830
(The link to NewEgg, posted above)

does it have a Linux driver, specifically Ubuntu?

Thanks.
885  Other / CPU/GPU Bitcoin mining hardware / Re: Ufasoft Miner Thread - SSE2-optimized for Intel CPUs, version 0.10 (2011-May) on: May 18, 2011, 05:19:28 PM
I experimented with poclbm settings today --

python poclbm.py -d 0 -r 5 --user USERNAME --pass PASSWORD -w 64 -f 10 -o http://mining.bitcoin.cz -p 8332

I haven't messed with the "a" setting yet.

I'm now getting 7.8 to 8.0 MHash/s between one instance of poclbm (1 thread) and one instance of bitcoin-miner (running in 2 threads)

There's a bit of lag on my desktop now, so the GPU seems to be doing something.


How can I check what version of NVidia driver I'm using?

Also, how do I run poclbm on the GPU but not the CPU? Is that even possible?

Thanks,

Matthew
886  Bitcoin / Mining / Re: Buying a videocard. on: May 18, 2011, 04:34:10 PM
I'd like to spend no more than $110 or so on a video card.

What's the best card at that price range?
887  Other / CPU/GPU Bitcoin mining hardware / Re: Ufasoft Miner Thread - SSE2-optimized for Intel CPUs, version 0.10 (2011-May) on: May 18, 2011, 03:59:46 AM
Now ufasoft's bitcoin-miner should be doing GPU as well as CPU mining since I have it set to "-g yes".

So you think that 5.5 MHash/s is CPU-only mining?

I compiled and tried poclbm (Python) today, but I only got 3.2 MHash/s when I launched it twice. It was clearly using 100% of both CPU cores. I suppose Mhash/s is something that can be compared across the different programs -- they don't have different ways of computing the speed, do they?

I wonder why ufasoft's miner isn't using my graphics card.
888  Other / CPU/GPU Bitcoin mining hardware / Re: Ufasoft Miner Thread - SSE2-optimized for Intel CPUs, version 0.10 (2011-May) on: May 17, 2011, 04:30:17 PM
Hi everyone -- just joined the Bitcoin universe. I'm a Linux guy; I just successfully built the source for Linux (took a few hours to get all the pieces in place!)

I don't think I'm getting any GPU work done. I have a nVidia GeForce 9500GT 1 GB card -- pretty fast for 3D actually (for me, I mean. Not by today's standards!), but I don't know if it's supported by most miners. Does anyone know which cards are supported?

I'm getting 5.4 - 5.5 MHash/s using 2 threads. The most I ever get is 5.61 MHash/s
I have a Core2Duo 2.4 GHz CPU.

My machine is actually pretty old -- 2 years! I'm going to get a new one in a month or two.

Nice to meet you all!

Matthew
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 [45]
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!