Page 1 of 1

Tumbleweed, 8.3.17, OpenCL not supported

Posted: Sat Feb 01, 2025 9:47 am
by promeneur
openSUSE Tumbleweed
Fah client bastet beta 8.3.17, (tumbleweed does not supply any other version)
GP108 [GeForce GT 1030]

yesterday, we switched from nvidia 550 to 570.
Today after PC startup GPU is not used.

I uninstalled all packets containing "nvidia" in their name.
Then I asked to install the packet "nvidia-compute".
This installs all necessary packets for computing.

I get this with the data center tool about opencl :

Number of platforms 1
Platform Name NVIDIA CUDA
Platform Vendor NVIDIA Corporation
Platform Version OpenCL 3.0 CUDA 12.8.51
Platform Profile FULL_PROFILE
Platform 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_fp64 cl_khr_3d_image_writes cl_khr_byte_addressable_store cl_khr_icd cl_khr_gl_sharing cl_nv_compiler_options cl_nv_device_attribute_query cl_nv_pragma_unroll cl_nv_copy_opts cl_nv_create_buffer cl_khr_int64_base_atomics cl_khr_int64_extended_atomics cl_khr_device_uuid cl_khr_pci_bus_info cl_khr_external_semaphore cl_khr_external_memory cl_khr_external_semaphore_opaque_fd cl_khr_external_memory_opaque_fd cl_khr_semaphore
Platform Extensions with Version cl_khr_global_int32_base_atomics
........

i get this in fah log :

09:25:19:I1:*******************************************************************
09:25:19:I2:<config/>
09:25:19:I1:Opening Database
09:25:19:I1:F@H ID = 7zaH3rPzOFV0zTGiw5JArx6P7kg5CJ2cv8uHRRcMXzY
09:25:19:I3:Loading default group
09:25:19:I3:Loading default resource group
09:25:20:I1:Listening for HTTP on 127.0.0.1:7396
09:25:20:I3:WU190:Loading work unit 190 with ID SDu8MOxXDzSRRbqNdiHK2B3WbBh_0qJM_wy49aTImV0
09:25:20:I3:WU192:Loading work unit 192 with ID aacrBWsavj-3hUZp4cLEsh5FarDaZzBfOuqqxiZu5mc
09:25:20:I3:Loaded 2 wus.
09:25:20:W :OpenCL not supported: clGetPlatformIDs() returned -1001
09:25:20:W :CUDA not supported: cuInit() returned 999
09:25:20:I3:gpus = {
09:25:20:I3: "gpu:01:00:00": {"vendor": 4318, "device": 7425, "type": "nvidia", "supported": false, "description": "GP108 [GeForce GT 1030]"}
09:25:20:I3:}
09:25:20:I1:Loaded cores/fahcore-a8-lin-64bit-avx2_256-0.0.12/FahCore_a8
09:25:20:I3:WU192:LD_LIBRARY_PATH: /usr/lib64:/var/lib/fah-client/cores/fahcore-a8-lin-64bit-avx2_256-0.0.12
09:25:20:I3:WU192:Running FahCore: /var/lib/fah-client/cores/fahcore-a8-lin-64bit-avx2_256-0.0.12/FahCore_a8 -dir aacrBWsavj-3hUZp4cLEsh5FarDaZzBfOuqqxiZu5mc -suffix 01 -version 8.3.17 -lifeline 2114 -np 5
09:25:20:I3:WU192:Started FahCore on PID 2179
09:25:20:I1:OUT1:> GET https://api.foldingathome.org/machine/7 ... 8uHRRcMXzY HTTP/1.1
09:25:20:I1:WU192:*********************** Log Started 2025-02-01T09:25:20Z ***********************
09:25:20:I1:WU192:************************** Gromacs Folding@home Core ***************************
09:25:20:I1:WU192: Core: Gromacs
09:25:20:I1:WU192: Type: 0xa8
09:25:20:I1:WU192: Version: 0.0.12
09:25:20:I1:WU192: Author: Joseph Coffland <[email protected]>
09:25:20:I1:WU192: Copyright: 2020 foldingathome.org
09:25:20:I1:WU192: Homepage: https://foldingathome.org/
09:25:20:I1:WU192: Date: Jan 16 2021
09:25:20:I1:WU192: Time: 19:24:44
09:25:20:I1:WU192: Compiler: GNU 8.3.0
09:25:20:I1:WU192: Options: -faligned-new -std=c++14 -fsigned-char -ffunction-sections
09:25:20:I1:WU192: -fdata-sections -O3 -funroll-loops -fno-pie
09:25:20:I1:WU192: Platform: linux2 4.15.0-128-generic
09:25:20:I1:WU192: Bits: 64
09:25:20:I1:WU192: Mode: Release
09:25:20:I1:WU192: SIMD: avx2_256
09:25:20:I1:WU192: OpenMP: ON
09:25:20:I1:WU192: CUDA: OFF
09:25:20:I1:WU192: Args: -dir aacrBWsavj-3hUZp4cLEsh5FarDaZzBfOuqqxiZu5mc -suffix 01
09:25:20:I1:WU192: -version 8.3.17 -lifeline 2114 -np 5
09:25:20:I1:WU192:************************************ libFAH ************************************

Re: Tumbleweed, 8.3.17, OpenCL not supported

Posted: Sat Feb 01, 2025 11:29 am
by calxalot
Does it work if you restart the systemd fah-client.service?

If so, try editing the service to have
NoNewPrivileges=no

Re: Tumbleweed, 8.3.17, OpenCL not supported

Posted: Sun Feb 02, 2025 8:22 am
by promeneur
Ok this work. Thanks.

How do you prevent the new statement from disappearing during the fah update?

Thanks

Re: Tumbleweed, 8.3.17, OpenCL not supported

Posted: Sun Feb 02, 2025 8:30 am
by calxalot
systemctl edit fah-client

You might need sudo depending on your distribution.

viewtopic.php?p=365988&hilit=systemctl+edit#p365988

Re: Tumbleweed, 8.3.17, OpenCL not supported

Posted: Mon Feb 03, 2025 8:19 am
by promeneur
Surprise

This morning fah-client start with the same error. Gpu is not found

I checked that the statement "NoNewPrivileges=no" is there. No problem.

I execute "sudo systemctl restart fah-client"

Then GPU computing starts !

I assume that something is not there when fah-client starts but is there later.

In the past I ran "clinfo for fah-client finds nvidia cuda and nvidia opencl"

Re: Tumbleweed, 8.3.17, OpenCL not supported

Posted: Mon Feb 03, 2025 8:24 am
by promeneur
I ran in a script "clinfo" at PC start.

This work.