Anyone have had problems with processing large files?
Seems Startools crasches everytime I try to edit big images.
Tried to edit 1GB TIFF file with a resolution of 200 MPx, but it crasches when using HDR.
Problems is solved by using x64 version, but it is much slower.
I use win10.
/Stefan
Crashes when using GPU version
- Astroscapist
- Posts: 8
- Joined: Wed May 12, 2021 8:50 am
- Contact:
Crashes when using GPU version
/Stefan
I use AstroPixelProcessor, Startools and PS to edit my images
I use AstroPixelProcessor, Startools and PS to edit my images
Re: Crashes when using GPU version
Hi Stefan,Astroscapist wrote: ↑Tue Mar 15, 2022 2:20 pm Anyone have had problems with processing large files?
Seems Startools crasches everytime I try to edit big images.
Tried to edit 1GB TIFF file with a resolution of 200 MPx, but it crasches when using HDR.
Problems is solved by using x64 version, but it is much slower.
I use win10.
/Stefan
When processing datasets of that sort of size, the amount of graphics memory your GPU is equipped with, becomes quite important.
Depending on the algorithm, often the GPU will need to store multiple versions of your dataset in at least 32-bit precision, so that's 200M * 4 = 800MB per image, (multiplied by 3 if the algorithm processes multiple channels at the same time). At least one input and one output image applies, so that is multiplied by at least 2. For 2 * 800MB = 1.6GB of free graphics memory required for even the simplest algorithm. Note also that your OS will be using some graphics memory.
However, often, multiple inputs and intermediate states are applicable, all requiring 800MB each. This quickly adds up.
What are the specs of your GPU?
Ivo Jager
StarTools creator and astronomy enthusiast
StarTools creator and astronomy enthusiast
-
- Posts: 1166
- Joined: Sun Jun 20, 2021 10:05 pm
- Location: Alta Loma, CA
Re: Crashes when using GPU version
Any chance increasing that TDR timeout could help here, if changing to non-GPU doesn't crash? I've bumped that up on any computer I run ST on.
Though new HDR is so heavily CPU anyway, seems it might be kind of unusual that's the module that wants to crash.
Though new HDR is so heavily CPU anyway, seems it might be kind of unusual that's the module that wants to crash.
Re: Crashes when using GPU version
Again, if you can provide the specs/model of your GPU, then that would give an indication as to where the problem may lie.Mike in Rancho wrote: ↑Wed Mar 16, 2022 5:52 am Any chance increasing that TDR timeout could help here, if changing to non-GPU doesn't crash? I've bumped that up on any computer I run ST on.
Though new HDR is so heavily CPU anyway, seems it might be kind of unusual that's the module that wants to crash.
Ivo Jager
StarTools creator and astronomy enthusiast
StarTools creator and astronomy enthusiast
-
- Posts: 1166
- Joined: Sun Jun 20, 2021 10:05 pm
- Location: Alta Loma, CA
Re: Crashes when using GPU version
Me? I was just trying to help. And probably not doing a very good job of it.admin wrote: ↑Wed Mar 16, 2022 5:58 amAgain, if you can provide the specs/model of your GPU, then that would give an indication as to where the problem may lie.Mike in Rancho wrote: ↑Wed Mar 16, 2022 5:52 am Any chance increasing that TDR timeout could help here, if changing to non-GPU doesn't crash? I've bumped that up on any computer I run ST on.
Though new HDR is so heavily CPU anyway, seems it might be kind of unusual that's the module that wants to crash.
Re: Crashes when using GPU version
Oops. Apologies. I need to read more closely who I'm replying to (it's been a long day).Mike in Rancho wrote: ↑Wed Mar 16, 2022 3:59 pmMe? I was just trying to help. And probably not doing a very good job of it.admin wrote: ↑Wed Mar 16, 2022 5:58 amAgain, if you can provide the specs/model of your GPU, then that would give an indication as to where the problem may lie.Mike in Rancho wrote: ↑Wed Mar 16, 2022 5:52 am Any chance increasing that TDR timeout could help here, if changing to non-GPU doesn't crash? I've bumped that up on any computer I run ST on.
Though new HDR is so heavily CPU anyway, seems it might be kind of unusual that's the module that wants to crash.
There is indeed a chance a TDR change may help.
However, given the memory requirements for the dataset at 200MP, with a standard OpenCL GPU_MAX_ALLOC_SIZE of 25% and the average GPU now sitting at only ~4GB of memory based on statistics from gamers (which is likely not representative of StarTools users), my money would be on memory limitations.
Older AMD cards may also use a segmented memory model, which limits the size of hardware registers used to access memory (therefore limiting the total maximum size of memory that can be allocated/manipulated at once).
GPU architectures and capabilities are enormously diverse, so information as to what specific device (as well as drivers/OS!) we're dealing with is really needed to be able to make specific recommendations (GPU_MAX_ALLOC_SIZE may be changeable on some configurations for example!).
Ivo Jager
StarTools creator and astronomy enthusiast
StarTools creator and astronomy enthusiast
Re: Crashes when using GPU version
Yep crashes for me when I try and clip the image. Older win10 computer for me but still apps should not crash.
Re: Crashes when using GPU version
Hi,
How does the crash manifest itself?
What sort of GPU solution are you using?
Are the solutions/considerations in this thread of any help?
Thank you,
Ivo Jager
StarTools creator and astronomy enthusiast
StarTools creator and astronomy enthusiast