PixInsight Forum

PixInsight => Announcements => Topic started by: Juan Conejero on 2019 October 01 09:40:35

Title: PixInsight 1.8.7 Released
Post by: Juan Conejero on 2019 October 01 09:40:35
I am glad to announce that PixInsight 1.8.7 has been released today. This version is a particularly important milestone, and I'm proud of all the hard work we have put into it.

Installation packages for PixInsight 1.8.7 are now available to all licensed users for FreeBSD, Linux, macOS and Windows:

https://pixinsight.com/dist/

This version is a major update that you have to install manually. It is not available as an application update.

If you have version 1.8.6 already installed, this new version does not require a license reactivation. If you are still using a 1.8.5 version or older, see the official 1.8.6 version announcement (https://pixinsight.com/forum/index.php?topic=12986.0) for a detailed description of our new licensing system. See also FAQ 2.10 (https://pixinsight.com/faq/index.html#faq0210) for additional information on license reactivations.


New Features

As always, our releases come with new features, bug fixes, and improvements. Here is a brief list with the most important changes.


PixInsight Platform: New Versioning System

(https://pixinsight.com/forum-images/20191001/version-tn.png)

So far PixInsight versions have consisted of four elements: major, minor, release and build version numbers. For example: 1.8.6.1475. Since version 1.8.7 onward, build version numbers will no longer be used. This applies to all components of the PixInsight platform, including the core application, all officially released modules, and our C++ and JavaScript development frameworks. So from now on you'll see new PixInsight versions released as 1.8.7, ..., 1.8.42, ... and so on.

For compatibility with some existing scripts and modules, the core application reports a fixed build number when requested from C++ or JavaScript code, which is higher than all previous versions. However, new scripts should not rely on build numbers anymore to check for existence of core features or other purposes.


Core Application: New Workspace Selectors

(https://pixinsight.com/forum-images/20191001/workspace-selectors-tn.png)

One of the most visible changes in the PixInsight core 1.8.7 application is its new Workspace Selector tool bar. Workspace selector items are now dynamic components that provide visual information on workspace contents. You'll see three small dots drawn on a selector with the following meaning:

- Top dot: The workspace contains process interface windows.
- Middle dot: The workspace contains process icons.
- Bottom dot: The workspace contains images.

The new workspace selectors provide you real-time feedback as your data and processes are being distributed throughout workspaces. This feature is particularly useful when you open a project. No more guessing about where icons, tools and images are located; now you know that at a glance.


Core Application: Improved Transfer View Zoom/Position Feature

When you drag a view selector and drop it on another selector, the position and zoom level of the source view are transferred to the target view. So far this only worked when both views had the same dimensions. Since version 1.8.7 this always works, irrespective of view geometry differences. When the views have different dimensions, target positions and zoom ratios are computed to approximate the source view conditions as best as possible. This is very useful to compare images at different scales, such as drizzle x2 and normal integration results.


StarAlignment: New Arbitrary Distortion Correction Algorithm

(https://pixinsight.com/forum-images/20191001/distortion-correction-tn.png)

A considerable amount of research and development work has been done on the StarAlignment tool in PixInsight 1.8.7. The most important changes are the following:

* A new arbitrary distortion correction algorithm, redesigned and reimplemented from scratch. This two-stage algorithm (iterative global distortion and local distortion models) aims at achieving centipixel accuracy in most image registration tasks.

* Star positions and fluxes are now computed from robust PSF fittings, including a new statistical weighting system based on robust goodness-of-fit estimates. This largely improves reliability and accuracy of image registration, especially under strong distortions.

* Improved intersection computation, which is now more efficient, accurate and robust. Frame intersections are computed by default in mosaic generation modes, and can also be enabled manually in register/match mode to solve small overlapping issues automatically.

* Improved RANSAC model validation routines, which are now more efficient and resilient to ill-posed image registration problems.

* Generation of distortion maps, which are special control images where each pixel value is proportional to the difference between the applied image registration model and a projective transformation. These maps are useful to check and evaluate image distortions.

* New randomized mosaic combination feature. In register/union mosaic mode, instead of replacing reference image pixels with registered target image pixels, both images are now combined by selecting pixels from one of the images randomly. This works much better to produce seamless mosaics without visible texture differences.

* Improved star maps generated in detected/matched stars working modes. Star maps can now be used directly as masks.

* Metadata items describing center celestial coordinates and image scale are now replaced with reference image values in all registered target images. This includes RA/DEC, OBJCTRA/OBJCTDEC, XPIXSZ/YPIXSZ and FOCALLEN FITS keywords, as well as the corresponding Observation:Center:RA, Observation:Center:Dec, Instrument:Sensor:XPixelSize, Instrument:Sensor:YPixelSize and Instrument:Telescope:FocalLength XISF properties.

* The user interface has been simplified. Many advanced parameters have been removed and are only available by editing instance source code. This has been possible because the new distortion correction algorithm is much more robust and requires virtually no manual intervention. It uses much more parameters internally, but there is no reason to change their default values, except in very unusual cases.


ImageIntegration: New Winsorization Cutoff Parameter / Improved Linear Fit Clipping

(https://pixinsight.com/forum-images/20191001/image-integration-tn.png)

Several improvements have also been implemented in the ImageIntegration tool. Besides other minor performance improvements, these are the main changes:

* New automatic buffer sizes feature. When this option is enabled, the ImageIntegration tool uses the largest possible buffer size and stack size values, calculated automatically from the amount of free physical memory currently available to PixInsight. Usually this is the best option to optimize image integration performance, especially because it is completely automatic. This option is enabled by default.

* New truncate on out-of-range parameter. When the output integrated image has saturated pixel samples out of the nominal [0,1] range, this option truncates saturated pixels instead of rescaling the whole image. No out-of-range values should occur after integration of a well-calibrated data set. However, with improperly calibrated data, saturated pixels may lead to out-of-range values after output normalization, depending on the frame selected as integration reference. When this happens, the best option for integration of light or science frames is a linear rescaling, which preserves all of the integrated data. However, in some cases altering all pixel values is not admissible, so a rescaling operation is not applicable. This is the case for integration of flat frames, where truncation is the only option available to preserve the correct illumination profile in the integrated master flat frame.

* New subtract pedestals option. When this option is enabled, existing (nonstandard) PEDESTAL keyword values are subtracted from input images. Some applications add small positive values (typically about 100 DN) systematically to calibrated light frames. These small pedestals should be subtracted from source integration pixels to refer all input data to the same zero point consistently. This option should be enabled under normal working conditions, and hence is enabled by default. PEDESTAL keywords generated by PixInsight always have positive values. Other applications may write negative values (another 'nice' example of FITS interoperability issue). For improved compatibility, when ImageIntegration finds a negative pedestal, it issues a warning message and assumes that the value is intended to be added.

* New Winsorization cutoff parameter. This is a cutoff point for the Winsorized sigma clipping rejection algorithm, expressed in sigma units. All pixel samples with absolute differences from the median larger than this parameter will be set equal to the median of the pixel stack in the first rejection iteration. This replaces extreme outliers, such as cosmics, hot and cold pixels, with plausible values instead of their nearest neighbors. This is more correct because allowing some influence from severe outliers does not make sense---after all, we know they are outliers without uncertainty, so Winsorizing them is a conceptual error. These errors, present in previous versions of the ImageIntegration tool, are insignificant statistically, so their practical influence is negligible. Nevertheless, we now have a fully correct implementation of Winsorized sigma clipping since PixInsight 1.8.7. The default Winsorization cutoff parameter value is 5 sigmas, which should be sufficient to detect extreme outliers without compromising the performance of the algorithm in terms of preservation of significant data.

* Improved implementation of linear fit clipping rejection. So far we have been using a slight simplification of the linear fit clipping algorithm. Instead of using the distance from each pixel value to the fitted straight line to make rejection decisions, we used only the vertical distance, for performance reasons. We now use accurate distance values, which is more correct mathematically, with a small computational cost. Again, the errors made in previous versions were negligible, mainly because fitted line slopes are usually small (for a nearly horizontal line, the vertical distance is a good approximation to the true distance from a point to the line). As a result of this change, you may notice small changes in the way linear fit clipping works, in terms of the required low and high clipping points, hopefully leading to a better rejection with more preservation of significant data.

* Improved preservation of existing metadata. Center celestial coordinates and geodetic observation coordinates are now averaged from the set of input images, and a large set of XISF properties and FITS keywords are preserved in the output integrated image. This greatly facilitates image analysis tasks, mainly for astrometry and photometry.


DrizzleIntegration: Improved Integration Geometry and Pixel Rejection / Local Distortion Support

(https://pixinsight.com/forum-images/20191001/drizzle-integration-tn.png)

* Improved integration geometry. Previous versions of the DrizzleIntegration tool had minor issues with the geometry of the final integrated image. As a result, drizzle-integrated and normal integrated images were not perfectly registrable, with differences up to 0.5 pixels. All of these issues have been fixed in the new version. The results of DrizzleIntegration and ImageIntegration for the same data set are now directly registered to centipixel accuracy, with an integer scaling factor equal to the applied drizzle scale.

* Improved pixel rejection. Previous versions of DrizzleIntegration made small pixel rejection mistakes sometimes. This has been fixed.

* DrizzleIntegration fully supports local distortion models generated by StarAlignment, which are now stored in .xdrz files. A new enable local distortion parameter has been added to provide control over this feature.

* Improved preservation of existing metadata, with the same functionality implemented in ImageIntegration.


PhotometricColorCalibration: New Narrowband Working Mode

(https://pixinsight.com/forum-images/20191001/pcc-tn.png)

The PhotometricColorCalibration tool implements a new narrowband working mode, along with the broadband mode already available in previous versions. For clarification, let's describe both modes and its associated working parameters:

* Broadband working mode: PCC calibrates the color of a picture acquired with broadband RGB filters. In this mode, the color calibration process equalizes the emissions of the specified white reference in the RGB filters. This means that, after performing the color calibration, the entire light coming from the white reference would have a proportion of 1:1:1. We base the color calibration on the photometry of the stars detected in the image. This photometry indicates the RGB weights needed to neutralize a white reference model, so we actually don't need an instance of the white reference inside the image.

* Narrowband working mode: Calibrate the color of a picture acquired with narrowband filters. Each color channel of the image should contain a single-waveband filter. This function equalizes the photons of the nebular emission lines in the different filters. As a result, the proportion of the emission line strengths, as emitted by the object, is preserved in the image. The wavelength and bandwidth of each narrowband filter should be specified, and to this purpose PCC has a new set of six parameters to define these values for the filters used in the red, green and blue channels of the target image. The default parameter values correspond to the frequently-used HOO combination (H-alpha for red and O-III for green and blue).

Both working modes implement algorithms designed by PTeam member Vicent Peris.


ImageSolver Script: New Advanced Alignment Mode

(https://pixinsight.com/forum-images/20191001/solver-tn.png)

PixInsight 1.8.7 includes the latest version 5.4.1 of the ImageSolver script, written by PTeam member Andrés del Pozo. This version implements a new algorithm to model field distortions more accurately, especially on wide field images. Basically, when this special mode is enabled the solver evaluates field distortions separately on nine image regions distributed on a regular 3x3 grid. This generates more accurate distortion models, especially for strongly distorted images acquired with consumer short focal length lenses. Along with this improvement, ImageSolver includes small changes necessary to adapt the script to the new features implemented in the StarAlignment tool.


PixelMath: New rndselect Function

The rndselect function is formally described as:

rndselect( a, b[, ...] )

This function evaluates to a randomly selected value among the set of arguments {a, b, ...}. This function is fantastic to combine images without visible texture differences. For example, to combine two separate mosaic frames A and B, you can use the following expression:

iif( A && B, rndselect( A, B ), A + B )

This function has been borrowed from the new MosaicGenerator tool, where I am implementing a randomized multiscale sub-band blending algorithm.


Updated Databases and Third-Party Support Libraries

PixInsight 1.8.7 includes the following updates to critical data sources and support libraries:

* The RAW format support module integrates the latest LibRaw-201903 snapshot version.

* Integration of gnuplot version 5.2.7

* Core application built with the latest Qt version 5.12.5.

* Delta T database updated with the latest data available from IERS Rapid Service/Prediction Center online files, as of 2019 September 29. Delta T is the difference in seconds between the TT (Terrestrial Time) and UT1 timescales for a given date. It is an essential observational quantity for ephemeris calculations and reduction of astronomical positions.

* CIP-ITRS database updated with the latest data available from IERS Rapid Service/Prediction Center online files, as of 2019 September 29. This database provides the coordinates of the Celestial Intermediate Pole (CIP) referred to the International Terrestrial Reference System (ITRS). These coordinates are necessary to account for polar motion in calculation of topocentric coordinates of solar system objects.


Bug Fixes

PixInsight 1.8.7 fixes all confirmed bugs detected since the last 1.8.6 release, with a unique exception: a complex bug (https://pixinsight.com/forum/index.php?topic=13479.0) involving the PixelMath and Statistics tools, which still is present in this version. I'll try to fix this problem as soon as possible with an update to the core application.


Known Problems

FreeBSD

* Recent versions of the KDE Plasma desktop environment include a morphing popups desktop effect that causes problems with PixInsight 1.8.6 and 1.8.7. If this effect is enabled, it slows down some dragging operations in the PixInsight core application, such as dragging icons and view selectors. You should disable this effect, which is very easy from KDE's System Settings panel. This problem is also present on Linux.

Linux

* PixInsight is not compatible with the open-source Nouveau graphics driver. If your distribution is using Nouveau, you must remove and replace it with the proprietary Nvidia driver in order to use PixInsight.

* The same problem with KDE's morphing popups desktop effect exists on FreeBSD and Linux (see above).

macOS

* On Apple laptops with dual graphics cards, the integrated Intel graphics driver causes problems with PixInsight 1.8.6 and 1.8.7. If you use one of these laptops, we recommend you disable the Automatic graphics switching option on System Preferences (Energy Saver section) before running the PixInsight core application. Otherwise you may experience some interface usability problems.

Windows

* There are problems with Intel graphics drivers on machines where the only graphics card available is an integrated Intel HD graphics GPU. This mainly affects laptops. This does not mean that PixInsight cannot work on these machines, just that you can expect screen rendering and usability issues. Unfortunately, there is nothing I can do to solve these problems, for now.

* On some laptops with nonstandard screen resolutions, such as the Microsoft Surface, PixInsight cannot find valid screen scaling factors automatically. On these machines, you may have to run the PixInsight core application with the --ui-scaling command line argument. For example, to apply a UI scaling factor of 2:

C:\Program Files\PixInsight\bin\PixInsight.exe --ui-scaling=2

You only have to do this once, since the scaling factor will be stored in application preferences automatically. Of course, if you already are using version 1.8.6 and the interface looks correct, then you don't need to do this; this is only required for new installations.

* The Export as PDF feature of the integrated web browser component does not work on Windows. I'll try to fix this in a future release.


Recommended Platforms and Supported Operating Systems

The reference implementations of PixInsight 1.8.7, where you may expect the maximum performance and best user experience, are the FreeBSD and Linux versions. Currently our primary development platforms are:

- Kubuntu Linux 18.04 LTS (https://kubuntu.org/)
- FreeBSD 12.0 (https://www.freebsd.org/)

On FreeBSD and Linux we strongly recommend running PixInsight on the KDE Plasma desktop environment. PixInsight 1.8.7 has been tested on the following Linux distributions:

Kubuntu 18.04 LTS
Kubuntu 19.04
Fedora 29
Fedora 30
Linux Mint 19.1

PixInsight 1.8.7 for Linux requires GLIBC 2.27 or a newer version.

PixInsight 1.8.7 for macOS is only compatible with macOS 10.12, 10.13 and 10.14. Older versions are not supported. The next macOS 10.15 should be supported without problems, although this has not been tested yet. Our installation packages have been notarized by Apple.

PixInsight 1.8.7 for Windows is compatible with Windows 10 exclusively. Windows 8.1, Windows 7 and older versions are not supported. The application may run well on Windows 7, but there is no guarantee.


Hardware Requirements: Breaking Changes

The FreeBSD, Linux and macOS versions of PixInsight 1.8.7 require a processor with SSE4.2 instruction support.


Short-Term Development Lines

During the next months we plan on releasing the following new products on the current PixInsight 1.8 platform:

* MosaicGenerator. An astrometry based automatic mosaic construction tool.

* DynamicBackground. An improved background modeling/correction tool, which will be the successor to the current DBE tool.

* A new tool (name still unknown) for astrometry based measurements, integrated with the core application.

* A new high-performance format for storage of large star databases. The Gaia DR2 catalog will be available for download as one of these databases. This will greatly improve all of our astrometry based tools, such as the ImageSolver script and the new MosaicGenerator tool, which will be able to work with local files without the limitations imposed by online services.


___________________

Thank you for your attention and continued support. Enjoy!
Title: Re: PixInsight 1.8.7 Released
Post by: sreilly on 2019 October 01 10:29:50
Just downloaded and installed but when I edit the startup.scp script I get the following:

* 1 initialization script(s) executed.

Processing script file: C:/Program Files/PixInsight/etc/startup/startup.scp
*** Error: *** Error: C:/Program Files/PixInsight/etc/startup/startup.scp, line 195: Unterminated string literal:
.open "C:\PI_FavsFolder\all.xpsm
................................^
* 1 startup script(s) executed.

This has worked in the past to load the process icons, will it no longer work? If not is there a work around?

Thanks,

Steve
Title: Re: PixInsight 1.8.7 Released
Post by: Juan Conejero on 2019 October 01 10:34:36
Hi Steve,

Your command lacks a terminating double quote:

.open "C:\PI_FavsFolder\all.xpsm

On the other hand, instead of backslashes I suggest you use UNIX directory separators, which are more portable:

.open "C:/PI_FavsFolder/all.xpsm"

This should work without problems.
Title: Re: PixInsight 1.8.7 Released
Post by: fatboy1271 on 2019 October 01 10:57:33
Thanks Juan and PI Team!

fat
Title: Re: PixInsight 1.8.7 Released
Post by: knro on 2019 October 01 11:03:08
As a daily KDE user & developer for almost 20 years now, it's awesome to see KDE as the recommended desktop environment. Great work Juan and the PI Team!
Title: Re: PixInsight 1.8.7 Released
Post by: TinySpeck on 2019 October 01 11:18:20
Wow!  Fantastic work and a great, thorough explanation here.  I can't wait to give it a test drive!
Title: Re: PixInsight 1.8.7 Released
Post by: JohnDrummond on 2019 October 01 11:33:35
Hi. I'm a relative newbie. I downloaded the 1.8.7. version and ran the installer. PixInsight stated that it was installed successfully (I didn't uninstall the old version). Then when I opened PI it asked for an online activation licence. I entered my username and 12 (not 16) character password, however a window pops up stating that Access is Denied and that they are Invalid User Credentials. I'm unsure what the old version of PI I was running as I can't open PI now! I run a 64-bit OS.

Any ideas please?

Regards
John D, NZ
Title: Re: PixInsight 1.8.7 Released
Post by: Warhen on 2019 October 01 12:46:58
Congrats Juan!! Almost in time for my birthday. ;>) Looking forward to checking it out! Was happy to have my little Windows Taskbar icon back. Also noted that you remembered the 'flat darks' verbiage change for BPP- very slick!

Pedestals "Other applications may write negative values (another 'nice' example of FITS interoperability issue). For improved compatibility, when ImageIntegration finds a negative pedestal, it issues a warning message and assumes that the value is intended to be added." This is good! As I came to understand it, the field was created and defined by the old SBIG company, who always displays a negative number (i.e. -100), meaning, "This is the value you need to subtract to remove the pedestal."

Thanks Juan. Go jump in the pool and turn on 87.6 Follow Me! ;>)   
Title: Re: PixInsight 1.8.7 Released
Post by: sreilly on 2019 October 01 13:27:24
Hi Steve,

Your command lacks a terminating double quote:

.open "C:\PI_FavsFolder\all.xpsm

On the other hand, instead of backslashes I suggest you use UNIX directory separators, which are more portable:

.open "C:/PI_FavsFolder/all.xpsm"


Indeed it did, thanks Juan. I hadn't noticed that.

-Steve

This should work without problems.
Title: Re: PixInsight 1.8.7 Released
Post by: JB Gayet on 2019 October 01 13:28:48
Wow, really cool update, especially concerning this "HOO color calibration" tool !!
And +1 to Warhen as a SBIG user :)
Title: Re: PixInsight 1.8.7 Released
Post by: Sedat on 2019 October 01 13:43:07
Just tried the image registration for merging two panes together and the result is really good.
Title: Re: PixInsight 1.8.7 Released
Post by: k8jb on 2019 October 01 15:38:17
Downloaded 1.8.7 for Linux twice and got two different files: one had the installer and PixInsight folder, the second had a tar file with the same installer and folder.  Neither seemed to install properly -  the installer reports no errors but 1.8.7 refuses to run.  I tried installing on VirtualBox but that has its own set of problems.

I re-installed 1.8.6 and it runs fine.  For the record, I'm using Linux Mint 18.3 Cinnamon on an i7-3770 platform with 16GB of memory.  I installed the Windows version on a Windows 10 system and so far so good and 1.8.7 also seemed to be OK on VMWare/Windows 7 installation.

Any ideas why my PI 1.8.7 installation fails while 1.8.6 is fine?

John
Title: Re: PixInsight 1.8.7 Released
Post by: mschuster on 2019 October 01 18:06:53
However, new scripts should not rely on build numbers anymore to check for existence of core features or other purposes.

Hi Juan,

I think I answered my own question: existing scripts that use build numbers are OK for the time being.

Thanks,
Mike
Title: Re: PixInsight 1.8.7 Released
Post by: Sedat on 2019 October 01 23:31:58
Good morning Juan,

Well, switching between two images now works by pressing Ctrl + Right arrow instead of the traditional Ctrl + Page Down. I can get used to this if this is how it will be from now on but wanted to let you know

Additionally, I am not able to connect with https://www.skypixels.com/HVB_Repository/ nor with http://www.skypixels.com/HVB_Repository/ .
Title: Re: PixInsight 1.8.7 Released
Post by: umasscrew39 on 2019 October 02 02:23:56
Hi Juan

I tried to download this but when I click on the link, it sends me back to the log in page even though I am already logged in.  When I re-enter my log in info, I get an ACCESS DENIED message.  How do I download the update?

Bruce
Title: Re: PixInsight 1.8.7 Released
Post by: Sedat on 2019 October 02 03:03:06
Quote
Additionally, I am not able to connect with https://www.skypixels.com/HVB_Repository/ nor with http://www.skypixels.com/HVB_Repository/ .

I figured this one out... www.skypixels.com is no longer valid.... www.skypixels.at should be used
Title: Re: PixInsight 1.8.7 Released
Post by: gianpri on 2019 October 02 04:32:48
In Pixinsight 1.8.7 on Windows 10 to switch from one image to another no longer works neither ctrl + right arrow nor ctrl + page down
Title: Re: PixInsight 1.8.7 Released
Post by: Juan Conejero on 2019 October 02 07:53:58
In Pixinsight 1.8.7 on Windows 10 to switch from one image to another no longer works neither ctrl + right arrow nor ctrl + page down

This is a confirmed bug, which I have just fixed. I am preparing an update to the core application that solves this issue. Sorry for the inconvenience.
Title: Re: PixInsight 1.8.7 Released
Post by: SdA on 2019 October 02 08:37:31
The new release works perfectly and faster in Win 7, x64, build 7601.  Thank you !
Title: Re: PixInsight 1.8.7 Released
Post by: TomB on 2019 October 02 11:32:20
Is it required to remove version 1.8.6 on a Linux based system prior to installing 1.8.7?

Tom
Title: Re: PixInsight 1.8.7 Released
Post by: Juan Conejero on 2019 October 02 12:30:00
Hi Tom,

The UNIX/Linux installer program removes a previous version automatically by default. Just answer 'yes' to the installer.
Title: Re: PixInsight 1.8.7 Released
Post by: blinky on 2019 October 02 12:47:05
The Pixinsight icon has gone from the Windows taskbar, just shows a white file type icon
Title: Re: PixInsight 1.8.7 Released
Post by: Astrostar on 2019 October 02 13:22:29
The Pixinsight icon has gone from the Windows taskbar, just shows a white file type icon


Hi Blinky,


I see this with each major update. Simply unpin the old icon and re-pin the icon to the task bar from the new version.


Dave
Title: Re: PixInsight 1.8.7 Released
Post by: jtalbot on 2019 October 02 14:38:25
Juan,

Thanks so much for all your hard work with this major release.  I'm looking forward to the upcoming new mosaic tool. 

Jon
Title: Re: PixInsight 1.8.7 Released
Post by: RBA on 2019 October 02 17:01:15
PixInsight 1.8.7 for Windows is compatible with Windows 10 exclusively. Windows 8.1, Windows 7 and older versions are not supported. The application may run well on Windows 7, but there is no guarantee.

Thank you for the update, Juan. What aspects of this release are only compatible with Windows 10?

RBA
Title: Re: PixInsight 1.8.7 Released
Post by: javajunkie2121 on 2019 October 02 17:57:35
The new release works perfectly and faster in Win 7, x64, build 7601.  Thank you !

take care...I loaded on my win 7:  got freeze when I clicked "load Project"...if you load a single image first, it then will respond to load project...but not working well on win 7 so reverted to older build

jeff
Title: Re: PixInsight 1.8.7 Released
Post by: Ruediger on 2019 October 03 04:38:19
Hello Juan,

I have noticed two issues with the "New Workspace Selectors".

I am using Win10 with multiple screens (AMD GPU, no Intel).
1. Whenever PI is not on the primary screen the workspace previews are empty. When PI is on primary screen it works fine.
please see attached screenshots.
2. the previews are always displayed on main screen, but not on the screen PI is running on

BTW: Also noticed when minimizing process icons, they are minimized more or less randomly to any screen. This ends up "searching" the icon every where.

Thank you in advance!

Cheers
Ruediger
Title: Re: PixInsight 1.8.7 Released
Post by: Sedat on 2019 October 03 05:16:45
Is there a way to keep installed scripts in place when we update to a new version ? Upto now, I had to re-install all the scripts from scratch. Maybe I'm doing something wrong ?

Title: Re: PixInsight 1.8.7 Released
Post by: Brad on 2019 October 03 05:19:20
Hello Juan,

Congrats on the new release! Appreciate you and the teams hard work to make PI a fabulous platform and to continue to improve it for all of us!

I am running 1.8.7 on a Mac pro. Sorry, don't have the specifics of the OS as I am not in front of that system right now. It's definitely running the latest version though for sure.

I can say I've noticed a slight lag in some things. For instance, dragging an instance icon, or even blue triangle to an image exhibits a slight delay prior to operation kicking in and seeing spinning color wheel. This was not exhibited in 1.8.6.xxx for me.

Another, worse item I am experiencing is the RealTimePreview. I am noticing a rendering delay of at least 30 seconds, and sometimes into minutes in the preview window when I initially launch it and make parameter changes in the associated tool. I've rebooted, and restarted PI 1.8.7 but the problem persists.

I initially installed 1.8.7 when released and have seen 1 update and have applied that as well.

I've reverted to 1.8.6 and the issue is not present.
Title: Re: PixInsight 1.8.7 Released
Post by: Sedat on 2019 October 03 05:20:07
Juan thank you for your prompt action! I just installed the bug fix and I can confirm that the Ctrl + PgDwn functionality is in place, workin perfectly.

Title: Re: PixInsight 1.8.7 Released
Post by: SdA on 2019 October 03 05:45:49
The new release works perfectly and faster in Win 7, x64, build 7601.  Thank you !

take care...I loaded on my win 7:  got freeze when I clicked "load Project"...if you load a single image first, it then will respond to load project...but not working well on win 7 so reverted to older build

jeff

Thank you javajunkie2121.  I can load projects without any problems. Everything from the new release works and I insist faster than the previous version.
Title: Re: PixInsight 1.8.7 Released
Post by: Warhen on 2019 October 03 08:25:18
Juan, Per attached, I have been getting this stuck readout box in the workspace. It pops up, then lingers without fading away. Thanks.
Title: Re: PixInsight 1.8.7 Released
Post by: 1DegreeN on 2019 October 03 16:34:52
I had the stuck readout box yesterday but I haven't upgraded yet, I'm still on 1.8.6.1475 (Windows 10 x64).
Title: Re: PixInsight 1.8.7 Released
Post by: Juan Conejero on 2019 October 04 08:14:39
Hi Brad,

Thank you for your very nice words. I am sorry to read about the problems you are experiencing. We don't have a Mac Pro, but version 1.8.7 of PixInsight works without any problems on all of our iMac and MacBook Pro machines. All of them are running macOS 10.14.6. All icons move very fast on the screen, and the Real Time Preview window is fast and perfectly responsive to all tools that use it. I have no idea why this is happening to you; we definitely cannot reproduce these problems. Sorry for not being able to offer more specific help, but I cannot help with a problem that we cannot reproduce.

Hello Juan,

Congrats on the new release! Appreciate you and the teams hard work to make PI a fabulous platform and to continue to improve it for all of us!

I am running 1.8.7 on a Mac pro. Sorry, don't have the specifics of the OS as I am not in front of that system right now. It's definitely running the latest version though for sure.

I can say I've noticed a slight lag in some things. For instance, dragging an instance icon, or even blue triangle to an image exhibits a slight delay prior to operation kicking in and seeing spinning color wheel. This was not exhibited in 1.8.6.xxx for me.

Another, worse item I am experiencing is the RealTimePreview. I am noticing a rendering delay of at least 30 seconds, and sometimes into minutes in the preview window when I initially launch it and make parameter changes in the associated tool. I've rebooted, and restarted PI 1.8.7 but the problem persists.

I initially installed 1.8.7 when released and have seen 1 update and have applied that as well.

I've reverted to 1.8.6 and the issue is not present.
Title: Re: PixInsight 1.8.7 Released
Post by: Juan Conejero on 2019 October 04 08:17:35
Hi Warren,

Thank you! As for the issue you are describing, I cannot reproduce it on any of our machines, on any platform. Can you describe some pattern to reproduce this problem?

Juan, Per attached, I have been getting this stuck readout box in the workspace. It pops up, then lingers without fading away. Thanks.
Title: Re: PixInsight 1.8.7 Released
Post by: Juan Conejero on 2019 October 04 08:27:57
Hi Rogelio,

We build and test the Windows version of PixInsight exclusively on Windows 10. Since we don't test the platform on other Windows versions, and we no longer make any specific effort to ensure compatibility of our code base with them, we cannot support them officially. Besides this, Windows 7 is now an obsolete operating system. Its support ended in January 2015, and its maintenance will end definitely on January 2020.

PixInsight 1.8.7 for Windows is compatible with Windows 10 exclusively. Windows 8.1, Windows 7 and older versions are not supported. The application may run well on Windows 7, but there is no guarantee.

Thank you for the update, Juan. What aspects of this release are only compatible with Windows 10?

RBA
Title: Re: PixInsight 1.8.7 Released
Post by: Juan Conejero on 2019 October 04 08:58:50
Hi Ruediger,

Admittedly, we still have to do a lot of work to support multiple monitor setups correctly on all platforms, especially on Windows and macOS. Right now we are concentrating all of our efforts to evolve the PixInsight platform in several critical aspects, including image processing tasks and astronomical applications where we must achieve the best possible implementations, as well as other fields where we must prevent the risk of becoming less competitive. Unfortunately, our resources are very limited, and we cannot cover everything. Necessarily, some corner cases must remain uncovered for now, since we simply cannot afford to invest the required time and resources to work on them as necessary. I'll try to improve on the situation you are describing in a future version. Sorry for the inconvenience, and thank you for pushing us.

Hello Juan,

I have noticed two issues with the "New Workspace Selectors".

I am using Win10 with multiple screens (AMD GPU, no Intel).
1. Whenever PI is not on the primary screen the workspace previews are empty. When PI is on primary screen it works fine.
please see attached screenshots.
2. the previews are always displayed on main screen, but not on the screen PI is running on

BTW: Also noticed when minimizing process icons, they are minimized more or less randomly to any screen. This ends up "searching" the icon every where.

Thank you in advance!

Cheers
Ruediger
Title: Re: PixInsight 1.8.7 Released
Post by: Brad on 2019 October 04 09:18:04
Hi Brad,

Thank you for your very nice words. I am sorry to read about the problems you are experiencing. We don't have a Mac Pro, but version 1.8.7 of PixInsight works without any problems on all of our iMac and MacBook Pro machines. All of them are running macOS 10.14.6. All icons move very fast on the screen, and the Real Time Preview window is fast and perfectly responsive to all tools that use it. I have no idea why this is happening to you; we definitely cannot reproduce these problems. Sorry for not being able to offer more specific help, but I cannot help with a problem that we cannot reproduce.

Hi Juan,

Understand for sure. I'll have more time this weekend and I'll play around with it some more and see if I can figure anything out. Thanks again.

Title: Re: PixInsight 1.8.7 Released
Post by: ario on 2019 October 04 09:35:50
Hi Juan,
I have to report a bug with this version 1.8.7:
Windows 10/64 Dell Latitude E6540 with 2 monitors.
I made a mosaic of NGC7000 6x5
the script MosaicByCoordinates with this version does not work, it reports "TypeError: resWindow is null" for all images.

I reinstalled the old version 1.8.6.1473 and now the script MosaicByCoordinates with the same files works perfectly again.

Another problem but also with 1.8.6.1473 is that the mouse icon moves slowly when it is over an image , it seems like a break. 2-3 versions before the movement was just normal using the same system. Well this is a very little problem, anyway.

Armando
Title: Re: PixInsight 1.8.7 Released
Post by: cwinkler on 2019 October 04 10:01:44
Hi. I'm a relative newbie. I downloaded the 1.8.7. version and ran the installer. PixInsight stated that it was installed successfully (I didn't uninstall the old version). Then when I opened PI it asked for an online activation licence. I entered my username and 12 (not 16) character password, however a window pops up stating that Access is Denied and that they are Invalid User Credentials. I'm unsure what the old version of PI I was running as I can't open PI now! I run a 64-bit OS.

Any ideas please?

Regards
John D, NZ


I had a similar problem.... I was told to request a new authorization code, which can be easily done from the log-in screen...
Title: Re: PixInsight 1.8.7 Released
Post by: Andres.Pozo on 2019 October 04 10:23:26
I made a mosaic of NGC7000 6x5
the script MosaicByCoordinates with this version does not work, it reports "TypeError: resWindow is null" for all images.
I can not reproduce this problem. To test it I would need at least two of the images that fail and a capture of the window of MosaicByCoordinates with all the panels expanded.

Andrés.
Title: Re: PixInsight 1.8.7 Released
Post by: Ruediger on 2019 October 04 13:50:10
Hi Ruediger,

Admittedly, we still have to do a lot of work to support multiple monitor setups correctly on all platforms, especially on Windows and macOS. Right now we are concentrating all of our efforts to evolve the PixInsight platform in several critical aspects, including image processing tasks and astronomical applications where we must achieve the best possible implementations, as well as other fields where we must prevent the risk of becoming less competitive. Unfortunately, our resources are very limited, and we cannot cover everything. Necessarily, some corner cases must remain uncovered for now, since we simply cannot afford to invest the required time and resources to work on them as necessary. I'll try to improve on the situation you are describing in a future version. Sorry for the inconvenience, and thank you for pushing us.


Hi Juan,

totally understanding your points. The empty work space previews are definitely not a show stopper, but the point that process icons get lost on multi screens is really tedious. I use 5x24" screens and it is almost not possible to work with, since you spent most of the time with searching process icons. It feels like watching a tennis game: left-right-left.... :P

Maybe it is possible to have at least a look on this aspect only: Keeping the process icons somewhere defined would be great.

Thanks a lot - a great job anyway!

Cheers
Ruediger
Title: Re: PixInsight 1.8.7 Released
Post by: ario on 2019 October 05 02:25:52
I made a mosaic of NGC7000 6x5
the script MosaicByCoordinates with this version does not work, it reports "TypeError: resWindow is null" for all images.
I can not reproduce this problem. To test it I would need at least two of the images that fail and a capture of the window of MosaicByCoordinates with all the panels expanded.

Andrés.
Hi Andrés,
I reinstalled the new version and tryed again:

in attachment you can see the start window of MosaicByCoordinates and the Error that follows using V1.8.7 (with 1.8.6 no problem)

the files xisf are 2.3MB each, from QHY9 in bin4. The restriction for attachment is 512KB. If you need a couple tell me how to send them to you.

it seems that when it start to save the keywords after image warping, it finds a string instead of a numeric value.

Armando

Title: Re: PixInsight 1.8.7 Released
Post by: Andres.Pozo on 2019 October 05 02:47:47
the files xisf are 2.3MB each, from QHY9 in bin4. The restriction for attachment is 512KB. If you need a couple tell me how to send them to you.
I need the images, without them I can't know what is happening.
You can use any file transfer service that you like (dropbox, wetransfer, ...) If you don't want to make public your images, you can send me the link by private message.

Andrés.
Title: Re: PixInsight 1.8.7 Released
Post by: ario on 2019 October 05 03:04:40
the files xisf are 2.3MB each, from QHY9 in bin4. The restriction for attachment is 512KB. If you need a couple tell me how to send them to you.
I need the images, without them I can't know what is happening.
You can use any file transfer service that you like (dropbox, wetransfer, ...) If you don't want to make public your images, you can send me the link by private message.

Andrés.

I put 4 fotos 1-4 in
https://we.tl/t-e6anuf8IZO
1 is the right bottom corner of the mosaic.
I hope the link works.
Armando

Title: Re: PixInsight 1.8.7 Released
Post by: Andres.Pozo on 2019 October 05 03:33:05
I put 4 fotos 1-4 in
https://we.tl/t-e6anuf8IZO
1 is the right bottom corner of the mosaic.
I hope the link works.
Armando
Thanks ario. I can now reproduce the failure. However, it fails due to changes I am not responsible for. I have reported this so Juan is aware of it.
Title: Re: PixInsight 1.8.7 Released
Post by: astrojeff on 2019 October 05 08:16:24
nice release but 1.5hrs to download the 228mb file?  Its been like this for days.  I have a 1G/1G connection.  Is there an issue with the Software Distribution site?
Title: Re: PixInsight 1.8.7 Released
Post by: JeffSeivert on 2019 October 05 12:48:04
Thanks for the update to PI!
I'm having an issue when using the Batch Preprocessing Script in the new 1.8.7.  The screen goes black after a few seconds and never recovers.  Everything else seems to work fine.
I read the release notes and saw that there may be rendering issues on laptops with an Intel video card and I wonder if this is the problem.
My specs: Asus laptop, Core i7-4720 HQ CPU @ 2.6Ghz and 16GB RAM.
I also have Intel HD 4600 Graphics and NVIDIA GeForce GTX-950M (2GB) cards.

So my question, is there a way to force PI to use the GeForce card and hopefully avoid the rendering issue?
Otherwise, is my only option to go back to 1.8.6?  And out of curiosity, what changed between 1.8.6 and .7 regarding the rendering?

I uninstalled 1.8.7 and installed 1.8.6 and it ran perfectly with the same files.

Thanks for an awesome platform and support!
Jeff
 
Title: Re: PixInsight 1.8.7 Released
Post by: Barry-Wilson on 2019 October 06 10:06:15
Hi Juan

Like Brad I use an iMac with OS 10.14.6 Mojave and I too am noticing considerable delay in the real time preview window and, in general, a slower response time.

Is there anything I can do to help you diagnose if there is an issue?

Barry
Title: Re: PixInsight 1.8.7 Released
Post by: Juan Conejero on 2019 October 06 11:18:38
Hi Barry,

As I said in my answer to Brad's post, I cannot reproduce this problem. Version 1.8.7 works perfectly fine on all of our working Mac machines. All of them run macOS 10.14.6.

The only thing I can figure out here is a third-party application interfering with PixInsight. Do you have some virus protection application, or a similar utility?
Title: Re: PixInsight 1.8.7 Released
Post by: Julien on 2019 October 06 11:20:41
Hi,

Have the INDI process been removed ? I can't find them since I installed the last version.

Regards,

Julien
Title: Re: PixInsight 1.8.7 Released
Post by: Juan Conejero on 2019 October 06 11:30:43
Hi Jeff,

Quote
I'm having an issue when using the Batch Preprocessing Script in the new 1.8.7.  The screen goes black after a few seconds and never recovers.

We cannot reproduce this problem. BPP runs normally on all of our working and testing machines, on all platforms.

Quote
So my question, is there a way to force PI to use the GeForce card and hopefully avoid the rendering issue?

On Windows, the PixInsight core application already attempts to use the discrete GPU exclusively on machines with dual graphics. This should work for both nVidia and AMD graphics cards. However, whether or not this works on a particular machine is a different thing; one never knows for sure on Windows, especially on laptops, where the concept of standards is pretty fuzzy. There is nothing more I can do to fix these issues.

What is really strange is that it works with 1.8.6 and not with 1.8.7. There are no changes at all that could justify such a different, and problematic, behavior.
Title: Re: PixInsight 1.8.7 Released
Post by: Juan Conejero on 2019 October 06 11:33:00
Hi Julien,

Quote
Have the INDI process been removed ? I can't find them since I installed the last version.

We are working on a completely new INDI support module, based on the INDIGO platform. So please be patient, it will be available again soon, and it will be much better than the old version.
Title: Re: PixInsight 1.8.7 Released
Post by: Alfredo Beltran on 2019 October 06 13:20:48
Hi Juan

As always, thank you very much for all the work done to make new releases available for us.

I have made some calibration and integration processes for a 100 stack of dark and bias frames. I can notice a huge difference in the increase of time that it takes now (Windows 10 home), and also that PixInsight tries to use as much ram as it is available. I don’t know if that’s the cause to make the whole process slower.

Is this the expected behavior?

Regards,

Alfredo
Title: Re: PixInsight 1.8.7 Released
Post by: Juan Conejero on 2019 October 06 14:05:54
Hi Alfredo,

The new automatic buffer sizes parameter of ImageIntegration is enabled by default. It is starting to become obvious that this has been a mistake, which I'll fix as soon as possible.

As described in the tooltip for this parameter:

Usually this is the best option to optimize image integration performance, but be aware that for large data sets and low-memory machines (relative to the total size of the data) the process may use too many system resources. If you want finer control on system resources usage, disable this option and tweak the values of the buffer size and stack size parameters.

So if your machine does not have RAM enough to integrate 100 frames at once, please uncheck the automatic buffer sizes option. This will return to the previous behavior.
Title: Re: PixInsight 1.8.7 Released
Post by: cplonski on 2019 October 06 15:30:18
Arguably the most commonly used tool, Histogram transformation, the preview window takes a heck of a long time to open initially.
Title: Re: PixInsight 1.8.7 Released
Post by: Alfredo Beltran on 2019 October 06 15:55:16
Hi Alfredo,

The new automatic buffer sizes parameter of ImageIntegration is enabled by default. It is starting to become obvious that this has been a mistake, which I'll fix as soon as possible.

As described in the tooltip for this parameter:

Usually this is the best option to optimize image integration performance, but be aware that for large data sets and low-memory machines (relative to the total size of the data) the process may use too many system resources. If you want finer control on system resources usage, disable this option and tweak the values of the buffer size and stack size parameters.

So if your machine does not have RAM enough to integrate 100 frames at once, please uncheck the automatic buffer sizes option. This will return to the previous behavior.


Thank you very much Juan
Title: Re: PixInsight 1.8.7 Released
Post by: johnpane on 2019 October 06 16:57:05
Juan,

I think there is merit in the automatic optimal utilization of available memory even if not all the subframes can fit into memory. I hope this idea of automatic buffer sizes is not abandoned.

John


Title: Re: PixInsight 1.8.7 Released
Post by: Juan Conejero on 2019 October 07 02:31:51
Arguably the most commonly used tool, Histogram transformation, the preview window takes a heck of a long time to open initially.

This cannot be reproduced on any platform. You don't mention it so I assume you are a Windows user. The HistogramTransformation tool works without problems in real-time preview mode on Windows 10. It is as fast as it was in version 1.8.6, both for preview and for execution, and perfectly stable. I have just verified this again on two different machines running Windows 10 Professional.

This is a machine-specific issue, probably being caused by a wrong or defective graphics driver, or by conflicts with third-party applications. The behavior you are describing cannot be reproduced on any supported platform under normal working conditions.
Title: Re: PixInsight 1.8.7 Released
Post by: Juan Conejero on 2019 October 07 02:38:49
Hi John,

I think there is merit in the automatic optimal utilization of available memory even if not all the subframes can fit into memory. I hope this idea of automatic buffer sizes is not abandoned.

No, of course I won't abandon it, since I agree this feature is very useful. My mistake has been enabling it by default without more 'protection' for users trying to integrate huge data sets on weak machines. I am going to add a new parameter to control the maximum fraction of the available memory that ImageIntegration is allowed to use. I hope this parameter, with a default value of 0.8 for example (so the machine will always have at least a 20% of free memory), will help prevent cases where the automatic buffer sizes feature is causing problems by exhausting resources.
Title: Re: PixInsight 1.8.7 Released
Post by: JeffSeivert on 2019 October 07 07:11:20
Hi Jeff,

Quote
I'm having an issue when using the Batch Preprocessing Script in the new 1.8.7.  The screen goes black after a few seconds and never recovers.

We cannot reproduce this problem. BPP runs normally on all of our working and testing machines, on all platforms.

Quote
So my question, is there a way to force PI to use the GeForce card and hopefully avoid the rendering issue?

On Windows, the PixInsight core application already attempts to use the discrete GPU exclusively on machines with dual graphics. This should work for both nVidia and AMD graphics cards. However, whether or not this works on a particular machine is a different thing; one never knows for sure on Windows, especially on laptops, where the concept of standards is pretty fuzzy. There is nothing more I can do to fix these issues.

What is really strange is that it works with 1.8.6 and not with 1.8.7. There are no changes at all that could justify such a different, and problematic, behavior.

I think this may be a memory issue.  I reinstalled 1.8.7 and re-ran the same file set.  100 bias, 100 darks, 60 flats, 60 lights.
The process failed when it began to integrate the bias frames, but did not crash the computer so I was able to get the log file.  The last portion is this:

2019-10-07 13:59:59] Reading FITS image: 16-bit integers, 1 channel(s), 3336x2496 pixels: done
[2019-10-07 13:59:59] Computing image statistics: done
[2019-10-07 13:59:59] Weight          :     1.00000
[2019-10-07 13:59:59]
[2019-10-07 13:59:59]
[2019-10-07 13:59:59] Integration of 100 images:
[2019-10-07 13:59:59] Pixel combination .................. average
[2019-10-07 13:59:59] Output normalization ............... none
[2019-10-07 13:59:59] Weighting mode ..................... don't care
[2019-10-07 13:59:59] Scale estimator .................... MAD
[2019-10-07 13:59:59] Pixel rejection .................... Winsorized sigma clipping
[2019-10-07 13:59:59] Rejection normalization ............ none
[2019-10-07 13:59:59] Rejection clippings ................ low=yes high=yes
[2019-10-07 13:59:59] Rejection parameters ............... sigma_low=4.000 sigma_high=3.000 cutoff=5.000
[2019-10-07 13:59:59]
[2019-10-07 13:59:59] * Available physical memory: 13.126 GiB
[2019-10-07 13:59:59] * Using 2496 concurrent pixel stack(s) = 12.438 GiB
[2019-10-07 13:59:59]
[2019-10-07 13:59:59] Integrating pixel rows:     0 ->  2495:  80%
[2019-10-07 14:00:36] *** PCL Win32 System Exception: At address 00007FFE1E3EA839 with exception code C0000005 :
[2019-10-07 14:00:36] Access violation: invalid memory read operation at address 0000000000000000
[2019-10-07 14:00:36]
[2019-10-07 14:00:36] ************************************************************
[2019-10-07 14:00:36] * End integration of bias frames
[2019-10-07 14:00:36] ************************************************************

I read about disabling the automatic buffer size, so I did that in the ImageIntegration process (still failed, but gracefully), but is that setting also used in BPP?  Is there somewhere else I can check?

Thanks,
Jeff

Title: Re: PixInsight 1.8.7 Released
Post by: georg.viehoever on 2019 October 07 09:14:08
...
The new automatic buffer sizes parameter of ImageIntegration is enabled by default. It is starting to become obvious that this has been a mistake, which I'll fix as soon as possible.
...
Actually, I would love if you kept that as a default, but consider available physical RAM when setting up the defaults. It is not trivial for the average user to decide on good values.

Georg


Georg
Title: Re: PixInsight 1.8.7 Released
Post by: Barry-Wilson on 2019 October 07 10:30:15
Hi Barry,

As I said in my answer to Brad's post, I cannot reproduce this problem. Version 1.8.7 works perfectly fine on all of our working Mac machines. All of them run macOS 10.14.6.

The only thing I can figure out here is a third-party application interfering with PixInsight. Do you have some virus protection application, or a similar utility?

Thanks Juan.

I do use Avast anti-virus however this has not changed since 1.8.6.  I have a late 2013 iMac with dual core i5, 16 Gb ram and 1Gb Nvidia GeForce video card.

Observations from testing and some curious behaviour of the real time preview of the HT, seemingly related to a project.

When I open a .xisf file on its own, ie the only file open within PI, the real time preview of the HT tool works very quickly as expected.  Great.

When I open a saved project, the real time preview of the HT tool is very slow (30 secs plus) to open.  I then moved one of the .xisf image windows into workspace 2 from workspace 1 (all of my windows and processes are in workspace 1) and this time the real time preview would not work at all, the circular button turned orange but no real time preview window appeared at all.  I then shut down the HT tool.  Upon re-opening the HT tool, I was able to use the real time preview on the .xisf image in workspace 2 and it worked quickly as expected behaviour.

I then moved the .xisf image back to workspace 1 and the real time preview window worked quickly, as expected behaviour.  I then saved the project and shutdown PI.

I then re-opened the same project by double clicking the project icon in Finder.  This time the real time preview worked quickly, as expected.

Not sure what to conclude from this - the project was started and saved after the update.  I have no other projects, either created with the new update or from an older version, to test.  However closing and re-opening the HT tool has seemed to 'cure' the slow behaviour.

HTH.

Barry
Title: Re: PixInsight 1.8.7 Released
Post by: Brad on 2019 October 07 11:53:35
Hi Barry,

As I said in my answer to Brad's post, I cannot reproduce this problem. Version 1.8.7 works perfectly fine on all of our working Mac machines. All of them run macOS 10.14.6.

The only thing I can figure out here is a third-party application interfering with PixInsight. Do you have some virus protection application, or a similar utility?

Thanks Juan.

I do use Avast anti-virus however this has not changed since 1.8.6.  I have a late 2013 iMac with dual core i5, 16 Gb ram and 1Gb Nvidia GeForce video card.

Observations from testing and some curious behaviour of the real time preview of the HT, seemingly related to a project.

When I open a .xisf file on its own, ie the only file open within PI, the real time preview of the HT tool works very quickly as expected.  Great.

When I open a saved project, the real time preview of the HT tool is very slow (30 secs plus) to open.  I then moved one of the .xisf image windows into workspace 2 from workspace 1 (all of my windows and processes are in workspace 1) and this time the real time preview would not work at all, the circular button turned orange but no real time preview window appeared at all.  I then shut down the HT tool.  Upon re-opening the HT tool, I was able to use the real time preview on the .xisf image in workspace 2 and it worked quickly as expected behaviour.

I then moved the .xisf image back to workspace 1 and the real time preview window worked quickly, as expected behaviour.  I then saved the project and shutdown PI.

I then re-opened the same project by double clicking the project icon in Finder.  This time the real time preview worked quickly, as expected.

Not sure what to conclude from this - the project was started and saved after the update.  I have no other projects, either created with the new update or from an older version, to test.  However closing and re-opening the HT tool has seemed to 'cure' the slow behaviour.

HTH.

Barry

Interesting, Barry. I have many projects saved with 1.8.6.xxx so I will verify your findings and report back to the thread.
Title: Re: PixInsight 1.8.7 Released
Post by: Brad on 2019 October 07 16:14:45
Hi Juan,

Barry was correct. Previous projects saved in 1.8.6 that are loaded in 1.8.7 exhibit this issue. Good news is that saving the project under 1.8.7 seems to fix the issue. Here is a video displaying the effects in 1.8.6 and  before saving and after saving in 1.8.7

DropBox (https://www.dropbox.com/sh/c2ekjnuuvvz78ue/AAAtm7w9K6IAByXmNscY5RiMa?dl=0)
Title: Re: PixInsight 1.8.7 Released
Post by: Juan Conejero on 2019 October 08 08:19:56
Brad and Barry,

I am glad to know you have find a way to solve your issues with version 1.8.7 of PixInsight. However, we cannot reproduce these problems on any platform, on none of our machines. We can open projects generated with versions 1.8.4, 1.8.5 and 1.8.6 without any problems (and we have *really* complex test projects), and the HT tool works perfectly fine in all cases for real-time preview and view execution, on FreeBSD, Linux, macOS, and Windows.

Your solution is weird because nothing at all has changed in the HT tool from version 1.8.6 to 1.8.7. Nothing has changed in the real-time preview. Nothing essential has changed in projects, either, and the slight changes in 1.8.7 with respect to 1.8.6 have nothing to do with HT or R-T. However, if your solution works for you, who am I to dare question experimental evidence? :)

That said, if you can upload a project where this can be reproduced, that would be great for testing purposes. If I can reproduce the same problems you are experiencing, then I can understand what happens and find a solution.
Title: Re: PixInsight 1.8.7 Released
Post by: Brad on 2019 October 08 09:00:11
Brad and Barry,

I am glad to know you have find a way to solve your issues with version 1.8.7 of PixInsight. However, we cannot reproduce these problems on any platform, on none of our machines. We can open projects generated with versions 1.8.4, 1.8.5 and 1.8.6 without any problems (and we have *really* complex test projects), and the HT tool works perfectly fine in all cases for real-time preview and view execution, on FreeBSD, Linux, macOS, and Windows.

Your solution is weird because nothing at all has changed in the HT tool from version 1.8.6 to 1.8.7. Nothing has changed in the real-time preview. Nothing essential has changed in projects, either, and the slight changes in 1.8.7 with respect to 1.8.6 have nothing to do with HT or R-T. However, if your solution works for you, who am I to dare question experimental evidence? :)

That said, if you can upload a project where this can be reproduced, that would be great for testing purposes. If I can reproduce the same problems you are experiencing, then I can understand what happens and find a solution.

Thanks, Juan. Understood and agree it's weird. When I get home tonight I will drop a 1.8.project on my dropbox. What do I need to ensure is there? The project .xosm and project.data?
Title: Re: PixInsight 1.8.7 Released
Post by: Juan Conejero on 2019 October 08 09:02:47
Hi Brad,

Thank you so much. Yes, the .xosm file and the associated .data folder, preferably compressed as a zip file to prevent corruption. Or, if the project is bundled, the .pxiproject bundle, also compressed for the same reason.
Title: Re: PixInsight 1.8.7 Released
Post by: Juan Conejero on 2019 October 08 13:41:46
I put 4 fotos 1-4 in
https://we.tl/t-e6anuf8IZO
1 is the right bottom corner of the mosaic.
I hope the link works.
Armando
Thanks ario. I can now reproduce the failure. However, it fails due to changes I am not responsible for. I have reported this so Juan is aware of it.

Thank you Armando and Andrés. I have fixed this little (but annoying!) bug with an update I've just released for all platforms. Thank you for your patience and support.
Title: Re: PixInsight 1.8.7 Released
Post by: Brad on 2019 October 08 16:14:13
Hi Brad,

Thank you so much. Yes, the .xosm file and the associated .data folder, preferably compressed as a zip file to prevent corruption. Or, if the project is bundled, the .pxiproject bundle, also compressed for the same reason.


Hi Juan,

DropBox (https://www.dropbox.com/sh/c2ekjnuuvvz78ue/AAAtm7w9K6IAByXmNscY5RiMa?dl=0)

Same link, two new entries. 1) Compressed project data 2) another video showing another behavior. When I was testing and I clicked the real time preview I went to do some other things on the Mac. When I clicked on another app, taking focus away from PI, the real time preview instantly displayed. The video shows this as an example.

Let me know if you have any issues with the data - it's quite large.
Title: Re: PixInsight 1.8.7 Released
Post by: Juan Conejero on 2019 October 10 05:00:07
Hi Brad,

I have tried to download this file several times without success. The file is big and I don't have access to our working network connection where I am now. I'll have to wait until next Tuesday, when I'll be back at our lab. Sorry for the inconvenience.
Title: Re: PixInsight 1.8.7 Released
Post by: Brad on 2019 October 10 05:07:17
Hi Brad,

I have tried to download this file several times without success. The file is big and I don't have access to our working network connection where I am now. I'll have to wait until next Tuesday, when I'll be back at our lab. Sorry for the inconvenience.

No problem, Juan. It will be there so no worries
Title: Re: PixInsight 1.8.7 Released
Post by: JeffSeivert on 2019 October 10 09:08:43
Hi Jeff,

Quote
I'm having an issue when using the Batch Preprocessing Script in the new 1.8.7.  The screen goes black after a few seconds and never recovers.

We cannot reproduce this problem. BPP runs normally on all of our working and testing machines, on all platforms.

Quote
So my question, is there a way to force PI to use the GeForce card and hopefully avoid the rendering issue?

On Windows, the PixInsight core application already attempts to use the discrete GPU exclusively on machines with dual graphics. This should work for both nVidia and AMD graphics cards. However, whether or not this works on a particular machine is a different thing; one never knows for sure on Windows, especially on laptops, where the concept of standards is pretty fuzzy. There is nothing more I can do to fix these issues.

What is really strange is that it works with 1.8.6 and not with 1.8.7. There are no changes at all that could justify such a different, and problematic, behavior.

I think this may be a memory issue.  I reinstalled 1.8.7 and re-ran the same file set.  100 bias, 100 darks, 60 flats, 60 lights.
The process failed when it began to integrate the bias frames, but did not crash the computer so I was able to get the log file.  The last portion is this:

2019-10-07 13:59:59] Reading FITS image: 16-bit integers, 1 channel(s), 3336x2496 pixels: done
[2019-10-07 13:59:59] Computing image statistics: done
[2019-10-07 13:59:59] Weight          :     1.00000
[2019-10-07 13:59:59]
[2019-10-07 13:59:59]
[2019-10-07 13:59:59] Integration of 100 images:
[2019-10-07 13:59:59] Pixel combination .................. average
[2019-10-07 13:59:59] Output normalization ............... none
[2019-10-07 13:59:59] Weighting mode ..................... don't care
[2019-10-07 13:59:59] Scale estimator .................... MAD
[2019-10-07 13:59:59] Pixel rejection .................... Winsorized sigma clipping
[2019-10-07 13:59:59] Rejection normalization ............ none
[2019-10-07 13:59:59] Rejection clippings ................ low=yes high=yes
[2019-10-07 13:59:59] Rejection parameters ............... sigma_low=4.000 sigma_high=3.000 cutoff=5.000
[2019-10-07 13:59:59]
[2019-10-07 13:59:59] * Available physical memory: 13.126 GiB
[2019-10-07 13:59:59] * Using 2496 concurrent pixel stack(s) = 12.438 GiB
[2019-10-07 13:59:59]
[2019-10-07 13:59:59] Integrating pixel rows:     0 ->  2495:  80%
[2019-10-07 14:00:36] *** PCL Win32 System Exception: At address 00007FFE1E3EA839 with exception code C0000005 :
[2019-10-07 14:00:36] Access violation: invalid memory read operation at address 0000000000000000
[2019-10-07 14:00:36]
[2019-10-07 14:00:36] ************************************************************
[2019-10-07 14:00:36] * End integration of bias frames
[2019-10-07 14:00:36] ************************************************************

I read about disabling the automatic buffer size, so I did that in the ImageIntegration process (still failed, but gracefully), but is that setting also used in BPP?  Is there somewhere else I can check?

Thanks,
Jeff

With the bug fix that was just released, BPP ran flawlessly on 100 bias, 100 darks, 60 lights and 80 flats.
Looking at the system information it looks like the process was limited to about 80% of the available RAM.

Thanks!!

Jeff
Title: Re: PixInsight 1.8.7 Released
Post by: M Covington on 2019 October 13 10:09:31
Is it intentional that there is no splash screen in Windows 10 any more?  Or is that a symptom of having only Intel graphics?
Title: Re: PixInsight 1.8.7 Released
Post by: Juan Conejero on 2019 October 13 13:11:47
The splash screen works perfectly in version 1.8.7 on all platforms, and is enabled by default as always. Check if you have disabled it with Edit > Global Preferences > Main Window / Startup > Show splash at startup.
Title: Re: PixInsight 1.8.7 Released
Post by: Juan Conejero on 2019 October 21 12:51:35
Hi Brad,

Thank you so much. Yes, the .xosm file and the associated .data folder, preferably compressed as a zip file to prevent corruption. Or, if the project is bundled, the .pxiproject bundle, also compressed for the same reason.


Hi Juan,

DropBox (https://www.dropbox.com/sh/c2ekjnuuvvz78ue/AAAtm7w9K6IAByXmNscY5RiMa?dl=0)

Same link, two new entries. 1) Compressed project data 2) another video showing another behavior. When I was testing and I clicked the real time preview I went to do some other things on the Mac. When I clicked on another app, taking focus away from PI, the real time preview instantly displayed. The video shows this as an example.

Let me know if you have any issues with the data - it's quite large.

Hi Brad,

Thank you for uploading this project. It has helped me to reproduce and understand the problem. This is a complex bug reproducible on all platforms. I am working on it right now, so it will be fixed in the next update. Thank you for your patience and sorry for the trouble.
Title: Re: PixInsight 1.8.7 Released
Post by: Brad on 2019 October 21 13:00:37
Hi Brad,

Thank you so much. Yes, the .xosm file and the associated .data folder, preferably compressed as a zip file to prevent corruption. Or, if the project is bundled, the .pxiproject bundle, also compressed for the same reason.


Hi Juan,

DropBox (https://www.dropbox.com/sh/c2ekjnuuvvz78ue/AAAtm7w9K6IAByXmNscY5RiMa?dl=0)

Same link, two new entries. 1) Compressed project data 2) another video showing another behavior. When I was testing and I clicked the real time preview I went to do some other things on the Mac. When I clicked on another app, taking focus away from PI, the real time preview instantly displayed. The video shows this as an example.

