Thanks for your efforts - works well with the BXT,SXT and NXT tools, but….All instructions for Pixinsight CUDA acceleration I've seen are too old to cover the latest generation of GPUs, so I wrote a tutorial. This should work on anything from GTX900 to RTX4000-series.
Even if you already got it to work using an older version of CUDA, it's a worthwhile update that will give a hefty speed boost with some GPUs.
https://rikutalvio.blogspot.com/2023/02/pixinsight-cuda.html
Fred, please explain „red herring“ to a German foolStarAlignment doesn't use GPU, so I think GPU settings are probably a red herring.
Thanks, so any other idea what could be wrong in the registration process?Ablenkungsmanöver (leading you in the wrong direction).
From Wikipedia:please explain „red herring“
The term was popularized in 1807 by English polemicist William Cobbett, who told a story of having used a strong-smelling smoked fish to divert and distract hounds from chasing a rabbit.
From Wikipedia:
I followed the instructions and was rewarded with at Windows 10 system running StarXTerminator and BlurXTerminator much more rapidly than before. A big win. Thanks for researching and sharing it.
However, I normally use the other boot on this box (Kubuntu 22.04) for my PI processing. I have yet to succeed in getting CUDA acceleration to work there. I'm still hoping to find a similar document for Linux that points out the "gotchas" like this one does for windows...
I also finally got it working with Ubuntu 22.04 today, but I managed to keep using the latest NVIDIA drivers (version 525, which are shipped with Ubuntu).Today I succeeded in getting the XTerminator family processes using my Nvidia GPU (GeForce RTX 3050). Definitely speeds thing up and means I don't have to flip back to Windows to run them.
Essentially I started by removing (purging, deleting, etc) the existing Nvidia drivers, Cuda, CuDNN, and Tensorflow components existing on my Linux system from previous failed attempts. Starting with installing an older Nvidia driver (470.161.03) instead of the current one and selecting the other components based on what Tensorflow 2.9.0 is reported to support, Cuda 11.2 and CuDNN 8.7.0.
Nice to hear things working as intended.@RT--
Thanks a bunch RT.
Received my GTX 1660 Ti yesterday and installed it last night.
I looked at many instruction sets and yours looked like the smoothest.
Well, it was. Smooth as it gets. Took no time with no issues at all.
StarXTerminator times went from 4+ minutes to 14-15 seconds.
Thanks a bunch!
Jim
Thank you very much for publishing these instructions. I've just replaced my graphics card (AMD) with a GeForce 1660 Super. Everything worked fine and starXterminator now takes 52 seconds to remove the stars from an APS-C size file. Down from 18min 37sec. I can't even get down stairs to make a cup of tea now ! very happy, best wishes and many thanks.All instructions for Pixinsight CUDA acceleration I've seen are too old to cover the latest generation of GPUs, so I wrote a tutorial. This should work on anything from GTX900 to RTX4000-series.
Even if you already got it to work using an older version of CUDA, it's a worthwhile update that will give a hefty speed boost with some GPUs.
https://rikutalvio.blogspot.com/2023/02/pixinsight-cuda.html
Hi RT,
I've just followed your excellent instructions with dramatic results. StarXTerminator down from 3min to 12s. Thank you!
Just some notes, in case it helps others...
1) I screwed up step one. I forgot to load the new tensorflow.dll. Doh!
The result was that the RC-Astro tools failed to load and were removed during PI start up.
Re-doing step 1, deleting "c:\Program Files\Pixinsight\updates.xri" and using "Pixinsight > Resources > Update > Check for updates" fixed that problem.
Follow the instructions!!!!!
2) Having corrected (1), StarTerminator still wasn't running any faster (3min).
So I checked / re-did all the steps. Still no improvement.
I did a re-boot and StarTerminator's speed increased (do System Environment Variables need a reboot?)
Perhaps it's worth adding a "reboot" recommendation to step 5?
3) After the correct configuration, the first run of StarXTerminator took 1min (instead of 3min - and excellent improvement).
It seemed to be an initial configuration (?). Interestingly, it didn't show "Pixinsight > Process Console" for quite a time. But when it did the % counter increased rapidly.
Subsequent, StarXTerminator runs took 15s. Even when restarting Pixinsight.
The laptop is a Dell G16, 32GB memory and NVIDIA GeForce RTX 4070.
Once again, thanks for your detailed notes.
Cheers, Jim
Interesting, so you renamed the dll but didn't add the new one? Then running without it caused all those issues?
A reboot is not required by anything in this guide. You probably had something hang in the background.