On Debian 11 F@H logfile says "OpenCL Not detected . . ."

It seems that a lot of GPU problems revolve around specific versions of drivers. Though NVidia has their own support structure, you can often learn from information reported by others who fold.

Moderators: Site Moderators, FAHC Science Team

Post Reply
Fldngbob
Posts: 16
Joined: Tue Dec 05, 2023 11:11 am
Location: Cleveland, OH, USA

On Debian 11 F@H logfile says "OpenCL Not detected . . ."

Post by Fldngbob »

This seems very odd to me.

My log output (I added the "LOOK!!!" and arrows to draw attention to the log line):

Code: Select all

12:39:35:******************************* libFAH ********************************
12:39:35:         Date: Oct 20 2020
12:39:35:         Time: 20:36:39
12:39:35:     Revision: 5ca109d295a6245e2a2f590b3d0085ad5e567aeb
12:39:35:       Branch: master
12:39:35:     Compiler: GNU 8.3.0
12:39:35:      Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
12:39:35:               -fdata-sections -O3 -funroll-loops -fno-pie
12:39:35:     Platform: linux2 5.8.0-1-amd64
12:39:35:         Bits: 64
12:39:35:         Mode: Release
12:39:35:****************************** FAHClient ******************************
12:39:35:      Version: 7.6.21
12:39:35:       Author: Joseph Coffland <[email protected]>
12:39:35:    Copyright: 2020 foldingathome.org
12:39:35:     Homepage: https://foldingathome.org/
12:39:35:         Date: Oct 20 2020
12:39:35:         Time: 20:39:00
12:39:35:     Revision: 6efbf0e138e22d3963e6a291f78dcb9c6422a278
12:39:35:       Branch: master
12:39:35:     Compiler: GNU 8.3.0
12:39:35:      Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
12:39:35:               -fdata-sections -O3 -funroll-loops -fno-pie
12:39:35:     Platform: linux2 5.8.0-1-amd64
12:39:35:         Bits: 64
12:39:35:         Mode: Release
12:39:35:         Args: --child /etc/fahclient/config.xml --run-as fahclient
12:39:35:               --pid-file=/var/run/fahclient.pid --daemon
12:39:35:       Config: /etc/fahclient/config.xml
12:39:35:******************************** CBang ********************************
12:39:35:         Date: Oct 20 2020
12:39:35:         Time: 18:37:59
12:39:35:     Revision: 7e4ce85225d7eaeb775e87c31740181ca603de60
12:39:35:       Branch: master
12:39:35:     Compiler: GNU 8.3.0
12:39:35:      Options: -faligned-new -std=c++11 -fsigned-char -ffunction-sections
12:39:35:               -fdata-sections -O3 -funroll-loops -fno-pie -fPIC
12:39:35:     Platform: linux2 5.8.0-1-amd64
12:39:35:         Bits: 64
12:39:35:         Mode: Release
12:39:35:******************************* System ********************************
12:39:35:          CPU: Intel(R) Xeon(R) CPU E3-1225 V2 @ 3.20GHz
12:39:35:       CPU ID: GenuineIntel Family 6 Model 58 Stepping 9
12:39:35:         CPUs: 4
12:39:35:       Memory: 15.58GiB
12:39:35:  Free Memory: 15.26GiB
12:39:35:      Threads: POSIX_THREADS
12:39:35:   OS Version: 5.10
12:39:35:  Has Battery: false
12:39:35:   On Battery: false
12:39:35:   UTC Offset: -5
12:39:35:          PID: 706
12:39:35:          CWD: /var/lib/fahclient
12:39:35:           OS: Linux 5.10.0-27-amd64 x86_64
12:39:35:      OS Arch: AMD64
12:39:35:         GPUs: 1
12:39:35:        GPU 0: Bus:1 Slot:0 Func:0 NVIDIA:4 GM107GL [Quadro K620]
12:39:35:CUDA Device 0: Platform:0 Device:0 Bus:1 Slot:0 Compute:5.0 Driver:11.4

LOOK!!!! >>>>>>>>>>>>>>  12:39:35:       OpenCL: Not detected: clGetPlatformIDs() returned -1001 <<<<<<<<<<<<<< LOOK!!!!

