Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-08-2015, 11:40   #166
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,504
Re: OpenCPN for Android Beta test 4.1.718

Rick...

You should know by now...

OCPN Betas are not suitable for critical navigation. Ever.

However, underway testing of Betas is a good thing, when conditions allow. And we really could use bug reports that have more info than: "it crashed".

Enjoy the summer cruising...
Dave
__________________

__________________
bdbcat is offline   Reply With Quote
Old 04-08-2015, 11:51   #167
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,811
Re: OpenCPN for Android Beta test 4.1.718

Understood. Will have to strip down the plugins and devices. Then test it. Could not do so at the time. V4.1.602 ran very well but did not support AIS or the larger tool icons for tablets, under Win 8.1 os
__________________

__________________
rgleason is offline   Reply With Quote
Old 05-08-2015, 09:51   #168
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,811
Re: OpenCPN for Android Beta test 4.1.718

Quote:
Understood. Will have to strip down the plugins and devices. Then test it. Could not do so at the time. V4.1.602 ran very well but did not support AIS or the larger tool icons for tablets, under Win 8.1 os
Compiled v4.1.718 * master 0154474 [ahead 95] Improve depth unit emboss font selection logic. and did clean install. No devices used.

The program is not hanging up on startup and seems to work reasonably well the short time I have used it. I believe the cause of the problem was the AIS connection or signals which v4.1.718 does not seem to have operational (probably intentionally due to Android development).
__________________
rgleason is offline   Reply With Quote
Old 05-08-2015, 10:42   #169
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 2,274
Re: OpenCPN for Android Beta test 4.1.718

more than 24.000 different Android devices found:
Android Fragmentation Report August 2015 - OpenSignal

Illustrates the challenge to cover this architecture.
__________________
bcn is offline   Reply With Quote
Old 05-08-2015, 13:34   #170
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 736
Re: OpenCPN for Android Beta test 4.1.718

Tests AIS/718
1)Under Windows 8.1 I noticed any problem. This version shows targets correctly, no hang, no crash as far as I tested.
2) Under Android Z3 compact A 5.0.2
connection:
- wifi hosted network output on my W8.1 device
- wifi input from the hosted network above
this configuration has been tested with 630 and worked well
with 718 /
when starting with WIFI activated in this condition AO hang for a moment then works well, but no AIS target visible, no AIS message in the debug window
If I open options dialogue and I deactivate + reactivate the AIS connection, OA hangs then crashes
If I do the same process with WIFI deactivated, no problem.
see shots of W8.1 and AO connection parameters

Jean Pierre
Attached Thumbnails
Click image for larger version

Name:	W81.pg.jpg
Views:	60
Size:	140.5 KB
ID:	106791   Click image for larger version

Name:	AO.png
Views:	67
Size:	143.6 KB
ID:	106792  

__________________
Ptizef is offline   Reply With Quote
Old 05-08-2015, 14:34   #171
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,811
Re: OpenCPN for Android Beta test 4.1.718

BCN Thanks, so now we know what is possible re AIS. Are the enlarged tablet Toolbar Icons working for you?

--Also I had monkeyed with the USB Ais to see if I could get it working. Disabled the USB, removed it, then reinstalled, then checked Device Manager > USB and COM. Perhaps Opencpn v4.1.718 did not like that. However I shut down normally, rebooted and started O and it was still grumpy, not panning & scrolling right, not devouring charts as normally, and then finally it disappeared from the screen.

I gave up and went to 4.0 at that point. --Yes, I knew the waters, but it took awhile to get O 4.0 started up again. However this is sooo much better than our 1.5" dia color screen on the Garmin Colorado it is amazing. O while underway has changed our cruising for the better, but don't get to used to it, keep good practices and a sharp lookout.

Will have to try AIS w 4.1.718 again
__________________
rgleason is offline   Reply With Quote
Old 05-08-2015, 14:45   #172
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 7,811
Re: OpenCPN for Android Beta test 4.1.718

bdcat, sorry I can't be more specific, so it is probably no help.
__________________
rgleason is offline   Reply With Quote
Old 06-08-2015, 02:00   #173
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 842
Re: OpenCPN for Android Beta test 4.1.718

Hi,
I have been trying to run 718 on Linux with the s63 plugin. Under OCPN 4.0.0 the s63 plugin works fine and the charts all show. Under 718 the charts are recognised and can be installed, but when I try to see them OCPN crashes. I have run 718 as both a standard install and a portable install with the same results. I have used both 1.03 and 1.04 of the OCPNsenc file, but it makes no difference. I have tried recompiling the s63_pi, but with no luck either.

I get the following information when the crash occurs:
Code:
(opencpn:7898): Gdk-CRITICAL **: IA__gdk_drawable_get_image: assertion 'GDK_IS_DRAWABLE (drawable)' failed

(opencpn:7898): Gdk-CRITICAL **: IA__gdk_image_get_colormap: assertion 'GDK_IS_IMAGE (image)' failed

(opencpn:7898): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
The program 'opencpn' received an X Window System error.
This probably reflects a bug in the program.
The error was 'BadAlloc (insufficient resources for operation)'.
  (Details: serial 16592 error_code 11 request_code 53 minor_code 0)
  (Note to programmers: normally, X errors are reported asynchronously;
   that is, you will receive the error a while after causing it.
   To debug your program, run it with the --sync command line
   option to change this behavior. You can then get a meaningful
   backtrace from your debugger if you break on the gdk_x_error() function.)
I am running this on Linux Mint 17.1 with XFCE as the desktop manager, the kernel reports:
Code:
Linux mishka 3.13.0-37-generic #64-Ubuntu SMP Mon Sep 22 21:28:38 UTC 2014 x86_64 x86_64 x86_64 GNU/Linux
This is what is in the OCPN log:
Code:
17:47:22 AEST: PlugInManager searching for PlugIns in location /home/mishka/opencpn-portable/718/plugins
17:47:23 AEST: PlugInManager: Loading PlugIn: /home/mishka/opencpn-portable/718/plugins/libs63_pi.so
17:47:23 AEST:   /home/mishka/opencpn-portable/718/plugins/libs63_pi.so
              API Version detected: 111
              PlugIn Version detected: 100
17:47:23 AEST: Opencpn language reload for:  en_US
17:47:23 AEST: Loading catalog for:  opencpn-s63_pi
17:47:23 AEST: Loading catalog for opencpn core.
17:47:23 AEST: Path to OCPNsenc is: /home/mishka/opencpn-portable/718/OCPNsenc
17:47:23 AEST: PlugInManager: Loading PlugIn: /home/mishka/opencpn-portable/718/plugins/libwmm_pi.so
17:47:23 AEST:   /home/mishka/opencpn-portable/718/plugins/libwmm_pi.so
              API Version detected: 108
              PlugIn Version detected: 101
17:47:23 AEST: Opencpn language reload for:  en_US
17:47:23 AEST: Loading catalog for:  opencpn-s63_pi
17:47:23 AEST: Loading catalog for:  opencpn-wmm_pi
17:47:23 AEST: Loading catalog for opencpn core.
17:47:23 AEST: WMM: WMM model data loaded from file /home/mishka/opencpn-portable/718/plugins/wmm_pi/data//WMM.COF.
17:47:23 AEST: PlugInManager: Loading PlugIn: /home/mishka/opencpn-portable/718/plugins/liblogbookkonni_pi.so
17:47:23 AEST:   /home/mishka/opencpn-portable/718/plugins/liblogbookkonni_pi.so
              API Version detected: 107
              PlugIn Version detected: 2118
