Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 01-03-2020, 15:12   #1
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
oeSENC 4.0.2 crash on Linux

I have been using the oeSENC charts for Australia since they became available on my Linux machine. They have worked well. I have just upgraded to the new oeSENC to get the latest charts, however, there appears to be a problem on both my Ubuntu based machine (Linux Mint 19) and my Raspberry PI 3B.

If I am zoomed in showing a small area it all works OK. If I zoom out to show a much bigger area the display starts to suffer "grey areas" rather than the chart. At this point opencpn will crash a little while after these areas show. On the Linux machine the following is shown in the journal:

Mar 02 08:07:52 mishka kernel: opencpn[3492]: segfault at 4 ip 00007f27ee7cdc45 sp 00007ffdcf57bf00 error 4 in liboesenc_pi.so[7f27ee705000+19d000]
Mar 02 08:09:17 mishka kernel: opencpn[3850]: segfault at 4 ip 00007f7b5d982c45 sp 00007fff29462bb0 error 4 in liboesenc_pi.so[7f7b5d8ba000+19d000]
Mar 02 08:20:00 mishka kernel: opencpn[5191]: segfault at 4 ip 00007fbe2e670c45 sp 00007ffe9cc65c20 error 4 in liboesenc_pi.so[7fbe2e5a8000+19d000]

This is from three separate crashes but shows that it occurs in the same location within oeSENC. This is on OpenCPN version 5.0.0 .

On the Raspberry PI 3B the same grey areas occur but in the system journal lines showing 'kernel: [drm] Resetting GPU' occur. At this point the PI is essentially locked up and takes 5 or more seconds to respond to any input. OCPN may crash or lock up the PI to make it unusable unless I can zoom in more. The CPU consumption goes from ~10-20% to 1% at this time.

The zoom level, i.e. how far out I can zoom, is considerably less than on the PI than the Ubuntu machine.

Due to the slowdown on the PI and the inability to interact with it I cannot get a screen shot of it happening.
jongough is offline   Reply With Quote
Old 01-03-2020, 16:41   #2
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,402
Re: oeSENC 4.0.2 crash on Linux

Jon...


Did you build locally, or install from PPA?


Dave
bdbcat is online now   Reply With Quote
Old 01-03-2020, 17:05   #3
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,402
Re: oeSENC 4.0.2 crash on Linux

Jon...
Cannot reproduce immediately. Will you show a screenshot from your PC before zooming out? And tell how many zoom steps are required to produce the crash...


Thanks
Dave
bdbcat is online now   Reply With Quote
Old 01-03-2020, 17:47   #4
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: oeSENC 4.0.2 crash on Linux

Both environments are from 'Production', I installed them from the official repositories. There are no custom built (my own build) plugins installed. The PI uses OpenPlotter 1.0.2.
jongough is offline   Reply With Quote
Old 01-03-2020, 18:48   #5
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: oeSENC 4.0.2 crash on Linux

This is from the PI. The location is Manly marina, Brisbane on the SE corner of Qld. The first shot is the starting point, then 4 presses of the "-" button is the next shot and 1 press of the "+" button is the last shot. The "Resetting GPU" shows up in the journal once the "grey areas" start to show up. Also the system becomes really unresponsive. The charts are in their own group and currently only the oeSENC charts are being displayed. If I show the CM93 charts instead it all work OK. I have tried both 64M and 128M for the graphics split but it makes no difference. The system is using OpenGL.
Attached Thumbnails
Click image for larger version

Name:	2020-03-02-121219_1280x1024_scrot.png
Views:	41
Size:	201.2 KB
ID:	209848   Click image for larger version

Name:	2020-03-02-121335_1280x1024_scrot.png
Views:	43
Size:	262.8 KB
ID:	209849  

Click image for larger version

Name:	2020-03-02-121320_1280x1024_scrot.png
Views:	44
Size:	248.5 KB
ID:	209850  
jongough is offline   Reply With Quote
Old 01-03-2020, 18:57   #6
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: oeSENC 4.0.2 crash on Linux

I am now trying to recreate it on the Ubuntu machine, but am having difficulty causing the issue. Typical, when doing the checking for the post it happened a few times, now that you want further detail I cannot get it to create the issue. I will keep trying.
jongough is offline   Reply With Quote
Old 01-03-2020, 20:52   #7
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 1,077
Re: oeSENC 4.0.2 crash on Linux

Further investigation shows that reducing the detail on the charts alleviates the issue of the GPU resetting. If I set the vector chart detail level to 0 on the display/advanced/weight the system seems to work, whereas at 1 and above causes the problem.

Trying to navigate around Morton bay we need as much detail as possible as it is all shallow, hence normally using a setting of 2 on the PI and 5 on Ubuntu.
jongough is offline   Reply With Quote
Reply

Tags
enc, linux


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 133 11-09-2023 09:32
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
Startup Crash (Debian Linux) Tale Quale OpenCPN 0 24-07-2016 11:42

Advertise Here


All times are GMT -7. The time now is 11:04.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.