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 28-10-2014, 03:30   #1
Registered User

Join Date: Oct 2014
Posts: 1
OpenCPN on Raspberry PI Raspbian

Hi,

Download of OpenCPN and dependencies ok as well as compilation &
installation but can't run it because of the following errors.

Thanks very much for your help.
Regards.

ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pc.default ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40 ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41 ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50 ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51 ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71 ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib pcm_dmix.c:957snd_pcm_dmix_open) The dmix plugin supports only playback stream
Captain_Steve is offline   Reply With Quote
Old 11-11-2014, 14:04   #2
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,106
Re: OpenCPN on Raspberry PI Raspbian

I have tried OpenCPN on a Raspberry PI with the Lubuntu OS.

It was possible to get it working. However with zooming in or zoomen out the system locked up.

The Raspy has not enough power to get OpenCPN running.

Now I have changed to the Banana PI. Also an ARM "nano" board for about the same price and the same dimensions.

But the Banana PI has much more processor power and more memory.

And on the latest version the Lubuntu OS and OpenCPN latest beta version the system is running perfect and very stable. And the video processor give a very nice display.

And with a power supply of 5 volt is it a perfect system for on board.

I'am using now 2 sets for daily use at home with Chromium, Firefox, Samba netwerk. Network printer also works. With a very low power consumption.

There is now also an Banana Pro with wireless on the system board.

I'am now looking for a sturdy alu case for the use of the Banana on the boat.

Regards,


Bram
verkerkbr is offline   Reply With Quote
Old 06-01-2015, 09:51   #3
Registered User
 
akopac's Avatar

Join Date: Oct 2014
Location: South Pacific -> World Cruising Long Term
Boat: Morgan, West Indies 38 Ketch
Posts: 562
Re: OpenCPN on Raspberry PI Raspbian

Bram, were you able to get hardware video acceleration working on the Banana pi? or Pro?
akopac is offline   Reply With Quote
Old 06-01-2015, 11:41   #4
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,106
Re: OpenCPN on Raspberry PI Raspbian

Quote:
Originally Posted by akopac View Post
Bram, were you able to get hardware video acceleration working on the Banana pi? or Pro?
Allo Akopac,

yes, the Banana PI and also the Pro does GLS hardware accellation and 4 colours in combination with OpenCPN. OS is Lubuntu from the Lemaker board and the latest beta of OpenCPN.

The Banana is a clone of the Raspberry PI but with much better specifications and
a GPU ARM Mali400MP Complies with OpenGL ES 2.0/1.1.

CPU ARM Cortex A7 Dual-Core 1.0 Ghz SDRAMM 1 GB DDR3 shared with GPU.

This small system work so good that I'am using it for my daily internet use. Does Firefox, Chromium, printer support, Samba etc. Also Citrix works on this little system.

Ethernet 10/100/1000

OpenCPN can easly be installed if you fill in the right sever adresse in Synaptic.

To spare one usb port for NMEA input I'am using an Logitech wireless keyboard with a pad. KT400.

I'am using HDMI output to a dvi monitor. With a change connector HDMI/DVI.

The SD card is a 16 Gig 10 speed type. With the standard setup the cards is only partly used. But you can make more room with Gparted.

This message also comes from my Banana !

Regards from the Netherlands,


Bram
verkerkbr is offline   Reply With Quote
Old 06-01-2015, 16:32   #5
cruiser

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

Quote:
Originally Posted by Captain_Steve View Post
Hi,

Download of OpenCPN and dependencies ok as well as compilation &
installation but can't run it because of the following errors.

Thanks very much for your help.
Regards.

ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pc.default ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40 ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41 ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50 ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51 ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71 ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib pcm.c:2217snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib pcm_dmix.c:957snd_pcm_dmix_open) The dmix plugin supports only playback stream
Not sure if this will help, but there's a precompiled v3.2 here might be worth a go...

It will run on a pi.

http://www.agurney.com/raspberry-pi/pi-chart
conachair is offline   Reply With Quote
Old 05-02-2015, 15:26   #6
Registered User

Join Date: Jul 2012
Location: UK
Boat: Albin Vega, 27'
Posts: 79
Re: OpenCPN on Raspberry PI Raspbian

Quote:
Originally Posted by conachair View Post
Not sure if this will help, but there's a precompiled v3.2 here might be worth a go...

It will run on a pi.

Pi Chart
The information is somewhat dated, however I'll be updating the site with scripts & .deb packages in the next week or so .. my Raspberry Pi 2 arrived today and OpenCPN's already running ... 30 minutes to compile is a great improvement

Cheers

Alisdair (Raspberry Ripple)
Alisdair is offline   Reply With Quote
Old 05-02-2015, 19:04   #7
Obsfucator, Second Class
 
dacust's Avatar

Join Date: Feb 2008
Location: Southeast USA.
Boat: 1982 Sea Ray SRV360
Posts: 1,745
Re: OpenCPN on Raspberry PI Raspbian

