Pages:
Author

Topic: python OpenCL bitcoin miner - page 14. (Read 1239035 times)

hero member
Activity: 726
Merit: 500
May 09, 2011, 10:41:13 PM
Thanx for confirming that for me ... i suspected it would be the case since i have found not max-loading up the default display adapter with mining reduces number of kernel hangs markedly ... now need to get hold of cheap mobo with onboard graphics chip and 4 or more PCIe slots ....

Make sure the onboard graphics is ATI and not nvidia.  The ATI and nvidia drivers do not play well together.  Already been down that path myself.
legendary
Activity: 3920
Merit: 2349
Eadem mutata resurgo
May 09, 2011, 10:22:51 PM
I ended up activating my onboard gpu and using that to load kde.  With the onboard being used as the default device I have no problem using -f 0 on the 5870s also the overclocks are more steady the only thing i need to worry about is the temp.  When i was using one of the cards as the display card one or both would crash after a few hours due to the overclock.   This may not be advisable to most but my hash rate when up about 10mhash percard with the higher oc and f0 flag


Thanx for confirming that for me ... i suspected it would be the case since i have found not max-loading up the default display adapter with mining reduces number of kernel hangs markedly ... now need to get hold of cheap mobo with onboard graphics chip and 4 or more PCIe slots ....
full member
Activity: 434
Merit: 101
May 09, 2011, 05:55:01 PM
I ended up activating my onboard gpu and using that to load kde.  With the onboard being used as the default device I have no problem using -f 0 on the 5870s also the overclocks are more steady the only thing i need to worry about is the temp.  When i was using one of the cards as the display card one or both would crash after a few hours due to the overclock.   This may not be advisable to most but my hash rate when up about 10mhash percard with the higher oc and f0 flag
legendary
Activity: 3920
Merit: 2349
Eadem mutata resurgo
May 09, 2011, 04:41:57 PM

No it's stability issue. Since Xorg is always querying the default display adapter GPU, the system will hang more often if you load up with mining the or OC too much the default GPU core. Basically, there will always be one core that is not a dedicated compute node, the default display adapter, since Xorg is always sticking its nose in and talking with that core.

Maybe a simple hacky hardware work around it is to get a cheap lightweight graphics card that can run as the default display (or better still a mobo with an on-board GPU) and then Xorg will leave alone the compute GPUs and you can load them right-up and OC to the max. It doesn't matter if you run as headless since as long as Xorg is running (which you need it to be to load the drivers) then it will be talking unnecessarily with that default display adapter.

There was some discussion on AMDs OpenCL forum for a way to set the default display to none or some such in xorg.conf but I never had any success with it ...
sr. member
Activity: 308
Merit: 251
May 09, 2011, 08:38:05 AM
I'm sorry if this has been asked but I've been fooling around with this all day.  Basically I have a machine I run slackware on...yes yes not your standard distro.  I built all the necessary packages installing stream 2.1 sdk, pyopencl, rpc, etc.  Everything compiled fine and runs without a hitch.  I'd like to run poclbm in INIT 3 vs running it in INIT 4 so im not sharing resources with kde.   Everytime i try to run poclbm in init 3 it tells me ati needs x windows.  I never had this issue with nvidia which i can start poclbm in init 3, i took the same script and ran it on this box and basically it cant find the gpus unless x is running.  Anyone found a way to bypass this?  I exported my library and the display in the begining of the script.
Create an .xinitrc that just runs a window manager (XMonad or something lightweight) and startx from init 2.



Thanks Ill try that I tried making a script to modprobe the driver in init 3(default multiuser in slackware) with no success. Ill try make a xinitrc and run fluxbox maybe DAMN YOU ATI WHY DO YOUR DRIVERS SUCK!   GRRR lol thanks everyone for the input if i get it working ill post the scripts on here so someone else can use them.  I don't think posting a howto for slackware is necessary as if you use slackware you can probably already figure it out as its quite similar to ubuntu or any other distro.   

Sucks don't it !! Nvidia have a kernel module that the GPGPU as a resource without xorg but ATI needs xorg to function. Is there any reason in particular that you would want to run this without xorg ?

