Message boards : Questions and problems : GPU found under cmdline, but not when runned as service.
Message board moderation
Author | Message |
---|---|
Send message Joined: 26 Nov 10 Posts: 6 ![]() |
I installed boinc 1 week ago on my Windows Vista (32) machine, which got an Asus Geforce 460GTX videocard. I didnt installed Boinc as an service. I just took the standard installation. Now there is something weird going on. When i run Boinc manager, the client will get started automaticly. When this happens, and i look at the messages tab, i see that no GPU has been found. My videocard can work with Boinc. Its stated in the list. So i checked a bit more. When i kill the boinc client, Boinc manager saying it lost his connection with the Localhost. Ofc, this happend because i killed the client. Now the funny thing is, when i start Boinc.exe (client) by myself and it pops up in a dos-prompt box, i see that the commandline boinc found my GPU. Is this a restriction duo Windows Vista (session 0 stuff) handeling services in a bad way? How can i get this working on the normal way (Manager starts boinc client) with GPU support. At this moment i got Boinc manager up and the dos-prompt box (boinc.exe). Everthing what happpens in the dos prompt box happens also in the Boinc Manager message tab. But i dont want this. I just want Boinc manager up and not some dos prompt box in my task bar also. Thanks in advance. |
Send message Joined: 26 Nov 10 Posts: 6 ![]() |
Started Boinc Manager on the normal way through the Desktop Icon 26-11-2010 19:07:50 Starting BOINC client version 6.10.58 for windows_intelx86 26-11-2010 19:07:50 Config: use all coprocessors 26-11-2010 19:07:50 log flags: file_xfer, sched_ops, task 26-11-2010 19:07:50 Libraries: libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3 26-11-2010 19:07:50 Running as a daemon 26-11-2010 19:07:50 Data directory: C:\ProgramData\BOINC 26-11-2010 19:07:50 Running under account boinc_master 26-11-2010 19:07:50 Processor: 2 AuthenticAMD AMD Athlon(tm) 64 FX-62 Dual Core Processor [Family 15 Model 67 Stepping 2] 26-11-2010 19:07:50 Processor: 1.00 MB cache 26-11-2010 19:07:50 Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 htt pni cx16 syscall nx lm svm rdtscp 3dnowext 3dnow 26-11-2010 19:07:50 OS: Microsoft Windows Vista: Ultimate x86 Edition, Service Pack 2, (06.00.6002.00) 26-11-2010 19:07:50 Memory: 3.37 GB physical, 6.95 GB virtual 26-11-2010 19:07:50 Disk: 596.17 GB total, 444.64 GB free 26-11-2010 19:07:50 Local time is UTC +1 hours 26-11-2010 19:07:50 No usable GPUs found 26-11-2010 19:07:50 lhcathome URL http://lhcathome.cern.ch/lhcathome/; Computer ID 9802041; resource share 100 26-11-2010 19:07:50 SETI@home URL http://setiathome.berkeley.edu/; Computer ID 5614310; resource share 100 26-11-2010 19:07:50 No general preferences found - using BOINC defaults 26-11-2010 19:07:50 Reading preferences override file 26-11-2010 19:07:50 Preferences: 26-11-2010 19:07:50 max memory usage when active: 1726.78MB 26-11-2010 19:07:50 max memory usage when idle: 3108.21MB 26-11-2010 19:07:50 max disk usage: 10.00GB 26-11-2010 19:07:50 suspend work if non-BOINC CPU load exceeds 25 % 26-11-2010 19:07:50 (to change preferences, visit the web site of an attached project, or select Preferences in the Manager) 26-11-2010 19:07:52 Not using a proxy 26-11-2010 19:07:52 SETI@home Sending scheduler request: To fetch work. 26-11-2010 19:07:52 SETI@home Requesting new tasks 26-11-2010 19:07:53 SETI@home Scheduler request completed: got 0 new tasks 26-11-2010 19:07:53 SETI@home Message from server: Project has no tasks available I kill the Boinc.exe through Process-manager, and start it myself through explorer. Boinc dos prompt box shows up and found the GPU. Boinc Manager sees the client again and starts communicating. Result: 26-11-2010 19:11:55 Starting BOINC client version 6.10.58 for windows_intelx86 26-11-2010 19:11:55 Config: use all coprocessors 26-11-2010 19:11:55 log flags: file_xfer, sched_ops, task 26-11-2010 19:11:55 Libraries: libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3 26-11-2010 19:11:55 Data directory: C:\ProgramData\BOINC 26-11-2010 19:11:55 Running under account Oxize 26-11-2010 19:11:55 Processor: 2 AuthenticAMD AMD Athlon(tm) 64 FX-62 Dual Core Processor [Family 15 Model 67 Stepping 2] 26-11-2010 19:11:55 Processor: 1.00 MB cache 26-11-2010 19:11:55 Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 htt pni cx16 syscall nx lm svm rdtscp 3dnowext 3dnow 26-11-2010 19:11:55 OS: Microsoft Windows Vista: Ultimate x86 Edition, Service Pack 2, (06.00.6002.00) 26-11-2010 19:11:55 Memory: 3.37 GB physical, 6.95 GB virtual 26-11-2010 19:11:55 Disk: 596.17 GB total, 444.64 GB free 26-11-2010 19:11:55 Local time is UTC +1 hours 26-11-2010 19:11:55 NVIDIA GPU 0: GeForce GTX 460 (driver version 26099, CUDA version 3020, compute capability 2.1, 993MB, 363 GFLOPS peak) 26-11-2010 19:11:55 lhcathome URL http://lhcathome.cern.ch/lhcathome/; Computer ID 9802041; resource share 100 26-11-2010 19:11:55 SETI@home URL http://setiathome.berkeley.edu/; Computer ID 5614310; resource share 100 26-11-2010 19:11:55 No general preferences found - using BOINC defaults 26-11-2010 19:11:55 Reading preferences override file 26-11-2010 19:11:55 Preferences: 26-11-2010 19:11:55 max memory usage when active: 1726.78MB 26-11-2010 19:11:55 max memory usage when idle: 3108.21MB 26-11-2010 19:11:55 max disk usage: 10.00GB 26-11-2010 19:11:55 suspend work if non-BOINC CPU load exceeds 25 % 26-11-2010 19:11:55 (to change preferences, visit the web site of an attached project, or select Preferences in the Manager) 26-11-2010 19:11:57 Not using a proxy Somewhere in the middle "26-11-2010 19:11:55 NVIDIA GPU 0: GeForce GTX 460 (driver version 26099, CUDA version 3020, compute capability 2.1, 993MB, 363 GFLOPS peak)" So the only to get this working if this dos box stays in my taskbar and not runned as a deamon? |
Send message Joined: 5 Oct 06 Posts: 5149 ![]() |
Started Boinc Manager on the normal way through the Desktop Icon Those three lines, taken together, are your problem. When "running as a daemon" (aka service mode, Protected Application Execution), BOINC runs under its own account, which doesn't have (and can't be given, under Vista or Windows 7) the necessary rights to access the NVidia video driver. In your second log, BOINC is running under your login - you have the right to access the driver, and so does BOINC. Uninstall BOINC using "add/remove programs" (your account data, work in progress, stats data etc. will be left in place), and then re-install it but de-select 'Protected Application Execution' on the advanced options page. That should cure it. |
Send message Joined: 26 Nov 10 Posts: 6 ![]() |
Did that, but now it doesnt find any GPU. :) 26-11-2010 19:39:22 Starting BOINC client version 6.10.58 for windows_intelx86 26-11-2010 19:39:22 Config: use all coprocessors 26-11-2010 19:39:22 log flags: file_xfer, sched_ops, task 26-11-2010 19:39:22 Libraries: libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3 26-11-2010 19:39:22 Data directory: C:\ProgramData\BOINC 26-11-2010 19:39:22 Running under account Oxize 26-11-2010 19:39:23 Processor: 2 AuthenticAMD AMD Athlon(tm) 64 FX-62 Dual Core Processor [Family 15 Model 67 Stepping 2] 26-11-2010 19:39:23 Processor: 1.00 MB cache 26-11-2010 19:39:23 Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 htt pni cx16 syscall nx lm svm rdtscp 3dnowext 3dnow 26-11-2010 19:39:23 OS: Microsoft Windows Vista: Ultimate x86 Edition, Service Pack 2, (06.00.6002.00) 26-11-2010 19:39:23 Memory: 3.37 GB physical, 6.95 GB virtual 26-11-2010 19:39:23 Disk: 596.17 GB total, 443.69 GB free 26-11-2010 19:39:23 Local time is UTC +1 hours 26-11-2010 19:39:24 No usable GPUs found 26-11-2010 19:39:24 lhcathome URL http://lhcathome.cern.ch/lhcathome/; Computer ID 9802041; resource share 100 26-11-2010 19:39:24 SETI@home URL http://setiathome.berkeley.edu/; Computer ID 5614310; resource share 100 26-11-2010 19:39:24 No general preferences found - using BOINC defaults 26-11-2010 19:39:24 Reading preferences override file 26-11-2010 19:39:24 Preferences: 26-11-2010 19:39:24 max memory usage when active: 1726.78MB 26-11-2010 19:39:24 max memory usage when idle: 3108.21MB 26-11-2010 19:39:24 max disk usage: 10.00GB 26-11-2010 19:39:24 suspend work if non-BOINC CPU load exceeds 25 % 26-11-2010 19:39:24 (to change preferences, visit the web site of an attached project, or select Preferences in the Manager) 26-11-2010 19:39:24 Not using a proxy 26-11-2010 19:39:24 SETI@home Sending scheduler request: To fetch work. 26-11-2010 19:39:24 SETI@home Requesting new tasks 26-11-2010 19:39:25 SETI@home Scheduler request completed: got 0 new tasks 26-11-2010 19:39:25 SETI@home Message from server: Project has no tasks available Any more clues? |
Send message Joined: 5 Oct 06 Posts: 5149 ![]() |
Uninstall BOINC using "add/remove programs" (your account data, work in progress, stats data etc. will be left in place), and then re-install it but de-select 'Protected Application Execution' on the advanced options page. That should cure it. Odd - should be OK. You have non-standard files for both cc_config.xml and global_prefs_override.xml - just to be on the safe side, I'd review the contents of both of them, or even temporarily disable them by renaming or moving them. To re-test a changed cc_config.xml for GPU detection, you'll have to restart the BOINC core client, not just re-read the config file - this is one change you can't do on the fly. |
Send message Joined: 26 Nov 10 Posts: 6 ![]() |
26-11-2010 19:53:51 Starting BOINC client version 6.10.58 for windows_intelx86 26-11-2010 19:53:51 log flags: file_xfer, sched_ops, task 26-11-2010 19:53:51 Libraries: libcurl/7.19.7 OpenSSL/0.9.8l zlib/1.2.3 26-11-2010 19:53:51 Data directory: C:\ProgramData\BOINC 26-11-2010 19:53:51 Running under account Oxize 26-11-2010 19:53:51 Processor: 2 AuthenticAMD AMD Athlon(tm) 64 FX-62 Dual Core Processor [Family 15 Model 67 Stepping 2] 26-11-2010 19:53:51 Processor: 1.00 MB cache 26-11-2010 19:53:51 Processor features: fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 htt pni cx16 syscall nx lm svm rdtscp 3dnowext 3dnow 26-11-2010 19:53:51 OS: Microsoft Windows Vista: Ultimate x86 Edition, Service Pack 2, (06.00.6002.00) 26-11-2010 19:53:51 Memory: 3.37 GB physical, 6.95 GB virtual 26-11-2010 19:53:51 Disk: 596.17 GB total, 445.03 GB free 26-11-2010 19:53:52 Local time is UTC +1 hours 26-11-2010 19:53:52 NVIDIA GPU 0: GeForce GTX 460 (driver version 26099, CUDA version 3020, compute capability 2.1, 993MB, 363 GFLOPS peak) 26-11-2010 19:53:52 lhcathome URL http://lhcathome.cern.ch/lhcathome/; Computer ID 9802041; resource share 100 26-11-2010 19:53:52 SETI@home URL http://setiathome.berkeley.edu/; Computer ID 5614310; resource share 100 26-11-2010 19:53:52 No general preferences found - using BOINC defaults 26-11-2010 19:53:52 Reading preferences override file 26-11-2010 19:53:52 Preferences: 26-11-2010 19:53:52 max memory usage when active: 1726.78MB 26-11-2010 19:53:52 max memory usage when idle: 3108.21MB 26-11-2010 19:53:52 max disk usage: 10.00GB 26-11-2010 19:53:52 suspend work if non-BOINC CPU load exceeds 25 % 26-11-2010 19:53:52 (to change preferences, visit the web site of an attached project, or select Preferences in the Manager) 26-11-2010 19:53:52 Not using a proxy 26-11-2010 19:53:52 NVIDIA GPU 0: GeForce GTX 460 (driver version 26099, CUDA version 3020, compute capability 2.1, 993MB, 363 GFLOPS peak) So this caused by my config file? someone said to me to use this: <cc_config> <log_flags> </log_flags> <options> <ncpus>0</ncpus> <use_all_gpus>1</use_all_gpus> </options> </cc_config> |
Send message Joined: 5 Oct 06 Posts: 5149 ![]() |
26-11-2010 19:53:52 NVIDIA GPU 0: GeForce GTX 460 (driver version 26099, CUDA version 3020, compute capability 2.1, 993MB, 363 GFLOPS peak) Seems to have been, though that's not how I would have read the documentation. Either or both of us ought to check how that option works on single-GPU machines with the latest (v6.12.6) beta client. someone said to me to use this: The question is, which "someone" told you to do such a thing, and what were they trying to achieve when they gave you that "advice"? "Use all..." is only indicated when you have more than one GPU and they have dissimilar capabilities. |
Send message Joined: 26 Nov 10 Posts: 6 ![]() |
26-11-2010 19:53:52 NVIDIA GPU 0: GeForce GTX 460 (driver version 26099, CUDA version 3020, compute capability 2.1, 993MB, 363 GFLOPS peak) Nice to know. Thanks for fixing. Now waiting till SETI servers bringing out packets again. :( |
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.