Hint: Use CODE tags.
Code:
ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pc.default ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.rear ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.center_lfe ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.side ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround40 ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround41 ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround50 ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround51   ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.surround71 ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.iec958 ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.hdmi ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.modem ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib pcm.c:2217:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.phoneline ALSA lib pcm_dmix.c:957:(snd_pcm_dmix_open) The dmix plugin supports only   playback stream
dacust is offline   Reply With Quote
Old 06-02-2015, 00:10   #8
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: OpenCPN on Raspberry PI Raspbian

Quote:
Originally Posted by Alisdair View Post
The information is somewhat dated, however I'll be updating the site with scripts & .deb packages in the next week or so .. my Raspberry Pi 2 arrived today and OpenCPN's already running ... 30 minutes to compile is a great improvement

Cheers

Alisdair (Raspberry Ripple)
Can you post the opencpn log file from the rpi2? What kind of performance do you experience?

When you compile, did you use "make -j4" ? it should be 4 times faster on a quad core.

30 minutes seems terribly slow.
seandepagnier is offline   Reply With Quote
Old 06-02-2015, 02:56   #9
Registered User

Join Date: Jul 2012
Location: UK
Boat: Albin Vega, 27'
Posts: 79
Re: OpenCPN on Raspberry PI Raspbian

Quote:
Originally Posted by boat_alexandra View Post
Can you post the opencpn log file from the rpi2? What kind of performance do you experience?

When you compile, did you use "make -j4" ? it should be 4 times faster on a quad core.

30 minutes seems terribly slow.
That was on a clean machine, so the time incuded downloading sources and installing the dependencies.

make -j4 took 15 minutes

I haven't had a chance to play around with it yet so can't comment on performance; I did notice that the world map is missing.


package is here if anyone's interested: http://agurney.com/raspi/opencpn_4.0.0-1_armhf.deb

I found that it still needs framebuffer tweaks to /boot/config.txt

opencpn.log:

Code:
10:19:11 UTC: 2015-02-06
10:19:11 UTC:  ------- Starting OpenCPN -------
10:19:11 UTC: Version 4.0.0 Build 2015-01-08
10:19:11 UTC: wxWidgets version: wxWidgets 2.8.12
10:19:11 UTC: MemoryStatus:  mem_total: 744 mb,  mem_initial: 18 mb
10:19:11 UTC: SData_Locn is /usr/local/share/opencpn/
10:19:11 UTC: Using existing Config_File: /home/pi/.opencpn/opencpn.conf
10:19:11 UTC: Styles loading from /usr/local/share/opencpn/uidata/styles.xml
10:19:11 UTC: No styles found at: /home/pi/
10:19:11 UTC: No styles found at: /home/pi/.opencpn/
10:19:11 UTC: Detected display size: 339 mm
10:19:11 UTC: Detected display size: 339 mm
10:19:11 UTC: Setting Viewpoint Lat/Lon -13.1329, 135.451
10:19:11 UTC: Setting Ownship Lat/Lon -60, 180
10:19:11 UTC: Loading navobjects from navobj.xml
10:19:11 UTC: Done loading navobjects
10:19:11 UTC: System default Language:  en_GB
10:19:11 UTC: Error: Cannot set locale to 'en_US'.
10:19:11 UTC: Error: Cannot set locale to 'en_US'.
10:19:11 UTC: Error: Cannot set locale to 'en_US'.
10:19:11 UTC: Opencpn language set to:  en_US
10:19:13 UTC: ChartSymbols loaded from /usr/local/share/opencpn/s57data/chartsymbols.xml
10:19:15 UTC: Using s57data in /usr/local/share/opencpn/s57data
10:19:15 UTC: Setting Viewpoint Lat/Lon -13.1329, 135.451
10:19:15 UTC: Setting Ownship Lat/Lon -60, 180
10:19:15 UTC: Creating glChartCanvas
10:19:15 UTC: PlugInManager searching for PlugIns in location /usr/local/lib/opencpn
10:19:15 UTC: OpenGL-> Renderer String: Software Rasterizer
10:19:15 UTC: OpenGL-> Version reported:  2.1 Mesa 8.0.5
10:19:15 UTC: OpenGL-> Texture rectangle format: de1
10:19:15 UTC: OpenGL-> Using Vertexbuffer Objects
10:19:15 UTC: OpenGL-> Using Framebuffer Objects
10:19:15 UTC: OpenGL-> Using FBO Stencil buffer
10:19:15 UTC: OpenGL-> Using Stencil buffer clipping
10:19:15 UTC: OpenGL-> Using Scissor Clipping
10:19:15 UTC: OpenGL-> Not Using compression
10:19:15 UTC: OpenGL-> Minimum cartographic line width:  1.0
10:19:15 UTC: OpenGL-> Minimum symbol line width:  1.0
10:19:17 UTC: ChartDB Cache policy:  Application target is 362 MBytes
10:19:17 UTC:    Warning: found incorrect chart db version: V017
10:19:17 UTC:    Scheduling db upgrade to current db version on Options->Charts page visit...
10:19:17 UTC: Chartdb: Chart directory list follows
10:19:17 UTC:   Chart directory #0: /usr/local/share/charts
10:19:17 UTC: GPS Watchdog Timeout is: 6 sec.
10:19:17 UTC: Unable to initialize background world map. No GSHHS datafiles found in /usr/local/share/opencpn
/gshhs/
10:19:17 UTC: Loading World Chart Q=0 in 0 ms.
10:19:17 UTC: GSHHS World chart files have wrong version. Found 0, expected 210-220.
10:19:17 UTC: Loading World Chart Q=0 in 0 ms.
10:19:17 UTC: Loading World Chart Q=0 in 0 ms.
10:19:20 UTC:    ***GPS Watchdog timeout at Lat:-60   Lon: 180
10:20:12 UTC: LOGBOOK:  2015-02-06 10:20:12 UTC  DR Lat  -60.00000 Lon  180.00000
Alisdair is offline   Reply With Quote
Old 06-02-2015, 04:02   #10
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: OpenCPN on Raspberry PI Raspbian

