ATI 9.12 / Linux64 / BOINC problem...
log in

Advanced search

Message boards : Number crunching : ATI 9.12 / Linux64 / BOINC problem...

1 · 2 · 3 · 4 · Next
Author Message
Jeff Gu
Avatar
Send message
Joined: 31 Jul 09
Posts: 10
Credit: 69,500,179
RAC: 0
Message 4709 - Posted: 25 Dec 2009, 4:21:24 UTC

I decided to try an ATI HD3870 card in a Ubuntu 9.10 64-bit machine (AMD Athlon 64 X2 5200+) for Collatz crunching. Installed the ATI 9.12 driver (ati-driver-installer-9-12-x86.x86_64.run) per the instructions... ran aticonfig afterwards... card is working fine. Running fglrxinfo yields:

display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 3870
OpenGL version string: 3.2.9232

BOINC says "no usable GPUs found" so I assume I'm missing some critical installation requirement that I'm unaware of. Have reinstalled both the driver and BOINC to no avail.

Anyone know what I need to do to get BOINC to recognize the card? BOINC version is 6.10.17 so I'm at a loss as to what the problem is.
____________
Jeff Gu
Guru Mountain DC Team

Profile mikey
Avatar
Send message
Joined: 11 Aug 09
Posts: 3244
Credit: 1,697,020,422
RAC: 5,160,183
Message 4711 - Posted: 25 Dec 2009, 12:28:27 UTC - in response to Message 4709.

I decided to try an ATI HD3870 card in a Ubuntu 9.10 64-bit machine (AMD Athlon 64 X2 5200+) for Collatz crunching. Installed the ATI 9.12 driver (ati-driver-installer-9-12-x86.x86_64.run) per the instructions... ran aticonfig afterwards... card is working fine. Running fglrxinfo yields:

display: :0.0 screen: 0
OpenGL vendor string: ATI Technologies Inc.
OpenGL renderer string: ATI Radeon HD 3870
OpenGL version string: 3.2.9232

BOINC says "no usable GPUs found" so I assume I'm missing some critical installation requirement that I'm unaware of. Have reinstalled both the driver and BOINC to no avail.

Anyone know what I need to do to get BOINC to recognize the card? BOINC version is 6.10.17 so I'm at a loss as to what the problem is.


Try this thread:
http://boinc.thesonntags.com/collatz/forum_thread.php?id=127#2202

and this one for 64 bit:
http://boinc.thesonntags.com/collatz/forum_thread.php?id=237

Jeff Gu
Avatar
Send message
Joined: 31 Jul 09
Posts: 10
Credit: 69,500,179
RAC: 0
Message 4714 - Posted: 25 Dec 2009, 18:03:54 UTC
Last modified: 25 Dec 2009, 18:04:05 UTC

Perhaps I'm missing something... there's something in those posts that's related to my problem? I'm not having any issues getting my Nvidia cards to crunch under 64-bit Ubuntu. I'm trying to get an ATI card to do it.
____________
Jeff Gu
Guru Mountain DC Team

Profile Slicker
Volunteer moderator
Project administrator
Project developer
Project tester
Project scientist
Avatar
Send message
Joined: 11 Jun 09
Posts: 2525
Credit: 740,580,099
RAC: 1
Message 4716 - Posted: 25 Dec 2009, 18:30:57 UTC

The Linux ATI apps must be installed manually and can be found here. The instructions on how to install and test it are in the readme included with the download.

Jeff Gu
Avatar
Send message
Joined: 31 Jul 09
Posts: 10
Credit: 69,500,179
RAC: 0
Message 4727 - Posted: 25 Dec 2009, 23:27:58 UTC

Sorry, I neglected to mention in my initial post that I have, indeed, followed the instructions with the Collatz download. Running ldd on the app yields:

