Linux mesa driver is now detected by BOINC, but no work sent. Why?

Message boards : Number crunching : Linux mesa driver is now detected by BOINC, but no work sent. Why?
Message board moderation

To post messages, you must log in.

AuthorMessage
siu77
Volunteer tester

Send message
Joined: 18 Apr 14
Posts: 7
Credit: 855,127
RAC: 4
Message 1861898 - Posted: 16 Apr 2017, 17:49:07 UTC

Client works fine with fglrx driver, but with mesa - no reaction.

A bit of starting log:
Вс 16 апр 2017 20:15:07 |  | Starting BOINC client version 7.6.33 for x86_64-pc-linux-gnu
Вс 16 апр 2017 20:15:07 |  | log flags: file_xfer, sched_ops, task
Вс 16 апр 2017 20:15:07 |  | Libraries: libcurl/7.52.1 OpenSSL/1.0.2k zlib/1.2.8 libidn2/0.16 libpsl/0.17.0 (+libidn2/0.16) libssh2/1.7.0 nghttp2/1.18.1 librtmp/2.3
Вс 16 апр 2017 20:15:07 |  | OpenCL: AMD/ATI GPU 0: AMD BONAIRE (DRM 2.48.0 / 4.9.0-2-amd64, LLVM 3.9.1) (driver version 13.0.6, device version OpenCL 1.1 Mesa 13.0.6, 2048MB, 2048MB available, 1232 GFLOPS peak)
Вс 16 апр 2017 20:15:07 |  | OpenCL CPU: pthread-Intel(R) Celeron(R) CPU G1820 @ 2.70GHz (OpenCL driver vendor: The pocl project, driver version 0.13, device version OpenCL 2.0 pocl)
Вс 16 апр 2017 20:15:07 |  | Processor: 2 GenuineIntel Intel(R) Celeron(R) CPU G1820 @ 2.70GHz [Family 6 Model 60 Stepping 3]
Вс 16 апр 2017 20:15:07 |  | OS: Linux: 4.9.0-2-amd64


OS: Debian testing.
ID: 1861898 · Report as offensive
Profile MagicEye
Volunteer tester
Avatar

Send message
Joined: 19 Sep 99
Posts: 70
Credit: 40,327,877
RAC: 75
Germany
Message 1862878 - Posted: 22 Apr 2017, 10:15:43 UTC - in response to Message 1861898.  

Have you found a solution?

I have teh same problem with ubuntu17.04 and a RX460.
The GPU is found but i dont get workunits
ID: 1862878 · Report as offensive
Profile petri33
Volunteer tester

Send message
Joined: 6 Jun 02
Posts: 1668
Credit: 623,086,772
RAC: 156
Finland
Message 1862880 - Posted: 22 Apr 2017, 10:34:37 UTC

do you have a cc_config.xml file in your BOINC directory and use_all_gpus setting set to 1 since you have intel gpu also.

<cc_config>
<options>
<use_all_gpus>1</use_all_gpus>
</options>
</cc_config>
To overcome Heisenbergs:
"You can't always get what you want / but if you try sometimes you just might find / you get what you need." -- Rolling Stones
ID: 1862880 · Report as offensive
Claggy
Volunteer tester

Send message
Joined: 5 Jul 99
Posts: 4654
Credit: 47,537,079
RAC: 4
United Kingdom
Message 1863459 - Posted: 24 Apr 2017, 12:15:29 UTC

Linux mesa driver is now detected by BOINC, but no work sent. Why?

Because the GPU details don't match what the app planclass requirements require, and there isn't a planclass for mesa drivers yet.

Have you found a solution?

Run a suitable application by using anonymous platform, you overide the planclass requirements there,
But since few or any people have tried the apps on the mesa driver, i suggest you try running it at Seti Beta first, and post the results there about it.

Claggy
ID: 1863459 · Report as offensive
Profile MagicEye
Volunteer tester
Avatar

Send message
Joined: 19 Sep 99
Posts: 70
Credit: 40,327,877
RAC: 75
Germany
Message 1864382 - Posted: 28 Apr 2017, 20:07:45 UTC

I tried all other projects that have GPU workunits.
ALL units were aborted after some seconds with different errors.

So i think the mesa openCL1.1 is too old and or not usuable for Boinc.

The RX460 is now in another PC, where Ubuntu16.04 is running and with the AMDGPU-pro driver everything is fine. Its also a little bit old OpenCL, but 1.2 seems to be enough.

For Ubuntu17.04 i have to use nvidia.
ID: 1864382 · Report as offensive
Profile Raistmer
Volunteer developer
Volunteer tester
Avatar

