Howto: ATI CAL on Karmic 64 bit with Boinc (Collatz project)

Coming from a recent upgrade from 8800gt to 4870 x2, I really wanted to put this new monster under work with Boinc ( you can exploit your ATI gpu only if it’s on this list)

But there were so many problem: i spent more than two days with segmentantions fault, creating deb driver packages, no gpu relevating, ecc..

This is how i solved :p

1) Check you have drivers installed AND working properly

Download the Catalyst 9.12 (the lastest) here

I never got they working properly by creating the deb in this way:

./ati-driver-installer-9-12-x86.x86_64.run –buildpkg Ubuntu/9.04

I just installed in the normal way:

sudo ./ati-driver-installer-9-12-x86.x86_64.run

Next, next, next, …

At the end:

sudo aticonfig –initial

Reboot.

You must be able to run the desktop effect

2) Download and install Boinc

Here the last linux x86_64 6.10.32

Then

sh boinc_6.10.32_x86_64-pc-linux-gnu.sh

It will create a folder BOINC in that directory

cd BOINC

Now, before the critical point you need to be sure to have the option nopat added after the kernel in grub (tested with 2.6.31-20)

..and maeby even “libqtgui4” installed…

Prey the ATI big-tits goddess

And run

./boinc

If you get something like

16-Feb-2010 22:04:30 [—] ATI GPU 0: ATI Radeon HD 4700/4800 (RV740/RV770) (CAL version 1.4.519, 1024MB, 1200 GFLOPS peak)
16-Feb-2010 22:04:30 [—] ATI GPU 1: ATI Radeon HD 4700/4800 (RV740/RV770) (CAL version 1.4.519, 1024MB, 50 GFLOPS peak)

WE GOT IT

They are two here, coz i have a 4870 x2

3) Configure Collatz

Now download collatz_2.01_x86_64-pc-linux-gnu__ati14_r1.2.tar.bz2

– copy both libbrook64.so and libbrook_cal64.so to /usr/lib64

cd collatz_2.01_x86_64-pc-linux-gnu__ati14_r1.2/app

ldd collatz_2.01_x86_64-pc-linux-gnu__ati14

you should see something similar to this:
libaticalcl.so => /usr/lib64/libaticalcl.so (0x00002b373b4e3000)
libbrook64.so => /usr/lib64/libbrook64.so (0x00002b373b6d1000)
libbrook_cal64.so => /usr/lib64/libbrook_cal64.so (0x00002b373b914000)
libstdc++.so.6 => /usr/lib64/libstdc++.so.6 (0x00002b373bb33000)
libm.so.6 => /lib64/libm.so.6 (0x00002b373be3b000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00002b373c08e000)
libc.so.6 => /lib64/libc.so.6 (0x00002b373c29d000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00002b373c5e2000)
libaticalrt.so => /usr/lib64/libaticalrt.so (0x00002b373c7fd000)
librt.so.1 => /lib64/librt.so.1 (0x00002b373c91e000)
libdl.so.2 => /lib64/libdl.so.2 (0x00002b373cb27000)
libXext.so.6 => /usr/lib64/libXext.so.6 (0x00002b373cd2b000)
libX11.so.6 => /usr/lib64/libX11.so.6 (0x00002b373cf3d000)
/lib64/ld-linux-x86-64.so.2 (0x00002b373b4b4000)
libXau.so.6 => /usr/lib64/libXau.so.6 (0x00002b373d273000)
libxcb-xlib.so.0 => /usr/lib64/libxcb-xlib.so.0 (0x00002b373d477000)
libxcb.so.1 => /usr/lib64/libxcb.so.1 (0x00002b373d679000

– copy the app_info.xml, app file and the 2 libs (libbrook64.so and libbrook_cal64.so) to projects/boinc.thesonntags.com/

– make sure to have a copy of the 2 libs (libbrook64.so and libbrook_cal64.so) removing 64 from the name in /usr/lib64/

sudo ln -s libbrook_cal64.so libbrook_cal.so

sudo ln -s libbrook64.so libbrook.so

4) Test it

cd ../collatz_2.01_x86_64-pc-linux-gnu__ati14_r1.2/test_files

