version? gpu id? effect?

Message boards : Number crunching : version? gpu id? effect?
Message board moderation

To post messages, you must log in.

Previous · 1 · 2 · 3 · 4 · Next

AuthorMessage
Fizz Project Donor

Send message
Joined: 11 Jun 01
Posts: 52
Credit: 24,840,628
RAC: 0
Canada
Message 2012419 - Posted: 18 Sep 2019, 14:25:33 UTC - in response to Message 2012412.  
Last modified: 18 Sep 2019, 14:25:57 UTC

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
ID: 2012419 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2012422 - Posted: 18 Sep 2019, 15:16:24 UTC - in response to Message 2012406.  

You are looking for the client to detect the gpu with the CUDA and OpenCL drivers detected at startup.

16-Sep-2019 16:13:03 [---] CUDA: NVIDIA GPU 0: GeForce RTX 2080 (driver version 435.21, CUDA version unknown, compute capability 7.5, 4096MB, 3966MB available, 10598 GFLOPS peak)
16-Sep-2019 16:13:03 [---] OpenCL: NVIDIA GPU 0: GeForce RTX 2080 (driver version 435.21, device version OpenCL 1.2 CUDA, 7982MB, 7982MB available, 10598 GFLOPS peak)


But where would i find that output? Boinc / Seti auto-starts in the background. I never see it tell me anything.

-Fizz

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)
ID: 2012422 · Report as offensive
Fizz Project Donor

Send message
Joined: 11 Jun 01
Posts: 52
Credit: 24,840,628
RAC: 0
Canada
Message 2012423 - Posted: 18 Sep 2019, 15:16:59 UTC - in response to Message 2012419.  

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
ID: 2012423 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2012424 - Posted: 18 Sep 2019, 15:20:43 UTC

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)
ID: 2012424 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2012425 - Posted: 18 Sep 2019, 15:24:58 UTC - in response to Message 2012423.  
Last modified: 18 Sep 2019, 15:26:47 UTC

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

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
Generic OpenCL ICD Loader
or libopencl-1.1-1
virtual package provided by nvidia-libopencl1, ocl-icd-libopencl1
rec: amd-opencl-icd
Package not available
or opencl-icd
virtual package provided by beignet-opencl-icd, mesa-opencl-icd, nvidia-legacy-304xx-opencl-icd, nvidia-legacy-340xx-opencl-icd, nvidia-legacy-390xx-opencl-icd, nvidia-opencl-icd, pocl-opencl-icd

Seti@Home classic workunits:20,676 CPU time:74,226 hours

A proud member of the OFA (Old Farts Association)
ID: 2012425 · Report as offensive
Fizz Project Donor

Send message
Joined: 11 Jun 01
Posts: 52
Credit: 24,840,628
RAC: 0
Canada
Message 2012426 - Posted: 18 Sep 2019, 15:26:20 UTC - in response to Message 2012422.  

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


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
ID: 2012426 · Report as offensive
Fizz Project Donor

Send message
Joined: 11 Jun 01
Posts: 52
Credit: 24,840,628
RAC: 0
Canada
Message 2012427 - Posted: 18 Sep 2019, 15:30:00 UTC - in response to Message 2012424.  

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

ID: 2012427 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2012428 - Posted: 18 Sep 2019, 15:33:05 UTC - in response to Message 2012426.  

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


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

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)
ID: 2012428 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2012429 - Posted: 18 Sep 2019, 15:34:46 UTC

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)
ID: 2012429 · Report as offensive
Richard Haselgrove Project Donor
Volunteer tester

Send message
Joined: 4 Jul 99
Posts: 14650
Credit: 200,643,578
RAC: 874
United Kingdom
Message 2012430 - Posted: 18 Sep 2019, 15:39:47 UTC - in response to Message 2012425.  

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.
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.
ID: 2012430 · Report as offensive
TBar
Volunteer tester

Send message
Joined: 22 May 99
Posts: 5204
Credit: 840,779,836
RAC: 2,768
United States
Message 2012433 - Posted: 18 Sep 2019, 16:01:52 UTC

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.
ID: 2012433 · Report as offensive
Fizz Project Donor

Send message
Joined: 11 Jun 01
Posts: 52
Credit: 24,840,628
RAC: 0
Canada
Message 2012434 - Posted: 18 Sep 2019, 16:08:25 UTC - in response to Message 2012429.  

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
ID: 2012434 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2012435 - Posted: 18 Sep 2019, 16:13:08 UTC - in response to Message 2012434.  

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)
ID: 2012435 · Report as offensive
Fizz Project Donor

Send message
Joined: 11 Jun 01
Posts: 52
Credit: 24,840,628
RAC: 0
Canada
Message 2012437 - Posted: 18 Sep 2019, 16:16:14 UTC - in response to Message 2012425.  

[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
ID: 2012437 · Report as offensive
Fizz Project Donor

Send message
Joined: 11 Jun 01
Posts: 52
Credit: 24,840,628
RAC: 0
Canada
Message 2012444 - Posted: 18 Sep 2019, 19:07:34 UTC - in response to Message 2012437.  
Last modified: 18 Sep 2019, 19:18:22 UTC

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
ID: 2012444 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2012446 - Posted: 18 Sep 2019, 19:41:27 UTC - in response to Message 2012444.  
Last modified: 18 Sep 2019, 19:59:19 UTC

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)
ID: 2012446 · Report as offensive
Profile TimeLord04
Volunteer tester
Avatar

Send message
Joined: 9 Mar 06
Posts: 21140
Credit: 33,933,039
RAC: 23
United States
Message 2012451 - Posted: 18 Sep 2019, 20:10:28 UTC - in response to Message 2012446.  

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.

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
ID: 2012451 · Report as offensive
Profile Keith Myers Special Project $250 donor
Volunteer tester
Avatar

Send message
Joined: 29 Apr 01
Posts: 13164
Credit: 1,160,866,277
RAC: 1,873
United States
Message 2012455 - Posted: 18 Sep 2019, 20:52:16 UTC - in response to Message 2012451.  
Last modified: 18 Sep 2019, 21:03:40 UTC

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)
ID: 2012455 · Report as offensive
Profile Wiggo
Avatar

Send message
Joined: 24 Jan 00
Posts: 34744
Credit: 261,360,520
RAC: 489
Australia
Message 2012456 - Posted: 18 Sep 2019, 20:59:11 UTC

Well Fizz has finally completed his 1st GPU task, https://setiathome.berkeley.edu/result.php?resultid=8059067020.

Cheers.
ID: 2012456 · Report as offensive
Fizz Project Donor

Send message
Joined: 11 Jun 01
Posts: 52
Credit: 24,840,628
RAC: 0
Canada
Message 2012457 - Posted: 18 Sep 2019, 21:01:07 UTC - in response to Message 2012451.  


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...???...)


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
ID: 2012457 · Report as offensive
Previous · 1 · 2 · 3 · 4 · Next

Message boards : Number crunching : version? gpu id? effect?


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