If it's a speed issue you can just get GDM to load and and ssh  into the machine to start mining ?   
donator
Activity: 2772
Merit: 1019
May 09, 2011, 06:04:42 AM
ImportError: No module named pyopencl[/pre]

Could anyone help me?
You need to install pyopencl.
newbie
Activity: 47
Merit: 0
May 07, 2011, 11:58:47 PM
Does anyone know why  "'-v -w 128'" flag would cause my whole PC to lock up?  I can't seem to use any flags and I think this may be the reason why my mining rate is so low. 


Use this "-f60 -v -w128"
newbie
Activity: 14
Merit: 0
May 07, 2011, 05:38:08 PM
Does anyone know why  "'-v -w 128'" flag would cause my whole PC to lock up?  I can't seem to use any flags and I think this may be the reason why my mining rate is so low. 
newbie
Activity: 32
Merit: 0
May 07, 2011, 03:47:16 PM
Hi!

I'm trying poclbm (OpenCL) on CentOS release 5.5 (Final).

At first I've recieved

python poclbm.py
  File "poclbm.py", line 62
    finally:
          ^
SyntaxError: invalid syntax


Then I've upgraded python version to 2.7 according http://villaroad.com/2010/10/rolling-python-2-6-2-on-centos-5-3/

But now I receive
 
python poclbm.py
Traceback (most recent call last):
  File "poclbm.py", line 3, in
    import pyopencl as cl
ImportError: No module named pyopencl


Could anyone help me?


hero member
Activity: 588
Merit: 500
May 06, 2011, 12:51:22 PM
The 2300khash/sec is because that's about all your video card is capable of.

Really?  That's rather suprising, since my CPU can do 4Mhash/sec

Doesn't surprise me a bit. That card was designed for "business" "workstations" which don't need a lot of 3D processing power but do need to display lots of 2D stuff on multiple displays. Oh, it's also old. It uses the same GPU as the 8300GS, 8400GS and 8500GT.
full member
Activity: 434
Merit: 101
May 06, 2011, 12:33:23 PM
I'm sorry if this has been asked but I've been fooling around with this all day.  Basically I have a machine I run slackware on...yes yes not your standard distro.  I built all the necessary packages installing stream 2.1 sdk, pyopencl, rpc, etc.  Everything compiled fine and runs without a hitch.  I'd like to run poclbm in INIT 3 vs running it in INIT 4 so im not sharing resources with kde.   Everytime i try to run poclbm in init 3 it tells me ati needs x windows.  I never had this issue with nvidia which i can start poclbm in init 3, i took the same script and ran it on this box and basically it cant find the gpus unless x is running.  Anyone found a way to bypass this?  I exported my library and the display in the begining of the script.
Create an .xinitrc that just runs a window manager (XMonad or something lightweight) and startx from init 2.



Thanks Ill try that I tried making a script to modprobe the driver in init 3(default multiuser in slackware) with no success. Ill try make a xinitrc and run fluxbox maybe DAMN YOU ATI WHY DO YOUR DRIVERS SUCK!   GRRR lol thanks everyone for the input if i get it working ill post the scripts on here so someone else can use them.  I don't think posting a howto for slackware is necessary as if you use slackware you can probably already figure it out as its quite similar to ubuntu or any other distro.   
full member
Activity: 546
Merit: 101
May 06, 2011, 08:18:00 AM
I just installed this on my Ubuntu 10.10 system with an Nvidia Quadro NVS 290 in it.  When I run without -d it lists only one device, 0, the Quadro NVS 290.  When I run with -d 0 it uses 100% of a core (slowing the system quite a bit) and only gets an abysmal 2300khash/sec.  Am I doing something wrong?  Is there something else I need to install?

I also tried DiabloMiner with identical results.

The 100% CPU is a known issue. I have yet to see a solution.

That's unfortunate.

The 2300khash/sec is because that's about all your video card is capable of.