17:47:23 AEST: Opencpn language reload for:  en_US
17:47:23 AEST: Loading catalog for:  opencpn-s63_pi
17:47:23 AEST: Loading catalog for:  opencpn-wmm_pi
17:47:23 AEST: Loading catalog for:  opencpn-logbookkonni_pi
17:47:23 AEST: Loading catalog for opencpn core.
17:47:23 AEST: The requested icon was not found in the style: grabber_hi
17:47:24 AEST:    ***GPS Watchdog timeout at Lat:33.358   Lon: -79.282
17:47:28 AEST: ChartSymbols loaded from ./s57data/chartsymbols.xml
17:47:28 AEST: Using s57data in ./s57data
17:47:28 AEST: Initializing Chart /home/mishka/opencpn-portable/718/s63/s63charts/AU/AU424151.os63
17:47:28 AEST: s63_pi: Checking OCPNsenc utility at {/home/mishka/opencpn-portable/718/OCPNsenc}
17:47:28 AEST: s63_pi: OCPNsenc Check OK...OCPNsenc: Version 1.04
17:47:28 AEST: /home/mishka/opencpn-portable/718/OCPNsenc  -n  -i "/home/mishka/opencpn-portable/718/s63/s63SENC/AU424151.es57" -o "/tmp/db7Vmv" -u 37E8AB429705BE5AC1CBAD0A3147 -e A335C711DB6C65C00 -p AU42415120160731023702C5969E01418130B726EE8B95E5E7B37B22225D0792,0,15,AU, -z "/home/mishka/opencpn-portable/718/plugins/libs63_pi.so"
Jon
__________________
jongough is offline   Reply With Quote
Old 06-08-2015, 02:08   #174
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 2,274
Re: OpenCPN for Android Beta test 4.1.718

Jon,

in this moment there is no S-63 PI for the 4.1.x series.

Work in progress, remember that 4.1.x requires wxWidgets 3. and the PI is compiled for the 4.0 series.

Hubert
__________________
bcn is offline   Reply With Quote
Old 06-08-2015, 02:28   #175
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Westerly Pentland
Posts: 1,559
Re: OpenCPN for Android Beta test 4.1.718

Jon,
you can try to compile s63_pi yourself with wxWidgets > 2.8 using the actual senc file 1.04. It should work. The sources are here: https://github.com/bdbcat/s63_pi.git

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 06-08-2015, 03:32   #176
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 842
Re: OpenCPN for Android Beta test 4.1.718

Gerhard,
I did that before reporting the error and got the same result. I am using wxWidgets 3.0.2 (its what I am using for the ocpn_draw_pi). I thought it may have been the problem, but it was not. I will try again tomorrow on a linux virtual machine to see if it works or not.

Jon
__________________
jongough is offline   Reply With Quote
Old 06-08-2015, 03:41   #177
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Westerly Pentland
Posts: 1,559
Re: OpenCPN for Android Beta test 4.1.718

Jon,
there might have been some changes for s63_pi with wx 3.0. The OS X version has always used wx 3.0. I use wx 3.1. You may have a look here:
https://github.com/CarCode/Cocoa-OCP...plugins/s63_pi

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 06-08-2015, 15:26   #178
Marine Service Provider
 
OceanSeaSpray's Avatar

Join Date: Aug 2013
Location: New Zealand
Boat: Custom 13m aluminium sloop
Posts: 361
Re: OpenCPN for Android Beta test 4.1.718

I have been testing build 4.1.718 on a Galaxy S4 GT-I9505 with both raster charts and Cm93. I am quite impressed by the speed, even with full details enabled on vector charts.

I have found one consistent issue: if the boat has any speed, OCPN locks up as soon as it attempts to plot the position. As long as the boat position is off the chart or there is no speed, all is fine. Maybe an issue with plotting the vector?
As the screen freezes and the application doesn't exit, only option left seems to be killing it.

This happens with both Android 5.0.1 and 4.4.2.
__________________
"The case for elimination: the only equipment that never needs maintenance and never breaks down is the one you don't have on board."
OceanSeaSpray is offline   Reply With Quote
Old 06-08-2015, 19:35   #179
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 842
Re: OpenCPN for Android Beta test 4.1.718

