Jump to content

  •  

CNers have asked about a donation box for Cloudy Nights over the years, so here you go. Donation is not required by any means, so please enjoy your stay.

Photo

JetsonSky : software for Deep Sky videos

  • Please log in to reply
125 replies to this topic

#51 kite55surfer

kite55surfer

    Vostok 1

  • -----
  • Posts: 181
  • Joined: 02 Oct 2011

Posted 14 October 2022 - 01:01 PM

Your post was really important and it will be useful for people who want to install the software on a Windows platform.

 

I think you can ask some questions here. No problem.

 

Alain

Hi again Alain,

 

I can't find the library "Six". It does not exist in: "https://www.lfd.uci....ke/pythonlibs/"

 

I got all the other ones. What am I doing wrong?

 

You will need to install some Python libraries :

openCV library
numpy
pillow
pycuda
six


Edited by kite55surfer, 14 October 2022 - 01:03 PM.


#52 easybob95

easybob95

    Viking 1

  • -----
  • Vendors
  • topic starter
  • Posts: 671
  • Joined: 23 Apr 2014
  • Loc: France

Posted 14 October 2022 - 02:49 PM

Hi again Alain,

 

I can't find the library "Six". It does not exist in: "https://www.lfd.uci....ke/pythonlibs/"

 

I got all the other ones. What am I doing wrong?

 

You will need to install some Python libraries :

openCV library
numpy
pillow
pycuda
six

From what I can remember, you can install six with this command line :

pip install six

 

But it is possible six will be installed with opencv or bumpy or pillow.

 

Try to install those libraries before trying to install six.

 

Alain



#53 kite55surfer

kite55surfer

    Vostok 1

  • -----
  • Posts: 181
  • Joined: 02 Oct 2011

Posted 14 October 2022 - 02:51 PM

From what I can remember, you can install six with this command line :

pip install six

 

But it is possible six will be installed with opencv or bumpy or pillow.

 

Try to install those libraries before trying to install six.

 

Alain

OK. Thanks



#54 jkelly

jkelly

    Ranger 4

  • *****
  • Posts: 313
  • Joined: 06 Jun 2009
  • Loc: New Jersey

Posted 17 October 2022 - 08:19 AM

Alain,

 

I plan on using this setup on the upcoming meteor shower on the 20th.

I haven't seen any documentation on how to actually use the software.

Would you mind just going through a quick step list on how to get it going and recording?
Or a screen cam, if easier, on how you start a session?

 

TY!



#55 mklosterman1

mklosterman1

    Mariner 2

  • *****
  • Posts: 268
  • Joined: 04 Aug 2013
  • Loc: Rixeyville, VA

Posted 17 October 2022 - 08:24 AM

I know this is intended to be used with a wide angle lens but wondering if it is possible to use with a scope and supported camera?



#56 kite55surfer

kite55surfer

    Vostok 1

  • -----
  • Posts: 181
  • Joined: 02 Oct 2011

Posted 17 October 2022 - 09:14 AM

"the quality of the sky is also something very important"

I am wondering what bortle are you using the software on.

Mine is 7/8. and wondering if It would even work with that.

Still struggling with the software install. Can't find cl.exe.

 

Wonder if I should even bother keep trying, if my sky is not good enough. 

Thanks again!



#57 easybob95

easybob95

    Viking 1

  • -----
  • Vendors
  • topic starter
  • Posts: 671
  • Joined: 23 Apr 2014
  • Loc: France

Posted 18 October 2022 - 04:16 AM

I am wondering what bortle are you using the software on.

Mine is 7/8. and wondering if It would even work with that.

Still struggling with the software install. Can't find cl.exe.

 

Wonder if I should even bother keep trying, if my sky is not good enough. 

Thanks again!

Well, i used my software with quite bad sky and it was able to bring interesting results. If you want to see nebula, for sure, you will need a good sky. But even with a bad sky, you will see many things you can't see with your naked eyes.

 

For cl.exe, you will have to install Visual studio with C++ option. It is free for personal use.

 

Alain



#58 easybob95

easybob95

    Viking 1

  • -----
  • Vendors
  • topic starter
  • Posts: 671
  • Joined: 23 Apr 2014
  • Loc: France