12:39:35:***********************************************************************
12:39:35:<config>
12:40:36:  <!-- Folding Slot Configuration -->
12:40:36:  <cause v='ALZHEIMERS'/>
12:40:36:  <cpus v='0'/>
12:40:36:
12:40:36:  <!-- HTTP Server -->
12:40:36:  <allow v='127.0.0.1 192.168.242.0/24'/>
12:40:36:  <deny v='0.0.0.0/0'/>
12:40:36:
12:40:36:  <!-- Network -->
12:40:36:  <proxy v=':8080'/>
12:40:36:
12:40:36:  <!-- Remote Command Server -->
12:40:36:  <password v='*****'/>
12:40:36:
12:40:36:  <!-- User Information -->
12:40:36:  <passkey v='*****'/>
12:40:36:  <team v='233601'/>
12:40:36:  <user v='rbrtewdn'/>
12:40:36:
12:40:36:  <!-- Web Server -->
12:40:36:  <web-allow v='127.0.0.1 192.168.242.0/24'/>
12:40:36:
12:40:36:  <!-- Folding Slots -->
12:40:36:  <slot id='0' type='CPU'/>
12:40:36:  <slot id='1' type='GPU'>
12:40:36:    <pci-bus v='1'/>
12:40:36:    <pci-slot v='0'/>
12:40:36:  </slot>
12:40:36:</config>
12:45:19:WU00:FS00:0xa8:Completed 575000 out of 2500000 steps (23%)
12:50:34:WU01:FS01:0x22:Completed 2175000 out of 2500000 steps (87%)
12:52:49:WU00:FS00:0xa8:Completed 600000 out of 2500000 steps (24%)
13:00:19:WU00:FS00:0xa8:Completed 625000 out of 2500000 steps (25%)
13:00:51:WU01:FS01:0x22:Completed 2200000 out of 2500000 steps (88%)
Now, when I search for what program contains the file "clGetPlatformIDs()" apt-file says it is part of:

Code: Select all

root@fah008:~# apt-file find clGetPlatformIDs
opencl-1.2-html-doc: /usr/share/doc/opencl-1.2-html-doc/clGetPlatformIDs.html
opencl-1.2-man-doc: /usr/share/man/man3/clGetPlatformIDs.3clc.gz
Maybe I am misunderstanding but, these are documentation files? So, I ran this to check dependences:

Code: Select all

root@fah008:~# apt-cache depends ocl-icd-opencl-dev
ocl-icd-opencl-dev
 |Depends: opencl-c-headers
  Depends: opencl-headers
 |Depends: opencl-clhpp-headers
  Depends: opencl-headers
  Depends: ocl-icd-libopencl1
  Conflicts: <opencl-dev>
  Breaks: <amd-libopencl1>
  Breaks: nvidia-libopencl1
  Breaks: ocl-icd-libopencl1
 |Recommends: libgl1-mesa-dev
  Recommends: libgl-dev
  Replaces: <amd-libopencl1>
  Replaces: nvidia-libopencl1
  Replaces: ocl-icd-libopencl1
  Replaces: <opencl-dev>
    ocl-icd-opencl-dev
A try to 'force' installation with:

Code: Select all

apt install --reinstall ocl-icd-opencl-dev
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/11.3 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 80776 files and directories currently installed.)
Preparing to unpack .../ocl-icd-opencl-dev_2.2.14-2_amd64.deb ...
Unpacking ocl-icd-opencl-dev:amd64 (2.2.14-2) over (2.2.14-2) ...
Setting up ocl-icd-opencl-dev:amd64 (2.2.14-2) ...
There is no change. System Info still says:

Code: Select all

12:40:07:WU01:FS01:0x22:opencl-device was set but OpenCL platform could not be found.
This computer appears to folding properly despite the log complaints.

I have other computers with the same programs running with no log file issue complaints.

I have tried other tests to numerous to list. Suffice it to say that there was no changes, hence my questions:

Anyone have any thoughts? What have I overlooked to check out this issue? Suggestions?
Last edited by Fldngbob on Sun Jan 14, 2024 11:58 am, edited 2 times in total.
bikeaddict
Posts: 210
Joined: Sun May 03, 2020 1:20 am

Re: On Debian 11 F@H logfile says "OpenCL Not detected . . ."

Post by bikeaddict »

