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 05-12-2012, 22:43   #31
Registered User

Join Date: May 2012
Location: Live aboard 19 years
Boat: Norsea, center cockpit/aft cabin, 27'0"
Posts: 354
Re: Chart Problems on Raspberry Pi

Try reselecting your chart subdirectory for cMap charts. Select "cm93", just cm93 - not each subdirectory within cm93...

armido
armido is offline   Reply With Quote
Old 06-12-2012, 23:31   #32
Registered User

Join Date: Jul 2011
Posts: 36
Re: Chart Problems on Raspberry Pi

I ordered my RPi today, and am really anticipating it becoming a dedicated CPN platform.

I have had CPN running under Ubuntu for months thanks to allof you.

I knew if I checked in here that there would be exciting developments.

Thanks Alisdar for your work, and Armido for the pointer.
Siskiyous is offline   Reply With Quote
Old 07-12-2012, 01:03   #33
Registered User

Join Date: May 2010
Location: Med
Boat: Westerly Renown
Posts: 39
Re: Chart Problems on Raspberry Pi

Quote:
Originally Posted by Alisdair View Post
I've put some instructions and a working package here:


Alisdair
Alisdair,

Thanks very much. I'll install that this evening!

I am very keen to get the Pi running opencpn as all my other boat stuff is now running fine on it. I have only one solar panel but even in a very sunny area laptops just use too much power.
Stuart
stuartb is offline   Reply With Quote
Old 07-12-2012, 10:15   #34
Registered User

Join Date: May 2010
Location: Med
Boat: Westerly Renown
Posts: 39
Re: Chart Problems on Raspberry Pi

Alisdair,

It works! Had to apt-get -f install to sort deps but brilliant. Not tried o'clock yet but have 512 ram. Opencpn speed acceptable ( how fast do you need at 6Kn !!_

Thanks.
stuartb is offline   Reply With Quote
Old 08-12-2012, 15:11   #35
Registered User

Join Date: Jul 2012
Location: UK
Boat: Albin Vega, 27'
Posts: 79
Re: Chart Problems on Raspberry Pi

Quote:
Originally Posted by stuartb View Post
Alisdair,

It works! Had to apt-get -f install to sort deps but brilliant. Not tried o'clock yet but have 512 ram. Opencpn speed acceptable ( how fast do you need at 6Kn !!_

Thanks.
.. since you have the higher memory version, can you try out a NOAA ENC chart please? It usually barffs at the ingesting stage with the original memory version.Alisdair
Alisdair is offline   Reply With Quote
Old 09-12-2012, 08:15   #36
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Chart Problems on Raspberry Pi

First huge thanks to Alistair for sharing all the hard work you've been doing.

I was almost there, couldn't zoom in to any kind of detail without it crashing, something about a ....cairo.... error, but didn't copy it. New install of latest raspbian with apt-get update and upgrade run, Alistairs .deb

And now gone backwards, getting a "bus error" in the console when trying to add the opencpn charts in the setup. 512Mb pi overclocked to second from fastest speed.

Any ideas anyone?

Ta V much

opencpn.log
Quote:
15:28:57 UTC: Starting chart database Update...
15:28:57 UTC: Searching directory: /usr/share/charts/Cm93 jan 2011 for *.kap
15:28:57 UTC: Searching directory: /usr/share/charts/Cm93 jan 2011 for *.geo
15:28:57 UTC: Searching directory: /usr/share/charts/Cm93 jan 2011 for *.000
15:28:57 UTC: Searching directory: /usr/share/charts/Cm93 jan 2011 for *.s57
15:28:57 UTC: Searching directory: /usr/share/charts/Cm93 jan 2011 for 00300000.a
15:28:57 UTC: Loading chart data for /usr/share/charts/Cm93 jan 2011
15:28:57 UTC: CM93Composite Chart Root is /usr/share/charts/Cm93 jan 2011/
15:28:57 UTC: Adding chart file: /usr/share/charts/Cm93 jan 2011
15:28:58 UTC: Finished chart database Update
15:28:58 UTC:
15:28:58 UTC: Chart cache purge
15:28:58 UTC: Initializing Chart /usr/share/charts/Cm93 jan 2011
15:28:58 UTC: CM93Composite Chart Root is /usr/share/charts/Cm93 jan 2011/
15:28:59 UTC: Loaded CM93 Dictionary from /usr/share/charts/Cm93 jan 2011/
15:28:59 UTC: Loading CM93 cell /usr/share/charts/Cm93 jan 2011/03901020/A/03901020.A
15:28:59 UTC: Loading CM93 cell /usr/share/charts/Cm93 jan 2011/03900000/A/03900000.A
15:29:03 UTC: Loading CM93 cell /usr/share/charts/Cm93 jan 2011/03901020/B/04201050.B
conachair is offline   Reply With Quote
Old 09-12-2012, 08:38   #37
Registered User

Join Date: May 2010
Location: Med
Boat: Westerly Renown
Posts: 39
Re: Chart Problems on Raspberry Pi

Alisdair,

NOAA ENC. 01CGD. Read database ok ( 2,5 minutes! ) Then crashed at the " ingesting "

log file attached.

In terminal -- " bus error "

CM93 still fine but grey sea ( OK in the channel ) and my brief attempts to connect usb pl2303 gps resulted in an instant and total freeze!

All Good Fun.

Thanks

Stuart
Attached Files
File Type: pdf openc.pdf (33.3 KB, 88 views)
stuartb is offline   Reply With Quote
Old 09-12-2012, 14:22   #38
Registered User

Join Date: Jul 2012
Location: UK
Boat: Albin Vega, 27'
Posts: 79
Re: Chart Problems on Raspberry Pi

Quote:
Originally Posted by stuartb View Post
Alisdair,

NOAA ENC. 01CGD. Read database ok ( 2,5 minutes! ) Then crashed at the " ingesting "

log file attached.

In terminal -- " bus error "

CM93 still fine but grey sea ( OK in the channel ) and my brief attempts to connect usb pl2303 gps resulted in an instant and total freeze!

All Good Fun.

Thanks

Stuart
that's right, ENC charts don't work ... but as my last few posts made that clear it shouldn't have been a surprise.You can change the chart colours to suit yourself, they're described in detail in the OpenCPN pages. Confirm that your GPS can communicate with the Pi without OpenCPN .. there are a variety of Python utilities that will let you set port, baud rates and so on, and let you see the NMEA stream in a terminal; use that port in OpenCPN. I have it working with both USB and GPIO (using a cheap Chinese RS232 to TTL converter from eBay )
Alisdair is offline   Reply With Quote
Old 09-12-2012, 14:34   #39
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Chart Problems on Raspberry Pi

Quote:
Originally Posted by conachair View Post
....., couldn't zoom in to any kind of detail without it crashing, something about a ....cairo.... error, but didn't copy it.
If I just load a couple of the cm93 subfolders it seems to be ok, loading the cm93 folder crashes it with a bus error.

And getting this when zooming in.