Posted 21 October 2022 - 12:15 PM

Hello,

 

i have released a new version of JetsonSky for Windows & Linux. Latest version is now V14_19.

 

I have added a "ghost reducer" to reduce the ghost effect when using the AADF noise reducer. Just check or uncheck the ghost reducer checkbox.

 

I also added a support for ASI 533MM/MC and ASI533MM/MC Pro cameras. I did not test this support.

 

For IMX533 sensor : the full res will be only 3008*2260 to match my display window and all the smaller preset resolutions will be 1.33 ratio.

 

https://github.com/A...illou/JETSONSKY

 

Alain


Edited by easybob95, 21 October 2022 - 12:23 PM.


#59 kite55surfer

kite55surfer

    Vostok 1

  • -----
  • Posts: 181
  • Joined: 02 Oct 2011

Posted 21 October 2022 - 04:06 PM

Hi,

 

I have been trying to get the program to run (tried the latest one too), but I am stuck in:

 

"File "c:\JetsonSky_Windows\JetsonSky_V14_19_Windows_release.py", line 20, in <module>

    import pycuda.driver as drv
  File "C:\Users\emili\AppData\Local\Programs\Python\Python310\lib\site-packages\pycuda\driver.py", line 65, in <module>
    from pycuda._driver import *  # noqa
ImportError: DLL load failed while importing _driver: The specified procedure could not be found
."

 

I tried everything. All the suggestions from the web, reinstalling everything (several times), confirming all the Paths, and still not working.

 

I am just wondering if anybody trying your program had the same issue, and wouldn't mind sharing with me their findings.

 

Thanks for any help in advance! 



#60 easybob95

easybob95

    Viking 1

  • -----
  • Vendors
  • topic starter
  • Posts: 671
  • Joined: 23 Apr 2014
  • Loc: France

Posted 22 October 2022 - 08:59 AM

Well, Windows users did not report that kind of problem.

 

Did you install Microsoft Visual Studio with C++ ?

 

Maybe you could look here to see if you can try some solutions :

 

https://stackoverflo...ld-not-be-found

 

Just tell me if you can fix this issue.

 

Alain



#61 kite55surfer

kite55surfer

    Vostok 1

  • -----
  • Posts: 181
  • Joined: 02 Oct 2011

Posted 23 October 2022 - 09:41 AM

Well, Windows users did not report that kind of problem.

 

Did you install Microsoft Visual Studio with C++ ?

 

Maybe you could look here to see if you can try some solutions :

 

https://stackoverflo...ld-not-be-found

 

Just tell me if you can fix this issue.

 

Alain

Yes, I have Visual Studio installed (twice), but maybe I am installing the wrong version.

Can someone please send me a link (with the options) that they used.

Thanks!



#62 kite55surfer

kite55surfer

    Vostok 1

  • -----
  • Posts: 181
  • Joined: 02 Oct 2011

Posted 23 October 2022 - 06:36 PM

Yes, I have Visual Studio installed (twice), but maybe I am installing the wrong version.

Can someone please send me a link (with the options) that they used.

Thanks!

 

Well, Windows users did not report that kind of problem.

 

Did you install Microsoft Visual Studio with C++ ?

 

Maybe you could look here to see if you can try some solutions :

 

https://stackoverflo...ld-not-be-found

 

Just tell me if you can fix this issue.

 

Alain

Thanks Alain. I am trying different solutions from that link. Some are way over my head.

 

And I do have MVS with C++.

 

I found a "Problem" with your program, I am sure has nothing to do with my problem:

 

"choix_DEF" is not defined PylancereportUndefinedVariable [Ln 4307, Col 8]

 

but with my luck, who knows.

 

By the way as you can tell I am running your program in Visual Studio Code Terminal. Is that the way to run it?


Edited by kite55surfer, 23 October 2022 - 06:38 PM.


#63 kite55surfer

kite55surfer

    Vostok 1

  • -----
  • Posts: 181
  • Joined: 02 Oct 2011

Posted 23 October 2022 - 10:28 PM

After reinstalling everything for I don't know how many times, I am still with same Pycuda problem.

 

One thing I noticed when installing the Cuda 11.6 in customized mode I got: 

