Message boards : GPUs : BOINC can't detect RX 480
Message board moderation
Author | Message |
---|---|
Send message Joined: 7 Jul 17 Posts: 16 ![]() |
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? |
Send message Joined: 20 Nov 12 Posts: 801 ![]() |
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. |
Send message Joined: 7 Jul 17 Posts: 16 ![]() |
https://www.dropbox.com/s/r89khatx2k8dz7p/stderrgpudetect.txt?dl=0 here's a link to the err file, and https://www.dropbox.com/s/y30d10fz23csd8c/stdoutgpudetect.txt?dl=0 here's the out. |
Send message Joined: 20 Nov 12 Posts: 801 ![]() |
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. |
![]() Send message Joined: 29 Aug 05 Posts: 15532 ![]() |
@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. |
Send message Joined: 20 Nov 12 Posts: 801 ![]() |
@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. |
![]() Send message Joined: 29 Aug 05 Posts: 15532 ![]() |
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. |
Send message Joined: 7 Jul 17 Posts: 16 ![]() |
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? |
Send message Joined: 20 Nov 12 Posts: 801 ![]() |
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. |
Send message Joined: 7 Jul 17 Posts: 16 ![]() |
ok, I might be getting a new boot drive soon so if so I'll just reinstall Fedora stable and try again. thanks! |
![]() ![]() Send message Joined: 30 May 15 Posts: 265 ![]() |
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. |
Send message Joined: 7 Jul 17 Posts: 16 ![]() |
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? |
Send message Joined: 20 Nov 12 Posts: 801 ![]() |
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... :) |
Send message Joined: 7 Jul 17 Posts: 16 ![]() |
I have tried this kernel actually, and it works!! so many GPU queues in BOINC now, so I can contribute to a better extent. |
Send message Joined: 7 Jul 17 Posts: 16 ![]() |
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? |
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.