Run BOINC using Windows' Task Scheduler

Message boards : Questions and problems : Run BOINC using Windows' Task Scheduler
Message board moderation

To post messages, you must log in.

AuthorMessage
Babb

Send message
Joined: 10 May 20
Posts: 3
Message 98418 - Posted: 10 May 2020, 14:51:41 UTC
Last modified: 10 May 2020, 15:41:54 UTC

Hello there,

I'm trying to run the BOINC client (using the Task Scheduler) on a computer without having to log in. So I configured a new task with the following parameters:
**********************
Security Options
**********************

***********
Triggers
***********

*********
Actions
*********

**************
Conditions
**************

**********
Settings
**********

The boinc_starter.bat file contains the following:

start "BOINC" /D "D:\Programs\Berkeley\BOINC" /NORMAL boinc.exe --no_priority_change

Now, when the task runs, boinc creates 2 instances, one instance containing the --no_priority_change option and one instance containing --detect_gpus --dir <path_to_datadir> as seen below.

If I run the boinc_starter.bat maually (either from cmd/PS environment or via double click) everything works fine, as seen below.

I've also tried running the task under different credentials (such as an administrator account, signed in and signed out), deleting boinc entirely from the PC (yes, registry entries as well) and reinstalling it. I've eventried going one minor version behind (7.14.2). Nothing worked.

In case this helps, here's what I'm using:
OS: Win 10 x64 - 1093
BOINC: Version 7.16.5
CPU: AMD FX-8300
GPU0: ATI Radeon HD 3000 (Driver version: 8.970.100.9001 - 01/13/2015 as it is the latest version for this gpu)
GPU1: NVIDIA GeForce GT 710 (Driver version: 26.21.14.4587 A.K.A 445.87)

Does anyone know where's the problem? Am I doing something wrong?

Thank you in advance,
Babb
ID: 98418 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5080
United Kingdom
Message 98419 - Posted: 10 May 2020, 15:52:40 UTC - in response to Message 98418.  

You're over-thinking the problem. This is what 'Run as a service" is designed for - it's an installation option.
ID: 98419 · Report as offensive
Babb

Send message
Joined: 10 May 20
Posts: 3
Message 98420 - Posted: 10 May 2020, 16:17:02 UTC - in response to Message 98419.  

You're over-thinking the problem. This is what 'Run as a service" is designed for - it's an installation option.

Wouldn't that disable GPU computing? I'm trying to avoid that.
ID: 98420 · Report as offensive
Richard Haselgrove
Volunteer tester
Help desk expert

Send message
Joined: 5 Oct 06
Posts: 5080
United Kingdom
Message 98421 - Posted: 10 May 2020, 17:05:12 UTC - in response to Message 98420.  

I think somebody has to be logged in to gain access to the GPU driver.
ID: 98421 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 98422 - Posted: 10 May 2020, 17:16:49 UTC - in response to Message 98421.  

I think somebody has to be logged in to gain access to the GPU driver.
Yes, that's the requirement.
ID: 98422 · Report as offensive
Babb

Send message
Joined: 10 May 20
Posts: 3
Message 98424 - Posted: 10 May 2020, 17:29:18 UTC

Got it, thank you all for the info.
ID: 98424 · Report as offensive
Profile Jord
Volunteer tester
Help desk expert
Avatar

Send message
Joined: 29 Aug 05
Posts: 15480
Netherlands
Message 98425 - Posted: 10 May 2020, 17:57:58 UTC

The longer explanation is that the GPUs do only do the general purpose calculations with drivers installed by the user.
When you install BOINC as a service, or you run programs when not logged in, the default GPU driver installed by Windows is used, which lacks required components such as CAL (your old ATI GPU uses that), CUDA (Nvidia) or OpenCL (all) (and Vulkan for future reference).
ID: 98425 · Report as offensive

Message boards : Questions and problems : Run BOINC using Windows' Task Scheduler

Copyright © 2024 University of California.
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.