nvcc.exe graphic driver 5.11.233 this graphic driver could not find compatible graphics hardware

Not as a warning, but in the list of things that were installed, I had to look for it.

 

Is it possible my video card (NVIDIA GeForce GTX 780M) is causing this problem, not being compatible.

 

I never mentioned this because as far as the computer is concerned is a windows 11 machine, but I am running Bootcamp on a iMac.

 

Thanks for any help


Edited by kite55surfer, 23 October 2022 - 10:29 PM.


#64 easybob95

easybob95

    Viking 1

  • -----
  • Vendors
  • topic starter
  • Posts: 671
  • Joined: 23 Apr 2014
  • Loc: France

Posted 24 October 2022 - 05:36 AM

Hello,

 

maybe CUDA 11.6 is not suitable for GTX780M ?

 

If you have an error when installing CUDA, i guess things will go wrong.

 

First, you should find the suitable version for you GPU.

 

Maybe you could try to install CUDA 10.2 with this link :

 

https://developer.nv...t_type=exelocal

 

The base installer (2.6 GB) should be ok.

 

If the installation is ok without error message, it's a good start.

 

I supposed you have installed Python 3.10.8 64bits ?

 

There is not version of pycuda for Python 3.10 and CUDA 10.2

 

This means you will have to remove Python 3.10 and install Python 3.9 :

 

https://www.python.o....9.13-amd64.exe

 

I use IDLE from Python installation and it's fine.

 

For Microsoft visual studio with C++ (in order to get C++ compiler), well, i think there is no problem with the latest version. You will have to set cl.exe path in the environment variables. For example, for me, the path is this one :

 

C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\Hostx64\x64

 

You will have to check on your computer because this value (14.32.31326) will probably be different on your system. just set the good path.

 

Then, you will have to install the Python libraries.

 

To install the libraries :

 

https://pip.pypa.io/...ing-from-wheels

 

For windows environment, just use : py -m pip install SomePackage-1.0-py2.py3-none-any.whl

 

The place to find the libraries :

 

https://www.lfd.uci....lke/pythonlibs/

 

So, you have Python 3.9 and CUDA 10.2 and a 64 bits system. So, just download :

 

numpy‑1.22.4+vanilla‑cp39‑cp39‑win_amd64.whl

opencv_python‑4.5.5‑cp39‑cp39‑win_amd64.whl

Pillow‑9.1.1‑cp39‑cp39‑win_amd64.whl

pycuda‑2021.1+cuda102‑cp39‑cp39‑win_amd64.whl

 

If you need to install six, just use this command line : py -m pip install six

 

It should be ok.

 

In JetsonSky for Windows, don't forget to modify the path to point to your directories.

 

You will also have to install ZWO driver for their cameras and copy the SDK windows libraries in the good directories.

 

I know this software setup is really complicated and i am very sorry for that. Python is great and very simple but the software setup is not easy.

 

Just tell me about your tries.

 

Alain


Edited by easybob95, 24 October 2022 - 09:41 AM.


#65 easybob95

easybob95

    Viking 1

  • -----
  • Vendors
  • topic starter
  • Posts: 671
  • Joined: 23 Apr 2014
  • Loc: France

Posted 24 October 2022 - 07:10 AM

I solved an issue in V14_19. Still same version number.

 

Need to upload it again in Github.

 

Alain



#66 kite55surfer

kite55surfer

    Vostok 1

  • -----
  • Posts: 181
  • Joined: 02 Oct 2011

Posted 24 October 2022 - 09:35 AM

Hello,

 

maybe CUDA 11.6 is not suitable for GTX780M ?

 

If you have an error when installing CUDA, i guess things will go wrong.

 

First, you should find the suitable version for you GPU.

 

Maybe you could try to install CUDA 10.2 with this link :

 

https://developer.nv...t_type=exelocal

 

The base installer (2.6 GB) should be ok.

 

If the installation is ok without error message, it's a good start.

 

I supposed you have installed Python 3.10.8 64bits ?

 

There is not version of pycuda for Python 3.0 and CUDA 10.2

 

This means you will have to remove Python 3.10 and install Python 3.9 :

 

https://www.python.o....9.13-amd64.exe

 

I use IDLE from Python installation and it's fine.

 

