BOINC on Ubuntu: No OpenCL with Radeon HD 7850

Message boards : Questions and problems : BOINC on Ubuntu: No OpenCL with Radeon HD 7850
Message board moderation

To post messages, you must log in.

AuthorMessage
d4yw41k3r

Send message
Joined: 27 Mar 15
Posts: 7
Germany
Message 61233 - Posted: 27 Mar 2015, 8:23:07 UTC
Last modified: 27 Mar 2015, 8:33:22 UTC

Hi,

I had to set up a new OS instance, so I had to reinstall the BOINC client. In the past I was able to use my GPU for BOINC, actually the client is not recognizing my GPU.

I also installed the AMD SDK as described in http://wiki.ubuntuusers.de/BOINC#Grafikkarten-werden-vom-Boinc-Client-nicht-erkannt - didn't get better.

Can someone help me out with this? I feel helpless. I am running on Ubuntu Trusty LTS and Boinc 7.2.42 (x64).

Rgds
Christian
ID: 61233 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 61249 - Posted: 28 Mar 2015, 14:15:54 UTC - in response to Message 61233.  

So you installed the SDK but what drivers you have? And which version?

What BOINC says when you enable <coproc_debug> log flag?
ID: 61249 · Report as offensive
mountkidd

Send message
Joined: 1 Feb 15
Posts: 1
Canada
Message 61252 - Posted: 28 Mar 2015, 19:44:36 UTC - in response to Message 61233.  

Hi Christian,
I had a similar problem with Kubuntu Trusty LTS / AMD / repo Boinc 7.2.42. There may be a timing problem at startup that causes the GPU to not be recognized. You can do a simple test post-startup. From a terminal window, type sudo /etc/init.d/boinc-client restart.

If this cures the problem, you may be able to delay the boinc-client startup. Google "No usable GPUs found - Ubuntu 14.04" for some reading on a number of solutions that others have found. My solution was to uninstall the repo Boinc and replace it with Boinc directly from the Berkeley website. It worked right out of the box...

Gord
ID: 61252 · Report as offensive
d4yw41k3r

Send message
Joined: 27 Mar 15
Posts: 7
Germany
Message 62753 - Posted: 26 Jun 2015, 6:58:12 UTC - in response to Message 61249.  

Sorry, I am incredibly late. Didn't receive a notification mail...:-/

cdrewing@cdrewing-desktop:/var/lib/boinc-client$ cat coproc_info.xml
<coprocs>
<warning>No NVIDIA library found</warning>
<warning>No ATI library found</warning>
<warning>clGetPlatformIDs() failed to return any OpenCL platforms</warning>
</coprocs>


Does this help you? I got the AMD SDK installed, though.
ID: 62753 · Report as offensive
d4yw41k3r

Send message
Joined: 27 Mar 15
Posts: 7
Germany
Message 62754 - Posted: 26 Jun 2015, 7:01:03 UTC - in response to Message 61252.  

Hey Gord,

hmm, this becomes more interesting:

cdrewing@cdrewing-desktop:/var/lib/boinc-client$ cat coproc_info.xml <coprocs>
<warning>No NVIDIA library found</warning>
<warning>No ATI library found</warning>
<warning>clGetPlatformIDs() failed to return any OpenCL platforms</warning>
</coprocs>


I got this right after ypur proposed BOINC client restart.
ID: 62754 · Report as offensive
d4yw41k3r

Send message
Joined: 27 Mar 15
Posts: 7
Germany
Message 62757 - Posted: 26 Jun 2015, 7:07:33 UTC - in response to Message 61252.  

Gord, I got the same error when using the BOINC client from the Berkeley website.
ID: 62757 · Report as offensive
d4yw41k3r

Send message
Joined: 27 Mar 15
Posts: 7
Germany
Message 62758 - Posted: 26 Jun 2015, 7:22:06 UTC - in response to Message 62757.  

I reinstalled the AMD SDK and it doesn't become better:

ID: 62758 · Report as offensive
Profile jay_e

Send message
Joined: 8 Mar 07
Posts: 115
United States
Message 62843 - Posted: 30 Jun 2015, 20:39:53 UTC - in response to Message 62758.  

