Agisoft Metashape

Agisoft Metashape => Bug Reports => Topic started by: vikingdude on February 21, 2017, 09:41:11 PM

Title: Error: all CUDA-capable devices are busy or unavailable at line 67
Post by: vikingdude on February 21, 2017, 09:41:11 PM
Has anyone else gotten this error with PS 1.3 and the latest nvdia drivers?

2017-02-20 18:52:19 Error: all CUDA-capable devices are busy or unavailable at line 67

On my laptop no issues but fresh install of windows 10 on my desktop and PS is not happy.

I can go back to a previous version of PS of course but I would enjoy being able to use the latest version.
Title: Re: Error: all CUDA-capable devices are busy or unavailable at line 67
Post by: Alexey Pasumansky on February 21, 2017, 10:03:03 PM
Hello vikingdude,

Which GPU you are using and which driver version is installed? And are there many other applications that are using GPU at the same time (you can check that with nvidia-smi utility)?
Title: Re: Error: all CUDA-capable devices are busy or unavailable at line 67
Post by: vikingdude on February 21, 2017, 10:12:28 PM
Hello I am using

Agisoft Photoscan Standard x64  1.3.0

Nvidia Geforce 970   driver version 378.66

I do run the Adobe CC suite such as Lightroom and Photoshop which do use the GPU also.  They are not running but I could go into their preferences and disable the GPU if somehow the programs are running in the background and exiting totally?
Title: Re: Error: all CUDA-capable devices are busy or unavailable at line 67
Post by: FlyRight-3D on February 24, 2017, 09:55:53 AM
Does the prompt read "launch error at line 67"?
Title: Re: Error: all CUDA-capable devices are busy or unavailable at line 67
Post by: Hans Keesom on March 03, 2017, 11:17:48 AM
Same problem with me. running an x79 motherboard, 3930K processor, windows 10 with a Nvidia Titan card with 6 GB VRAM.
Had to go back to previous version, which is a real pity.

Let me know if I can be of service to solve this problem.
Title: Re: Error: all CUDA-capable devices are busy or unavailable at line 67
Post by: Hans Keesom on March 06, 2017, 12:44:42 AM
Sorry I spoke to soon. Error did show up again.
Title: Re: Error: all CUDA-capable devices are busy or unavailable at line 67
Post by: Paula Lightfoot on March 09, 2017, 12:52:46 PM
Hi, is there any fix or workaround for this problem?  The only way I can get Photoscan 1.3 to work is to run it with the GPU disabled, this works ok but very slowly (over 40 hours to create a point cloud from around 200 UAV images at 'Ultra high' quality) so I don't see this as a practical solution. 
Thanks!
Paula
Title: Re: Error: all CUDA-capable devices are busy or unavailable at line 67
Post by: Hans Keesom on March 09, 2017, 11:17:16 PM
Hi, is there any fix or workaround for this problem?  The only way I can get Photoscan 1.3 to work is to run it with the GPU disabled, this works ok but very slowly (over 40 hours to create a point cloud from around 200 UAV images at 'Ultra high' quality) so I don't see this as a practical solution. 
Thanks!
Paula

Try slowing down you GPU a bit.

See http://www.agisoft.com/forum/index.php?topic=6548.msg32141#msg32141

Setting gpu offset and memory offset back to 0 did it for me since about 4 hours......
Title: Re: Error: all CUDA-capable devices are busy or unavailable at line 67
Post by: Paula Lightfoot on March 10, 2017, 01:34:59 PM
Thanks, I'll try that, I can't do anything at the moment as it is still running (has been for 3 days now on the same model) but before I start another one I will look at the settings in NVIDIA control panel. 
Title: Re: Error: all CUDA-capable devices are busy or unavailable at line 67
Post by: DaveCDS on March 18, 2017, 12:36:34 PM
I have the same problem with my first project using version 1.3. Nvidia GTX 980 8GB VRAM.