PDA

View Full Version : Bitcoinutopia P1,P2,P3 20 shares (opencl_nvidia_100) x86_64/linux



trigggl
08-14-13, 10:50 PM
Rev.2

Here is the latest tarball including all necessary .cl files and the following app_info.xml.
https://www.dropbox.com/s/i5rt1wufstvpp6m/cgminer_x86_64-linux.tar.bz2


For ATI, change NVIDIA to ATI and opencl_nvidia_100 to opencl_ati_100. This may even work for Intel GPU with the right edits.

<app_info>
<app>
<name>P1_20</name>
<user_friendly_name>Bitcoin Utopia Project #1: Donating $1000 for Mars One (20 shares)</user_friendly_name>
</app>
<app>
<name>P2_20</name>
<user_friendly_name>Bitcoin Utopia Project #2: Donating $1000 for SETI@home (20 shares)</user_friendly_name>
</app>
<app>
<name>P3_20</name>
<user_friendly_name>Bitcoin Utopia Project #3: Donating $399 for Hydroponics Research Stage 1 (20 shares)</user_friendly_name>
</app>

<file_info>
<name>cgminer.exe</name>
<executable/>
</file_info>
<file_info>
<name>wrapper_26005_x86_64-pc-linux-gnu</name>
<executable/>
</file_info>
<file_info>
<name>P1_20_job.xml</name>
</file_info>
<file_info>
<name>P2_20_job.xml</name>
</file_info>
<file_info>
<name>P3_20_job.xml</name>
</file_info>
<file_info>
<name>diablo130302.cl</name>
</file_info>
<file_info>
<name>diakgcn121016.cl</name>
</file_info>
<file_info>
<name>phatk121016.cl</name>
</file_info>
<file_info>
<name>poclbm130302.cl</name>
</file_info>
<file_info>
<name>scrypt130511.cl</name>
</file_info>
<file_info>
<name>libtinfo.so.5</name>
</file_info>
<file_info>
<name>libncurses.so.5</name>
</file_info>
<file_info>
<name>libcurl.so.4</name>
</file_info>
<file_info>
<name>libusb-1.0.so.0</name>
</file_info>
<file_info>
<name>libssl.so.1.0.0</name>
</file_info>
<file_info>
<name>libcrypto.so.1.0.0</name>
</file_info>

<app_version>
<app_name>P1_20</app_name>
<version_num>24</version_num>
<avg_ncpus>0.500000</avg_ncpus>
<max_ncpus>0.500000</max_ncpus>
<flops>32187944767.735756</flops>
<plan_class>opencl_nvidia_100</plan_class>
<file_ref>
<file_name>cgminer.exe</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>wrapper_26005_x86_64-pc-linux-gnu</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>P1_20_job.xml</file_name>
<open_name>job.xml</open_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>poclbm130302.cl</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>diablo130302.cl</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>diakgcn121016.cl</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>phatk121016.cl</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>scrypt130511.cl</file_name>
<copy_file/>
</file_ref>

<file_ref>
<file_name>libcurl.so.4</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>libusb-1.0.so.0</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>libncurses.so.5</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>libtinfo.so.5</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>libssl.so.1.0.0</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>libcrypto.so.1.0.0</file_name>
<copy_file/>
</file_ref>

<api_version>7.2.0</api_version>
<coproc>
<type>NVIDIA</type>
<count>1.000000</count>
</coproc>
<gpu_ram>268435456.000000</gpu_ram>
<needs_network/>
</app_version>

<app_version>
<app_name>P2_20</app_name>
<version_num>24</version_num>
<avg_ncpus>0.500000</avg_ncpus>
<max_ncpus>0.500000</max_ncpus>
<flops>32187944767.735756</flops>
<plan_class>opencl_nvidia_100</plan_class>
<file_ref>
<file_name>cgminer.exe</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>wrapper_26005_x86_64-pc-linux-gnu</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>P2_20_job.xml</file_name>
<open_name>job.xml</open_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>poclbm130302.cl</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>diablo130302.cl</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>diakgcn121016.cl</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>phatk121016.cl</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>scrypt130511.cl</file_name>
<copy_file/>
</file_ref>