Quote:
(opencpn:2506): Gdk-CRITICAL **: IA__gdk_cairo_create: assertion `GDK_IS_DRAWABLE (drawable)' failed
Segmentation fault
Any pointers much appreciated, sounds like it should work.

Ta
conachair is offline   Reply With Quote
Old 09-12-2012, 15:32   #40
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Chart Problems on Raspberry Pi

Update. Deleted various files in the CM93 directory which didn't seem to do much and now it will load. Oh joy
But still getting "bus error" if zoomed in too far or increasing the cm93 detail slider.

Good news is the gps & ais are both working through usb/serial adapters.
I'll leave it on overnight & see what happens.

Ta

ps. dmesg of the bus errors was "alignment trap: not handling alignment instruction edd37a00
conachair is offline   Reply With Quote
Old 10-12-2012, 00:12   #41
Registered User

Join Date: May 2010
Location: Med
Boat: Westerly Renown
Posts: 39
Re: Chart Problems on Raspberry Pi

Alisdair,

" that's right, ENC charts don't work ... but as my last few posts made that clear it shouldn't have been a surprise "

".. since you have the higher memory version, can you try out a NOAA ENC chart please? It usually barffs at the ingesting stage with the original memory version.Alisdair "

You asked - I tried !!

I'm only interested in the Med so looks like the cm93 will be my charts anyway.

I'll spend some more time with the GPS, probably have to go and buy a more modern one as the one I have here must be ten years old. All the others I've left on the boat - a long walk away!

Stuart
stuartb is offline   Reply With Quote
Old 10-12-2012, 00:19   #42
Registered User

Join Date: May 2010
Location: Med
Boat: Westerly Renown
Posts: 39
Re: Chart Problems on Raspberry Pi

Conachair,

" Deleted various files in the CM93 dir.;..."

That's interesting, what did you delete? Going back to the early days of CMap in Winders I remember it wouldn't work without those odd files in the chart dir. I've used it in Linux for a long time now but never thought to try deleting them!

You've tested AIS? Are you on board then? I'm ( UK winter ) too far from the sea and any signal unless there is some other way to test?

Stuart
stuartb is offline   Reply With Quote
Old 10-12-2012, 07:53   #43
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Chart Problems on Raspberry Pi

Quote:
Originally Posted by stuartb View Post
Conachair,

" Deleted various files in the CM93 dir.;..."

That's interesting, what did you delete? Going back to the early days of CMap in Winders I remember it wouldn't work without those odd files in the chart dir. I've used it in Linux for a long time now but never thought to try deleting them!

You've tested AIS? Are you on board then? I'm ( UK winter ) too far from the sea and any signal unless there is some other way to test?

Stuart
There were some *.exd files in there, in addition to cm93obj.dic, cm93attr.dic and limits.dic which seem to be required. Might have been left over from an old maxsea install. And yes, onboard, so watching the boats go up and down the Thames Unfortunately, ran out of credit for mains power last night, which the monitor is plugged into, so not sure if the pi was ok overnight (it's power is from the boat batts). Looking at the log file I think it was.
But still no joy with getting any kind of detail without it crashing. Not sure what to try next.

ta
conachair is offline   Reply With Quote
Old 10-12-2012, 14:10   #44
Registered User

Join Date: Jul 2012
Location: UK
Boat: Albin Vega, 27'
Posts: 79
Re: Chart Problems on Raspberry Pi

Quote:
Originally Posted by stuartb View Post
Alisdair,

" that's right, ENC charts don't work ... but as my last few posts made that clear it shouldn't have been a surprise "

".. since you have the higher memory version, can you try out a NOAA ENC chart please? It usually barffs at the ingesting stage with the original memory version.Alisdair "

You asked - I tried !!

Stuart
oops, sorry! I'm working on a slow hotel link in Egypt, and didn't have the bandwidth to see more messages
Alisdair is offline   Reply With Quote
Old 23-12-2012, 11:14   #45
Registered User

Join Date: Dec 2012
Posts: 3
Re: Chart Problems on Raspberry Pi

I, too, am having issues with CM93 charts on the Pi. It crashes as soon as it tries to load the first chart.

I am using a 256MB Pi (although I believe it's a model B as it has 2 USB ports - I think it was somewhere during the transition from A to B!). I'm using a 216MB/32MB memory split. I do not believe it's a lack of memory causing the issue, as there is ~50MB free when the crash occurs.

I compiled OpenCPN 3.1.1220 from source, with the ARM fix to the source (malloc(double)) that Alisdair discovered. Thanks, by the way, Alisdair for your posts. It's infuriating when someone posts "Never mind, solved it!" to a forum without explaining what they did.

Here's my log: OpenCPN log - Pastebin.com
sm815 is offline   Reply With Quote
Reply


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


Advertise Here


All times are GMT -7. The time now is 07:28.


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.