It's time to have a frank discussion about the hardware you're using. People who try to fold on very old and slow hardware are what might be called "aspirational folders." That is, people who think they are helping contribute something useful, but are actually slowing down scientific research by delaying the return of the work units.

This is a list of your active devices for user rbrtewdn on https://apps.foldingathome.org/cpu

and the points per day I calculated:

x86 9,841.37
x86 30,670.00
NVidia 72,249.81
NVidia 81,413.43
x86 10,246.38
x86 34,152.53
NVidia 68,531.99
x86 33,486.98
x86 31,122.93
NVidia 772,666.67
x86 54,708.11
NVidia 34,281.71
NVidia 66,985.48

There is only one GPU and no CPUs with over 100K PPD. Even devices that are capable of 100-300K PPD are probably too slow and ineffiecient for the power they consume. Even low end semi-modern GPUs can do over a million PPD. Modern midrange CPUs can do 200K or more.

Most of this hardware should be retired from folding and repurposed or sent to an e-waste recycler.
Fldngbob
Posts: 16
Joined: Tue Dec 05, 2023 11:11 am
Location: Cleveland, OH, USA

Re: On Debian 11 F@H logfile says "OpenCL Not detected . . ."

Post by Fldngbob »

I have been folding for many years. Until recently, folding was processed by CPUs only. If you think you need to categorize me as an "aspirational folder" then I am a proud member.

Until I moved across the country in October of 2022 I had several computers inspirationally folding proteins for Alzheimers research. A disease that took my Father in 2002. I watched as the disease took him over.

So, let us have a frank discussion about my running hardware. I was and I am proud to have participated when it was announced that F@H had played a big part in finding the connection between Alzheimers and Parkinsons diseases.

But, no one ever invited me to stop folding because I was not helping enough. This is a new one for me.

I consider myself a member of the F@H community. Where I come from, a man who has a issue with someone in the community goes to have a one-on-one conversation to resolve the issue. If you lived in my geographical community we would have this discussion face to face. But, here we are on the F@H community forum. See a guy or gal (if that be the case) like you, with an insulting personality, needs think about how you use your words before you press any keys. Think before you write and don't do this again.

So, how did you think it helped me to insult my equipment?

Now, to use the words of Gordan Ramsey, "You can go piss off, now." (The British way of saying "go away".)
calxalot
Site Moderator
Posts: 1161
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: On Debian 11 F@H logfile says "OpenCL Not detected . . ." [Closed by OP]

Post by calxalot »

If your computers generally finish WUs before the timeout, I welcome your continued contribution.

People with recent GPUs can have a skewed sense of things.
bikeaddict
Posts: 210
Joined: Sun May 03, 2020 1:20 am

Re: On Debian 11 F@H logfile says "OpenCL Not detected . . ." [Closed by OP]

Post by bikeaddict »

At least three recent WUs did not make the timeout and multiple people ended up processing them.

https://apps.foldingathome.org/wu?p=121 ... 14&gen=100
https://apps.foldingathome.org/wu?p=192 ... e=0&gen=12
https://apps.foldingathome.org/wu?p=124 ... 18&gen=886

This is an example of how well-meaning people with potatoes think they are contributing something worthwhile but are actually sometimes slowing down scientific research. The project could do a better job of detecting clients that repeatedly miss timeouts and disable them. The UI could do a better job of giving folders feedback on when a slot is missing deadlines and expirations and warn them that they may be doing more harm than good.
calxalot
Site Moderator
Posts: 1161
Joined: Sat Dec 08, 2007 1:33 am
Location: San Francisco, CA
Contact:

Re: On Debian 11 F@H logfile says "OpenCL Not detected . . ." [Closed by OP]

Post by calxalot »

True enough.
Please consider creating a feature request ticket if there isn't one.
https://github.com/FoldingAtHome/fah-we ... tet/issues
Fldngbob
Posts: 16
Joined: Tue Dec 05, 2023 11:11 am
Location: Cleveland, OH, USA

Re: On Debian 11 F@H logfile says "OpenCL Not detected . . ."

Post by Fldngbob »

Yes, fair enough.

I like this idea of adding the discussed 'feedback' feature. I appreciate the logic of this which I could see included on F@H v8.