<file_ref>
<file_name>libcurl.so.4</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>libusb-1.0.so.0</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>libncurses.so.5</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>libtinfo.so.5</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>libssl.so.1.0.0</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>libcrypto.so.1.0.0</file_name>
<copy_file/>
</file_ref>

<api_version>7.2.0</api_version>
<coproc>
<type>NVIDIA</type>
<count>1.000000</count>
</coproc>
<gpu_ram>268435456.000000</gpu_ram>
<needs_network/>
</app_version>

<app_version>
<app_name>P3_20</app_name>
<version_num>24</version_num>
<avg_ncpus>0.500000</avg_ncpus>
<max_ncpus>0.500000</max_ncpus>
<flops>32187944767.735756</flops>
<plan_class>opencl_nvidia_100</plan_class>
<file_ref>
<file_name>cgminer.exe</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>wrapper_26005_x86_64-pc-linux-gnu</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>P3_20_job.xml</file_name>
<open_name>job.xml</open_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>poclbm130302.cl</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>diablo130302.cl</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>diakgcn121016.cl</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>phatk121016.cl</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>scrypt130511.cl</file_name>
<copy_file/>
</file_ref>

<file_ref>
<file_name>libcurl.so.4</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>libusb-1.0.so.0</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>libncurses.so.5</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>libtinfo.so.5</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>libssl.so.1.0.0</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>libcrypto.so.1.0.0</file_name>
<copy_file/>
</file_ref>

<api_version>7.2.0</api_version>
<coproc>
<type>NVIDIA</type>
<count>1.000000</count>
</coproc>
<gpu_ram>268435456.000000</gpu_ram>
<needs_network/>
</app_version>
</app_info>



Old
============================

For this app_info to work, you'll need to compile/acquire your own app. I've compiled a generic cgminer.exe that should work for any x86_64 linux computer. I'll set up an ftp download if anyone wants it.

I'm currently only interested in the 20 share apps.

