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 20-01-2016, 10:05   #211
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,105
Re: OpenCPN on Raspberry Pi2

Dear JM,

although I cannot try this on the boat.

But the speakers on this HDMi screen are now still playing Swiss Jazz music with the screen automaticly dimmed.

I suppose that the alarms are working also with the screen in dimmed state.

One touch on the screen and the chart is back again.

The Rapsy 2 is performing very well.

The only problem I had, was the screen resolution. But this has been solved.

Regards,


Bram
verkerkbr is offline   Reply With Quote
Old 20-01-2016, 10:45   #212
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: Nova Scotia Canada
Boat: Wharram Tiki 46
Posts: 1,321
Re: OpenCPN on Raspberry Pi2

Quote:
Originally Posted by verkerkbr View Post
Dear JM,

although I cannot try this on the boat.

But the speakers on this HDMi screen are now still playing Swiss Jazz music with the screen automaticly dimmed.

I suppose that the alarms are working also with the screen in dimmed state.

One touch on the screen and the chart is back again.

The Rapsy 2 is performing very well.

The only problem I had, was the screen resolution. But this has been solved.

Regards,


Bram
That's good, when my LG monitor is in sleep mode, the HDMI audio stops.

Cheers,
JM.
NahanniV is offline   Reply With Quote
Old 20-01-2016, 20:48   #213
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: OpenCPN on Raspberry Pi2

RGLeason..

Update to RPI2 install instructions:

Instead of:

Code:
OpenCPN must be compiled for installation.
sudo apt-get install build-essential cmake gettext git-core gpsd gpsd-clients libgps-dev wx-common libwxgtk3.0-dev libglu1-mesa-dev libgtk2.0-dev wx3.0-headers libbz2-dev libtinyxml-dev libportaudio2 portaudio19-dev libcurl4-openssl-dev libexpat1-dev libcairo2-dev
Then .. git clone http://github.com/seandepagnier/OpenCPN -b rpi_fixes cd OpenCPN sudo mkdir build cd build sudo cmake .. sudo make sudo make install It should compile and run fine. OpenGL mode is just a white screen, no charts and no frame rate displayed. With Opengl turned off it seems the same as 4.0 OpenGL At present OpenGL does not work.
please insert:

Code:
   OpenCPN may be installed from a Launchpad repository 
on Raspberry Pi 2 running Raspian Jessie without compilation.
    

    Add some repositories.  To do this, you may:
    a.. use synaptic
    b. or edit the package sources file (/etc/apt/sources.list)directly as desired.

    For more information and tutorial, see:
    http://linuxappfinder.com/addrepo

    We need the following repos:

    1. deb ftp://ftp.debian.org/debian/ jessie main
    2. deb http://ppa.launchpad.net/nohal/opencpn/ubuntu/ trusty main

    3. We also need to get a PGP key compatible with repo(2) above.
    $sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9C18FD9F

    4.  Update the repositories.
    $sudo apt-get update

    5.  Install opencpn
    $sudo apt-get install opencpn
    
    6.  (Optional)
    $sudo apt-get install libgl1-mesa-swx11
    This gives you OpenGL support with a Software rasterizer.
    There is not much speed improvement in OpenCPN with the software rasterizer.
Some edit maybe needed.

Also, I would like it if some RPI2 users would validate the above instructions to verify...

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 21-01-2016, 03:35   #214
Registered User

Join Date: Jul 2015
Location: Barcelona, Catalonia.
Posts: 297
Re: OpenCPN on Raspberry Pi2

Quote:
Originally Posted by bdbcat View Post
Also, I would like it if some RPI2 users would validate the above instructions to verify...
I can confirm that. That is the way OpenCPN is now installed on OpenPlotter but little variations:

Code:
sudo nano /etc/apt/sources.list
add:
deb Index of /opencpn/opencpn/ubuntu trusty main
deb-src Index of /opencpn/opencpn/ubuntu trusty main
Code:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C865EB40 
sudo apt-get update 
sudo apt-get install opencpn
Point 6: $sudo apt-get install libgl1-mesa-swx11 not tested yet.
__________________
OpenPlotter Project
https://openmarine.net/openplotter
Sailoog is offline   Reply With Quote
Old 21-01-2016, 05:26   #215
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,630
Images: 2
Re: OpenCPN on Raspberry Pi2

Thank you Bdbcat. Changed the Install here RaspberryPI RPI2 | Official OpenCPN Homepage
Moved the previous down to "Alternative- requires compilation"

Can someone explain:

For someone who has not done Raspberry Pi, is this Apt?
For new users is this the preferred way?
Is this already in the OS from Raspian Jesse?
How do we get it Synaptic going?