Send message
Joined: 16 Jun 01
Posts: 6325
Credit: 106,370,077
RAC: 121
Russia
Message 1864402 - Posted: 28 Apr 2017, 21:45:15 UTC - in response to Message 1864382.  


So i think the mesa openCL1.1 is too old and or not usuable for Boinc.

Non-conformant OpenCL implementation, to be precise.
SETI app compatible with OpenCL 1.0 and up conformant implementations/runtimes.
SETI apps news
We're not gonna fight them. We're gonna transcend them.
ID: 1864402 · Report as offensive
Profile jay_e

Send message
Joined: 6 Apr 03
Posts: 62
Credit: 1,072,112
RAC: 0
United States
Message 1869670 - Posted: 26 May 2017, 23:17:53 UTC

Greetings.

I would like to figure out how I got OpenCL to run on on Ubuntu with Mesa.
I'm having trouble doing it again.

somehow, I got OpenCL2.1

A Linux box running Ubuntu Release 16.10 (Yakkety Yak) 64-bit
(now) Kernel Linux 4.8.0-52-generic x86_64
MATE 1.16.0

( *believe* I installed this on March 01,2017 (from apt.log))
The BOINC Log says
Fri 26 May 2017 05:11:23 AM EDT |  | Starting BOINC client version 7.6.33 for x86_64-pc-linux-gnu
Fri 26 May 2017 05:11:23 AM EDT |  | log flags: file_xfer, sched_ops, task
Fri 26 May 2017 05:11:23 AM EDT |  | Libraries: libcurl/7.50.1 OpenSSL/1.0.2g zlib/1.2.8 libidn/1.33 librtmp/2.3
Fri 26 May 2017 05:11:23 AM EDT |  | Data directory: /var/lib/boinc-client
Fri 26 May 2017 05:11:23 AM EDT |  | OpenCL: AMD/ATI GPU 0: AMD CAPE VERDE (DRM 2.46.0 / 4.8.0-52-generic, LLVM 4.0.1) (driver version 17.2.0-devel, device version OpenCL 1.1 Mesa 17.2.0-devel, 2048MB, 2048MB available, 512 GFLOPS peak)
Fri 26 May 2017 05:11:23 AM EDT |  | Host name: pc-14-large
Fri 26 May 2017 05:11:23 AM EDT |  | Processor: 8 AuthenticAMD AMD FX(tm)-8150 Eight-Core Processor [Family 21 Model 1 Stepping 2]
Fri 26 May 2017 05:11:23 AM EDT |  | 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 eagerfpu 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 cpb hw_pstate vmmcall arat npt lbrv svm_lock nrip_save tsc_scale vmcb_clean flushbyasid decodeassists pausefilter pfthreshold
Fri 26 May 2017 05:11:23 AM EDT |  | OS: Linux: 4.8.0-52-generic
Fri 26 May 2017 05:11:23 AM EDT |  | Memory: 11.64 GB physical, 48.83 GB virtual
Fri 26 May 2017 05:11:23 AM EDT |  | Disk: 134.57 GB total, 126.40 GB free
Fri 26 May 2017 05:11:23 AM EDT |  | Local time is UTC -4 hours
Fri 26 May 2017 05:11:23 AM EDT |  | Config: GUI RPCs allowed from:
Fri 26 May 2017 05:11:23 AM EDT | Einstein@Home | URL http://einstein.phys.uwm.edu/; Computer ID 12201025; resource share 5
Fri 26 May 2017 05:11:23 AM EDT | SETI@home | URL http://setiathome.berkeley.edu/; Computer ID 8268458; resource share 5
Fri 26 May 2017 05:11:23 AM EDT | World Community Grid | URL http://www.worldcommunitygrid.org/; Computer ID 3197561; resource share 95

clinfo
sudo clinfo
Number of platforms                               1
  Platform Name                                   Clover
  Platform Vendor                                 Mesa
  Platform Version                                OpenCL 1.1 Mesa 17.2.0-devel
  Platform Profile                                FULL_PROFILE
  Platform Extensions                             cl_khr_icd
  Platform Extensions function suffix             MESA

  Platform Name                                   Clover