Necessary files can be downloaded from here (http://www.bitcoinutopia.com/download/). I wouldn't bother with the cgminer.exe file there, though.

app_info.xml

<app_info>
<app>
<name>P1_20</name>
</app>
<file_info>
<name>cgminer.exe</name>
<executable/>
</file_info>
<file_info>
<name>wrapper_26005_x86_64-pc-linux-gnu</name>
<executable/>
</file_info>
<file_info>
<name>P1_20_job.xml</name>
</file_info>
<file_info>
<name>poclbm130302.cl</name>
</file_info>

<app_version>
<app_name>P1_20</app_name>
<version_num>24</version_num>
<avg_ncpus>0.500000</avg_ncpus>
<max_ncpus>0.500000</max_ncpus>
<flops>32187944767.735756</flops>
<plan_class>opencl_nvidia_100</plan_class>
<file_ref>
<file_name>cgminer.exe</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>wrapper_26005_x86_64-pc-linux-gnu</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>P1_20_job.xml</file_name>
<open_name>job.xml</open_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>poclbm130302.cl</file_name>
<copy_file/>
</file_ref>
<api_version>7.2.0</api_version>
<coproc>
<type>NVIDIA</type>
<count>1.000000</count>
</coproc>
<gpu_ram>268435456.000000</gpu_ram>
<needs_network/>
</app_version>

<app>
<name>P2_20</name>
</app>
<file_info>
<name>cgminer.exe</name>
<executable/>
</file_info>
<file_info>
<name>wrapper_26005_x86_64-pc-linux-gnu</name>
<executable/>
</file_info>
<file_info>
<name>P2_20_job.xml</name>
</file_info>
<file_info>
<name>poclbm130302.cl</name>
</file_info>

<app_version>
<app_name>P2_20</app_name>
<version_num>24</version_num>
<avg_ncpus>0.500000</avg_ncpus>
<max_ncpus>0.500000</max_ncpus>
<flops>32187944767.735756</flops>
<plan_class>opencl_nvidia_100</plan_class>
<file_ref>
<file_name>cgminer.exe</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>wrapper_26005_x86_64-pc-linux-gnu</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>P2_20_job.xml</file_name>
<open_name>job.xml</open_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>poclbm130302.cl</file_name>
<copy_file/>
</file_ref>
<api_version>7.2.0</api_version>
<coproc>
<type>NVIDIA</type>
<count>1.000000</count>
</coproc>
<gpu_ram>268435456.000000</gpu_ram>
<needs_network/>
</app_version>

<app>
<name>P3_20</name>
</app>
<file_info>
<name>cgminer.exe</name>
<executable/>
</file_info>
<file_info>
<name>wrapper_26005_x86_64-pc-linux-gnu</name>
<executable/>
</file_info>
<file_info>
<name>P3_20_job.xml</name>
</file_info>
<file_info>
<name>poclbm130302.cl</name>
</file_info>

<app_version>
<app_name>P3_20</app_name>
<version_num>24</version_num>
<avg_ncpus>0.500000</avg_ncpus>
<max_ncpus>0.500000</max_ncpus>
<flops>32187944767.735756</flops>
<plan_class>opencl_nvidia_100</plan_class>
<file_ref>
<file_name>cgminer.exe</file_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>wrapper_26005_x86_64-pc-linux-gnu</file_name>
<main_program/>
</file_ref>
<file_ref>
<file_name>P3_20_job.xml</file_name>
<open_name>job.xml</open_name>
<copy_file/>
</file_ref>
<file_ref>
<file_name>poclbm130302.cl</file_name>
<copy_file/>
</file_ref>
<api_version>7.2.0</api_version>
<coproc>
<type>NVIDIA</type>
<count>1.000000</count>
</coproc>
<gpu_ram>268435456.000000</gpu_ram>
<needs_network/>
</app_version>
</app_info>

Mumps
08-15-13, 12:17 AM
Hmmm. Only nVidia_OpenCL Planclass? Basically the same approach for the ATI_OpenCL?

trigggl
08-15-13, 06:48 AM
Hmmm. Only nVidia_OpenCL Planclass? Basically the same approach for the ATI_OpenCL?

Yep, and it should support AMD GPU monitoring, but don't ask me how. I haven't tested for ati opencl, but I can't imagine it not working at least not for me. At this point, we just need to prove it works for Ubuntu and other distros besides Gentoo. If we can get this tested on enough different distros we can get Henri at BitcoinU to add it.

One important thing to note. This app requires 'libtinfo' which may or may not be compiled into a distros version of ncurses. It wasn't in Gentoo by default and I had reconfigure/reinstall ncurses to get it. So, there must be 'tinfo' support built into ncurses.

EDIT: I guess I could package all the libs required with the app and include them in the app_info.xml file.

EDIT2: I think I have my ftp server working. There's a tarball 'bitcoin_share_20.tar.bz2' that should have everything needed at trigggl.is-an-engineer.com . Anonymous login should be working.

Mumps
08-15-13, 07:24 PM
Well, first attempt (on an Ubuntu 12.04.1 LTS 8800GT) only generated Compute Errors. I've yet to dig in to why. I suspended BU on that machine to get a chance to peek at the logs. I'll try an ATI card shortly.

EDIT: Easy. Seems "executables" need the Xecute bit set. ;) Running my first task on the 8800 right now.

EDIT2: Got the ATI going! Plan class doesn't matter, but it does help to say in the app_info.xml that the GPU <type> required is an ATI one. :) Running my first task on a 5770 now.

