Message boards :
Number crunching :
Nvidia OpeCL?
Message board moderation
Author | Message |
---|---|
Send message Joined: 3 May 11 Posts: 5 Credit: 1,001,872,600 RAC: 1,704 |
<app_info> <app> <name>dnetc</name> </app> <file_info> <name>dnetc_wrapper_1.4_windows_intelx86__opencl_nvidia_101.exe</name> <executable/> </file_info> <file_info> <name>dnetc520-win32-x86-opencl.exe</name> <executable/> </file_info> <file_info> <name>dnetc-gpu-1.4.ini</name> </file_info> <file_info> <name>job-win32-opencl-520.1.xml</name> </file_info> <app_version> <app_name>dnetc</app_name> <version_num>104</version_num> <platform>windows_intelx86</platform> <avg_ncpus>0.1</avg_ncpus> <api_version>7.5.0</api_version> <file_ref> <file_name>dnetc_wrapper_1.4_windows_intelx86__opencl_nvidia_101.exe</file_name> <main_program/> </file_ref> <file_ref> <file_name>dnetc520-win32-x86-opencl.exe</file_name> <copy_file/> </file_ref> <file_ref> <file_name>dnetc-gpu-1.4.ini</file_name> <open_name>dnetc.ini</open_name> <copy_file/> </file_ref> <file_ref> <file_name>job-win32-opencl-520.1.xml</file_name> <open_name>job.xml</open_name> <copy_file/> </file_ref> <coproc> <type>NVIDIA</type> <count>1</count> </coproc> <dont_throttle/> <is_wrapper/> </app_version> </app_info> This app_info is running, but the tasks exiting after some seconds. stderr.txt means: 22:10:54 (14804): wrapper v1.4 build 18 for nVidia OpenCL starting (BOINC Wrapper v7.5.26011) 22:10:54 (14804): device: OpenCL: NVIDIA GPU 0: GeForce GTX 1070 (driver version 384.76, device version OpenCL 1.2 CUDA, 8192MB, 3558MB available, 6463 GFLOPS peak) 22:10:54 (14804): checkpoint interval: 0h15m00s00 (task 44800 GFLOPS, 0h00m06s93 per packet) 22:10:54 (14804): wrapper: running dnetc520-win32-x86-opencl.exe (-ini dnetc.ini -runoffline -multiok=1) - attempt 1/10 dnetc v2.9111-520-CTR-12082118 for OpenCL on Win32 (WindowsNT 6.2). Using email address (distributed.net ID) 'emailadress' [Sep 01 20:10:54 UTC] Unable to initialize OpenCL. [Sep 01 20:10:54 UTC] *Break* Shutting down... 22:10:55 (14804): dnetc520-win32-x86-opencl.exe exited; CPU time 0.000000 22:10:55 (14804): input buffer 2 packets (384 bytes), checkpoint file 0 packets (0 bytes), output buffer 0 packets (0 bytes) 22:10:55 (14804): premature exit detected, app exit status: 0xfffffffd 22:10:55 (14804): wrapper: running dnetc520-win32-x86-opencl.exe (-ini dnetc.ini -runoffline -multiok=1) - attempt 2/10 What can i do that my 1070 is running OpenCL tasks without any errors? |
Send message Joined: 26 Jun 16 Posts: 53 Credit: 1,866,706,325 RAC: 0 |
I'm not sure if OpenCL on NVidia is properly supported by the dnet 520 version of the client Moo Wrapper uses - it's one of the reasons I've been strongly in favor of Moo Wrapper upgrading to use of the CURRENT 521 dnet client, which definitely DOES work correctly with NVidia. You may also have an issue with the driver version you have not having initiated OpenCL support correctly - there were a couple of NVidia driver versions that had that issue, backing out to around 378 seems to help (and if you're not GAMING on the same machine they run more reliably as well). |
Send message Joined: 22 Jun 11 Posts: 2080 Credit: 1,844,402,920 RAC: 3,263 |
<app_info> Rename the app_info.cfg file to something else and close and then restart Boinc, if it works then you know at least where the problem is. This app_info is running, but the tasks exiting after some seconds. stderr.txt means: The above says you are using driver 384.76 but in fact you are using driver version NVIDIA GeForce GTX 1070 (4095MB) driver: 385.41 OpenCL: 1.2, there is one newer update than that...385.69 which you might also try. One other thing the above says your gpu has 8192mb of ram on the card but in fact you have 4095mb. |
Send message Joined: 3 May 11 Posts: 5 Credit: 1,001,872,600 RAC: 1,704 |
<app_info> This worthless answer is what i never expected from you. The point is that the card is only getting CUDA31 tasks from moo, no OpenCl tasks. I tried to get some with this app_info but there seems to be a mistake in this app_info. And this is what i want to find out with your help. Second the card ist a GTX1070 with 8Gb of memory. If BOINC means that there are only 4Gb than this is a mistake made by BOINC. Third I tried the newest driver 388.13 - same behaviour. No OpenCL tasks |
Send message Joined: 22 Jun 11 Posts: 2080 Credit: 1,844,402,920 RAC: 3,263 |
<app_info> 1st I don't use an app_config.xml file at any of my projects, so can't help you. 2nd as far as Boinc not saying it sees 8gb of your gpu it doesn't matter, each project writes their own app and it uses what it uses, if your gpu has 50gb of ram and the app is written correctly it will use it. No app at any project uses ONLY what Boinc tells it it sees on the gpu, so it doesn't matter. 3rd I use a newer version of the drivers than you do, I use driver: 385.69 and it works just fine for me on all of my gpu's at every project I crunch for. Have a happy Thanksgiving!! |
Send message Joined: 26 Jun 16 Posts: 53 Credit: 1,866,706,325 RAC: 0 |
For a machine that doesn't game, THE driver version that combines best performance AND best reliability is 373.06 - this comes out of extensive testing of driver versions by the FAH community, but should be applicable here as well. Unfortunately, if you use a GTX 1080 ti or more recent (like the newest Titan or the 1070 ti) you HAVE to use something more recent - I'd go with the 384.98 (November 2 update) version for LINUX, not sure on the WIndows side as my few remaining WIndows/NVida machines are all running older cards on 373.06 Newer on NVidia drivers are often NOT BETTER for compute usage, and a lot of the versions since 373.06 have been actively BROKEN for compute. The GTX 1070 is an 8GB card - there is no option for anything else on ANY version of it. Doesn't really matter though, as the underlying Dnet client only uses perhaps *A* megabyte if that much including data usage. The only way I've found to date to RELIABLY get a GTX 10xx series card to use OpenCL under Moo is to do the "copy the 521 client in place of the 520 client that Moo uses" trick, which only works 'till BOINC gets rebooted - it's one of the reasons I only run AMD cards on MOO, it's not worth the hassle to get my NVidia farm (almost all 1070/1080/1080i/1070ti cards, though I do have a FEW 950/960 left-overs) to work with Moo as long as Moo continues to use a client that is outdated and where the CURRENT client fixes quite a few issues. |
Send message Joined: 26 Jun 16 Posts: 53 Credit: 1,866,706,325 RAC: 0 |
If you're running the newest Nvidia cards like the 1070 ti, Linux driver version 384.98 seems to work reliably. I have no idea what Windows driver version works well with those cards as I've never inflicted Windows on any of the ones I have. STILL waiting on Moo Wrapper to update to the CURRENT Dnet 521 client, it's ridiculous that it's STILL insists on using the old BUGGY 520 client. |