BOINC can't detect RX 480

Message boards : GPUs : BOINC can't detect RX 480
Message board moderation

To post messages, you must log in.

AuthorMessage
djspacewhale

Send message
Joined: 7 Jul 17
Posts: 16
United States
Message 79496 - Posted: 7 Jul 2017, 3:53:55 UTC

running Fedora Rawhide 64-bit; BOINC version 7.6.22-7
event log:
Thu 06 Jul 2017 09:43:50 PM MDT |  | cc_config.xml not found - using defaults
Thu 06 Jul 2017 09:44:12 PM MDT |  | Starting BOINC client version 7.6.22 for x86_64-pc-linux-gnu
Thu 06 Jul 2017 09:44:12 PM MDT |  | log flags: file_xfer, sched_ops, task
Thu 06 Jul 2017 09:44:12 PM MDT |  | Libraries: libcurl/7.54.1 OpenSSL/1.1.0f zlib/1.2.11 libidn2/2.0.2 libpsl/0.17.0 (+libidn2/0.16) libssh2/1.8.0 nghttp2/1.24.0
Thu 06 Jul 2017 09:44:12 PM MDT |  | Running as a daemon
Thu 06 Jul 2017 09:44:12 PM MDT |  | Data directory: /var/lib/boinc
Thu 06 Jul 2017 09:47:35 PM MDT |  | GPU detection failed. error code 49408
Thu 06 Jul 2017 09:47:35 PM MDT |  | No usable GPUs found
Thu 06 Jul 2017 09:47:41 PM MDT |  | Host name: localhost.localdomain
Thu 06 Jul 2017 09:47:41 PM MDT |  | Processor: 4 GenuineIntel Intel(R) Core(TM) i5-6600K CPU @ 3.50GHz [Family 6 Model 94 Stepping 3]
Thu 06 Jul 2017 09:47:41 PM MDT |  | 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 art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc cpuid aperfmperf tsc_known_freq pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch cpuid_fault epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 xsaves dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp
Thu 06 Jul 2017 09:47:41 PM MDT |  | OS: Linux: 4.12.0-0.rc7.git2.1.fc27.x86_64
Thu 06 Jul 2017 09:47:41 PM MDT |  | Memory: 15.52 GB physical, 7.84 GB virtual
Thu 06 Jul 2017 09:47:41 PM MDT |  | Disk: 49.09 GB total, 8.20 GB free
Thu 06 Jul 2017 09:47:41 PM MDT |  | Local time is UTC -6 hours

error 49408 doesn't show up in any Google searches... I added AMDAPPSDK to BOINC's runtime environment in the system file, but other than that this is an unedited BOINC version. help?
ID: 79496 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 79502 - Posted: 7 Jul 2017, 19:03:04 UTC - in response to Message 79496.  

49408 is status from waitpid() system call. Decoded it means process exited with exit status 193 which in turn is defined in BOINC as EXIT_SIGNAL with a comment "app was killed by signal".

So the GPU detection probably crashed. There might be std{out,err}gpudetect.txt files in /var/lib/boinc which may contain more information.
ID: 79502 · Report as offensive
djspacewhale

Send message
Joined: 7 Jul 17
Posts: 16
United States
Message 79504 - Posted: 7 Jul 2017, 21:12:19 UTC - in response to Message 79502.  
Last modified: 7 Jul 2017, 21:28:34 UTC

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

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 79506 - Posted: 8 Jul 2017, 15:47:52 UTC - in response to Message 79504.  

Thanks. There was indeed crash when detecting Intel GPU. I don't know if the fault is in Beignet (Intel GPU OpenCL driver) or LLVM (used by Beignet). You might want to file a bug report for the crash.

Anyway, Intel GPU is rather weak and usually slows down tasks running on the CPU more than is gained from running GPU tasks. It's probably better to just uninstall Beignet.
ID: 79506 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15477
Netherlands
Message 79508 - Posted: 8 Jul 2017, 16:45:01 UTC - in response to Message 79506.  

@Juha, an RX480 is an AMD GPU.
@OP, usually when the GPU cannot be detected it's a driver problem. Including when it gives that error message.
Question though, does that machine only have an AMD GPU, or also another brand GPU? You may be required to install drivers for those as well, and then just decide not to use them.
ID: 79508 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 79510 - Posted: 8 Jul 2017, 20:22:35 UTC - in response to Message 79508.  

@Juha, an RX480 is an AMD GPU.


