Bitcoin Forum
April 25, 2024, 09:47:25 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: CUDA Client on ArchLinux - the easy way  (Read 7154 times)
Artefact2 (OP)
Full Member
***
Offline Offline

Activity: 123
Merit: 100


View Profile WWW
October 01, 2010, 07:43:54 PM
 #1

I made a PKGBUILD for Bitcoind with CUDA support thanks to eurekafag's makefile (although I had to adapt it a lot because Arch deals with CUDA very differently), and of course nelisky's patch.

The PKGBUILD is there :
http://aur.archlinux.org/packages.php?ID=41392
It basically installs CUDA (it will take a very long time), fetches revision 155 of bitcoin, compiles the daemon and installs it.

However, the latest version of CUDA requires very recent Nvidia drivers, so you will have to install them first using this PKGBUILD (it installs both nvidia and nvidia-utils at the same time) :
http://fichiers.schnouki.net/archlinux/cuda/nvidia-260.24-1.src.tar.gz
These drivers won't work with xorg-server 1.9 so don't upgrade yet and keep 1.8 installed ! Once you installed the new driver, reboot to load the new kernel modules.

When everything is installed, starting and stopping bitcoind is as simple as this :
Code:
/etc/rc.d/bitcoind-cuda start
/etc/rc.d/bitcoind-cuda stop

You can add it to your DAEMONS array in /etc/rc.conf for absolute convenience.

The daemons runs as a separate user (bitcoin, with uid and gid 8333), so to interact with it, use sudo and set the datadir too, for example :
Code:
sudo bitcoind-cuda -datadir=/opt/bitcoin-daemon-cuda getinfo
You can alias it obviously, it will save you a lot of typing.

And, last but not least, here is a little screenshot to show it's working. I get approximately 10k hashes per second with a GeForce 8800 GTS.
http://uppix.net/7/c/4/f14f8776c6625dfdade8185a8c526.png

As far as I know, maintaining this should be fairly easy if nelisky maintains his patch of course.

Any donations accepted to 14hSU3uAaXHQkomxRym5ALfAeKuZEdrjyL.

A pool-biased blockchain representation, by me: pident (WTFPL)
1714038445
Hero Member
*
Offline Offline

Posts: 1714038445

View Profile Personal Message (Offline)

Ignore
1714038445
Reply with quote  #2

1714038445
Report to moderator
1714038445
Hero Member
*
Offline Offline

Posts: 1714038445

View Profile Personal Message (Offline)

Ignore
1714038445
Reply with quote  #2

1714038445
Report to moderator
"Governments are good at cutting off the heads of a centrally controlled networks like Napster, but pure P2P networks like Gnutella and Tor seem to be holding their own." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714038445
Hero Member
*
Offline Offline

Posts: 1714038445

View Profile Personal Message (Offline)

Ignore
1714038445
Reply with quote  #2

1714038445
Report to moderator
1714038445
Hero Member
*
Offline Offline

Posts: 1714038445

View Profile Personal Message (Offline)

Ignore
1714038445
Reply with quote  #2

1714038445
Report to moderator
LZ
Legendary
*
Offline Offline

Activity: 1722
Merit: 1072


P2P Cryptocurrency


View Profile
October 18, 2010, 02:42:32 AM
 #2

Just donated 3 BTC. Wink

My OpenPGP fingerprint: 5099EB8C0F2E68C63B4ECBB9A9D0993E04143362
L29Ah
Newbie
*
Offline Offline

Activity: 8
Merit: 0


View Profile
October 23, 2010, 09:46:56 AM
 #3

Forbidden

You don't have permission to access /7/c/4/f14f8776c6625dfdade8185a8c526.png on this server.
cartman
Newbie
*
Offline Offline

Activity: 48
Merit: 0


View Profile
December 06, 2010, 07:34:58 PM
 #4

Thanks for your work erom2. Unfortunately I already upgraded to xorg-server 1.9 and have problems downgrading. Although xorg-server 1.9 is said to work (with text rendering problems) I can't even install nvidia-cuda (from AUR) because of my too new kernel version.
Is there any way to bypass that problem?
At the moment it seems like the easiest solution is to wait for an upgrade of nvidia-cuda (currently 260.24-3)
giner
Member
**
Offline Offline

Activity: 84
Merit: 10


View Profile
April 04, 2011, 03:56:24 AM
 #5

Does anyone know if there is more recently cuda client for ArchLinux?
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!