For Microsoft visual studio with C++ (in order to get C++ compiler), well, i think there is no problem with the latest version. You will have to set cl.exe path in the environment variables. For example, for me, the path is this one :

 

C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\Hostx64\x64

 

You will have to check on your computer because this value (14.32.31326) will probably be different on your system. just set the good path.

 

Then, you will have to install the Python libraries.

 

To install the libraries :

 

https://pip.pypa.io/...ing-from-wheels

 

For windows environment, just use : py -m pip install SomePackage-1.0-py2.py3-none-any.whl

 

The place to find the libraries :

 

https://www.lfd.uci....lke/pythonlibs/

 

So, you have Python 3.9 and CUDA 10.2 and a 64 bits system. So, just download :

 

numpy‑1.22.4+vanilla‑cp39‑cp39‑win_amd64.whl

opencv_python‑4.5.5‑cp39‑cp39‑win_amd64.whl

Pillow‑9.1.1‑cp39‑cp39‑win_amd64.whl

pycuda‑2021.1+cuda102‑cp39‑cp39‑win_amd64.whl

 

If you need to install six, just use this command line : py -m pip install six

 

It should be ok.

 

In JetsonSky for Windows, don't forget to modify the path to point to your directories.

 

You will also have to install ZWO driver for their cameras and copy the SDK windows libraries in the good directories.

 

I know this software setup is really complicated and i am very sorry for that. Python is great and very simple but the software setup is not easy.

 

Just tell me about your tries.

 

Alain

Thanks Alain for your detailed explanations. I am working on it. Will keep you posted.



#67 kite55surfer

kite55surfer

    Vostok 1

  • -----
  • Posts: 181
  • Joined: 02 Oct 2011

Posted 24 October 2022 - 10:41 AM

Hello,

 

maybe CUDA 11.6 is not suitable for GTX780M ?

 

If you have an error when installing CUDA, i guess things will go wrong.

 

First, you should find the suitable version for you GPU.

 

Maybe you could try to install CUDA 10.2 with this link :

 

https://developer.nv...t_type=exelocal

 

The base installer (2.6 GB) should be ok.

 

If the installation is ok without error message, it's a good start.

 

I supposed you have installed Python 3.10.8 64bits ?

 

There is not version of pycuda for Python 3.10 and CUDA 10.2

 

This means you will have to remove Python 3.10 and install Python 3.9 :

 

https://www.python.o....9.13-amd64.exe

 

I use IDLE from Python installation and it's fine.

 

For Microsoft visual studio with C++ (in order to get C++ compiler), well, i think there is no problem with the latest version. You will have to set cl.exe path in the environment variables. For example, for me, the path is this one :

 

C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.32.31326\bin\Hostx64\x64

 

You will have to check on your computer because this value (14.32.31326) will probably be different on your system. just set the good path.

 

Then, you will have to install the Python libraries.

 

To install the libraries :

 

https://pip.pypa.io/...ing-from-wheels

 

For windows environment, just use : py -m pip install SomePackage-1.0-py2.py3-none-any.whl

 

The place to find the libraries :

 

https://www.lfd.uci....lke/pythonlibs/

 

So, you have Python 3.9 and CUDA 10.2 and a 64 bits system. So, just download :

 

numpy‑1.22.4+vanilla‑cp39‑cp39‑win_amd64.whl

opencv_python‑4.5.5‑cp39‑cp39‑win_amd64.whl

Pillow‑9.1.1‑cp39‑cp39‑win_amd64.whl

pycuda‑2021.1+cuda102‑cp39‑cp39‑win_amd64.whl

 

If you need to install six, just use this command line : py -m pip install six

 

It should be ok.

 

In JetsonSky for Windows, don't forget to modify the path to point to your directories.

 

You will also have to install ZWO driver for their cameras and copy the SDK windows libraries in the good directories.

 

I know this software setup is really complicated and i am very sorry for that. Python is great and very simple but the software setup is not easy.

 

Just tell me about your tries.

 

Alain

First problem installing CUDA 10.2:

 

"Graphics Driver 441.22 This graphic driver could not find compatible graphics hardware. You may continue installation, but you may not be able to run CUDA applications with this driver. This may occur with graphics hardware that is newer
than this toolkit. In that case, it is sugg" (line ended) run out of room I guess

 