Really?  That's rather suprising, since my CPU can do 4Mhash/sec
legendary
Activity: 3920
Merit: 2349
Eadem mutata resurgo
May 05, 2011, 10:03:54 PM
I'm sorry if this has been asked but I've been fooling around with this all day.  Basically I have a machine I run slackware on...yes yes not your standard distro.  I built all the necessary packages installing stream 2.1 sdk, pyopencl, rpc, etc.  Everything compiled fine and runs without a hitch.  I'd like to run poclbm in INIT 3 vs running it in INIT 4 so im not sharing resources with kde.   Everytime i try to run poclbm in init 3 it tells me ati needs x windows.  I never had this issue with nvidia which i can start poclbm in init 3, i took the same script and ran it on this box and basically it cant find the gpus unless x is running.  Anyone found a way to bypass this?  I exported my library and the display in the begining of the script.

ATI uses xserver to load the fglrx drivers for the GPUs (take a look in your xorg.conf) .... it sucks but you are stuck with it unless you figure out a new way in which case you will be v. popular around here.
full member
Activity: 434
Merit: 101
May 05, 2011, 09:45:22 PM
I'm sorry if this has been asked but I've been fooling around with this all day.  Basically I have a machine I run slackware on...yes yes not your standard distro.  I built all the necessary packages installing stream 2.1 sdk, pyopencl, rpc, etc.  Everything compiled fine and runs without a hitch.  I'd like to run poclbm in INIT 3 vs running it in INIT 4 so im not sharing resources with kde.   Everytime i try to run poclbm in init 3 it tells me ati needs x windows.  I never had this issue with nvidia which i can start poclbm in init 3, i took the same script and ran it on this box and basically it cant find the gpus unless x is running.  Anyone found a way to bypass this?  I exported my library and the display in the begining of the script.
hero member
Activity: 588
Merit: 500
May 05, 2011, 06:20:41 PM
I just installed this on my Ubuntu 10.10 system with an Nvidia Quadro NVS 290 in it.  When I run without -d it lists only one device, 0, the Quadro NVS 290.  When I run with -d 0 it uses 100% of a core (slowing the system quite a bit) and only gets an abysmal 2300khash/sec.  Am I doing something wrong?  Is there something else I need to install?

I also tried DiabloMiner with identical results.

The 100% CPU is a known issue. I have yet to see a solution.

The 2300khash/sec is because that's about all your video card is capable of.
full member
Activity: 546
Merit: 101
May 05, 2011, 05:49:35 PM
I just installed this on my Ubuntu 10.10 system with an Nvidia Quadro NVS 290 in it.  When I run without -d it lists only one device, 0, the Quadro NVS 290.  When I run with -d 0 it uses 100% of a core (slowing the system quite a bit) and only gets an abysmal 2300khash/sec.  Am I doing something wrong?  Is there something else I need to install?

I also tried DiabloMiner with identical results.
legendary
Activity: 1855
Merit: 1016
May 04, 2011, 11:10:48 PM
Okay well I'll get to it later then


Lets say I partition the HDD using Linux CD, it will leave windows alone incase it doesn't work?

Whats the recommended distro of linux?
Instead of partitioning u can try WUBI.
Today i am going to try it with Ubuntu 11.04
https://bitcointalksearch.org/topic/m.47489
member
Activity: 98
Merit: 10
Testing
May 04, 2011, 11:08:45 PM
Okay well I'll get to it later then


Lets say I partition the HDD using Linux CD, it will leave windows alone incase it doesn't work?

Whats the recommended distro of linux?
legendary
Activity: 3920
Merit: 2349
Eadem mutata resurgo
May 04, 2011, 10:36:50 PM
Quote
I just want help then with how to OC the cards and manual fan control

There's multiple threads discussing that already ... and if you do go linux and really are stuck PM me ... i'm not going to say donate me because I think that is bogus .... I've given out free advice on linux/hardware problems multiple times and have never got one 1 bit iota! lol. Free market or bust, time to pay up for some people I think (not you necessarily).
member
Activity: 98
Merit: 10
Testing
May 04, 2011, 10:09:08 PM
Athlon X2
MSI 890FXA GD70
4x6870
1100W psu
Windows 7 x32 and x64-both have same problem

it boots with all 4 GPUs, it causes OpenCL programs to crash when i try to start them
boot with 3 gpu, everything is golden

I suppose i can use linux if it will fix the bug.. I just want help then with how to OC the cards and manual fan control
Pages:
Jump to: