View Issue Details

IDProjectCategoryView StatusLast Update
0001568SkyChart1-Softwarepublic16-11-29 12:37
ReporterSasa Assigned ToPatrick Chevalley  
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
PlatformLinux 32-bitOSKubuntu 
Product Version3.11 SVN 
Target Version4.0Fixed in Version3.11 SVN 
Summary0001568: Weird close up
DescriptionAt some small FOV, weird images are shown.

It seems it is a bug in BGRA however I cannot be sure about.
Steps To Reproduce1. Set Solar eclipse 1999-08-11 11:05:05
2. Set FOV to 5deg (icon click)
3. Search Moon and do not lock
4. Set FOV to 30min (icon click) - weird rendering as shown
5. By arrows micro-move up then down - in both cases seems to all become normal.

TagsNo tags attached.

Activities

Sasa

16-11-21 20:32

reporter  

Weird closeup.png (471,477 bytes)   
Weird closeup.png (471,477 bytes)   

Patrick Chevalley

16-11-24 11:58

administrator   ~0003400

I cannot reproduce the problem.

Can you save the chart with the problem and upload the .cdc3 file.

Sasa

16-11-24 17:19

reporter   ~0003425

Attached.

On load the file it show the same weird display. I can confirm the same for larger screen resolutions as well.

Sasa

16-11-24 17:21

reporter  

Weird closeup.cdc3 (11,036 bytes)

Sasa

16-11-24 19:58

reporter   ~0003432

Last edited: 16-11-24 20:07

View 4 revisions

It seems all start to collapse when physical memory run out...
That is really strange.

Is it possible to try to upgrade with new version of BGRA lib? It is not trivial to use new lib with CDC existed code as far I have tried - some more or less demanding modifications are necessary.

Patrick Chevalley

16-11-24 20:18

administrator   ~0003433

For me you saved chart load without problem, but I will not reach memory limit as I have 16GB. Skychart use about 300MB of memory after loading the chart.

I can update bgra, I do it last time about one year ago so it is good to update again now.

Patrick Chevalley

16-11-24 20:48

administrator   ~0003434

I have updated bgrabitmap to the last git version in revision 3326:
https://sourceforge.net/p/skychart/code/3326/

No change require in skychart, it compile and work fine. I just have to check a color problem I have on Mac with the previous version using tomorrow build.

And about the memory problem, can you try to add about 500MB of swap file? even if performance is bad this can confirm that memory is the problem.

Sasa

16-11-24 22:51

reporter   ~0003435

With new Lazarus and recent revision of fpc3.0.0, installation of all components passed.

However, this rendering bug persist. I will try to change the size of the swap tomorrow.

Sasa

16-11-25 17:11

reporter   ~0003436

Last edited: 16-11-25 17:22

View 2 revisions

Patrick,

With new 4GB of swap (previous 1GB), all is the same.
I have even tried with deactivated swap - the same.

As well, something similar happens with Saturn on close up.

Patrick Chevalley

16-11-29 12:37

administrator   ~0003451

Fixed by new drawing code using bgrabitmap in rev 3339:

https://sourceforge.net/p/skychart/code/3339/

Issue History

Date Modified Username Field Change
16-11-21 20:32 Sasa New Issue
16-11-21 20:32 Sasa File Added: Weird closeup.png
16-11-24 11:58 Patrick Chevalley Note Added: 0003400
16-11-24 11:58 Patrick Chevalley Assigned To => Patrick Chevalley
16-11-24 11:58 Patrick Chevalley Status new => feedback
16-11-24 17:19 Sasa Note Added: 0003425
16-11-24 17:19 Sasa Status feedback => assigned
16-11-24 17:21 Sasa File Added: Weird closeup.cdc3
16-11-24 19:58 Sasa Note Added: 0003432
16-11-24 20:00 Sasa Note Edited: 0003432 View Revisions
16-11-24 20:02 Sasa Note Edited: 0003432 View Revisions
16-11-24 20:07 Sasa Note Edited: 0003432 View Revisions
16-11-24 20:18 Patrick Chevalley Note Added: 0003433
16-11-24 20:48 Patrick Chevalley Note Added: 0003434
16-11-24 22:51 Sasa Note Added: 0003435
16-11-25 17:11 Sasa Note Added: 0003436
16-11-25 17:22 Sasa Note Edited: 0003436 View Revisions
16-11-29 12:37 Patrick Chevalley Note Added: 0003451
16-11-29 12:37 Patrick Chevalley Status assigned => resolved
16-11-29 12:37 Patrick Chevalley Resolution open => fixed
16-11-29 12:37 Patrick Chevalley Fixed in Version => 3.11 SVN
16-11-29 12:37 Patrick Chevalley Target Version => 4.0