Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Richard Haselgrove

Pages: [1] 2
1
FAQ / Re: app_config.xml editor
« on: April 22, 2021, 07:43:54 am »
Found another one. Using the BoincTasks editor makes the client add the line
Code: [Select]
<project_max_concurrent>0</project_max_concurrent>to the app_config file.

Normally, zero is used as a 'no restriction specified' placeholder, but if you run out of tasks from that project - you're stuck. The 'project_max_concurrent' value is applied literally.

Fix submitted as https://github.com/BOINC/boinc/pull/4337

2
FAQ / Re: app_config.xml editor
« on: March 30, 2021, 06:41:55 pm »
On the subject of Linux: I've tested it on Linux Mint. My setup uses a repo-style base setup, but with LocutusOfBorg's PPA so I get updates quickly.

The trouble is that the systemd data directory is heavily sandboxed. I've previously added my own app_config.xml files, but I have to use administrator tools to write the files: they end up owned by root, and are read-only for everyone else.

The BOINC client can write its own files, but I haven't found a way of allowing it to over-write root's files yet.

3
FAQ / Re: app_config.xml editor
« on: March 30, 2021, 06:32:52 pm »
Well, somebody tried - that's how we found out it wasn't working!  ;D

My patch has been accepted in principle (with one minor change requested, and I've done that). Hopefully it'll get merged tonight, though the guy who's doing it is busy with his own project beta. It works on my test build here, but I think we're stuck with David's preference for six decimal places after every number.

4
FAQ / Re: app_config.xml editor
« on: March 29, 2021, 08:49:03 am »
Unfortunately, this tool DOES NOT CURRENTLY WORK.

As noted above, the BOINC client writes out a new copy of app_config.xml, but uses faulty syntax. The new tags are unintentional, and are not recognised when the file is read back by the client.

28/03/2021 09:35:16 | GPUGRID | Unparsed line in app_config.xml: gpu_gpu_usage
28/03/2021 09:35:16 | GPUGRID | Unparsed line in app_config.xml: gpu_cpu_usage

I have submitted a patch for the BOINC client - https://github.com/BOINC/boinc/pull/4291 - but this will have to be approved, and a new client released, before the editor can be used.

5
Beta Testing / Re: Known Issues
« on: December 09, 2020, 11:33:32 am »
Thanks.

6
Beta Testing / Re: Known Issues
« on: December 09, 2020, 10:48:41 am »
Could I check what the Beta status is, please?

Just had a big Android update, so I thought I'd look again. I see v1.9 described on the download information page, but the download link still points to v1.8 - and v1.9 can't even be found by editing the link.

Otherwise, it's still running fine.

7
Beta Testing / Re: Testing app beta v1.5 23/11/2020
« on: December 01, 2020, 01:26:56 pm »
Looked into the "Unrecognized tag in cc_config.xml: <max_stderr_file_size>" error.

It was reported in https://github.com/BOINC/boinc/issues/3435 (27 January 2020) as something new in client v7.16.3

Turned out to be a mis-match between storing the value as a double, but parsing it on read as an integer. If you have parse_int at lines 422 and 423 of client/log_flags.cpp, please change them to parse_double.

Code segment starts https://github.com/BOINC/boinc/blob/master/client/log_flags.cpp#L419
Full changes in https://github.com/BOINC/boinc/pull/3445 (commit a79d60b)

I haven't back-tracked yet to find what caused the original trouble.

PS - there's no separate client code for Android - just a few '#ifdef ANDROID' and '#ifdef ANDROID_NEON' scattered through the standard sources.

8
Beta Testing / Re: Testing app beta v1.5 23/11/2020
« on: November 29, 2020, 06:47:33 pm »
I'm not sure exactly what is available, either. I'll run those cc_config messages past Vitalii - he's probably got the clearest picture right now.

Am I right in guessing that you used the current 'master' source code? I'll have a look in GitHub for myself, as well.

9
Beta Testing / Re: Testing app beta v1.5/6/7/8 23/11/2020
« on: November 29, 2020, 04:17:11 pm »
And installed, running.

Message from Beta 7:

I think those errors might be Einstein refusing an upload for a completed task - there have been a few complaints about that today. But a more 'user friendly' error message might be helpful.

Could we have a cheat-sheet for those State messages, please? I've got 00122 running, 01002 suspended by user. Also 1 for downloading, 4 for uploading, 5 for ready to report.

Beta 8:

Didn't mean to suspend it - that's because of the gesture I have to use for a screen shot.
I left the remote Manager open while I downloaded and installed Beta 8. They reconnect automatically now, and it did so with no trouble - that probably accounts for the refusal just before the client started.

In the remote Manager, I see
Code: [Select]
29/11/2020 15:34:38 |  | Starting BOINC client version 7.17.0 for arm-android-linux-gnu
29/11/2020 15:34:38 |  | This a development version of BOINC and may not function properly
That looks like 'master' branch from GitHub - might need to reconsider that. Especially because I also get
Code: [Select]
29/11/2020 15:34:38 |  | Unrecognized tag in cc_config.xml: <max_stderr_file_size>
29/11/2020 15:34:38 |  | Error in cc_config.xml options
29/11/2020 15:34:38 |  | Missing end tag in cc_config.xml
in red, and repeated as three successive notices in BOINC Manager. I set a couple of extra log flags using the GUI picker in the Manager, which writes a full current cc_config.xml file, and then triggers the client to read it back in. The formats should have been compatible! My current Manager comes from https://github.com/BOINC/boinc/pull/4041, which should be close enough (Sep 29). We may need to consult with Vitalii.

10
Beta Testing / Re: Testing app beta v1.5 23/11/2020
« on: November 27, 2020, 04:51:41 pm »
Look what I've got!



That's https://einsteinathome.org/host/12859350, attached via BOINC Manager. I still need to get used to it, but the key seems to be to do minimal setup - I emptied all the external IP fields (1, 2, 3, 4), and filled just one of the four WiFi addresses with the LAN subnet (192.168.173), and it listened straight away at startup - didn't need to disable and re-enable. BTW, the WiFi address fields are labelled 1, 2, 2, 2

11
Beta Testing / Re: Testing app beta v1.5 23/11/2020
« on: November 26, 2020, 05:45:16 pm »
BREAKING NEWS!

I went back a step, and tried your previous suggestion. It started with

Connection:WiFi Ip address not allowed Ip: 192.168.173.185

I switched off external connections

Connection:Disabled

and back on

Connection:Waiting

and finally

Connection:With Ip: /192.168.173.26:60466

Remote machine says:

Code: [Select]
26/11/2020 17:37:44 |  | Starting BOINC client version 7.17.0 for arm-android-linux-gnu
26/11/2020 17:37:44 |  | This a development version of BOINC and may not function properly
26/11/2020 17:37:44 |  | log flags: file_xfer, sched_ops, task
26/11/2020 17:37:44 |  | Libraries: libcurl/7.62.0 OpenSSL/1.0.2s
26/11/2020 17:37:44 |  | Running as a daemon
26/11/2020 17:37:44 |  | Data directory: /data/data/com.efmer.boincforboinctasks/client
26/11/2020 17:37:44 |  | No usable GPUs found
26/11/2020 17:37:44 |  | Host name: exynos7904
26/11/2020 17:37:44 |  | Processor: 8 ARM ARMv8 Processor rev 4 (v8l) [Impl 0x41 Arch 8 Variant 0x0 Part 0xd03 Rev 4]
26/11/2020 17:37:44 |  | Using 4 CPUs
26/11/2020 17:37:44 |  | Processor features: half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt lpae evtstrm aes pmull sha1 sha2 crc32
26/11/2020 17:37:44 |  | OS: Android: 4.4.177-19577611
26/11/2020 17:37:44 |  | Memory: 1.85 GB physical, 1.25 GB virtual
26/11/2020 17:37:44 |  | Disk: 24.81 GB total, 20.25 GB free
26/11/2020 17:37:44 |  | Local time is UTC +0 hours
26/11/2020 17:37:44 |  | Config: report completed tasks immediately
26/11/2020 17:37:44 |  | Preferences:
26/11/2020 17:37:44 |  | max memory usage when active: 948.97 MB
26/11/2020 17:37:44 |  | max memory usage when idle: 948.97 MB
26/11/2020 17:37:44 |  | max disk usage: 20.15 GB
26/11/2020 17:37:44 |  | max CPUs used: 4
26/11/2020 17:37:44 |  | Android: don't compute while active
26/11/2020 17:37:44 |  | don't use GPU while active
26/11/2020 17:37:44 |  | suspend work if non-BOINC CPU load exceeds 50%
26/11/2020 17:37:44 |  | (to change preferences, visit a project web site or select Preferences in the Manager)
26/11/2020 17:37:44 |  | Setting up project and slot directories
26/11/2020 17:37:44 |  | Checking active tasks
26/11/2020 17:37:44 |  | Setting up GUI RPC socket
26/11/2020 17:37:44 |  | Checking presence of 0 project files
26/11/2020 17:37:44 |  | This computer is not attached to any projects
26/11/2020 17:37:44 |  | Suspending computation - on batteries
26/11/2020 17:37:44 |  | Suspending network activity - not connected to WiFi network
26/11/2020 17:37:46 |  | Resuming network activity

I need to do an orderly run down of the previous version, and then try attaching to a project - but looking good. Well done.

12
Beta Testing / Re: Testing app beta v1.5 23/11/2020
« on: November 26, 2020, 05:29:14 pm »
It's getting more chatty, but still doesn't like my WiFi:

Code: [Select]
17:19:07:Start BOINC (setDebug) for BoincTasks: V: 1.7 (7)
17:19:07:MainActivity:Ignore Battery Optimizations, permission granted
17:19:07:MainActivity:doBindService
17:19:07:Service: onCreate
17:19:07:Service:onStartCommand:Service Started
17:19:07:ERROR:RpcClient:openjava.io.IOException: Connection refused
17:19:07:Boinc:clientSetup: Starting the BOINC client
17:19:08:reporting hostinfo model name: samsung SM-T510 - SDK: 29 ABI: armeabi-v7a, os name: Android, os version: 10
17:19:08:Service:boincStart: BOINC client started and authorized
17:19:08:Service:boincStart: My IP is: 192.168.173.185 - 0.0.0.0
17:19:08:Gui:start: (WIFI_NOT_ALLOWED) IP: 192.168.173.185, Not allowed: 192.168.173.185
17:19:35:MainActivity:doUnbindService
17:19:37:Service:onDestroy

13
Beta Testing / Re: Testing app beta v1.5 23/11/2020
« on: November 25, 2020, 10:28:30 am »
I see your second IP detection:
Code: [Select]
10:01:05:Start BOINC (setDebug) for BoincTasks: V: 1.6 (6)
10:01:05:MainActivity:Ignore Battery Optimizations, permission granted
10:01:05:MainActivity:doBindService
10:01:05:Service: onCreate
10:01:05:Service:onStartCommand:Service Started
10:01:05:ERROR:RpcClient:openjava.io.IOException: Connection refused
10:01:05:Boinc:clientSetup: Starting the BOINC client
10:01:07:reporting hostinfo model name: samsung SM-T510 - SDK: 29 ABI: armeabi-v7a, os name: Android, os version: 10
10:01:07:Service:boincStart: BOINC client started and authorized
10:01:07:Service:boincStart: My IP is: 192.168.173.185 - 192.168.173.185
10:11:37:MainActivity:Ignore Battery Optimizations, permission granted
10:11:37:MainActivity:doBindService
10:13:08:MainActivity:Ignore Battery Optimizations, permission granted
10:13:08:MainActivity:doBindService
10:13:24:MainActivity:doUnbindService
10:13:26:Service:onDestroy

IP address is right for my setup - all machines are on that subnet, DHCP managed.
Connection has reverted to constant 'No Wi-Fi' when the 'allow external' control is toggled - 'disabled' not shown.

14
Beta Testing / Re: Testing app beta v1.5 23/11/2020
« on: November 24, 2020, 07:55:07 pm »
This is all I could get in the log:

Code: [Select]
19:38:22:Start BOINC (setDebug) for BoincTasks: V: 1.5 (5)
19:38:22:MainActivity:Ignore Battery Optimizations, permission granted
19:38:22:MainActivity:doBindService
19:38:22:Service: onCreate
19:38:22:Service:onStartCommand:Service Started
19:38:22:ERROR:RpcClient:openjava.io.IOException: Connection refused
19:38:22:Boinc:clientSetup: Starting the BOINC client
19:38:23:reporting hostinfo model name: samsung SM-T510 - SDK: 29 ABI: armeabi-v7a, os name: Android, os version: 10
19:39:46:MainActivity:doUnbindService

Connection toggles between 'Disabled' and 'No Wi-Fi' with the 'allow external' control.

15
Beta Testing / Re: Testing app beta v1.5 23/11/2020
« on: November 24, 2020, 03:40:54 pm »
Will do, between tasks on the 7.16.3 - about 3 - 4 hours from now.

Pages: [1] 2