linux-vdso.so.1 => (0x00007fffa93ff000)
libaticalcl.so => /usr/lib/libaticalcl.so (0x00007f2838392000)
libbrook64.so => /usr/lib/libbrook64.so (0x00007f283806b000)
libbrook_cal64.so => /usr/lib/libbrook_cal64.so (0x00007f2837e4d000)
libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f2837b3d000)
libm.so.6 => /lib/libm.so.6 (0x00007f28378b9000)
libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f28376a2000)
libpthread.so.0 => /lib/libpthread.so.0 (0x00007f2837486000)
libc.so.6 => /lib/libc.so.6 (0x00007f2837117000)
libaticalrt.so => /usr/lib/libaticalrt.so (0x00007f2836ff7000)
librt.so.1 => /lib/librt.so.1 (0x00007f2836def000)
libdl.so.2 => /lib/libdl.so.2 (0x00007f2836beb000)
libXext.so.6 => /usr/lib/libXext.so.6 (0x00007f28369d9000)
libX11.so.6 => /usr/lib/libX11.so.6 (0x00007f28366a3000)
/lib64/ld-linux-x86-64.so.2 (0x00007f28382ae000)
libXau.so.6 => /usr/lib/libXau.so.6 (0x00007f28364a0000)
libxcb.so.1 => /usr/lib/libxcb.so.1 (0x00007f2836284000)
libXdmcp.so.6 => /usr/lib/libXdmcp.so.6 (0x00007f283607f000)

I have the brooks libraries in /usr/lib and /usr/lib64 (which in itself is just a link back to /usr/lib) and the associated sym links. I have tried placing them in the Collatz folder, in the boinc data directory as well as tried just linking them to those locations. I've insured correct ownership and execution rights, etc, blah blah and still BOINC reports "no usable GPUs found". I am using the brooks libraries supplied with this app:

collatz_2.01_x86_64-pc-linux-gnu__ati14_r1.2

Again, I'm willing to admit that this might be an operator malfunction, as frustration often leads to a form of blindness where you miss the most obvious details. Is there any other information, Slicker, that would be helpful to figuring this out? I'm just plain out of ideas, but would be happy to provide any info that might help.
____________
Jeff Gu
Guru Mountain DC Team

Profile Crunch3r
Volunteer moderator
Project developer
Project tester
Avatar
Send message
Joined: 30 Jun 09
Posts: 219
Credit: 7,515,663,568
RAC: 10,847
Message 4731 - Posted: 26 Dec 2009, 0:39:41 UTC - in response to Message 4727.

... I've insured correct ownership and execution rights, etc, blah blah and still BOINC reports "no usable GPUs found". I am using the brooks libraries supplied with this app:


Make sure that the user account that runs BOINC is member of the group video or whatever that's called on ubuntu...


____________

Team BOINC United.Join Science that matters.

Jeff Gu
Avatar
Send message
Joined: 31 Jul 09
Posts: 10
Credit: 69,500,179
RAC: 0
Message 4737 - Posted: 26 Dec 2009, 4:38:31 UTC - in response to Message 4731.

Unfortunetly, in Ubuntu 9.10 I've had no luck doing that. The user management GUI tool doesn't have the functionality and for reasons I can't fathom, the command:

sudo usermod -a -G video boinc

...also does nothing.

However, as many times as I've seen this advice floating around, neither myself or my brother have found it necessary. We probably have 40 or so Ubuntu crunchers between us, with quite a number of them running GPU as well as CPU. They're all Nvidia cards on the Linux machines, until now, but the logic that says this is necessary would seem to apply to those as well as ATI cards, since I've seen it mentioned in reference to both. I have added MYSELF to the video group, which on at least one occasion that I can remember solved the problem, so I do that on all of the crunchers on the off chance that it works. I've seen posts from people who said it worked, and an equal number of posts from people who said it didn't.