Quote:
Edit the package sources file (/etc/apt/sources.list)directly as desired.
For advanced users? Why would you want to edit these, just a clue please if this is for advanced users.

Also, since I have never done this, is
Quote:
deb ftp://ftp.debian.org/debian/ jessie main
a command issued from the command prompt? for example.

Additionally, Is there anything I should do about Saillog's suggestions, for the Content of the RPI2 Install page since that is what we call a Dedicated Marine OS?

Incidently we have a link for Openplotter here http://opencpn.org/ocpn/Install_Dedicated-Marine-OS
rgleason is offline   Reply With Quote
Old 21-01-2016, 05:48   #216
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,630
Images: 2
Re: OpenCPN on Raspberry Pi2

Incidently, we have created this Install list from various sources (Advanced, Supplimentary Software v4.0 Install page, etc)

OpenCPN Installation | Official OpenCPN Homepage

I think someone who understands Linux and its derivatives needs to look at it more carefully. I have not edited these pages at all, other than moving things into what seemed to be logical places or pages and tried to format.

There may be duplication, there is also a comment at the bottom of the this page
OpenCPN Installation | Official OpenCPN Homepage
Comment:How To install OpenCPN 3.0 on SUSE Linux Enterprise Server 11 SP2 by luc.mees - 06/20/2012 - 16:07
Which is perhaps old and outdated, or perhaps should become a page?
If it is old should we remove it?

Let me know if there are changes that should be made.
Thanks.
rgleason is offline   Reply With Quote
Old 21-01-2016, 08:52   #217
Registered User

Join Date: Jul 2015
Location: Barcelona, Catalonia.
Posts: 297
Re: OpenCPN on Raspberry Pi2

Quote:
Originally Posted by rgleason View Post
Thank you Bdbcat. Changed the Install here RaspberryPI RPI2 | Official OpenCPN Homepage
Moved the previous down to "Alternative- requires compilation"

Can someone explain:

For someone who has not done Raspberry Pi, is this Apt?
For new users is this the preferred way?
Is this already in the OS from Raspian Jesse?
How do we get it Synaptic going?

For advanced users? Why would you want to edit these, just a clue please if this is for advanced users.

Also, since I have never done this, is
a command issued from the command prompt? for example.

Additionally, Is there anything I should do about Saillog's suggestions, for the Content of the RPI2 Install page since that is what we call a Dedicated Marine OS?

Incidently we have a link for Openplotter here Dedicated Marine OS | Official OpenCPN Homepage
Dave and mine are the same procedure. The difference is the sources.

The usual way (new and advanced users) of adding sources to Raspbian is editing manually this file: /etc/apt/sources.list

You can do this typing:

Code:
sudo nano /etc/apt/sources.list
The file will open and there you have to add and and save this text:

Code:
deb ftp://ftp.debian.org/debian/ jessie main
deb http://ppa.launchpad.net/nohal/opencpn/ubuntu/ trusty main
or

Code:
deb http://ppa.launchpad.net/opencpn/opencpn/ubuntu trusty main 
deb-src http://ppa.launchpad.net/opencpn/opencpn/ubuntu trusty main
(I can confirm the second option)

then you have to type in the terminal again:

Code:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 9C18FD9F
or

Code:
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys C865EB40
(I can confirm the second option)

At last you can either type this to install:

Code:
sudo apt-get update 
sudo apt-get install opencpn
Or use the GUI package manager included in Raspbian (Menu->Preferences->Add / Remove Software)

Synaptic is not installed by default. This procedure will work not only on OpenPlotter, on fresh Raspbian too.

Thanks for adding OpenPlotter to Marine OS page! It would be great to add "for RPI boards" for people who want things out of the box.
__________________
OpenPlotter Project
https://openmarine.net/openplotter
Sailoog is offline   Reply With Quote
Old 21-01-2016, 09:04   #218
Registered User

Join Date: Jul 2015
Location: Barcelona, Catalonia.
Posts: 297
Re: OpenCPN on Raspberry Pi2

I forgot

This is the list of working plugins on Raspbian. If you want to install all working plugins from repository, after adding sources you have to type in a terminal:

Code:
sudo apt-get update
sudo apt-get install opencpn-plugin-vdr opencpn-plugin-celestial opencpn-plugin-chartdldr opencpn-plugin-climatology opencpn-plugin-climatology-data opencpn-plugin-findit opencpn-plugin-iacfleet opencpn-plugin-logbookkonni opencpn-plugin-polar opencpn-plugin-rtlsdr opencpn-plugin-statusbar opencpn-plugin-watchdog opencpn-plugin-weatherfax opencpn-plugin-weatherrouting opencpn-plugin-wmm opencpn-tcdata opencpn-plugin-objsearch opencpn-plugin-route opencpn-plugin-sar opencpn-plugin-squiddio
__________________
OpenPlotter Project
https://openmarine.net/openplotter
Sailoog is offline   Reply With Quote
Old 21-01-2016, 10:33   #219
Registered User

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

