Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-04-2016, 14:06   #301
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,798
Re: OpenCPN on Raspberry Pi2

Hi
BR24 radar now on Rpi

System:
Rpi-2. Latest Jessie and Raspbian.
No overclock.
Screen is the Raspberry 7" (Still minor problem to get dialogues fully visible)
/boot/config.txt
framebuffer_depth=32
framebuffer_ignore_alpha=1

OCPN 4.2 Build from Git source yesterday. No extras
Hardware OpenGL is supported.
BR24radar_pi version 1.31

GPS from serial and Garmin 12 in simulation mode
Radar BR24 on tcpreplay simulation into eth0 from another PC.
AIS shipraiser via wlan0

See picture

Rather slow in zoom but it's working and very stable.

This is fun!! Now I can take it to the boat for "real" tests.
Håkan
Attached Thumbnails
Click image for larger version

Name:	2016-04-02-222241_800x480_scrot.png
Views:	107
Size:	66.2 KB
ID:	121914   Click image for larger version

Name:	2016-04-02-222119_800x480_scrot.png
Views:	94
Size:	68.8 KB
ID:	121915  

__________________

__________________
Hakan is offline   Reply With Quote
Old 03-04-2016, 01:45   #302
Registered User

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

Quote:
Originally Posted by Hakan View Post
Hi
BR24 radar now on Rpi

System:
Rpi-2. Latest Jessie and Raspbian.
No overclock.
Screen is the Raspberry 7" (Still minor problem to get dialogues fully visible)
/boot/config.txt
framebuffer_depth=32
framebuffer_ignore_alpha=1

OCPN 4.2 Build from Git source yesterday. No extras
Hardware OpenGL is supported.
BR24radar_pi version 1.31

GPS from serial and Garmin 12 in simulation mode
Radar BR24 on tcpreplay simulation into eth0 from another PC.
AIS shipraiser via wlan0

See picture

Rather slow in zoom but it's working and very stable.

This is fun!! Now I can take it to the boat for "real" tests.
Håkan
Hakan,

This is great on such a small system.

All things seems to work now on the Raspberry Pi 2 and 3.

Also running with hardware video acceleration. Screen movements are now fast and the processor is running at around 30% max.

OpenCPN 4.2
with a working radar overlay.
and the other plugins

with OpenPlotter

- Wifi Access point for wireless date transfer to other systems.
- NMEA multiplexer
- RTL-DSR Ais receiver (Dongle cost € 10,--15,-)
- SignalK server
- VNC server for remote control of the Raspy desktop
- Zygrib
and some more functions.

Add an alu case and you have a perfect computer system for
your Boat.

To be really safe take a stabilized power supply.

Regards,


Bram
__________________

__________________
verkerkbr is offline   Reply With Quote
Old 20-06-2016, 12:24   #303
Registered User

Join Date: Feb 2012
Posts: 49
Re: OpenCPN on Raspberry Pi2

seeks like a never ending story, but can someone advise how to update to opencpn 4.4.
btw I use OpenPlotter 0.8.0 and would like to keep in release sync with my PC installation
__________________
skipperearly is offline   Reply With Quote
Old 20-06-2016, 12:47   #304
Marine Service Provider

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

Quote:
Originally Posted by skipperearly View Post
seeks like a never ending story, but can someone advise how to update to opencpn 4.4.
btw I use OpenPlotter 0.8.0 and would like to keep in release sync with my PC installation
Openplotter 0.8 uses
Code:
deb http://ppa.launchpad.net/nohal/opencpn/ubuntu/ trusty main
in the /etc/apt/sources.list file as source for installing opencpn. When checking it seems that this source is still not updated for opencpn 4.4.

According to: Ubuntu PPA | Official OpenCPN Homepage
There are two PPA repositories, one for stable versions only and one that includes beta versions. If you want the beta versions replace the "ppapencpn/opencpn" string in the following instructions with "ppa:bdbcat/opencpn". Prior to 6/10/2016 the repository for beta versions was "ppa:nohal/opencpn".
From the command line after adding correct respository


Open a Terminal and enter the following commands:

Code:
sudo apt-get install software-properties-common
Code:
sudo apt-get update
Code:
sudo apt-get install opencpn


__________________
petter5 is offline   Reply With Quote
Old 20-06-2016, 12:53   #305
Registered User

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

Quote:
Originally Posted by skipperearly View Post
seeks like a never ending story, but can someone advise how to update to opencpn 4.4.
btw I use OpenPlotter 0.8.0 and would like to keep in release sync with my PC installation
The only thing you have to do is changing the ppa adress and then update and upgrade.

The easy way is to change the settings with synaptic. If it is not available you can install it.

sudo apt-get install synaptic

start synaptic and go tot setup sources and change ppa to:

deb
//ppa.launchpad.net/opencpn/opencpn/ubuntu
trusty
main

then OK

close synaptic

Open terminal:

sudo apt-get update (this takes the new software list)

sudo apt-get install opencpn

sudo apt-get upgrade also the latest Raspian files.

That is all

you can also install the latest kernel version with:

sudo rpi-update

Bram
__________________
verkerkbr is offline   Reply With Quote
Old 20-06-2016, 13:20   #306
Marine Service Provider

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

Quote:
Originally Posted by verkerkbr View Post
The only thing you have to do is changing the ppa adress and then update and upgrade.

The easy way is to change the settings with synaptic. If it is not available you can install it.

sudo apt-get install synaptic

start synaptic and go tot setup sources and change ppa to:

deb
//ppa.launchpad.net/opencpn/opencpn/ubuntu
trusty
main

then OK

close synaptic

Open terminal:

sudo apt-get update (this takes the new software list)

sudo apt-get install opencpn

sudo apt-get upgrade also the latest Raspian files.

That is all

you can also install the latest kernel version with:

sudo rpi-update

Bram
It seems that latest O is not in the arm sources yet. I tried and got the error
Code:
 Error: could not find a distribution template for Raspbian/jessie
Followed the instructions on the install page and also added some extra to get the add-apt-repository command to work.
Code:
sudo apt-get install software-properties-common
Code:
sudo apt-get install software-properties-common python-software-properties
Code:
sudo add-apt-repository -r ppa:nohal/opencpn
Code:
sudo add-apt-repository ppa:opencpn/opencpn
Code:
sudo apt-get update
Code:
sudo apt-get install opencpn
but get error on adding ppapencpn/opencpn




__________________
petter5 is offline   Reply With Quote
Old 20-06-2016, 13:29   #307
Registered User

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

http://ppa etc. etc.

.launchpad.net/opencpn/opencpn/ubuntu

Cannot write it in one sentence.
__________________
verkerkbr is offline   Reply With Quote
Old 20-06-2016, 13:32   #308
Marine Service Provider

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

Quote:
Originally Posted by verkerkbr View Post
http://ppa etc. etc.

.launchpad.net/opencpn/opencpn/ubuntu

Cannot write it in one sentence.
nope, doesn’t work
Code:
sudo add-apt-repository -r http://ppa:nohal/opencpn
Traceback (most recent call last):
  File "/usr/bin/add-apt-repository", line 167, in <module>
    sp = SoftwareProperties(options=options)
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 105, in __init__
    self.reload_sourceslist()
  File "/usr/lib/python3/dist-packages/softwareproperties/SoftwareProperties.py", line 595, in reload_sourceslist
    self.distro.get_sources(self.sourceslist)    
  File "/usr/lib/python3/dist-packages/aptsources/distro.py", line 89, in get_sources
    (self.id, self.codename))
aptsources.distro.NoDistroTemplateException: Error: could not find a distribution template for Raspbian/jessie
__________________
petter5 is offline   Reply With Quote
Old 20-06-2016, 14:06   #309
Registered User

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

It works here in the Raspberry Pi as described. Did you add: trusty main as in the original ppa settings ?

In my Linux Mint it is:

deb http://ppa.launchpad.net
/bdbcat/opencpn/ubuntu trusty main

(also not possible in one sentence)

Regards,


Bram
__________________
verkerkbr is offline   Reply With Quote
Old 20-06-2016, 14:32   #310
Marine Service Provider

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

