Boinc is unable to find GPU using open source ATI/AMD radeon driver

Message boards : GPUs : Boinc is unable to find GPU using open source ATI/AMD radeon driver
Message board moderation

To post messages, you must log in.

AuthorMessage
Jon Scott

Send message
Joined: 9 Jan 15
Posts: 6
United Kingdom
Message 59432 - Posted: 9 Jan 2015, 14:58:57 UTC
Last modified: 9 Jan 2015, 15:21:21 UTC

The tile pretty much states what the issue is.

Here is my system spec...

# rpm -qa | grep boinc
boinc-client-7.2.42-2.1.5.x86_64
libboinc7-7.2.42-2.1.5.x86_64
boinc-manager-7.2.42-2.1.5.x86_64
# lspci | grep 7850
02:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Pitcairn PRO [Radeon HD 7850]

I'm using the open source radeon driver, but unfortunately boinc isn't recognising the card.

Fri Jan 9 13:42:58 2015 | | cc_config.xml not found - using defaults
Fri Jan 9 13:42:58 2015 | | Starting BOINC client version 7.2.42 for x86_64-pc-linux-gnu
Fri Jan 9 13:42:58 2015 | | log flags: file_xfer, sched_ops, task
Fri Jan 9 13:42:58 2015 | | Libraries: libcurl/7.38.0 OpenSSL/1.0.1j zlib/1.2.8 libidn/1.28 libssh2/1.4.3
Fri Jan 9 13:42:58 2015 | | Data directory: /var/lib/boinc
Fri Jan 9 13:42:58 2015 | | No usable GPUs found
Fri Jan 9 13:42:58 2015 | | Host name: Robin
Fri Jan 9 13:42:58 2015 | | Processor: 24 GenuineIntel Intel(R) Xeon(R) CPU X5650 @ 2.67GHz [Family 6 Model 44 Stepping 2]
Fri Jan 9 13:42:58 2015 | | Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf pni pclmulqdq dtes64 monitor ds_cpl vmx smx est tm2 ssse3 cx16 xtpr pdcm pcid dca sse4_1 sse4_2 popcnt aes lahf_lm ida arat epb dtherm tpr_shadow vnmi flexpriority ept vpid
Fri Jan 9 13:42:58 2015 | | OS: Linux: 3.16.7-7-desktop
Fri Jan 9 13:42:58 2015 | | Memory: 47.20 GB physical, 2.01 GB virtual
Fri Jan 9 13:42:58 2015 | | Disk: 80.00 GB total, 64.60 GB free
Fri Jan 9 13:42:58 2015 | | Local time is UTC +0 hours

From googling the subject I get the impression that the the radeon driver doesn't support boinc GPU jobs. Is this due to some missing libs? Such as libaticalrt.so and libopencl.so?

I'm unable to use the fglrx driver as gnome 3.14 is incompatible - http://navhaxs.au.eu.org/blog/2014/12/03/fglrx-gnome-shell/

Thanks in advance!
ID: 59432 · Report as offensive
Jon Scott

Send message
Joined: 9 Jan 15
Posts: 6
United Kingdom
Message 59433 - Posted: 9 Jan 2015, 15:16:12 UTC - in response to Message 59432.  
Last modified: 9 Jan 2015, 15:26:34 UTC

Where should those libraries be and where do they come from. Can I only get them from the fglrx packages?

# ls -l /etc | grep libaticalrt.so
#
# ls -l /etc | grep libopencl.so
#

What other ways do I have to get this to work?

Thanks!
ID: 59433 · Report as offensive
Jon Scott

Send message
Joined: 9 Jan 15
Posts: 6
United Kingdom
Message 59434 - Posted: 9 Jan 2015, 15:20:32 UTC - in response to Message 59433.  

Oh and this isn't the delay issue. If I restart boinc-client my GPU is still not found.
ID: 59434 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 59435 - Posted: 9 Jan 2015, 15:23:20 UTC

If you want full help, tell us at least which Linux distro you use.

The AMD HD7860 and HD7870 can be used by projects to run work on. But then it does need CAL or OpenCL detection, which is in the drivers. Drivers are normally found at the GPU manufacturer site, in this case http://support.amd.com/en-us/download (Desktop Graphics, Radeon HD, Radeon HD7xxx PCIe Series, and your OS of choice).
ID: 59435 · Report as offensive
Jon Scott

Send message
Joined: 9 Jan 15
Posts: 6
United Kingdom
Message 59437 - Posted: 9 Jan 2015, 15:27:42 UTC - in response to Message 59435.  
Last modified: 9 Jan 2015, 15:31:19 UTC

I'm running openSUSE 13.2.

And there is a bug that seems to cause my gnome session to fail if I install the fglrx driver. At the moment I'd like to know whether I can get this working without the proprietary AMD driver.
ID: 59437 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 59439 - Posted: 9 Jan 2015, 15:37:32 UTC - in response to Message 59437.  