Quote:
Originally Posted by Sailoog View Post
I forgot

This is the list of working plugins on Raspbian. If you want to install all working plugins from repository, after adding sources you have to type in a terminal:

Code:
sudo apt-get update
sudo apt-get install opencpn-plugin-vdr opencpn-plugin-celestial opencpn-plugin-chartdldr opencpn-plugin-climatology opencpn-plugin-climatology-data opencpn-plugin-findit opencpn-plugin-iacfleet opencpn-plugin-logbookkonni opencpn-plugin-polar opencpn-plugin-rtlsdr opencpn-plugin-statusbar opencpn-plugin-watchdog opencpn-plugin-weatherfax opencpn-plugin-weatherrouting opencpn-plugin-wmm opencpn-tcdata opencpn-plugin-objsearch opencpn-plugin-route opencpn-plugin-sar opencpn-plugin-squiddio
Why do you need to specify climatology-data? Do you mean that installing opencpn-plugin-climatology is not enough?
seandepagnier is offline   Reply With Quote
Old 21-01-2016, 10:44   #220
Registered User

Join Date: Jul 2015
Location: Barcelona, Catalonia.
Posts: 297
Re: OpenCPN on Raspberry Pi2

Quote:
Originally Posted by boat_alexandra View Post
Why do you need to specify climatology-data? Do you mean that installing opencpn-plugin-climatology is not enough?
I don't remember why . Let me try again...
__________________
OpenPlotter Project
https://openmarine.net/openplotter
Sailoog is offline   Reply With Quote
Old 21-01-2016, 13:01   #221
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,630
Images: 2
Re: OpenCPN on Raspberry Pi2

Thank you all. I've added Sailoog's Note to
RaspberryPI RPI2 | Official OpenCPN Homepage

And I've added Sailoog's install and the note about RPI to
OpenPlotter
Dedicated Marine OS | Official OpenCPN Homepage

These pages can be Edited quite easily.
Register and Log in to here OpenCPN | Official OpenCPN Homepage
and then Edit the User Manual | Official OpenCPN Homepage
rgleason is offline   Reply With Quote
Old 22-01-2016, 01:10   #222
Registered User

Join Date: Jul 2015
Location: Barcelona, Catalonia.
Posts: 297
Re: OpenCPN on Raspberry Pi2

Quote:
Originally Posted by rgleason View Post
These pages can be Edited quite easily.
Register and Log in to here OpenCPN | Official OpenCPN Homepage
and then Edit the User Manual | Official OpenCPN Homepage
I didn't know that, I will. Thanks!
__________________
OpenPlotter Project
https://openmarine.net/openplotter
Sailoog is offline   Reply With Quote
Old 22-01-2016, 19:24   #223
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 Pi2

So how big a difference is this install as opposed to the beta PPA install of opencpn on a raspberry Pi with Jessie?


Sent from my iPhone using Cruisers Sailing Forum
akopac is offline   Reply With Quote
Old 22-01-2016, 19:32   #224
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: OpenCPN on Raspberry Pi2

Akopac..

re:
So how big a difference is this install as opposed to the beta PPA install of opencpn on a raspberry Pi with Jessie?

Which install do you refer to, please?

Dave
bdbcat is offline   Reply With Quote
Old 25-01-2016, 13:40   #225
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 719
Re: OpenCPN on Raspberry Pi2

Xinutop has the possibility to mount a iso file containing the charts. It feels that the charts loads much quicker when using this method from a flash drive (raspberry) and think this could speed up chart loading from SD card on the pi. Would suggest to add the ISO scrips from Xinutop to the PI install.

I attach the script from Xinutop (gpl) -remove/rename pdf
Attached Files
File Type: pdf local.sh.pdf (961 Bytes, 45 views)
File Type: pdf user.sh.pdf (608 Bytes, 42 views)
petter5 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
OpenCPN on Raspberry PI2 starnakel OpenCPN 284 16-03-2017 13:58
Has anyone gotten any Plugins working on Raspberry Pi2 Uncle Augie OpenCPN 5 27-06-2015 06:19
Has anyone managed to get hardware supported OpenGL on Rasperry Pi2 to work? Gunnar1 OpenCPN 53 16-06-2015 02:10
Raspberry Pi2 ratsea OpenCPN 5 26-02-2015 08: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 07:51.


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.