cp ../app/collatz_2.01_x86_64-pc-linux-gnu__ati14 ./

cp../libs/* ./

and run the test: ./collatz_2.01_x86_64-pc-linux-gnu__ati14

It will take some time (in my case just ca 20s)

Now, to run Boinc you need the demon

./boinc

and the graphical interface

sh run_manager

Both of them run in BOINC folder

It’s over, you can join Collatz (the only project at the moment supporting ATI gpu computing, Milkyway is still on the “way” )

A thanks specially to Stoffel, Marco Vuano and this blog http://radialmind.blogspot.com/2010/01/ati-stream-technology.html

12 thoughts on “Howto: ATI CAL on Karmic 64 bit with Boinc (Collatz project)

  1. I have a HD 5770 vapor-x, with Fedora 8 and latest ATI driver, and I get this:

    [—] ATI GPU 0: ATI Radeon HD5700 series (Juniper) (CAL version 1.4.553, 1024MB, 50 GFLOPS peak)

    I think that I should get something like 1200 GFLOPS peak as in your card 0 (as this is the potential of the card). Instead I get 50 GFLOPS like in jour card 1. The problem is that if it run at 50 as it say, the card is not used well.

    However, an Collatz task is extimanted to be completed in 2h 36m, but every time the client is restarted, counting start from 0 again.

  2. I think that in fedora the packages you give about qt are already installed (I use KDE and QT3/4) with another name, however the application fails to retrieve information:

    ./107457-atioc_x86_64_105
    Error loading address of ADL_Overdrive5_CurrentActivity_Get
    Error loading address of ADL_Overdrive5_FanSpeed_Get
    Error loading address of ADL_Overdrive5_ODPerformanceLevels_Get
    Error loading address of ADL_Overdrive5_ODParameters_Get
    Error loading address of ADL_Overdrive5_ODPerformanceLevels_Set
    Error loading address of ADL_Overdrive5_FanSpeed_Set
    Error loading address of ADL_Overdrive5_FanSpeedToDefault_Set
    Error loading address of ADL_Overdrive5_FanSpeedInfo_Get
    Error loading address of ADL_Overdrive5_ODParameters_Get
    Error loading address of ADL_Overdrive5_ODPerformanceLevels_Get
    Error loading address of ADL_Overdrive5_Temperature_Get

    In the applet the card is not named and all other info fields are empty.

    When closing the application there are a window with ( in summary):

    error 15989888 retriving OverDrive performance level.

    Maybe there are some problem with ATI driver. I attends 10.3 to see if this will change.

      • aticonfig –od-enable
        ATI Overdrive(TM) enabled

        but I then get the same wrong result.

        However, if get this:

        aticonfig –odgc
        ERROR – Could not find library: libatiadlxx.so

        locate libatiadlxx.so
        /usr/lib/libatiadlxx.so
        /usr/lib64/libatiadlxx.so
        /usr/lib64/fglrx/libatiadlxx.so

        don’t know if this information can help

  3. Hi, just browsing and found this. Wonder how it’s going with his 5770? Do you use Ubuntu? I’m using 10.04 and have a 5830 on the way from newegg which I plan to put to use similarly.

    Ice:
    This could be a case of completely removing your drivers and cleanly installing them with no leftovers. Instructions for doing this can be found in the Ubuntu forums, probably under the Multimedia category, (you can interpolate for fedora.) Under the latest drivers, the 5770 is supposed to work.

  4. Yes, from version 10.4 the driver supports the Xorg of Fedora 12.

    I don’t try jet to reinstall the driver from zero, but actually I have:

    10.4: Boinc now see the correct peak:

    ATI GPU 0: ATI Radeon HD5700 series (Juniper) (CAL version 1.4.636, 1024MB, 1376 GFLOPS peak)

    but the card seems always in idle as the applet show always 0% usage (and infact calculation is very low in Boinc)

    10.5: same issue for Boinc, but worst, Tremulous game graphics is now completely wrong in some part (maybe some effects are no correctly applied by the card).

    I will try to reinstall all, as maybe I cannot install Fedora 13 as it has a new XOrg version that ATI will never support before a year I think 😦

Lascia un commento