Forum

Author Topic: Pausing processing, exiting, reloading, continuing....  (Read 3640 times)

CheeseAndJamSandwich

  • Full Member
  • ***
  • Posts: 164
    • View Profile
    • Sketchfab Models
Pausing processing, exiting, reloading, continuing....
« on: November 10, 2021, 12:45:25 PM »
The alignment process for my project is taking 2.5-3 days, due to the overlapping nature of the scans and my 'crap' hardware...
Is it possible to pause Metashape in the middle of doing its processing, such that i can load another project, do processing, play a game, or edit videos, and then come back to MS and resume the processing job?

I've tried just the 'Pause' button on the "Processing in progress..." dialog when running my batch jobs, which does pause it, but it doesn't seem to release all the,  GPU resources, VRAM, and RAM (i guess, i have lots of this, so never been a problem) such that i can do anything else that requires the GPU...  It's crashed.
Is there a way of pausing it such that it doesn't crash?

The situation i have right now is that I've got my dive site aligning, which is going to take another 2 days, but I've got some turntable scanning of insect models to do, which will only be a few hundred photos at most, but will probably cause the crash again, if my experiences before are correct.  And i don't want to kill the batch job and lose the day of processing that it's already done.


It'd be excellent if we could pause MS, such that it does then free up all the resources, such that we could run another instance of MS, or PP, or a game, etc... And then press resume later, and it continues...
OR
To copy Windows, perhaps Metashape could have a hibernate feature, whereby it pauses, saves it exact state, and closes completely... Then absolutely anything could be done, updates, reboots, etc, annoying but sometimes necessary...  Then later, we could reload Metashape and resume the job from hibernation, where it continues where it left off...  As long as all the data is in the same place, everything should work fine.
Perhaps when this kind of pause/hibernation is demanded, MS might have to finish it's subtask and write off the completed zip files, etc, such that it can do a clean interruption.

Thanks.
My 'little' scan of our dive site, 'Manta Point'.  Mantas & divers photoshopped in for scale!
https://postimg.cc/K1sXypzs
Sketchfab Models:
https://sketchfab.com/cheeseandjamsandwich/models

wojtek

  • Sr. Member
  • ****
  • Posts: 284
    • View Profile
Re: Pausing processing, exiting, reloading, continuing....
« Reply #1 on: November 10, 2021, 03:23:29 PM »
The alignment process for my project is taking 2.5-3 days, due to the overlapping nature of the scans and my 'crap' hardware...
Is it possible to pause Metashape in the middle of doing its processing, such that i can load another project, do processing, play a game, or edit videos, and then come back to MS and resume the processing job?

I've tried just the 'Pause' button on the "Processing in progress..." dialog when running my batch jobs, which does pause it, but it doesn't seem to release all the,  GPU resources, VRAM, and RAM (i guess, i have lots of this, so never been a problem) such that i can do anything else that requires the GPU...  It's crashed.
Is there a way of pausing it such that it doesn't crash?

The situation i have right now is that I've got my dive site aligning, which is going to take another 2 days, but I've got some turntable scanning of insect models to do, which will only be a few hundred photos at most, but will probably cause the crash again, if my experiences before are correct.  And i don't want to kill the batch job and lose the day of processing that it's already done.


It'd be excellent if we could pause MS, such that it does then free up all the resources, such that we could run another instance of MS, or PP, or a game, etc... And then press resume later, and it continues...
OR
To copy Windows, perhaps Metashape could have a hibernate feature, whereby it pauses, saves it exact state, and closes completely... Then absolutely anything could be done, updates, reboots, etc, annoying but sometimes necessary...  Then later, we could reload Metashape and resume the job from hibernation, where it continues where it left off...  As long as all the data is in the same place, everything should work fine.
Perhaps when this kind of pause/hibernation is demanded, MS might have to finish it's subtask and write off the completed zip files, etc, such that it can do a clean interruption.

Thanks.

I wouldn't hold your breath, that is a fairly complex thing to do for a very small amount of users that don't use dedicated hardware for processing. Would be cool, though.

CheeseAndJamSandwich

  • Full Member
  • ***
  • Posts: 164
    • View Profile
    • Sketchfab Models
Re: Pausing processing, exiting, reloading, continuing....
« Reply #2 on: November 10, 2021, 04:38:45 PM »
If it could pause as it currently does, but in a way that released the resources, such that a 2nd instance, game, whatever, could then run... that'd be enough.

Alexey,  if i pause it between each subtask, does it release the resources then?  e.g. like as the times that it comes up say it's 'Found 1 GPU in 0 sec', etc....?
My 'little' scan of our dive site, 'Manta Point'.  Mantas & divers photoshopped in for scale!
https://postimg.cc/K1sXypzs
Sketchfab Models:
https://sketchfab.com/cheeseandjamsandwich/models