Have you read https://en.opensuse.org/SDB:AMD_fglrx and https://en.opensuse.org/SDB:ATI_troubleshooting?

The AMD Linux Installer supports your OS.
ID: 59439 · Report as offensive
Jon Scott

Send message
Joined: 9 Jan 15
Posts: 6
United Kingdom
Message 59440 - Posted: 9 Jan 2015, 15:56:49 UTC - in response to Message 59439.  

Have you read https://en.opensuse.org/SDB:AMD_fglrx and https://en.opensuse.org/SDB:ATI_troubleshooting?

The AMD Linux Installer supports your OS.


I have seen both these pages, but currently gnome 3.14 causes issues with the fglrx driver. With my minimal knowledge, I have been trying to troubleshoot the problem, but a solution for the gnome/fglrx incompatibility is not really what I was looking for.

I was wondering if it was possible to get the GPU recognised by boinc using the radeon open source driver (xf86-video-ati-7.4.0-2.2.2.x86_64) and not the AMD catalyst proprietary driver (fglrx64_xpic_SUSE132 for openSUSE).

Having looked into this a fair amount over the last few weeks, I get the feeling it isn't possible, or at least not simple...
ID: 59440 · Report as offensive
Jon Scott

Send message
Joined: 9 Jan 15
Posts: 6
United Kingdom
Message 59441 - Posted: 9 Jan 2015, 16:00:39 UTC - in response to Message 59440.  

Unless anyone has any suggestions, I think I'm going to ditch gnome and use a different desktop env - KDE, Xfce & LXDE etc. Hopefully this will allow me to install the fglrx driver....
ID: 59441 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 59541 - Posted: 11 Jan 2015, 0:08:33 UTC

I found this on the Seti forums, may be of help.

I find that BOINC has difficulty accessing the X server for AMD GPUs.

xhost +si:localuser:boinc

This is supposed to enable X access for BOINC, but I have trouble getting it to work properly so I just disable access restrictions altogether.

xhost +

Restart BOINC after doing so and it should detect the GPU(s).

ID: 59541 · Report as offensive
Profile jay_e

Send message
Joined: 8 Mar 07
Posts: 115
United States
Message 59917 - Posted: 22 Jan 2015, 21:31:20 UTC - in response to Message 59541.  

Greetings!!

I hope I'm not too late for this thread.

I have been crunching Einstein and SETI on my AMD 7750 GPU for years.

Now, I rebuilt my PC with UbuntuGnome ( I was using Ubuntu Studio because I liked Xfce)
and both setI and Einstein won't work.
One of the BOINC event message about the OpenCL driver is missing.

I have forgotten *which* Ubuntu/Debian package to use.

Two general things:
1) previously, I did do sudo /etc/init.d/boinc-client restart
to get through the problem of finding libraries.
2) Other than that - and installing the right packages,
I did nothing else to get all crunching.

OK. Messages. I REALLY want to thank the people at Einstein for extra logs.

http://einstein5.aei.uni-hannover.de/EinsteinAtHome/host_sched_logs/11692/11692022

2015-01-22 16:09:12.5444 [PID=28318]    [version] Checking plan class 'BRP4G-opencl-ati'
2015-01-22 16:09:12.5445 [PID=28318]    [version] parsed project prefs setting 'gpu_util_brp': 1.000000
2015-01-22 16:09:12.5445 [PID=28318]    [version] ATI device (or driver)    doesn't support OpenCL   

and the BOINC Event log entries
Thu 22 Jan 2015 03:51:48 AM EST |  | Starting BOINC client version 7.4.37 for x86_64-pc-linux-gnu
Thu 22 Jan 2015 03:51:48 AM EST |  | log flags: file_xfer, sched_ops, task, gui_rpc_debug
Thu 22 Jan 2015 03:51:48 AM EST |  | Libraries: libcurl/7.38.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
Thu 22 Jan 2015 03:51:48 AM EST |  | Data directory: /var/lib/boinc-client
Thu 22 Jan 2015 03:51:48 AM EST |  | CAL: ATI GPU 0: AMD Radeon HD 7700 series (Capeverde) (CAL version 1.4.1848, 2048MB, 1805MB available, 2048 GFLOPS peak)
Thu 22 Jan 2015 03:51:48 AM EST |  | Host name: pc-14-large
Thu 22 Jan 2015 03:51:48 AM EST |  | Processor: 8 AuthenticAMD AMD FX(tm)-8150 Eight-Core Processor [Family 21 Model 1 Stepping 2]
Thu 22 Jan 2015 03:51:48 AM EST |  | Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx mmxext fxsr_opt pdpe1gb rdtscp lm constant_tsc rep_good nopl nonstop_tsc extd_apicid aperfmperf pni pclmulqdq monitor ssse3 cx16 sse4_1 sse4_2 popcnt aes xsave avx lahf_lm cmp_legacy svm extapic cr8_legacy abm sse4a misalignsse 3dnowprefetch osvw ibs xop skinit wdt lwp fma4 nodeid_msr topoext perfctr_core perfctr_nb arat cpb hw_pstate npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold vmmcall
Thu 22 Jan 2015 03:51:48 AM EST |  | OS: Linux: 3.18.0-9-generic
Thu 22 Jan 2015 03:51:48 AM EST |  | Memory: 11.64 GB physical, 14.65 GB virtual
Thu 22 Jan 2015 03:51:48 AM EST |  | Disk: 134.45 GB total, 126.42 GB free
Thu 22 Jan 2015 03:51:48 AM EST |  | Local time is UTC -5 hours