trigggl
08-16-13, 09:47 AM
Well, first attempt (on an Ubuntu 12.04.1 LTS 8800GT) only generated Compute Errors. I've yet to dig in to why. I suspended BU on that machine to get a chance to peek at the logs. I'll try an ATI card shortly.

EDIT: Easy. Seems "executables" need the Xecute bit set. ;) Running my first task on the 8800 right now.

EDIT2: Got the ATI going! Plan class doesn't matter, but it does help to say in the app_info.xml that the GPU <type> required is an ATI one. :) Running my first task on a 5770 now.

Yeah, I just now noticed the execute permission problem. I put a new tarball in there with a more complete app_info.xml and including some libraries. (still needs an edit for ATI)

On a side note, I've just opened a Dropbox account and I also put it there. Conveniently, there is a Linux Dropbox app for Gnome.

EDIT: GREAT NEWS!...by the way. I'm glad you got it working on...Ubuntu and ATI. Have you tried it on AMD and Intel MB's ?

trigggl
08-16-13, 09:26 PM
The dropbox link for my latest nvidia app_info/app tarball is here:
https://www.dropbox.com/s/i5rt1wufstvpp6m/cgminer_x86_64-linux.tar.bz2

Mumps
08-16-13, 10:54 PM
Well, the ATI cards don't seem to be working yet. I've got to cancel the tasks they've been running for 15 hours each now and see what I can see. :)

But at least the NVIDIA has turned in about 36K of work in a day. Not too horrible for an 8800GT.

Mumps
08-16-13, 11:04 PM
There we go. At least one of them may be easy to correct. I'll go peek at their website and see if it's there...


[2013-08-16 06:22:31] Selecting diablo kernel
[2013-08-16 06:22:31] Unable to open diablo130302.cl or ./diablo130302.cl for reading
[2013-08-16 06:22:31] Failed to init GPU thread 0, disabling device 0
[2013-08-16 06:22:31] Restarting the GPU from the menu will not fix this.
And it's been looping there repeating that. :)

trigggl
08-17-13, 01:04 AM
There we go. At least one of them may be easy to correct. I'll go peek at their website and see if it's there...

And it's been looping there repeating that. :)

Cool. That's a file that I included in the latest app_info and tarball.

Mumps
08-17-13, 10:14 AM
Well, still no joy on the AMD's. But at least they seem to be running. Just not finishing. :)

I'm not seeing any errors in the logs on the Juniper, but I am getting "invalid nonce - HW error" on the Cypress, so I'm checking in to replacing the SDK or driver version for that one, as some Google hits suggest.

trigggl
08-17-13, 01:21 PM
Well, still no joy on the AMD's. But at least they seem to be running. Just not finishing. :)

I'm not seeing any errors in the logs on the Juniper, but I am getting "invalid nonce - HW error" on the Cypress, so I'm checking in to replacing the SDK or driver version for that one, as some Google hits suggest.

Perhaps it has something to do with specifying an API version, especially a later one? Are you trying the latest app_info.xml with all the enclosed files? I did have the ati headers for sdk at compilation. I compiled it with version 4.0 of amd-adl-sdk. I have ati-drivers 13.4 installed on the pc I used to compile with, though I have no ATI card in it or anything pointing to ati-opencl.

Perhaps I should downgrade my amd-adl-sdk to version 3.0?

Mumps
08-17-13, 06:10 PM
Perhaps it has something to do with specifying an API version, especially a later one? Are you trying the latest app_info.xml with all the enclosed files?

Perhaps I should downgrade my amd-adl-sdk to version 3.0?

Wouldn't know about that one. The newest SDK I can find is 2.8.1, so I'd like to know where to go find 3.0, much less 4.0. :)

I'll have to try the full package a bit later no the Juniper machine. Already installed it on the Cypress with no improvement. But I haven't fiddled with the driver and SDK versions yet. 2.8.1 and 13.6 Beta I believe it is, although I may have previously downgraded to 12.11 Beta8. Not sure which I installed most recently. I'll get it figured out though. :)