Cruisers Forum
 


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 09-05-2018, 16:17   #1
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 700
oeSENC computer freeze

Using ubuntu 16.04 and opencpn 4.84
When installing full set of oeSENC charts for Norway, zooming out in some areas (Tromsø) makes opencpn to completely freeze the computer - only solution is to take a "hard"" restart. - gl on/of doeen't matter. Deactivating all except for the Lofoten-Troms - Finnmark chart set makes the situation better.

Try to move your boat to "Tromsø" and it's easy to reproduce when zooming out to large scale.
there is extremely many chart objects in that area and it seems that the system gets "overloaded" and freeze.

If you move your boat to the Oslo fjord area with the same full chart set loaded on the same pc it works just fine.

Doing the same with cm93 charts and there is no problems.
petter5 is offline   Reply With Quote
Old 09-05-2018, 23:58   #2
Registered User
 
rooiedirk's Avatar

Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 452
Re: oeSENC computer freeze

I can confirm your observation. Don't know if O realy freeze or just takes a very very long time to open charts. Cpu load for Opencpn is 100%.

Change the setting of Options->Display->Advanced Vectorchart zoom/Scale weighing to a lower (negative) value does help. For me a value of -2 is fine.

Could be a bad chart. As I repeat the same for say the Bergen area I can use a zzom/scale setting of +5 altough O gets pretty slow then.

For the Tromso area the last lines in the log are:
Code:
09:01:33 CEST: Initializing Chart /home/dirk/Charts/oeSenc/tailandmint183-NOn-2018-1/OC-47-8392E4.oesenc
09:01:33 CEST: processChartInfo /home/dirk/Charts/oeSenc/tailandmint183-NOn-2018-1/OC-47-8392E4.oesenc
09:01:33 CEST: validate_SENC_server
09:01:33 CEST: Available TRUE
09:01:33 CEST: oeSENC_PI:  OpenGL-> Minimum cartographic line width:  1.0
09:01:33 CEST: Initializing Chart /home/dirk/Charts/oeSenc/tailandmint183-NOn-2018-1/OC-47-9392E4.oesenc
09:01:33 CEST: processChartInfo /home/dirk/Charts/oeSenc/tailandmint183-NOn-2018-1/OC-47-9392E4.oesenc
09:01:33 CEST: validate_SENC_server
09:01:33 CEST: Available TRUE
09:01:33 CEST: oeSENC_PI:  OpenGL-> Minimum cartographic line width:  1.0
__________________
Navigation is know where you are and what to do to get where you want.
But also: Know where you don't want to be and what to do to don't get there.
rooiedirk is offline   Reply With Quote
Old 10-05-2018, 02:05   #3
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 3,936
Re: oeSENC computer freeze

Petter,

how many charts are shown on the chart bar / chart piano?
(screenshot)

Hubert
bcn is offline   Reply With Quote
Old 10-05-2018, 02:07   #4
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 700
Re: oeSENC computer freeze

Your log seems identical to mine - I can't find any errors in the log file.
Tried to run
Code:
[-unit_test_1
but it seems that with oeSENC charts this does not work the same way as with s57 charts.
petter5 is offline   Reply With Quote
Old 10-05-2018, 03:32   #5
Registered User
 
rooiedirk's Avatar

Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 452
Re: oeSENC computer freeze

@Hubert,
By removing the last chart file mentioned in my log (NOn-2018-1/OC-47-9392E4.oesenc), rebuild the database it works again here. Even on zoom/weight +5.

And a further test removing all other charts except this one causes O to hang again. see screenshot.

Dirk
Attached Thumbnails
Click image for larger version

Name:	Screenshot_20180510_122825.png
Views:	46
Size:	135.6 KB
ID:	169530  
__________________
Navigation is know where you are and what to do to get where you want.
But also: Know where you don't want to be and what to do to don't get there.
rooiedirk is offline   Reply With Quote
Old 10-05-2018, 03:56   #6
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 3,936
Re: oeSENC computer freeze

Petter,

would you mind to update with today's NO-n edition - just in case?
We updated Norway this morning.

Thanks

Hubert
bcn is offline   Reply With Quote
Old 10-05-2018, 04:39   #7
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 700
Re: oeSENC computer freeze

Downloading now. will report back when tested.
Quote:
Originally Posted by bcn View Post
Petter,

would you mind to update with today's NO-n edition - just in case?
We updated Norway this morning.

Thanks

Hubert
petter5 is offline   Reply With Quote
Old 11-05-2018, 02:25   #8
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 700
Re: oeSENC computer freeze

Tried with chart set downloaded today - the problem is the same.

Freeze when scaling out at scale 42038 (8.7) boat position '69 29.4792 N 18 53.6947E
/Petter
petter5 is offline   Reply With Quote
Old 11-05-2018, 11:58   #9
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 3,698
Re: oeSENC computer freeze

Does it freeze the whole computer? That would be a bug with the graphics driver.. otherwise you should kill opencpn.

I think osenc is not optimized the way normal charts are, and even if it were the rendering of vector charts is in a very slow way. For simple cases it might even seem fast, but with lots of objects it's not implemented in a good way, could be 10x or 100x faster than it is with better code.
seandepagnier is offline   Reply With Quote
Old 11-05-2018, 12:11   #10
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 700
Re: oeSENC computer freeze

You can still move the mouse, but no ctrl+alt+t to open a terminal. It halts for 20 minutes and the opencpn crash and you can continue.
Mostly, the Tromsø area is one of the places in the world with most chart objects per square kilometer - could at last vbe a reason for slowchart movement in that area.

Quote:
Originally Posted by boat_alexandra View Post
Does it freeze the whole computer? That would be a bug with the graphics driver.. otherwise you should kill opencpn.

I think osenc is not optimized the way normal charts are, and even if it were the rendering of vector charts is in a very slow way. For simple cases it might even seem fast, but with lots of objects it's not implemented in a good way, could be 10x or 100x faster than it is with better code.
petter5 is offline   Reply With Quote
Old 13-05-2018, 00:48   #11
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 2,956
Re: oeSENC computer freeze

Just for info I've tested on Win10
I get no error or hang using the mentioned chart OC-47-9392E4. I can use that in both quilt and non quilt modes and all works fine when zoom weighting is up to +1. If I try to increase to +4 so many charts are loaded the system became slow and close to not responding. I suppose that's due the amount of charts in the area about Tromsö as Petter mentioned.

In Linux there is limit of 20 charts at the same time, if that's still valid? See: https://opencpn.org/wiki/dokuwiki/do..._power_systems

Could that limit play a role here?
Håkan
Hakan is offline   Reply With Quote
Old 13-05-2018, 04:12   #12
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 700
Re: oeSENC computer freeze

This systems have i# prosessors, but only 2 gig of memory - could he limited memory be a problem ??

Quote:
Originally Posted by Hakan View Post
Just for info I've tested on Win10
I get no error or hang using the mentioned chart OC-47-9392E4. I can use that in both quilt and non quilt modes and all works fine when zoom weighting is up to +1. If I try to increase to +4 so many charts are loaded the system became slow and close to not responding. I suppose that's due the amount of charts in the area about Tromsö as Petter mentioned.

In Linux there is limit of 20 charts at the same time, if that's still valid? See: https://opencpn.org/wiki/dokuwiki/do..._power_systems

Could that limit play a role here?
Håkan
petter5 is offline   Reply With Quote
Old 13-05-2018, 05:08   #13
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 3,698
Re: oeSENC computer freeze

Quote:
Originally Posted by petter5 View Post
You can still move the mouse, but no ctrl+alt+t to open a terminal. It halts for 20 minutes and the opencpn crash and you can continue.
Mostly, the Tromsø area is one of the places in the world with most chart objects per square kilometer - could at last vbe a reason for slowchart movement in that area.
It sounds like maybe lack of ram. If you run swapon, does it quickly fill memory? Do you max out the swap space?

If opencpn crashes, does it say where?
seandepagnier is offline   Reply With Quote
Old 13-05-2018, 05:14   #14
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 14,431
Re: oeSENC computer freeze

Is there a way to limit the number of charts being loaded?
Is it possible to make the Trompso charts into several Chart Groups and select the areas as needed?
If this fixes the problem, then perhaps the pros will know what to do.
rgleason is offline   Reply With Quote
Old 13-05-2018, 06:44   #15
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 700
Re: oeSENC computer freeze

When opencpn freeze, there is 9 charts loaded. I managed to open a terminal. Opencpn use 100% cpu and 12,5 mem.

I have changed
[Settings].... MEMCacheLimit=1535 and

Settings] .... NCacheLimit=40

It seems to make no difference. Removing OC-47-9392E4.oesenc and the system will not freeze any more but still very slow when zooming out
petter5 is offline   Reply With Quote
Reply

Tags
enc

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Up-to-date vector charts for OpenCPN - oeSENC bcn OpenCPN 116 13-04-2020 07:16
oeSENC vector charts for OCPN - new plug-in version 1.2 bcn OpenCPN 12 18-06-2017 10:53
Wrong scaling of OESENC positive soundings on Linux w/ HIDPI screen stelian OpenCPN 12 10-06-2017 03:57
oeSENC: Error on Fingerprint file creation Tanagra OpenCPN 17 29-05-2017 03:04
Wanted Raymarina Type 300 Course computer or S3 Course computer Plukky Marine Electronics 0 08-05-2014 23:20

Advertise Here


All times are GMT -7. The time now is 02:20.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2020, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2020, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.