Yep. OpenCL detection works by the client asking libOpenCL.so (or OpenCL.dll) for a list of platforms (sort of drivers) and then asking what devices each platforms has. libOpenCL can list the platforms in any order it likes. If Beignet is listed before AMD and asking Beignet for devices crashes the client then you'll be left with no devices.

I don't know what happens if AMD is listed first and detected properly and then the client crashes. Will AMD be used or will any failure result in no devices used.
ID: 79510 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15477
Netherlands
Message 79512 - Posted: 8 Jul 2017, 21:39:44 UTC - in response to Message 79510.  

I don't know what happens if AMD is listed first and detected properly and then the client crashes. Will AMD be used or will any failure result in no devices used.
I would assume that neither device will be listed, because it's the OpenCL detection that crashes.
ID: 79512 · Report as offensive
djspacewhale

Send message
Joined: 7 Jul 17
Posts: 16
United States
Message 79514 - Posted: 9 Jul 2017, 1:34:45 UTC - in response to Message 79512.  

I have the iGPU on the Intel chip and the RX 480 discrete. as this is Fedora and closed source doesn't really play nice with anything I have installed, I'm running the latest beta of the mesa drivers. someone said on another forum they may not have OpenCL?
ID: 79514 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 79519 - Posted: 9 Jul 2017, 19:35:35 UTC - in response to Message 79514.  

There is Mesa OpenCL and some people have used it successfully. It isn't easy to find information about which GPUs it fully supports.

But you really need to address the problem with Beignet first. Keep in mind that beta distros are beta for a reason, the packages may be incompatible with each other. You might have better luck with a stable distro, or might not.
ID: 79519 · Report as offensive
djspacewhale

Send message
Joined: 7 Jul 17
Posts: 16
United States
Message 79521 - Posted: 9 Jul 2017, 20:34:27 UTC - in response to Message 79519.  

ok, I might be getting a new boot drive soon so if so I'll just reinstall Fedora stable and try again. thanks!
ID: 79521 · Report as offensive
Profile Agentb
Avatar

Send message
Joined: 30 May 15
Posts: 265
United Kingdom
Message 79525 - Posted: 10 Jul 2017, 22:28:04 UTC - in response to Message 79521.  

ROCm is probably worth looking at. If i had some time i might try to get it working. There are some articles on phoronix about it.

I am not clear why you are not running boinc 7.6.33, GPU detection is more forgiving in recent versions.
ID: 79525 · Report as offensive
djspacewhale

Send message
Joined: 7 Jul 17
Posts: 16
United States
Message 79526 - Posted: 11 Jul 2017, 5:19:49 UTC - in response to Message 79525.  

it's much more convenient for me to just use the package manager and let it deal with software stuff when possible - it gets rid of conflicts and just reduces headaches. looking at ROCm, it's running linux 4.9? when's it last been updated, and would this http://copr-fe.cloud.fedoraproject.org/coprs/mystro256/amd-mainline-kernel/ kernel with AMDGPU-PRO implementations for OpenCL work for single gpu?
ID: 79526 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 801
Finland
Message 79597 - Posted: 13 Jul 2017, 20:27:05 UTC - in response to Message 79526.  

http://copr-fe.cloud.fedoraproject.org/coprs/mystro256/amd-mainline-kernel/ kernel with AMDGPU-PRO implementations for OpenCL work for single gpu?


Well, it would be easiest if someone just tried it. And since you are already running Fedora... :)
ID: 79597 · Report as offensive
djspacewhale

Send message
Joined: 7 Jul 17
Posts: 16
United States
Message 79658 - Posted: 17 Jul 2017, 23:50:47 UTC - in response to Message 79597.  

I have tried this kernel actually, and it works!! so many GPU queues in BOINC now, so I can contribute to a better extent.
ID: 79658 · Report as offensive
djspacewhale

Send message
Joined: 7 Jul 17
Posts: 16
United States
Message 79720 - Posted: 22 Jul 2017, 0:59:33 UTC - in response to Message 79658.  
Last modified: 22 Jul 2017, 1:48:27 UTC

I checked the log recently because none of my GPU work has left the queue, and I'm getting errors on my OpenCL libs:
E: fatal error: cannot open file '/usr/lib64/clc//polaris10-amdgcn-mesa-mesa3d.bc': No such file or directory

anyone know what this is?
ID: 79720 · Report as offensive

Message boards : GPUs : BOINC can't detect RX 480

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.