Message boards : Questions and problems : systemctl start = no GPU
Message board moderation
Author | Message |
---|---|
Send message Joined: 10 Dec 11 Posts: 24 ![]() |
Fedora 30 5.1.16-300.fc30.x86_64 Boinc 7.14.2 x86_64-pc-linux-gnu NVIDIA-SMI 430.34 Driver Version: 430.34 CUDA Version: 10.1 GeForce GTX 960 boinc --detect_gpus creates the file coproc_info.xml which says I have cuda>1 name>GeForce GTX 960 ram>1.9gig etc..... stdoutgpudetect.txt says Missing start tag in cc_config.xml If I systemctl start boinc-client.service and run boincmgr I don't get any GPU work If I cd /var/lib/boinc and nohup boinc & I get GPU work. What's the fix? Thanks |
![]() ![]() Send message Joined: 27 Jun 08 Posts: 642 ![]() |
I am guessing that manually starting boinc (user? root?) is different than starting via the service. I see "boinc" as owner for just about all in var/boinc but "root" seems to be owner of script in /etc How does your service compare to mine? [Unit] Description=Berkeley Open Infrastructure Network Computing Client Documentation=man:boinc(1) After=network-online.target [Service] ProtectHome=true Type=simple Nice=10 User=boinc WorkingDirectory=/var/lib/boinc ExecStart=/usr/bin/boinc ExecStop=/usr/bin/boinccmd --quit ExecReload=/usr/bin/boinccmd --read_cc_config ExecStopPost=/bin/rm -f lockfile IOSchedulingClass=idle [Install] WantedBy=multi-user.target |
Send message Joined: 10 Dec 11 Posts: 24 ![]() |
Matches 1:1 I just changed the "User" to root and ran restart. Seems to work. |
Send message Joined: 6 Jul 18 Posts: 49 ![]() |
Matches 1:1 Huge security risk running BOINC as root. I haven't used GPU for crunching for many years but IIRC boinc needs to be added to the GPU user group? |
Send message Joined: 20 Jun 12 Posts: 12 ![]() |
I've found this. But, how it's possible to use gpu then, without security risks? If it can't access group 'video', than what should it do? |
Send message Joined: 6 Jul 18 Posts: 49 ![]() |
Risk is everywhere. Some people just ignore it and have fun for as long as it lasts. Others minimize the risk and then decide whether the minimum level is acceptable or not. Crunching with boinc as member of video group is less risky than running the client as root, IMHO. Yes, somebody might turn my webcam on and yes that might cause me to lose my virginity but I'm 67, maybe it's time. The link you gave seems to suggest the risk can be reduced even further but I don't understand it. |
Send message Joined: 20 Jun 12 Posts: 12 ![]() |
I don't understand it.I' don't understand how one can add one group to another group. |
![]() Send message Joined: 29 Aug 05 Posts: 15632 ![]() |
sudo usermod -a -G video boinc |
Send message Joined: 6 Jul 18 Posts: 49 ![]() |
I don't understand it.I' don't understand how one can add one group to another group. You're not adding one group to another group. You're adding a user named boinc to the group named video. Jordan gave the right command but IIRC the syntax is incorrect. If his version does not work then try sudo usermod -a boinc -G video Do "man usermod" for details. |
![]() Send message Joined: 29 Aug 05 Posts: 15632 ![]() |
JordanMy name is Jorden, but since no one cares enough anymore to see if they spelled that correctly - you just showed that - I call myself Jord. Which people then still bastardise into the weirdest of spellings and adaptions. gave the right command but IIRC the syntax is incorrect.I did a search on the forums and picked it up from another thread. Shrug, go blame them if it doesn't work. |
Send message Joined: 6 Jul 18 Posts: 49 ![]() |
Take a look at my name and then tell me about it, Jurgen. I'm tempted to just change it to something easy like Bob. Anyway, how about we just call each other "J", OK?JordanMy name is Jorden, but since no one cares enough anymore to see if they spelled that correctly - you just showed that - I call myself Jord. Which people then still bastardise into the weirdest of spellings and adaptions. I saw it too. Methinks they mangled the parameters the way they mangle our names. Those silly name manglers huh?gave the right command but IIRC the syntax is incorrect.I did a search on the forums and picked it up from another thread. Shrug, go blame them if it doesn't work If you had provided a URL to the forum where you allegedly found the command, I would give them the same advice.... do man usermod. As for blaming them.... since when did blame enter the pic? I thought we were all just helping each other out here for free. You mean Toddler Tyrant needs to fire somebody over this? OMG, what did we start here? OMG^2... you going be fired? BTW, I pre-shrugged this whole thing before you shrugged. |
Copyright © 2025 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.