Page 1 of 1

V8.1.18 still unhappy

Posted: Fri Jul 14, 2023 11:51 am
by liminal
On a debian bookworm & bullseye AMD64 4-core rig, I installed v8.1.18 beta; even though there's only a low-watt incompatible GPU, and I haven't configured for GPU WUs, it appears to require package nvidia-cuda-dev for a library, and ocl-icd-opencl-dev for OpenCL. 5GiB of senseless installed bloatware later, I get only more cryptic errors. Rather than my giving up right away on beta folding engine, maybe someone can give advice how to find what I'm doing wrong?

Code: Select all

11:09:17:I1:Opening Database
11:09:17:I1:Listening for HTTP on 127.0.0.1:7396
11:09:17:I3:id = [snip]
11:09:17:I3:Loaded 0 wus.
11:09:17:E :Exception: Not a Boolean
11:09:17:E :Exception: clGetPlatformIDs() returned -1001
11:09:18:E :Exception: cuInit() returned 100
11:13:33:E :Exception: Not a Boolean
for reference on the platform:

Code: Select all

11:09:16:I1:***************************** System ******************************
11:09:16:I1: CPU: Intel(R) Core(TM) i5-3470 CPU @ 3.20GHz
11:09:16:I1: CPU ID: GenuineIntel Family 6 Model 58 Stepping 9
11:09:16:I1: CPUs: 4
11:09:16:I1: Memory: 7.64GiB
11:09:16:I1:Free Memory: 7.19GiB
11:09:16:I1: Threads: POSIX_THREADS
11:09:16:I1: OS Version: 6.1
11:09:16:I1:Has Battery: false
11:09:16:I1: On Battery: false
11:09:16:I1: UTC Offset: -5
11:09:16:I1: PID: 810
11:09:16:I1: CWD: /mnt/home/fah
11:09:16:I1: Exec: /usr/bin/fah-client
11:09:16:I1:*******************************************************************
Thanks in advance.

Re: V8.1.18 still unhappy

Posted: Fri Jul 14, 2023 4:55 pm
by toTOW
Permission issues, probably the same as discussed here : viewtopic.php?t=39636

Re: V8.1.18 still unhappy

Posted: Fri Jul 14, 2023 9:29 pm
by calxalot
I don’t see them in what you posted, but exceptions loading cuda or OpenCL libraries are normal and harmless if you are not trying to do GPU folding.

You should not need to install such useless libraries.

Re: V8.1.18 still unhappy

Posted: Fri Jul 14, 2023 9:31 pm
by calxalot
You might get more info if you install the debug build of the client.

Re: V8.1.18 still unhappy

Posted: Sat Jul 15, 2023 9:03 am
by liminal
Ok thanks, I removed the 5GiB of useless GPU packages to let early missing library errors be benign. Afaict, the permissions of client.db ought to allow writing by UID fah-client, though it's possible the GID setting is wrong; unsure how to check that. Installed the debug build and here's what it says now. Also, do I need to check the box enabling beta test, just to take ordinary WUs? I did check it but don't know if that's what it's for. No units load up so far. Do I have to increase verbosity somehow for this to provide anything meaningful?

Code: Select all

08:54:21:I1:Opening Database
08:54:21:I1:Listening for HTTP on 127.0.0.1:7396
08:54:21:I3:id = [id]
08:54:22:I3:Loaded 0 wus.
08:54:22:E :Exception: Failed to open dynamic library 'libOpenCL.so': libOpenCL.so: cannot open shared object file: No such file or directory
08:54:22:E : At: src/cbang/os/DynamicLibrary.cpp:85:cb::DynamicLibrary::DynamicLibrary()
08:54:22:E :Caught at: src/fah/client/GPUResources.cpp:67:{anonymous}::get_gpus()
08:54:22:E :Exception: cuInit() returned 100
08:54:22:E : At: src/cbang/gpu/CUDALibrary.cpp:103:cb::CUDALibrary::CUDALibrary()
08:54:22:E :Caught at: src/fah/client/GPUResources.cpp:67:{anonymous}::get_gpus()
08:54:58:D3::New client from 127.0.0.1:38702
08:55:41:D3:'' msg: {
08:55:41:D3: "cmd": "config",
08:55:41:D3: "config": {
08:55:41:D3: "user": [user],
08:55:41:D3: "team": 0,
08:55:41:D3: "passkey": [passkey],
08:55:41:D3: "fold_anon": 1,
08:55:41:D3: "on_idle": false,
08:55:41:D3: "paused": true,
08:55:41:D3: "finish": false,
08:55:41:D3: "cause": "any",
08:55:41:D3: "cpus": 4,
08:55:41:D3: "gpus": {},
08:55:41:D3: "peers": [],
08:55:41:D3: "beta": true
08:55:41:D3: }
08:55:41:D3:}
08:55:47:D3:'' msg: {"cmd": "log", "enable": true}
08:56:49:D3:'' msg: {"cmd": "log", "enable": false}
08:56:52:D3:'' msg: {"cmd": "unpause"}
08:56:52:E :Exception: Not a Boolean
08:56:52:E : At: /home/admin/worker/debian-stable-64bit-client-bastet-debug/cbang/src/cbang/json/ValueTypes.def:36:cb::JSON::Value::getBoolean()
08:56:52:E :Caught at: src/cbang/event/Event.cpp:165:cb::Event::Event::call()
08:56:57:D3:'' msg: {"cmd": "log", "enable": true}
08:56:57:E :Exception: Not a Boolean
08:56:57:E : At: /home/admin/worker/debian-stable-64bit-client-bastet-debug/cbang/src/cbang/json/ValueTypes.def:36:cb::JSON::Value::getBoolean()
08:56:57:E :Caught at: src/cbang/event/Event.cpp:165:cb::Event::Event::call()

Re: V8.1.18 still unhappy

Posted: Sat Jul 15, 2023 10:34 am
by calxalot
I’m not seeing anything helpful.
Please redact your passkey from the log you posted.
The config.xml will not be written to by the v8 client. It is read but v8 stores info in client.db.

Is cpu folding working ok?

Re: V8.1.18 still unhappy

Posted: Sat Jul 15, 2023 10:39 am
by calxalot
You should deselect fold anonymously in the web control configuration/settings panel.

Re: V8.1.18 still unhappy

Posted: Sat Jul 15, 2023 3:22 pm
by liminal
Interestingly, the checkbox for anonymous folding was clear in the interface, so I couldn't tell it was giving me guff. When I checked/unchecked it, that's when it started downloading core blobs and enabled WUs to start. Happy now, so I can put the nondebug package back. Thanks much!

Re: V8.1.18 still unhappy

Posted: Sat Jul 15, 2023 10:23 pm
by calxalot
Did you ever have v7 installed on this machine?
I’m wondering how fold_anon was set to “1”.
Is fold_anon in your config.xml?