Number of devices                                 1
  Device Name                                     AMD CAPE VERDE (DRM 2.46.0 / 4.8.0-52-generic, LLVM 4.0.1)
  Device Vendor                                   AMD
  Device Vendor ID                                0x1002
  Device Version                                  OpenCL 1.1 Mesa 17.2.0-devel
  Driver Version                                  17.2.0-devel
  Device OpenCL C Version                         OpenCL C 1.1 
  Device Type                                     GPU
  Device Profile                                  FULL_PROFILE
  Max compute units                               8
  Max clock frequency                             800MHz
  Max work item dimensions                        3
  Max work item sizes                             256x256x256
  Max work group size                             256
  Preferred work group size multiple              64
  Preferred / native vector sizes                 
    char                                                16 / 16      
    short                                                8 / 8       
    int                                                  4 / 4       
    long                                                 2 / 2       
    half                                                 0 / 0        (n/a)
    float                                                4 / 4       
    double                                               2 / 2        (cl_khr_fp64)
  Half-precision Floating-point support           (n/a)
  Single-precision Floating-point support         (core)
    Denormals                                     No
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 No
    Round to infinity                             No
    IEEE754-2008 fused multiply-add               No
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  No
  Double-precision Floating-point support         (cl_khr_fp64)
    Denormals                                     Yes
    Infinity and NANs                             Yes
    Round to nearest                              Yes
    Round to zero                                 Yes
    Round to infinity                             Yes
    IEEE754-2008 fused multiply-add               Yes
    Support is emulated in software               No
    Correctly-rounded divide and sqrt operations  No
  Address bits                                    64, Little-Endian
  Global memory size                              2147483648 (2GiB)
  Error Correction support                        No
  Max memory allocation                           1503238553 (1.4GiB)
  Unified memory for Host and Device              Yes
  Minimum alignment for any data type             128 bytes
  Alignment of base address                       1024 bits (128 bytes)
  Global Memory cache type                        None
  Image support                                   No
  Local memory type                               Local
  Local memory size                               32768 (32KiB)
  Max constant buffer size                        1503238553 (1.4GiB)
  Max number of constant args                     16
  Max size of kernel argument                     1024
  Queue properties                                
    Out-of-order execution                        No
    Profiling                                     Yes
  Profiling timer resolution                      0ns
  Execution capabilities                          
    Run OpenCL kernels                            Yes
    Run native kernels                            No
  Device Available                                Yes
  Compiler Available                              Yes
  Device Extensions                               cl_khr_global_int32_base_atomics cl_khr_global_int32_extended_atomics cl_khr_local_int32_base_atomics cl_khr_local_int32_extended_atomics cl_khr_byte_addressable_store cl_khr_fp64

NULL platform behavior
  clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...)  Clover
  clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...)   Success [MESA]
  clCreateContext(NULL, ...) [default]            Success [MESA]
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU)  Success (1)
    Platform Name                                 Clover
    Device Name                                   AMD CAPE VERDE (DRM 2.46.0 / 4.8.0-52-generic, LLVM 4.0.1)
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ACCELERATOR)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_CUSTOM)  No devices found in platform
  clCreateContextFromType(NULL, CL_DEVICE_TYPE_ALL)  Success (1)
    Platform Name                                 Clover
    Device Name                                   AMD CAPE VERDE (DRM 2.46.0 / 4.8.0-52-generic, LLVM 4.0.1)

ICD loader properties
  ICD loader Name                                 OpenCL ICD Loader
  ICD loader Vendor                               OCL Icd free software
  ICD loader Version                              2.2.9
  ICD loader Profile                              OpenCL 2.1


I can crunch seti and einstein GPUs without error

from the Ubuntu repositories, I can see installed:
i  libegl1-mesa - free implementation of the EGL API -- runtime
i  libegl1-mesa-drivers - transitional dummy package
i  libgl1-mesa-dri - free implementation of the OpenGL API -- DRI modules
i  libgl1-mesa-glx - free implementation of the OpenGL API -- GLX runtime
i  libglapi-mesa - free implementation of the GL API -- shared library
i  libgles1-mesa - free implementation of the OpenGL|ES 1.x API -- runtime
i  libgles2-mesa - free implementation of the OpenGL|ES 2.x API -- runtime
i  libglu1-mesa - Mesa OpenGL utility library (GLU)
i  libwayland-egl1-mesa - implementation of the Wayland EGL platform -- runtime
i  mesa-opencl-icd - free implementation of the OpenCL API -- ICD runtime
i  mesa-utils - Miscellaneous Mesa GL utilities
i  mesa-va-drivers - Mesa VA-API video acceleration drivers

and
i A ocl-icd-libopencl1 - Generic OpenCL ICD Loader
ID: 1869670 · Report as offensive

Message boards : Number crunching : Linux mesa driver is now detected by BOINC, but no work sent. Why?


 
©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.