Message boards :
Number crunching :
version? gpu id? effect?
Message board moderation
Previous · 1 · 2 · 3 · 4 · Next
Author | Message |
---|---|
Fizz Send message Joined: 11 Jun 01 Posts: 52 Credit: 24,840,628 RAC: 0 |
Well, then how do they get installed properly? Because at the moment every diagnostic i've thrown at it indicates that they are installed. inxi -G and clinfo both indicate that the pro drivers are installed. -Fizz |
Keith Myers Send message Joined: 29 Apr 01 Posts: 13164 Credit: 1,160,866,277 RAC: 1,873 |
You are looking for the client to detect the gpu with the CUDA and OpenCL drivers detected at startup. I gave you the location of the file without having to use the Manager. https://setiathome.berkeley.edu/forum_thread.php?id=84636&postid=2012384 Seti@Home classic workunits:20,676 CPU time:74,226 hours A proud member of the OFA (Old Farts Association) |
Fizz Send message Joined: 11 Jun 01 Posts: 52 Credit: 24,840,628 RAC: 0 |
I found in the Software Manager a package called Boinc-client-opencl, a Metapackage for AMD/ATI OpenCL-savvy Boinc client and manager. Any chance this package is needed to make the thing work? -Fizz |
Keith Myers Send message Joined: 29 Apr 01 Posts: 13164 Credit: 1,160,866,277 RAC: 1,873 |
Instead of posting a snippet, post the full output of clinfo. Seti@Home classic workunits:20,676 CPU time:74,226 hours A proud member of the OFA (Old Farts Association) |
Keith Myers Send message Joined: 29 Apr 01 Posts: 13164 Credit: 1,160,866,277 RAC: 1,873 |
I found in the Software Manager a package called Boinc-client-opencl, a Metapackage for AMD/ATI OpenCL-savvy Boinc client and manager. Any chance this package is needed to make the thing work? That appears to be the upstream 7.16.1 client. It has dependencies that have to be supplied externally to the package. This might be what you need. Regular users (righteously) often find it an unbearable nuisance to care for the configuration of BOINC for the OpenCL-savvy AMD/ATI graphics cards. This package adds a series of dependencies from the non-free section to the regular boinc package. This also meant this binary package to be redistributed in the contrib section of Debian. dep: ocl-icd-libopencl1 Seti@Home classic workunits:20,676 CPU time:74,226 hours A proud member of the OFA (Old Farts Association) |
Fizz Send message Joined: 11 Jun 01 Posts: 52 Credit: 24,840,628 RAC: 0 |
I gave you the location of the file without having to use the Manager. Thanks, i did see that, but i should have clarified. I don't know where that file is because there is no such file in any boinc folder. I don't know where boinc is installed. When i did a global search for that file name, the only one found was in my home folder. There is no such file any where else. So that's why i re-asked. -Fizz |
Fizz Send message Joined: 11 Jun 01 Posts: 52 Credit: 24,840,628 RAC: 0 |
Instead of posting a snippet, post the full output of clinfo. Copy that. Full output below. Number of platforms 1 Platform Name AMD Accelerated Parallel Processing Platform Vendor Advanced Micro Devices, Inc. Platform Version OpenCL 2.1 AMD-APP (2906.7) Platform Profile FULL_PROFILE Platform Extensions cl_khr_icd cl_amd_event_callback cl_amd_offline_devices Platform Host timer resolution 1ns Platform Extensions function suffix AMD Platform Name AMD Accelerated Parallel Processing Number of devices 1 Device Name Ellesmere Device Vendor Advanced Micro Devices, Inc. Device Vendor ID 0x1002 Device Version OpenCL 1.2 AMD-APP (2906.7) Driver Version 2906.7 Device OpenCL C Version OpenCL C 1.2 Device Type GPU Device Board Name (AMD) AMD Radeon (TM) RX 470 Graphics Device Topology (AMD) PCI-E, 0b:00.0 Device Profile FULL_PROFILE Device Available Yes Compiler Available Yes Linker Available Yes Max compute units 32 SIMD per compute unit (AMD) 4 SIMD width (AMD) 16 SIMD instruction width (AMD) 1 Max clock frequency 1250MHz Graphics IP (AMD) 8.0 Device Partition (core) Max number of sub-devices 32 Supported partition types None Max work item dimensions 3 Max work item sizes 1024x1024x1024 Max work group size 256 Preferred work group size (AMD) 256 Max work group size (AMD) 1024 Preferred work group size multiple 64 Wavefront width (AMD) 64 Preferred / native vector sizes char 4 / 4 short 2 / 2 int 1 / 1 long 1 / 1 half 1 / 1 (cl_khr_fp16) float 1 / 1 double 1 / 1 (cl_khr_fp64) Half-precision Floating-point support (cl_khr_fp16) Denormals No Infinity and NANs No Round to nearest No Round to zero No Round to infinity No IEEE754-2008 fused multiply-add No Support is emulated in software No Single-precision Floating-point support (core) Denormals No 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 Yes 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 Address bits 64, Little-Endian Global memory size 8255352832 (7.688GiB) Global free memory (AMD) 8040108 (7.668GiB) Global memory channels (AMD) 8 Global memory banks per channel (AMD) 16 Global memory bank width (AMD) 256 bytes Error Correction support No Max memory allocation 4244635648 (3.953GiB) Unified memory for Host and Device No Minimum alignment for any data type 128 bytes Alignment of base address 2048 bits (256 bytes) Global Memory cache type Read/Write Global Memory cache size 16384 (16KiB) Global Memory cache line size 64 bytes Image support Yes Max number of samplers per kernel 16 Max size for 1D images from buffer 134217728 pixels Max 1D or 2D image array size 2048 images Base address alignment for 2D image buffers 256 bytes Pitch alignment for 2D image buffers 256 pixels Max 2D image size 16384x16384 pixels Max 3D image size 2048x2048x2048 pixels Max number of read image args 128 Max number of write image args 8 Local memory type Local Local memory size 32768 (32KiB) Local memory syze per CU (AMD) 65536 (64KiB) Local memory banks (AMD) 32 Max number of constant args 8 Max constant buffer size 4244635648 (3.953GiB) Preferred constant buffer size (AMD) 16384 (16KiB) Max size of kernel argument 1024 Queue properties Out-of-order execution No Profiling Yes Prefer user sync for interop Yes Profiling timer resolution 1ns Profiling timer offset since Epoch (AMD) 1568820510628995446ns (Wed Sep 18 11:28:30 2019) Execution capabilities Run OpenCL kernels Yes Run native kernels No Thread trace supported (AMD) Yes Number of async queues (AMD) 2 Max real-time compute queues (AMD) 0 Max real-time compute units (AMD) 111 SPIR versions 1.2 printf() buffer size 4194304 (4MiB) Built-in kernels Device Extensions cl_khr_fp64 cl_amd_fp64 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_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_fp16 cl_khr_gl_sharing cl_amd_device_attribute_query cl_amd_vec3 cl_amd_printf cl_amd_media_ops cl_amd_media_ops2 cl_amd_popcnt cl_khr_image2d_from_buffer cl_khr_spir cl_khr_gl_event NULL platform behavior clGetPlatformInfo(NULL, CL_PLATFORM_NAME, ...) No platform clGetDeviceIDs(NULL, CL_DEVICE_TYPE_ALL, ...) No platform clCreateContext(NULL, ...) [default] No platform clCreateContext(NULL, ...) [other] Success [AMD] clCreateContextFromType(NULL, CL_DEVICE_TYPE_DEFAULT) Success (1) Platform Name AMD Accelerated Parallel Processing Device Name Ellesmere clCreateContextFromType(NULL, CL_DEVICE_TYPE_CPU) No devices found in platform clCreateContextFromType(NULL, CL_DEVICE_TYPE_GPU) Success (1) Platform Name AMD Accelerated Parallel Processing Device Name Ellesmere 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 AMD Accelerated Parallel Processing Device Name Ellesmere |
Keith Myers Send message Joined: 29 Apr 01 Posts: 13164 Credit: 1,160,866,277 RAC: 1,873 |
I gave you the location of the file without having to use the Manager. For any distro installed BOINC, the BOINC files are always located at /var/lib/boinc-client Seti@Home classic workunits:20,676 CPU time:74,226 hours A proud member of the OFA (Old Farts Association) |
Keith Myers Send message Joined: 29 Apr 01 Posts: 13164 Credit: 1,160,866,277 RAC: 1,873 |
But I thought you had installed the TBar AIO version of BOINC. The BOINC folder in /home is where your files are located. Seti@Home classic workunits:20,676 CPU time:74,226 hours A proud member of the OFA (Old Farts Association) |
Richard Haselgrove Send message Joined: 4 Jul 99 Posts: 14674 Credit: 200,643,578 RAC: 874 |
That appears to be the upstream 7.16.1 client. It has dependencies that have to be supplied externally to the package. This might be what you need.Packages of that name have existed through many iterations of BOINC. It is possible that the one Fizz saw was the jumped-the-gun-released-before-testing version of that number, but it might have been an earlier version. |
TBar Send message Joined: 22 May 99 Posts: 5204 Credit: 840,779,836 RAC: 2,768 |
All I had to install was the driver from AMD. BTW, it's the Video driver that identifies the GPU for BOINC...same as on the Mac. It doesn't matter What OpenCL or Cuda driver you have installed, if BOINC doesn't see the GPU it's because of the Video driver. After installing/reinstalling the video driver a few times it's common to have some conflict somewhere. The easiest thing to do is to reinstall the OS. However, I've seen some people look for hours or even days trying to solve the conflict. If I can't fix it in under an hour, I install a new OS. |
Fizz Send message Joined: 11 Jun 01 Posts: 52 Credit: 24,840,628 RAC: 0 |
But I thought you had installed the TBar AIO version of BOINC. The BOINC folder in /home is where your files are located. No, i'm using the version of Boinc that came from their website. I noted TBar's AIO version, but wasn't under the impression it was required. And it wasn't stated where i can find that version anyways. Are you saying it definitely required to work with openCL? If so, where can it be found? I have a .BOINC (with the leading dot, so hidden) in my home folder. But it only contains two files, neither of which is the one you mentioned. -Fizz |
Keith Myers Send message Joined: 29 Apr 01 Posts: 13164 Credit: 1,160,866,277 RAC: 1,873 |
OK, you are running a distro repository version of BOINC. My mistake, I thought you were trying the AIO. Again, for the distro versions of BOINC, its files are located at /var/lib/boinc-client. Seti@Home classic workunits:20,676 CPU time:74,226 hours A proud member of the OFA (Old Farts Association) |
Fizz Send message Joined: 11 Jun 01 Posts: 52 Credit: 24,840,628 RAC: 0 |
[That appears to be the upstream 7.16.1 client. It has dependencies that have to be supplied externally to the package. This might be what you need. Well, i gave it a try and installed. But it doesn't appear to have made a difference. gpu is still not detected per the event log in Boinc Manager. -Fizz |
Fizz Send message Joined: 11 Jun 01 Posts: 52 Credit: 24,840,628 RAC: 0 |
Gads! I think i just found the issue. I've been playing around with various combinations. Currently, i'm using the 19.3 (i think) amdgpu (non pro) driver, and i have installed openCL using the --headless option. I had been on kernel 5.0, but on a whim i just reloaded with the 4.15 kernel. And now the event log is seeing the gpu: OpenCL: AMD/ATI GPU 0: AMD Radeon RX 470... yadda yadda. Much better than gpu not found. Heh. I'll give this some time and see if it updates my system on the server soon. So why would the kernel version make a difference? Doesn't the driver update just override that anyways? inxi -G now tells me the following: Graphics: Device-1: Advanced Micro Devices [AMD/ATI] Ellesmere [Radeon RX 470/480/570/570X/580/580X] driver: amdgpu v: kernel Display: x11 server: X.Org 1.20.4 driver: amdgpu unloaded: modesetting resolution: 2560x1080~60Hz OpenGL: renderer: AMD Radeon RX 470 Graphics (POLARIS10 DRM 3.23.0 4.15.0-64-generic LLVM 9.0.0) v: 4.5 Mesa 19.2.0-devel which indicates it's not the same driver as i had when i started this thread. -Fizz |
Keith Myers Send message Joined: 29 Apr 01 Posts: 13164 Credit: 1,160,866,277 RAC: 1,873 |
Yes, BOINC detected OpenCL drivers for the host and the card. The drivers could have been too new. Please check that your card actually processes work correctly here. I do know that the current OpenCL drivers do not report correct results at other projects currently with the 5700 cards. Same here at Seti. But your RX 570 card should be OK I believe. But do check your results are in consensus with your wingmen, preferably run on the cpu or on a recent Nvidia card. [Edit]Don't see any gpu tasks in your tasklist yet. In the Manager can you set the logging flag sched_op_debug and then look in the Event Log after a scheduler connection and report how many seconds of work each was requested for both cpu and gpu. Seti@Home classic workunits:20,676 CPU time:74,226 hours A proud member of the OFA (Old Farts Association) |
TimeLord04 Send message Joined: 9 Mar 06 Posts: 21140 Credit: 33,933,039 RAC: 23 |
Yes, BOINC detected OpenCL drivers for the host and the card. The drivers could have been too new. Please check that your card actually processes work correctly here. I do know that the current OpenCL drivers do not report correct results at other projects currently with the 5700 cards. Same here at Seti. But your RX 570 card should be OK I believe. But do check your results are in consensus with your wingmen, preferably run on the cpu or on a recent Nvidia card. Well, I'm NOT ANY kind of Linux expert; I'm barely a Novice... HOWEVER; in all my readings of various Linux Threads, I THOUGHT the "Mesa" Drivers DO NOT Crunch! His last Post indicates he's on Mesa! This WILL give him OpenGL, BUT NOT any usable OpenCL for Crunching... (Or am I wrong here...???...) TL TimeLord04 Have TARDIS, will travel... Come along K-9! Join Calm Chaos |
Keith Myers Send message Joined: 29 Apr 01 Posts: 13164 Credit: 1,160,866,277 RAC: 1,873 |
As far as I know you are correct. The MESA drivers do not work for compute. But I don't think that BOINC would show them in the detected output. Could be wrong here. I am not familiar with the output of inxi -G. I am more used to the output of clinfo. Which reminds me I have not seen the requested full output of clinfo from him. [Edit] Well see that BOINC is happy with his OpenCL as it is sending him work units for his RX470 card and he has returned results already that look like the app worked correctly. I see an app I hadn't seen before though 8.22 (opencl_atiapu_sah). Hope that doesn't mean it is only going to send an app meant for the Ryzen APU cpus. He has a R5-1600X which does not contain a graphics processor. Hope this is just the normal scheduler procedure of throwing all available apps at a new host. Eventually it should decide the SoG app is fastest. Then we can see about putting some more aggressive tuning parameters into play. https://setiathome.berkeley.edu/forum_thread.php?id=84209 Seti@Home classic workunits:20,676 CPU time:74,226 hours A proud member of the OFA (Old Farts Association) |
Wiggo Send message Joined: 24 Jan 00 Posts: 36395 Credit: 261,360,520 RAC: 489 |
Well Fizz has finally completed his 1st GPU task, https://setiathome.berkeley.edu/result.php?resultid=8059067020. Cheers. |
Fizz Send message Joined: 11 Jun 01 Posts: 52 Credit: 24,840,628 RAC: 0 |
I think you are correct. I only mentioned Mesa to indicate that i did have a newer set of drivers (i think from the amdgpu-install), rather than the base version from the the kernel. To get OpenCL, i had to run amdgpu-pro-install with the --headless parameter. That allowed me to keep the open drivers, but gave me the OpenCL support. -Fizz |
©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.