Quote:
Originally Posted by verkerkbr View Post
It works here in the Raspberry Pi as described. Did you add: trusty main as in the original ppa settings ?

In my Linux Mint it is:

deb http://ppa.launchpad.net
/bdbcat/opencpn/ubuntu trusty main

(also not possible in one sentence)

Regards,


Bram
It's no problem in the ordinary ubntu/ intel repository.

The question from skipperearly was about the openplotter 0.8 (RPI /ARM Jesse) image and opencpn 4.4.

I did post a question in the openplotter thread, maybe we soon will get a reply from that thread:
OpenPlotter project - Page 56 - Cruisers & Sailing Forums
__________________
petter5 is offline   Reply With Quote
Old 20-06-2016, 23:07   #311
Registered User

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

I'am running OpenPlotter 0.8 latest version on my Raspberry Pi 2 and 3 with Raspian (Jessy) and on Linux Mint Rosa 64 bits. And my post shows how the upgrade works here.
__________________
verkerkbr is offline   Reply With Quote
Old 21-06-2016, 02:07   #312
Registered User

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

For your information. I just tried a new Raspberry Pi 3 with Ubuntu Mate and the latest updates and kernel version.

GLXgears is now running at around 170 FPS !
__________________
verkerkbr is offline   Reply With Quote
Old 21-06-2016, 03:56   #313
Registered User

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

Quote:
Originally Posted by petter5 View Post
It's no problem in the ordinary ubntu/ intel repository.

The question from skipperearly was about the openplotter 0.8 (RPI /ARM Jesse) image and opencpn 4.4.

I did post a question in the openplotter thread, maybe we soon will get a reply from that thread:
OpenPlotter project - Page 56 - Cruisers & Sailing Forums
Just made a setup for a new Raspberry PI3 and OpenPlotter 0.8

After image of OpenPlotter 0.8 on the SD Card and booting the Raspberry PI.

upgrade the system with:

sudo apt-get update
sudo apt-get upgrade
sudo rpi-update (update of the kernel)
reboot
you can also do:
sudo apt-get dist-upgrade

install synaptic
sudo apt-get install synaptic
start synaptic (pw = raspberry)
go to setup
package sources
change the setting opencpn ppa only by replacing nohal with opencpn
OK
reload
find Opencpn
click on OpenCPN installing new version 4.4 over old one
and go

And your are running the latest Raspian (Jessie) version and OpenCPN 4.4
__________________
verkerkbr is offline   Reply With Quote
Old 21-06-2016, 05:27   #314
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: BVI
Boat: bristol 27
Posts: 2,642
Re: OpenCPN on Raspberry Pi2

Quote:
Originally Posted by Hakan View Post
Hi
Rather slow in zoom but it's working and very stable.

This is fun!! Now I can take it to the boat for "real" tests.
Håkan

You should post your log file. Also, did you use the shader support for the radar?
__________________
boat_alexandra is offline   Reply With Quote
Old 21-06-2016, 07:20   #315
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: On the Boat
Boat: Finnsailer 38
Posts: 1,037
Re: OpenCPN on Raspberry Pi2

Quote:
Originally Posted by verkerkbr View Post
Just made a setup for a new Raspberry PI3 and OpenPlotter 0.8

After image of OpenPlotter 0.8 on the SD Card and booting the Raspberry PI.

upgrade the system with:

sudo apt-get update
sudo apt-get upgrade
sudo rpi-update (update of the kernel)
reboot
you can also do:
sudo apt-get dist-upgrade

install synaptic
sudo apt-get install synaptic
start synaptic (pw = raspberry)
go to setup
package sources
change the setting opencpn ppa only by replacing nohal with opencpn
OK
reload
find Opencpn
click on OpenCPN installing new version 4.4 over old one
and go

And your are running the latest Raspian (Jessie) version and OpenCPN 4.4
After you do all the updates are you able to run with OpenGL ?
Are you enabling the Experimental driver ?

Thanks,
JM.
__________________

__________________
NahanniV is offline   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 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


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 03:35.


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.