Gerhard,
I have tried on my virtual linux box and found a few errors which I have fixed up. But when trying to display the charts I get a crash. Here is the information from my debug environment.
Code:
#0 ??() at /usr/lib/VBoxOGLpackspu.so
#1 s52plib::RenderLS() at /data/public/working area/opencpn/remote/jongough/clean/src/s52plib.cpp:3166
#2 s52plib::DoRenderObject() at /data/public/working area/opencpn/remote/jongough/clean/src/s52plib.cpp:4421
#3 s52plib::RenderObjectToDC() at /data/public/working area/opencpn/remote/jongough/clean/src/s52plib.cpp:4355
#4 PI_PLIBRenderObjectToDC() at /data/public/working area/opencpn/remote/jongough/clean/src/pluginmanager.cpp:4481
#5 ChartS63::DCRenderLPB() at /data/public/working area/opencpn/remote/jongough/plugins/s63_pi/src/s63chart.cpp:4263
#6 ChartS63::DCRenderRect() at /data/public/working area/opencpn/remote/jongough/plugins/s63_pi/src/s63chart.cpp:4236
#7 ChartS63::DoRenderViewOnDC() at /data/public/working area/opencpn/remote/jongough/plugins/s63_pi/src/s63chart.cpp:4128
#8 ChartS63::RenderRegionView() at /data/public/working area/opencpn/remote/jongough/plugins/s63_pi/src/s63chart.cpp:1245
#9 ChartPlugInWrapper::RenderRegionViewOnDC() at /data/public/working area/opencpn/remote/jongough/clean/src/pluginmanager.cpp:3849
#10 Quilt::RenderQuiltRegionViewOnDC() at /data/public/working area/opencpn/remote/jongough/clean/src/Quilt.cpp:2222
#11 ChartCanvas::OnPaint() at /data/public/working area/opencpn/remote/jongough/clean/src/chcanv.cpp:9072
#12 wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const() at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#13 wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)() at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#14 wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)() at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#15 wxEvtHandler::TryHereOnly(wxEvent&)() at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#16 wxEvtHandler::ProcessEventLocally(wxEvent&)() at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#17 wxEvtHandler::ProcessEvent(wxEvent&)() at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#18 wxEvtHandler::SafelyProcessEvent(wxEvent&)() at /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#19 wxWindow::GTKSendPaintEvents(_GdkRegion const*)() at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
#20 ??() at /usr/lib/x86_64-linux-gnu/libwx_gtk2u_core-3.0.so.0
Not sure if that is going to help any, but....

The fixes I have been doing are to the printf statements to correct the sizes (the debug environment complains if unsigned ints are put into ints, etc). I have also submitted a patch to allow spaces in file names for unix (it was there for Mac and Win).

Jon

Quote:
Originally Posted by CarCode View Post
Jon,
there might have been some changes for s63_pi with wx 3.0. The OS X version has always used wx 3.0. I use wx 3.1. You may have a look here:
https://github.com/CarCode/Cocoa-OCP...plugins/s63_pi

Gerhard
__________________
jongough is offline   Reply With Quote
Old 06-08-2015, 20:01   #180
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 3,927
Re: OpenCPN for Android Beta test 4.1.718

John...
This seems that the VirtualBox OpenGL driver crashes. Weird thing is that in a call to something as simple as
Code:
glBegin( GL_LINES );
Pavel
__________________

__________________
nohal is online now   Reply With Quote
Reply

Tags
enc, opencpn

Thread Tools
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
OpenCPN for Android Beta test 4.1.530 bdbcat OpenCPN 199 29-07-2015 18:54
OpenCPN for Android Beta test 4.1.705 bdbcat OpenCPN 79 25-07-2015 15:14
OpenCPN for Android Beta test 4.1.630 bdbcat OpenCPN 89 11-07-2015 02:39
OpenCPN to Android plugin - Beta tester required ! kobold27 Commercial Posts 10 17-04-2013 17:48


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 16:25.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.