In any case, I'm still searching for a solution with no success. If there's another way to add the boinc user (which doesn't show up when I list the users, only the boinc group does) to the video group, I'd love to know what it is.

I appreciate all attempts to help, but this isn't looking very promising.
____________
Jeff Gu
Guru Mountain DC Team

Marco Vuano
Send message
Joined: 8 Dec 09
Posts: 11
Credit: 277,912
RAC: 0
Message 4768 - Posted: 28 Dec 2009, 12:53:15 UTC

I'm having the same problem on Ubuntu 9.10 64 bit with an ATI HD 4670, as I already posted in this forum thread:

http://boinc.thesonntags.com/collatz/forum_thread.php?id=182

In this case, the problem seems to be related to a SIGSEGV regarding libaticaldd.so, and the fact that the GPU is not detected is a workaround described here:

http://boinc.berkeley.edu/dev/forum_thread.php?id=4470

The problem could be more broad than just a Boinc error, as you can see in this thread that it is probably regarding ATI CAL on Ubuntu 9.10 64 bit which is not working correctly because of changes in X:

http://forums.amd.com/forum/messageview.cfm?catid=390&threadid=120456

Using the hotfix of 9.12 with OpenCL support doesn't fix the SIGSEGV, as you might see in this stderr.txt:

shmget in attach_shmem: Invalid argument
13:51:26 (7607): Can't set up shared mem: -1. Will run in standalone mode.

Running Collatz Conjecture (3x+1) ATI GPU application version 2.01 by Gipsel (Linux64, CAL 1.4 R1.2)
Reading input file ... done.
Checking 4294967296 numbers starting with 2361185725354183731560
CAL Runtime: 1.4.515
SIGSEGV: segmentation violation
Stack trace (14 frames):
/home/ubuntu/Scaricati/collatz_2.01_x86_64-pc-linux-gnu__ati14_r1.2/app/collatz_2.01_x86_64-pc-linux-gnu__ati14(boinc_catch_signal+0x49)[0x40ea49]
/lib/libpthread.so.0[0x7fe85b4c7190]
/usr/lib/libaticaldd.so[0x7fe859ad6a9a]
/usr/lib/libaticaldd.so[0x7fe859ad6855]
/usr/lib/libaticaldd.so[0x7fe859ad2f0f]
/usr/lib/libaticaldd.so[0x7fe859aca835]
/usr/lib/libaticaldd.so[0x7fe8599ec553]
/usr/lib/libaticaldd.so[0x7fe859b13f8a]
/usr/lib/libaticaldd.so[0x7fe859b0d555]
/usr/lib/libaticaldd.so[0x7fe859b1d8c5]
/home/ubuntu/Scaricati/collatz_2.01_x86_64-pc-linux-gnu__ati14_r1.2/app/collatz_2.01_x86_64-pc-linux-gnu__ati14[0x407243]
/home/ubuntu/Scaricati/collatz_2.01_x86_64-pc-linux-gnu__ati14_r1.2/app/collatz_2.01_x86_64-pc-linux-gnu__ati14[0x4090be]
/lib/libc.so.6(__libc_start_main+0xfd)[0x7fe85b167abd]
/home/ubuntu/Scaricati/collatz_2.01_x86_64-pc-linux-gnu__ati14_r1.2/app/collatz_2.01_x86_64-pc-linux-gnu__ati14(__gxx_personality_v0+0x1b1)[0x404bf9]

Exiting...

Has anyone found a fix?

Jeff Gu
Avatar
Send message
Joined: 31 Jul 09
Posts: 10
Credit: 69,500,179
RAC: 0
Message 4787 - Posted: 29 Dec 2009, 0:56:36 UTC - in response to Message 4768.
Last modified: 29 Dec 2009, 0:57:09 UTC

I've had no luck, myself. In fact, I've been unable to find a single person who has been able to get get an ATI card up and crunching on 64-bit Ubuntu. I found one person who claimed to have gotten it working on another flavor of Linux, but when I checked his machine it showed absolutely no output from the ATI card, so I believe this person may have just been trying to bash a Linux distro he doesn't approve of.

I've decided to remove the card and put an Nvidia card in the machine on another project, until the issues are resolved.
____________
Jeff Gu
Guru Mountain DC Team

Marco Vuano
Send message
Joined: 8 Dec 09
Posts: 11
Credit: 277,912
RAC: 0
Message 4940 - Posted: 31 Dec 2009, 0:09:03 UTC

It seems that the issue is caused by ATI CAL not working with kernels >= 2.6.31-14 on Ubuntu 64 bit, as you may see here:

http://forums.amd.com/forum/messageview.cfm?catid=328&threadid=124182&forumid=9

Therefore, by installing and using an older kernel (such as the 2.6.28-17-generic kernel from Ubuntu 9.04, which you can find using Ubuntu package search) you should be able to run ATI CAL and have your card recognized by BOINC. Unfortunately, I cannot test this at the moment because I'm running Ubuntu from an USB disk since my Hard Drive on which Ubuntu was installed stopped working and is being repaired.

Can anyone try this fix and report if it is working or not?

Jeff Gu
Avatar
Send message
Joined: 31 Jul 09
Posts: 10
Credit: 69,500,179
RAC: 0
Message 4948 - Posted: 31 Dec 2009, 7:19:30 UTC

I have a single-core machine with a PCIx slot that is due for an OS reinstall, anyway... I'll install 9.04 on it and give it a try. The PSU won't handle the card, so I'll have to try to shuffle one over from another cruncher that has a big enough PSU in it but that isn't running a video card.

This might take me a couple of days, as I'm doing some minor work around the house to prepare for a new dog I'm picking up tomorrow.

Note to self: stay out of animal shelters... no room for more dogs!

I'll report back in this thread as soon as I find anything out.
____________
Jeff Gu
Guru Mountain DC Team

rottenkiwi
Send message
Joined: 22 Sep 09
Posts: 9
Credit: 26,373,032
RAC: 0
Message 4979 - Posted: 31 Dec 2009, 15:41:22 UTC

I have Ubuntu 8.10 64 + 4770 + Cat. 9.12 + 6.10.17.
GPU is detected, Collatz runs, but predicted time is 3.5 hours.
Same with 8.04 64.
With 4770 + WIn 7 64 + Cat. 9.11 + 6.10.18, 2.06, time cca. 950 sec.
With 5770 + Win 7 64 + Cat. 9.12 + 6.10.18, 2.07, time cca. 620 sec.
What distro do you suggest for Collatz and 4770 ?

Marco Vuano
Send message
Joined: 8 Dec 09
Posts: 11
Credit: 277,912
RAC: 0
Message 4987 - Posted: 31 Dec 2009, 17:36:33 UTC

I finally had my HD4670 detected by BOINC on Ubuntu 9.10 64 bit!

I had to use the linux 2.6.28-17-generic kernel, catalyst 9.12 (to create the module for the kernel) and BOINC 6.10.24. It has just finished a Collatz Conjecture WU using the GPU and the CPU in just 2,815.70 seconds!

@rootenkiwi:This is much less than 3,5 hours (more or less 45 minutes), so this is strange, since the HD 4770 is more powerful. Anyway, you should not see the predicted time but the actual Run Time when the WU is ended, because the predicted time is usually much greater than the actual Run time.
You could still use Ubuntu (maybe 9.04, which is officially supported by ATI for its Stream SDK v2.0 and therefore should run correctly programs based on ATI CAL)

Jeff Gu
Avatar
Send message
Joined: 31 Jul 09
Posts: 10
Credit: 69,500,179
RAC: 0
Message 5056 - Posted: 1 Jan 2010, 18:57:28 UTC

Most excellent! So, it appears that it is, in fact, a problem with the latest kernel. Will be trying this with 9.04 today... thanks for the heads up!
____________
Jeff Gu
Guru Mountain DC Team

Jeff Gu
Avatar
Send message
Joined: 31 Jul 09
Posts: 10
Credit: 69,500,179
RAC: 0
Message 5169 - Posted: 3 Jan 2010, 1:35:11 UTC - in response to Message 5056.

Well, I'd love to know the secret... I've installed BOINC 6.10.24, Catalyst 9.12 and the card in a 9.04 machine with no luck. Have the brooks libraries in /usr/lib with symlinks to /usr/lib64 and to /var/lib/boinc-client and still no luck.
____________
Jeff Gu
Guru Mountain DC Team

Profile DeleteNull
Volunteer tester
Avatar
Send message
Joined: 18 Sep 09
Posts: 29
Credit: 2,087,516,533
RAC: 0
Message 5223 - Posted: 3 Jan 2010, 15:23:40 UTC - in response to Message 5169.

Well, I'd love to know the secret... I've installed BOINC 6.10.24, Catalyst 9.12 and the card in a 9.04 machine with no luck. Have the brooks libraries in /usr/lib with symlinks to /usr/lib64 and to /var/lib/boinc-client and still no luck.


Hi, i have tested the Linux-ATI-Version with some installations and the ATI driver installation is o.k. for kernels 2.6.28 (Ubuntu 9.04) and 2.6.27 (OpenSuse 11.1), but BOINC (resp. a proper ATI-driver-installation) fails with kernel 2.6.31.

1. Don't just run ./ati-driver-installer-9-12-x86.x86_64.run ..this will not result in a proper driver installation! You have to generate distribution specific packages.
1.1: Ubuntu 9.04:
./ati-driver-installer-9-12-x86.x86_64.run --buildpkg Ubuntu/9.04
1.2: OpenSuse 11.1
./ati-driver-installer-9-12-x86.x86_64.run --buildpkg SuSE/SUSE111-AMD64

2. Install the generated packages:
2.1: Ubuntu 9.04: Install the 6 (or 7) generated <name>.deb packages
2.2: OpenSuse 11.1: Install the one fglrx64_7_4_0_SUSE112-8.681-1.x86_64.rpm package
...and reboot.
(as user root:
init 3
/usr/bin/aticonfig --initial
shutdown -r now
)

3. Now you can install BOINC (Version 6.10.x with x > 10)
3.1: start ./run_client in the BOINC-folder:
If you can see a message like:
03-Jan-2010 99:99:99 [---] ATI GPU 0: ATI Radeon ...
your installation was successful, if you see something like
"No useable GPU found"
the installation failed.

4. If 3. with success, download and untar: collatz_2.01_x86_64-pc-linux-gnu__cuda22.gz

5. Copy the libs from the subfolder collatz_2.01_x86_64-pc-linux-gnu__ati14_r1.2/libs (libbrook*) into /usr/lib64

6. Change to /usr/lib64, and as user root:
6.1: ln -s libbrook_cal64.so libbrook_cal.so (necessary for ubuntu and opensuse)
6.2: ln -s libbrook64.so libbrook.so (may be optional)

7. Testing:
change to the folder .../collatz_2.01_x86_64-pc-linux-gnu__ati14_r1.2/test_files (see 4. / 5.)
7.1: cp ../app/collatz_2.01_x86_64-pc-linux-gnu__ati14 ./
7.2: cp../libs/* ./
7.3 and run the test: ./collatz_2.01_x86_64-pc-linux-gnu__ati14

this should finish (depending on your card) after a few minutes without error messages.

The log you will find in stderr.txt and the output int out.txt (should be the same as in reference_out.txt

(only) when you have finished step 7 with success, you can configure your BOINC-installation for running collatz with the linux ati-app.

Jeff Gu
Avatar
Send message
Joined: 31 Jul 09
Posts: 10
Credit: 69,500,179
RAC: 0
Message 5253 - Posted: 3 Jan 2010, 22:07:19 UTC
Last modified: 3 Jan 2010, 22:30:52 UTC

Thank you for the very specific information. I may make another attempt to get it working.

EDIT:
Well, attempting to build the package resulted in pretty much the same thing that happened when I attempted it on 9.10 Ubuntu...

dh_shlibdeps -pxorg-driver-fglrx "-Xlib32"
dpkg-shlibdeps: warning: symbol XauFileName used by debian/xorg-driver-fglrx/usr/sbin/atieventsd found in none of the libraries.
dpkg-shlibdeps: warning: symbol _XFlush used by debian/xorg-driver-fglrx/usr/lib/libfglrx_dm.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextAddDisplay used by debian/xorg-driver-fglrx/usr/lib/libfglrx_dm.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol _XRead used by debian/xorg-driver-fglrx/usr/lib/libfglrx_dm.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol _XReply used by debian/xorg-driver-fglrx/usr/lib/libfglrx_dm.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextRemoveDisplay used by debian/xorg-driver-fglrx/usr/lib/libfglrx_dm.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextCreateExtension used by debian/xorg-driver-fglrx/usr/lib/libfglrx_dm.so.1.0 found in none of the libraries.
dpkg-shlibdeps: warning: symbol XextFindDisplay used by debian/xorg-driver-fglrx/usr/lib/libfglrx_dm.so.1.0 found in none of the libraries.
dpkg-shlibdeps: failure: no dependency information found for /usr/share/ati/lib64/libQtCore.so.4 (used by debian/xorg-driver-fglrx/usr/sbin/amdnotifyui).
dh_shlibdeps: command returned error code 512
make: *** [binary-predeb-IMPL/xorg-driver-fglrx] Error 1
dpkg-buildpackage: failure: debian/rules binary gave error exit status 2
____________
Jeff Gu
Guru Mountain DC Team

Marco Vuano
Send message
Joined: 8 Dec 09
Posts: 11
Credit: 277,912
RAC: 0
Message 5255 - Posted: 3 Jan 2010, 22:39:28 UTC - in response to Message 5223.

That's it! In fact, I also renamed the libraries libbrook_cal64.so and libbrook64.so in /usr/lib64/ (removing the "64" from their names) using "cp" (and therefore leaving the libraries with the original names intact) before installing BOINC 6.10.24. I did that because, when trying to run "collatz_2.01_x86_64-pc-linux-gnu__ati14" with the test files, libbrook_cal.so was required to use the GPU. I thought this was necessary only to run the test files (and, in fact, this step should not be necessary in order to have BOINC detect your GPU!).

@Jeff Gu: follow Stoffel's instrunctions. If "sudo init 3" is not working in Ubuntu (which is quite probable, since Ubuntu seems to have a different management of runlevels than OpenSuse) try directly "sudo aticonfig --initial" and reboot (to be honest, I first installed the 9.10 ATI driver via Jockey, the Restricted Drivers Manager, and then updated the packages using "./ati-driver-installer-9-12-x86.x86_64.run --buildandinstallpkg having installed before the Qt4 libraries needed by the driver, which are not automatically installed) and, if BOINC is still not detecting your GPU, try to rename the libraries libbrook_cal64.so and libbrook64.so without deleting the files with the original names using either cp or the method used by Stoffel

@Stoffel: in step 4, did you mean "collatz_2.01_x86_64-pc-linux-gnu__ati14_r1.2.tar.bz2" instead of "collatz_2.01_x86_64-pc-linux-gnu__cuda22.gz"?

By the way, merry Christmas and a happy new year to all!

Marco Vuano
Send message
Joined: 8 Dec 09
Posts: 11
Credit: 277,912
RAC: 0
Message 5256 - Posted: 3 Jan 2010, 22:47:57 UTC - in response to Message 5253.

As I just posted, You need the appropriate Qt4 libraries. Try to install "libqtgui4" from Synaptic. It should install all the other required Qt4 packages.

Marco Vuano
Send message
Joined: 8 Dec 09
Posts: 11
Credit: 277,912
RAC: 0
Message 5259 - Posted: 4 Jan 2010, 0:00:00 UTC - in response to Message 5256.

@Jeff Gu: In the case you still can't install catalyst 9.12, you can still use catalyst drivers given by Jockey (the Restricted Drivers Manager, which you can find in System>Administration), which should have ATI CAL 1.4. I used the Catalyst 9.12 drivers because the 9.10 drivers given by Jockey on Ubuntu 9.10 64 bit could not install the fglrx kernel module for the 2.6.28-17-generic kernel.

1 · 2 · 3 · 4 · Next
Post to thread

Message boards : Number crunching : ATI 9.12 / Linux64 / BOINC problem...


Main page · Your account · Message boards


Copyright © 2018 Jon Sonntag; All rights reserved.