and packages
fglrx-updates

and I tried
boinc-amd-opencl

I avoided a conflict:
i fglrx-updates Depends fglrx-updates-core
i A fglrx-updates-core Conflicts libopencl1

so I don't have libopencl1.

If you can help me out, thanks!!!!

Jay
ID: 59917 · Report as offensive
dex

Send message
Joined: 23 Jan 15
Posts: 1
India
Message 59932 - Posted: 23 Jan 2015, 5:45:41 UTC - in response to Message 59917.  

jay
Did you try http://support.amd.com/en-us/download/desktop?os=Ubuntu%20x86%2064

( AMD Catalystâ„¢ 14.12 Proprietary Ubuntu 14.04 x86_64 Video Driver for Graphics Accelerators Devel Files (OGL, OCL) ) ?
ID: 59932 · Report as offensive
Profile jay_e

Send message
Joined: 8 Mar 07
Posts: 115
United States
Message 59948 - Posted: 24 Jan 2015, 6:23:53 UTC - in response to Message 59932.  

Hi Dex....
Hi-ho..

.. About 2 or 3 years ago....
I tried getting the AMD code and compiling.
Tried for about 3 weeks. Trying to get the correct dependencies with openCL
and the video driver(mesa) is a huge pain. I kept getting a blue screen on boot.
I found a blog from a developer that described all of the iterations
he took to get everything working together.


He released the fglrx and fglrx-udtates packages.
I then started with wiping the disk and re-installing all.

The fglrx-updates worked. So much easier than compiling & testing..
I have been crunching successfully on my GPU for over a year through Ubuntu and Debian distributions.

Have you been able to compile and install without breaking something else??
If so, what dependencies/versions did you have to install??
Did you use valgrind?

Currently, I'm trying to see if i can get Lubuntu 14.0 (Lxde) to work for me.
Their system digram showed AMD drivers and OpenCL in their system.

I was trying to get the WxWidgets fix - and am now taking 2 steps back - focusing on getting GPU to work without compiling or ppa

The following are installed:
fglrx-updates-dev (will remove and try without -dev)
fglrx-amdcccle-updates
libegl1-mesa
libegl1-mesa-drivers
libgl1-mesa-dri
libgl1-mesa-glx
libglapi-mesa
libgles2-mesa
libglu1-mesa
libopenvg1-mesa
libwayland-egl1-mesa
fglrx-amdcccle-updates
liblircclient0

I'm going through the /var/logs now and looking for an old problem- links needed to the .so

so far, I can only find an X11 error - it can't find fglrx.dri.so
maybe an X11 init command is needed??

Will sleep on it...
Jay

PS
Started using the BOINC that comes with the Distribution.
But boincclient-opencl was 7.2.42 - may have been incompatible with
the 7.4.37 thet came with LUbuntiu 14.0.4
ID: 59948 · Report as offensive
Profile jay_e

Send message
Joined: 8 Mar 07
Posts: 115
United States
Message 59949 - Posted: 24 Jan 2015, 7:52:30 UTC - in response to Message 59948.  

Success!
Boinc sees GPU.
Einstein (& seti) can crunch on GPU.

I had been trying different versions of Ubuntu to see which desktop suits my fancy.
I did not get GPU recognized on Gnome-Ubuntu.
Wiped disk and tried Lubuntu with Lxde.
Did not work at first.
I broke my rule of only testing 1 thing at a time.
Now, I'm not sure which fix was effective.
I believe it was removing boinc-client-fglrx.
but now, the delete and backspace keys don't work and the LxPanel does a segmentation fault at startup.

Oh well. 1 thing at a time.

so it looks like only fglrx-updates is needed to an ATI 7750 recognized by BOINC..

Hope someone else can use this - other than trying to Compile code from Radeon.

Jay
ID: 59949 · Report as offensive

Message boards : GPUs : Boinc is unable to find GPU using open source ATI/AMD radeon driver

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.