Let me know if you have any issues with the data - it's quite large.

Hi Brad,

Thank you for uploading this project. It has helped me to reproduce and understand the problem. This is a complex bug reproducible on all platforms. I am working on it right now, so it will be fixed in the next update. Thank you for your patience and sorry for the trouble.

Thanks, Juan! Glad you were able to locate it and good luck and look forward to the fix!!!!
Title: Re: PixInsight 1.8.7 Released
Post by: Juan Conejero on 2019 October 22 07:23:53
Just a follow up on this. This bug is now fixed in version 1.8.8 of PixInsight, which I'll release very soon. As an added benefit, the real-time preview window is now faster and more responsive to tool parameter changes. There are other planned improvements to this interface that I'm considering to implement also in the new version, not that I have opened this 'can of worms' :)

Thank you again for your help and support.
Title: Re: PixInsight 1.8.7 Released
Post by: Brad on 2019 October 22 08:48:09
Just a follow up on this. This bug is now fixed in version 1.8.8 of PixInsight, which I'll release very soon. As an added benefit, the real-time preview window is now faster and more responsive to tool parameter changes. There are other planned improvements to this interface that I'm considering to implement also in the new version, not that I have opened this 'can of worms' :)

Thank you again for your help and support.

Thanks, Juan! You're awesome!!!!