Quote:
Originally Posted by Alisdair View Post
That was on a clean machine, so the time incuded downloading sources and installing the dependencies.

make -j4 took 15 minutes
Considerably slower than cubie truck which is only dual core.
Quote:
I haven't had a chance to play around with it yet so can't comment on performance; I did notice that the world map is missing.
Did you download the gshhs data?
Quote:

Code:
10:19:15 UTC: OpenGL-> Renderer String: Software Rasterizer
10:19:15 UTC: OpenGL-> Version reported:  2.1 Mesa 8.0.5
10:19:15 UTC: OpenGL-> Texture rectangle format: de1
So you are using slower software rendering.
seandepagnier is offline   Reply With Quote
Old 06-02-2015, 04:26   #11
Registered User

Join Date: Jul 2012
Location: UK
Boat: Albin Vega, 27'
Posts: 79
Re: OpenCPN on Raspberry PI Raspbian

Quote:
Originally Posted by boat_alexandra View Post
Considerably slower than cubie truck which is only dual core.

Did you download the gshhs data?


So you are using slower software rendering.

That was out of the box, no overclocking, following vanilla instructions from opencpn.org.

It's far quicker when openGL is turned off, and I couldn't see any difference in the quality (on my small display).
Alisdair is offline   Reply With Quote
Old 06-02-2015, 18:49   #12
Registered User

Join Date: Feb 2012
Location: Cairns
Boat: Roberts 38 offshore
Posts: 51
Re: OpenCPN on Raspberry PI Raspbian

Rear all this with interest. Would like to know if RP2 is working OK with open CPN. I'm using a Lenova screen that is connected via USB port and run w low amps. Cm93 and GE pictures made into charts with GE2KAP is the best I have used where I sail in Papua New Gu in each, Solomon Island, charts are way out here but GE is spot on. Also using SAS Planet on a memory stick with lots of charts I need cache.
__________________
Yacht Seagoon is sailing to Milne Bay Papua New Guinea 1st May 2013. This year I am installing Solar panels and LED lights in the villages.
Neddy is offline   Reply With Quote
Old 08-02-2015, 10:45   #13
Registered User

Join Date: Jul 2012
Location: UK
Boat: Albin Vega, 27'
Posts: 79
Re: OpenCPN on Raspberry PI Raspbian

Quote:
Originally Posted by Neddy View Post
Rear all this with interest. Would like to know if RP2 is working OK with open CPN. I'm using a Lenova screen that is connected via USB port and run w low amps. Cm93 and GE pictures made into charts with GE2KAP is the best I have used where I sail in Papua New Gu in each, Solomon Island, charts are way out here but GE is spot on. Also using SAS Planet on a memory stick with lots of charts I need cache.
It seems to working fine thus far; won't be able to give it a decent trial until I'm afloat.
Alisdair is offline   Reply With Quote
Reply

Tags
enc, opencpn


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
Comproblem on Raspberry Pi and OpenCPN vagspel OpenCPN 4 26-12-2012 05:01
Raspberry Pi and OpenCPN 3.1.915 spillemw OpenCPN 20 24-09-2012 02:30
Can Someone Help Compile on Raspberry Pi ? jimseng OpenCPN 11 06-07-2012 16:24
Raspberry PI compiles OpenCPN monstads OpenCPN 7 15-03-2012 12:41
The Perfect Platform for OpenCPN ? Raspberry Pi night0wl OpenCPN 10 08-09-2011 19:09

Advertise Here


All times are GMT -7. The time now is 17:03.


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.