Questions and Answers :
GPU applications :
Boinaire not found under Linux
Message board moderation
Author | Message |
---|---|
TJL Send message Joined: 4 Jun 99 Posts: 11 Credit: 116,290,480 RAC: 628 |
I have an ATI 7790 (Bonaire), and Boinc seems not to find it. Under Scientific Linux (RHEL) 7, I get the following: 12/7/2014 7:12:30 PM | | Starting BOINC client version 7.2.42 for x86_64-pc-linux-gnu 12/7/2014 7:12:30 PM | | log flags: file_xfer, sched_ops, task, coproc_debug 12/7/2014 7:12:30 PM | | Libraries: libcurl/7.29.0 NSS/3.15.4 zlib/1.2.7 libidn/1.28 libssh2/1.4.3 12/7/2014 7:12:30 PM | | Data directory: /var/lib/boinc 12/7/2014 7:12:30 PM | | [coproc] launching child process at /usr/bin/boinc_client 12/7/2014 7:12:30 PM | | [coproc] relative to directory / 12/7/2014 7:12:30 PM | | [coproc] with data directory /var/lib/boinc 12/7/2014 7:12:30 PM | | OpenCL CPU: Intel(R) Core(TM)2 Quad CPU Q8200 @ 2.33GHz (OpenCL driver vendor: Advanced Micro Devices, Inc., driver version 1573.4 (sse2), device version OpenCL 1.2 AMD-APP (1573.4)) 12/7/2014 7:12:30 PM | | No NVIDIA library found 12/7/2014 7:12:30 PM | | calInit() returned 1 12/7/2014 7:12:30 PM | | OpenCL library present but no OpenCL-capable GPUs found 12/7/2014 7:12:30 PM | | No usable GPUs found This is with fglrx-14.301.1001 lsmod | grep fg shows: fglrx 9521991 51 amd_iommu_v2 19054 1 fglrx lspci | grep VGA shows: 01:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Bonaire XT [Radeon HD 7790/8770 / R9 260 OEM] I used to get a message that the OpenCL library was not found, which was fixed by symlinking libOpenCL.so.1 to libOpenCL.so. The "Debian/Ubuntu/Mint/Derivatives - GPU recognition fixes" thread isn't exactly relevant, but waiting for X to start before starting BOINC has no effect, and xhost+ before starting BOINC has no effect. One hint is that clinfo shows the CPU, but not any GPUs. I have not installed the SDK; I shouldn't need it, right? What is my next step? |
Jord Send message Joined: 9 Jun 99 Posts: 15184 Credit: 4,362,181 RAC: 3 |
This is with fglrx-14.301.1001 Which according to AMD's release notes and its download page lacks the CAL and OpenCL components. It is only the display driver. I have not installed the SDK; I shouldn't need it, right? According to the APP SDK download page, yes you need it. Else you miss the necessary driver components and libraries. |
TJL Send message Joined: 4 Jun 99 Posts: 11 Credit: 116,290,480 RAC: 628 |
Done. I also removed the links to libOpenCL.so, as they are no longer necessary. However, there has been no change in the behavior. This is with fglrx-14.301.1001 Where did you see this? I can't find it, and I even did a search for OpenCL on those pages. |
TJL Send message Joined: 4 Jun 99 Posts: 11 Credit: 116,290,480 RAC: 628 |
I've made a few changes. First, a new Catalyst Driver came out today. I've also played with xhost+ and exporting COMPUTE:=0, and I can now get clinfo to spot the GPU, and HelloWorld in the SDK runs. I've added clinfo to /usr/lib/systemd/system/boinc-client.service in the ExecStartPre immediately before boinc is started. The output indicates that right before boinc starts, the script sees the GPU. However, I get the same message from the boinc log - "No useable GPUs found". |
TJL Send message Joined: 4 Jun 99 Posts: 11 Credit: 116,290,480 RAC: 628 |
Thanks for your help. It works now. What I ended up doing was uninstalling fglrx and the SDK and then reinstalling. I modified the service section of /usr/lib/systemd/system/boinc-client.service: [Service] Nice=10 User=boinc PermissionsStartOnly=yes Environment=DISPLAY=:0 ExecStartPre=/bin/sleep 6 ExecStartPre=/usr/bin/touch /var/log/boinc.log /var/log/boincerr.log ExecStartPre=/usr/bin/chown boinc:boinc /var/log/boinc.log /var/log/boincerr.log ExecStartPre=/usr/bin/chmod -R 777 /proc/ati ExecStartPre=/usr/bin/xhost si:localuser:boinc ExecStart=/usr/bin/boinc --dir /var/lib/boinc ExecReload=/usr/bin/boinccmd --read_cc_config ExecStopPost=/bin/rm -f /var/lib/boinc/lockfile and it now works. |
Jord Send message Joined: 9 Jun 99 Posts: 15184 Credit: 4,362,181 RAC: 3 |
Thanks for your help. lol, not that I did much. It was all your own work. :) |
©2024 University of California
SETI@home and Astropulse are funded by grants from the National Science Foundation, NASA, and donations from SETI@home volunteers. AstroPulse is funded in part by the NSF through grant AST-0307956.