I don't want to continue with anyything else. 

 

Any suggestion?

Thanks again!



#68 easybob95

easybob95

    Viking 1

  • -----
  • Vendors
  • topic starter
  • Posts: 671
  • Joined: 23 Apr 2014
  • Loc: France

Posted 24 October 2022 - 11:12 AM

And with an older driver ?



#69 kite55surfer

kite55surfer

    Vostok 1

  • -----
  • Posts: 181
  • Joined: 02 Oct 2011

Posted 24 October 2022 - 11:59 AM

And with an older driver ?

OK. How old and still will work with your program?

 

maybe you have a link.

 

Thanks again!!



#70 easybob95

easybob95

    Viking 1

  • -----
  • Vendors
  • topic starter
  • Posts: 671
  • Joined: 23 Apr 2014
  • Loc: France

Posted 24 October 2022 - 02:44 PM

I really don't know. Did you try latest driver ? Maybe it will be suitable to get actual driver to install CUDA ?

 

For now, I can't do anything because I have to solve an issue with my laptop (no more sound when updating intel graphic driver. This makes me a bit angry).

 

Alain



#71 kite55surfer

kite55surfer

    Vostok 1

  • -----
  • Posts: 181
  • Joined: 02 Oct 2011

Posted 24 October 2022 - 02:59 PM

I really don't know. Did you try latest driver ? Maybe it will be suitable to get actual driver to install CUDA ?

 

For now, I can't do anything because I have to solve an issue with my laptop (no more sound when updating intel graphic driver. This makes me a bit angry).

 

Alain

No worries Alain. Thanks!



#72 easybob95

easybob95

    Viking 1

  • -----
  • Vendors
  • topic starter
  • Posts: 671
  • Joined: 23 Apr 2014
  • Loc: France

Posted 26 October 2022 - 01:25 AM

On Nvidia website, i can see latest graphic cards drivers (522.25 WHQL) are ok with GTX980M GPU.

 

So, maybe you could try to install this driver and if everything is ok, you could try to install CUDA toolkit. In my opinion, CUDA 11.6 should be ok with latest GPU driver. If it dos not, maybe CUDA 10.2 will be ok.

 

Alain



#73 kite55surfer

kite55surfer

    Vostok 1

  • -----
  • Posts: 181
  • Joined: 02 Oct 2011

Posted 26 October 2022 - 08:42 AM

On Nvidia website, i can see latest graphic cards drivers (522.25 WHQL) are ok with GTX980M GPU.

 

So, maybe you could try to install this driver and if everything is ok, you could try to install CUDA toolkit. In my opinion, CUDA 11.6 should be ok with latest GPU driver. If it dos not, maybe CUDA 10.2 will be ok.

 

Alain

Thanks Alain,

I cannot install that driver-not compatible for installation.

But I manage to install a driver from 2019 (425.31) and reinstalled CUDA. Still driver not recognized.

By the way I tried every instance of CUDA back to V8.06 (with the proper VS versions, Python, and *.whl drivers). Unsuccesfully.

In one of the tries your program came up (blank page with your name on top left), but with too many errors. I tried the next  one up

because it was unusable, and so on, now I can't remember what version it was. Perhaps is an indication that the driver will work.

Now I am back at CUDA 11.6 with the Pycuda error, still looking for solutions.

 

I am still trying. Not giving up!

Thanks for evrything!


  • easybob95 likes this

#74 easybob95

easybob95

    Viking 1

  • -----
  • Vendors
  • topic starter
  • Posts: 671
  • Joined: 23 Apr 2014
  • Loc: France

Posted 26 October 2022 - 01:26 PM

Good luck kite55surfer !



#75 kite55surfer

kite55surfer

    Vostok 1

  • -----
  • Posts: 181
  • Joined: 02 Oct 2011

Posted 26 October 2022 - 02:03 PM

Good luck kite55surfer !

waytogo.gif




CNers have asked about a donation box for Cloudy Nights over the years, so here you go. Donation is not required by any means, so please enjoy your stay.


Recent Topics






Cloudy Nights LLC
Cloudy Nights Sponsor: Astronomics