greetings...

I had the problem after an upgrade in Ubuntu.
I tried LinuxMint, Ubuntu Mate, and Ubuntu Gnome classic.
I have a Radeon/ATI 7750, so I added the fglrx-updates package from ubuntu and
then added the BOINC ppa

as (I use aptitude):

sudo aptitude install fglrx-updates=2:15.200-0ubuntu0.3

sudo add-apt-repository ppa:costamagnagianfranco/locutusofborg-ppa
sudo apt-get update
(watch for any errors)


aptitude search boinc (Take note of the ppa packages!!)
then I picked up just about all and installed...

sudo aptitude install boinc=7.6.2+dfsg-0~1343~ubuntu14.04.1
sudo aptitude install boinc-client-fglrx=7.6.2+dfsg-0~1343~ubuntu14.04.1
sudo aptitude install boinc-client-opencl=7.6.2+dfsg-0~1343~ubuntu14.04.1
sudo aptitude install boinc-dev=7.6.2+dfsg-0~1343~ubuntu14.04.1
sudo aptitude install libboinc-app-dev=7.6.2+dfsg-0~1343~ubuntu14.04.1
sudo aptitude install libboinc-app7=7.6.2+dfsg-0~1343~ubuntu14.04.1

( this was of 28 June 2015)

and there still was the delay problem. I chose a manual fix - each time
after I start boinc...

sudo /etc/init.d/boinc-client stop
sudo /etc/init.d/boinc-client start

It works for me..


Jay
ID: 62843 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 62881 - Posted: 2 Jul 2015, 19:52:58 UTC - in response to Message 62758.  

d4yw41k3r, which drivers you have installed, radeon or fglrx? You need to use fglrx to run OpenCL apps.
ID: 62881 · Report as offensive
d4yw41k3r

Send message
Joined: 27 Mar 15
Posts: 7
Germany
Message 62893 - Posted: 3 Jul 2015, 6:17:21 UTC - in response to Message 62881.  

I am on fglrx, I assume:

cat /etc/X11/xorg.conf
Section "ServerLayout"
	Identifier     "aticonfig Layout"
	Screen      0  "aticonfig-Screen[0]-0" 0 0
EndSection

Section "Module"
EndSection

Section "Monitor"
	Identifier   "aticonfig-Monitor[0]-0"
	Option	    "VendorName" "ATI Proprietary Driver"
	Option	    "ModelName" "Generic Autodetecting Monitor"
	Option	    "DPMS" "true"
EndSection

Section "Device"
	Identifier  "aticonfig-Device[0]-0"
	Driver      "fglrx"
	BusID       "PCI:1:0:0"
EndSection

Section "Screen"
	Identifier "aticonfig-Screen[0]-0"
	Device     "aticonfig-Device[0]-0"
	Monitor    "aticonfig-Monitor[0]-0"
	DefaultDepth     24
	SubSection "Display"
		Viewport   0 0
		Depth     24
	EndSubSection
EndSection

ID: 62893 · Report as offensive
d4yw41k3r

Send message
Joined: 27 Mar 15
Posts: 7
Germany
Message 62894 - Posted: 3 Jul 2015, 6:45:01 UTC - in response to Message 62893.  

OK, I tried to reinstall all the BOINC packets (I found out that fglrx-updates wasn't installed) and here I got the following error:

E: /var/cache/apt/archives/fglrx-updates-core_2%3a15.200-0ubuntu0.3_amd64.deb: Versuch, »/usr/bin/clinfo« zu überschreiben, welches auch in Paket clinfo 0.0.20130513-1 ist

(system tried to overwrite /usr/bin/clinfo which is also included in Paket clinfo 0.0.20130513-1)

Whut??!
ID: 62894 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 62899 - Posted: 3 Jul 2015, 15:23:08 UTC - in response to Message 62894.  

It means both fglrx-updates-core and clinfo packages provide /usr/bin/clinfo. Just uninstall clinfo package.
ID: 62899 · Report as offensive

Message boards : Questions and problems : BOINC on Ubuntu: No OpenCL with Radeon HD 7850

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.