Regarding "People with recent GPUs can have a skewed sense of things." I understand their position but, I am spending about $25 per card compared to their $200 and up per video card. Currently, I am using about 130 watts of electricity on a computer with one (1) video card. A computer with two (2) video cards uses about 210 watts. (At this point I am interested in exploring a watts per WU comparison method.) Now, of course newer computers use less power and can generate faster WU completion times but, how much electricity is consumed per WU?. I will be interested to experience first hand how much power one these newer faster video cards consumes compared to my more moderate power requirement cards. Any similar cost methods I will search out (on the forum) in the near future.

Sadly, those most resent WU failures of my computers where operator errors. While adding a video card and installing the needed drivers I neglected (an oversight on my part) to pause folding on the client CPU slot WU. I apologize to the community for my WU management mistakes.

Now that I have v7 functioning better on my fahclients GPUs I am looking forward to upgrading to v8.

Which, as expected, will be a new learning curve for myself.

So, in closing, despite having a bitter aftertaste I appreciate all feedback both good and bad.

Now, I think I'll go see about adding a feature request, if that is good with everyone.
bikeaddict
Posts: 210
Joined: Sun May 03, 2020 1:20 am

Re: On Debian 11 F@H logfile says "OpenCL Not detected . . ."

Post by bikeaddict »

The LAR Systems database is one way to get an estimate of PPD for GPUs. But their numbers are lower than what I see personally on RTX 4060 Ti and 4070 Ti.

https://folding.lar.systems/gpu_ppd/overall_ranks

The TechPowerUp GPU database is a way to look up default TDP, but it can sometimes be higher on the overclocked models.

https://www.techpowerup.com/gpu-specs/

But on RTX 4000 models, the power use has been lower than rated TDP. My 4060 Ti uses 120-145W most of the time even though the TDP is 160W. It can do over 7 million PPD, sometimes under 7, sometimes over 8M. Mine was $350 on sale, but it was selling at $330 a couple weeks later.

I use PCPartPicker and SlickDeals to look for low prices, though there haven't been many on sale the last couple months.

https://pcpartpicker.com/products/video-card/ (use search box at top right and click Price column to sort)
https://slickdeals.net/deals/video-card/

Or used cards on eBay can be a good value. The latest NVIDIA 4000 series is the most efficient, but there may not be many used for sale yet. The cost savings on power should pay for the GPU.

Track your daily PPD average to see how much work your systems are doing.

https://folding.lar.systems/league/user ... eam=233601
https://folding.extremeoverclocking.com ... =&t=233601

A single RTX 4060 should be able to do 5x the work and use way less power than the 8-9 CPUs and 6-7 GPUs it looks like you're using.
bikeaddict
Posts: 210
Joined: Sun May 03, 2020 1:20 am

Re: On Debian 11 F@H logfile says "OpenCL Not detected . . ."

Post by bikeaddict »

For CPU folding, newer Ryzen CPUs are usually more efficient, but are still expensive used. The more cores and higher all-core boost clock, the better the performance.

https://folding.lar.systems/cpu_ppd/overall_ranks

For older, used Intel Xeons, the hardware is cheap, but can use 180-200W for about 500K PPD with an E5-2697A v4 or 400K PPD with an E5-2690 v4.

https://www.ebay.com/itm/384284924158?V ... 4284924158
https://www.ebay.com/sch/i.html?_from=R ... &_osacat=0

Just and add a cheap 250GB or bigger SSD. Add a low end GPU for just display, or a higher end GPU for folding. The Z440 has a 700W power supply and can be used with a dual 6-pin to 8-pin PCIe adapter and/or dual SATA to 8-pin adapter.

Green PC Gamers has HOWTOs on putting GPUs in older HP Z, Dell Precision and Lenovo Thinkstation workstations. These can also be used to fold GPU-only with a cheap quad core Xeon like an E5-1630 v4.

https://www.youtube.com/@GreenPCGamerscom/videos
Fldngbob
Posts: 16
Joined: Tue Dec 05, 2023 11:11 am
Location: Cleveland, OH, USA

Re: On Debian 11 F@H logfile says "OpenCL Not detected . . ."

Post by Fldngbob »

The various links are greatly appreciated.

This type of information is difficult to search when your a novice like I am.

Thank you.
Post Reply