Go Back   IceInSpace > Equipment > Software and Computers
Register FAQ Calendar Today's Posts Search

Reply
 
Thread Tools Rate Thread
  #1  
Old 04-07-2025, 02:28 PM
Peter Ward's Avatar
Peter Ward
Galaxy hitchhiking guide

Peter Ward is offline
 
Join Date: Dec 2007
Location: The Shire
Posts: 8,475
PixInsight GPU acceleration

There have been posts elsewhere in this forum in relation to GPU acceleration of image processing using PixInsight and RC-Astro's AI based processing tools (Noise, Blur and Star removal).

These tools work remarkably well but can take several minutes to render
per image.

Nvidia's powerful Blackwell series GPU processor has recently been introduced but many self appointed "experts" on Facebook etc.
report they will not work with the RC-Asto suite.

This is simply not true.

However you will need to use certified Nvidia or Gigabyte GPU's. You can check to see what series/make of GPU is compatible with CUDA software on Nvidia's website.

I am using a Gigabyte 5070X

The easiest way to implement GPU acceleration of RC-Astro's tools is to add a new single line to the PixInsight repository (see RC-Astro's website for the details)

RC-Astro will then update Pixinsight with ALL of the tedious steps otherwise required. (e.g.Download Nvidia's CUDA, extra .dll's, enviroment variables, new Tensorflow.dll etc.)

I would however strongly recommend....before you do the above...rename the Tensorflow.dll file in your Pixinsight Bin folder to Tensorflow_CPU.dll (or similar) as a backup, in case all fails.

Also make a copy of the new Tensorflow.dll after the update above and save it as say TensorflowBAK.dll as future Pixinsight updates may overwrite the new GPU version.

When you first run any of the BlurX, StarX or NoiseX with a 5000 series card it will likely appear Pixinsight hangs at the image initialisation phase. Don't panic.
Let it think about it.
It might take ten minutes. (I had to wait six)

On subsequent processing, the time taken is nothing short of incredible.
A BluxX run that previously took 2 minutes 10 seconds to process was done in 4.2 seconds.

That's 30x faster than non-GPU processing times.
Reply With Quote
  #2  
Old 04-07-2025, 03:19 PM
joshman's Avatar
joshman (Josh)
Registered User

joshman is offline
 
Join Date: Aug 2007
Location: Coffs Harbour, Australia
Posts: 750
RC's Pixinsight repositry for enabling CUDA acceleration has been a lifesaver.


I've been using the RC suite with GPU acceleration for a while now, and the speed boost is truly incredible. I usually setup a process container to run several of the processes in sequence, and the worst I can recall so far was ~10 minutes to run a sequence of BlurX, StarX, and Noise X on a single Drizzle 2x image from an IMX455 Mono FF Sensor. (~240MP image)


I dare not contemplate what that would've taken without GPU acceleration.
Reply With Quote
  #3  
Old 04-07-2025, 11:44 PM
g__day's Avatar
g__day (Matthew)
Tech Guru

g__day is offline
 
Join Date: Dec 2005
Location: Sydney
Posts: 2,902
Solid advice Peter - having a single include file is so much easier than the old 12 step program requiring accounts with NVidia to download everything you require.

Backing up your tensorflow.dll file is very solid advice - I have done that before every major release of PI.

I mainly run my GPU based tasks - the Exterminators and Seti Astro's Cosmic Clarity Sharpen and Denoise on my RTX 4070 - it is about 10x - 15x times faster than my dual Xeons.

I have noticed when the Xterminators are first processing an image - they would take about 8 - 12 seconds to load it to the graphics card then the GPU based processing would complete in 5 - 15 seconds. Seti Astro's GPU enabled scripts take up to 15 - 20 seconds to load the image or the AI neural network - then take 10 - 20 seconds to process the image.

I just which the LN reference generation and local normalisation steps in WBPP were both GPU accelerated - that would be a real boon!
Reply With Quote
  #4  
Old 19-07-2025, 11:00 AM
g__day's Avatar
g__day (Matthew)
Tech Guru

g__day is offline
 
Join Date: Dec 2005
Location: Sydney
Posts: 2,902
Slight stray from topic to update the last line of my post above "I just which the LN reference generation and local normalisation steps in WBPP were both GPU accelerated - that would be a real boon!" in another thread on my dual Xeon rig - I noted swapping from Windows 10 Pro to Windows 11 Pro - sped up WBPP by a factor of 3.3 times for me - with the major speed gain in LN Reference Generation and Local Normalisation.

Tasks that used to take 10 - 20 minutes per master (and I have many masters in my typical workflow) now take 1-3 minutes - that is an amazing boon that left me delighted.

I really think PI deserves a WBPP benchmark - as well as its normal post processing benchmark - as My WBPP times have now decreased by 3-4 hours to often under an hour - that is a very real win.

Back on topic now - as Peter mentioned the 5XXX series of NVidia cards now do enable GPU acceleration for key tasks within PixInsight - something that for a few months was a worry it would not be enabled. So it is a total win.

Even I have shifted to the single repository line GPU install approach on all my PI rigs - its a great one line solution!
Reply With Quote
  #5  
Old 19-07-2025, 07:31 PM
Camelopardalis's Avatar
Camelopardalis (Dunk)
Drifting from the pole

Camelopardalis is offline
 
Join Date: Feb 2013
Location: Brisbane
Posts: 5,478
I’ve been using the GPU accelerated RC suite in PixInsight on Linux for a couple of years now. The process is practically the same - remove the tensorflow libraries that PI installs and you’re good to go!

I don’t remember how long they took on the CPU alone (Ryzen 5950X), but it’s basically breathe in and out a couple of times and it’s done on my 4090. Happy days

What other PI features are reportedly enabled on the 50x0 cards?
Reply With Quote
  #6  
Old 20-07-2025, 09:00 AM
jwoody's Avatar
jwoody (Jeremy)
Registered User

jwoody is offline
 
Join Date: Aug 2011
Location: Ormeau Hills, Australia
Posts: 374
I wish there was GPU acceleration for AMD cards
Reply With Quote
  #7  
Old 20-07-2025, 10:37 PM
rustigsmed's Avatar
rustigsmed (Russell)
Registered User

rustigsmed is offline
 
Join Date: Mar 2012
Location: Mornington Peninsula, Australia
Posts: 3,997
Quote:
Originally Posted by jwoody View Post
I wish there was GPU acceleration for AMD cards
https://sadrastro.com/pixinsight-gpu-acceleration-for-amd/
Reply With Quote
  #8  
Old 21-07-2025, 11:04 AM
jwoody's Avatar
jwoody (Jeremy)
Registered User

jwoody is offline
 
Join Date: Aug 2011
Location: Ormeau Hills, Australia
Posts: 374
Quote:
Originally Posted by rustigsmed View Post



Thank you
Reply With Quote
Reply

Bookmarks


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +10. The time is now 03:01 PM.

Powered by vBulletin Version 3.8.7 | Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Advertisement
Astrophotography Prize
Advertisement
Bintel
Advertisement