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 21-04-2019, 01:58   #1
Registered User

Join Date: Dec 2015
Location: Germany, sailing: Northsea
Boat: Friendship 28
Posts: 244
Sea trial rpi3b+ and OpenCPN 5.0

Hi,

last few days I found the time to make test the rpi3+ and OC 5.0 in real live on board and sea.

RPI 3b+ with the latest raspian Stretch
Latest Kernel get with rpi-update
OpenGL switched on with fake kms
OC 5.0 from the ubuntu ppa (xenial-version)
All used plugins also from the ppa
AIS-Info comes over a dAISy hat
NMEA comes over a RS232 to USB
Radar is a Simrad broadband 3g
13" hdmi Monitor connected to the rpi at chart table
10" tablet via wifi and vnc as a remote and outside viewing Monitor
Charts oesenc vector Charts, self scanned rastercharts

The main functions worked fine and very well as known from OC 4.8.8.
The speed and grafic-power from the rpi is good enough for using OC 5.0
The one canvas layout is good for offshore I think, the two canvas layout is good for inshore, habour entrance or waterways I think.
I have to investigate the possibility for saving the layouts deeper.
In my understanding from that I tought that I could save ALL from a layout, but eg. the zoom or the monitor partition (30/70 50/50) were not saved.
For me the 10" monitor is the minimum for a two canvas-layout.

AIS-Informations and CPA/TCPA calculations seemed to work well and good.
With radar and radaroverlay also the ARPA/MARPA calculations.

There were some minior issues I try to describe in some other threats.

So from my side OC 5.0 works good and well with a rpi3b+.

Regards

Andreas
Andreas29 is offline   Reply With Quote
Old 21-04-2019, 02:24   #2
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,118
Re: Sea trial rpi3b+ and OpenCPN 5.0

Quote:
Originally Posted by Andreas29 View Post
Hi,

last few days I found the time to make test the rpi3+ and OC 5.0 in real live on board and sea.

RPI 3b+ with the latest raspian Stretch
Latest Kernel get with rpi-update
OpenGL switched on with fake kms
OC 5.0 from the ubuntu ppa (xenial-version)
All used plugins also from the ppa
AIS-Info comes over a dAISy hat
NMEA comes over a RS232 to USB
Radar is a Simrad broadband 3g
13" hdmi Monitor connected to the rpi at chart table
10" tablet via wifi and vnc as a remote and outside viewing Monitor
Charts oesenc vector Charts, self scanned rastercharts

The main functions worked fine and very well as known from OC 4.8.8.
The speed and grafic-power from the rpi is good enough for using OC 5.0
The one canvas layout is good for offshore I think, the two canvas layout is good for inshore, habour entrance or waterways I think.
I have to investigate the possibility for saving the layouts deeper.
In my understanding from that I tought that I could save ALL from a layout, but eg. the zoom or the monitor partition (30/70 50/50) were not saved.
For me the 10" monitor is the minimum for a two canvas-layout.

AIS-Informations and CPA/TCPA calculations seemed to work well and good.
With radar and radaroverlay also the ARPA/MARPA calculations.

There were some minior issues I try to describe in some other threats.

So from my side OC 5.0 works good and well with a rpi3b+.

Regards

Andreas

Hi Andreas,


good to read that the RPI3B+ works well. But I do not understand why the VC4 OpenGL setting is not working for you.


It works here allready for a long time.


Using Stretch Xenial.


I'am using it on a 10" monitor and it also works very well with remote VNC system. Chromebook.


Don't have a radar.


Regards,


Bram
verkerkbr is offline   Reply With Quote
Old 21-04-2019, 02:36   #3
Registered User

Join Date: Dec 2015
Location: Germany, sailing: Northsea
Boat: Friendship 28
Posts: 244
Re: Sea trial rpi3b+ and OpenCPN 5.0

Hi,

Bram I donīt understand it too

When using full-kms I run into trouble with my vnc-connection (the tablet). It shows poor Resolution. After a long time where I search the WWW I found a solution for this.
But thereīs still one other think:
Full-kms and glxgears gives me flickering and discoulered gears, fake-kms gives me the right coulered, non-flickering gears with -and thatīs the interesting point- more fps then with full-kms.

So for me fake-kms seems to be the best choice

Regards

Andreas
Andreas29 is offline   Reply With Quote
Old 21-04-2019, 03:11   #4
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,118
Re: Sea trial rpi3b+ and OpenCPN 5.0

Quote:
Originally Posted by Andreas29 View Post
Hi,

Bram I donīt understand it too

When using full-kms I run into trouble with my vnc-connection (the tablet). It shows poor Resolution. After a long time where I search the WWW I found a solution for this.
But thereīs still one other think:
Full-kms and glxgears gives me flickering and discoulered gears, fake-kms gives me the right coulered, non-flickering gears with -and thatīs the interesting point- more fps then with full-kms.

So for me fake-kms seems to be the best choice

Regards

Andreas

Hi Andreas,


I also had that problem. It is not caused by the RPI but by the RealVNC server.


The VNC server is looking for a monitor. And if no monitor is available is start in the lowest resolution.



If you have a HDMI monitor connected then it gives the resolution of the monitor. You can then remove the HDMI cable and the resolution does not change.



But if you have no monitor and use it headless then you get the low resolution.


I have tried to find a software resolution for starting headless in a higher resolution. But not found one.


The easy way is to put a dummy HDMI dongle in the HDMI slot.


Then it seems to work. However I have not test this yet. Dongle is underway. Dongle cost around € 6,-.


Regards,




Bram
verkerkbr is offline   Reply With Quote
Old 21-04-2019, 05:50   #5
Registered User

Join Date: Dec 2015
Location: Germany, sailing: Northsea
Boat: Friendship 28
Posts: 244
Re: Sea trial rpi3b+ and OpenCPN 5.0

Hi,

Bram yes, when connecting to a hdmi monitor the resolution issue does not appear.

Itīs possible to use a vnc-server command to open a "new" (virtual) Desktop for the vnc-client and then you can choose a resolution what ever you want.

I wrote it down in this threat: http://www.cruisersforum.com/forums/...-216434-2.html

Posts #13, 25, 26

But with full kms I got lower fps with glxgears.

Regards

Andreas
Andreas29 is offline   Reply With Quote
Old 21-04-2019, 06:25   #6
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,118
Re: Sea trial rpi3b+ and OpenCPN 5.0

Quote:
Originally Posted by Andreas29 View Post
Hi,

Bram yes, when connecting to a hdmi monitor the resolution issue does not appear.

Itīs possible to use a vnc-server command to open a "new" (virtual) Desktop for the vnc-client and then you can choose a resolution what ever you want.

I wrote it down in this threat: http://www.cruisersforum.com/forums/...-216434-2.html

Posts #13, 25, 26

But with full kms I got lower fps with glxgears.

Regards

Andreas
Hi Andreas, I have tried a lot of options. Changing the config.txt etc. etc. But nothing seems to fix the resolution.

I'am using the latest realvnc server version.

But with an HDMI attached, you don't need to change anything.

It is probably a well know problem also with other systems.

Simply adding a HDMI dummy plug seems to be the solution. I will report the outcome as soon I have have received the dongle.

As far as I know there are other VNC options that can be set to the required resolution of the VNCserver.

But Realvnc works for me very well.

Regards,




Bram
verkerkbr is offline   Reply With Quote
Old 23-04-2019, 08:05   #7
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,118
Re: Sea trial rpi3b+ and OpenCPN 5.0

Quote:
Originally Posted by verkerkbr View Post
Hi Andreas, I have tried a lot of options. Changing the config.txt etc. etc. But nothing seems to fix the resolution.

I'am using the latest realvnc server version.

But with an HDMI attached, you don't need to change anything.

It is probably a well know problem also with other systems.

Simply adding a HDMI dummy plug seems to be the solution. I will report the outcome as soon I have have received the dongle.

As far as I know there are other VNC options that can be set to the required resolution of the VNCserver.

But Realvnc works for me very well.

Regards,




Bram

Just received the HDMI dummy dongle. Now I get a high resolution image on my remote Realvnc viewer screen and Chromebook.

RealVNC version is the latest 6.4.1.

Regards,


Bram
verkerkbr is offline   Reply With Quote
Old 23-04-2019, 23:50   #8
Registered User

Join Date: Dec 2015
Location: Germany, sailing: Northsea
Boat: Friendship 28
Posts: 244
Re: Sea trial rpi3b+ and OpenCPN 5.0

Hi,

Bram, good to hear that the dongle works

Regards

Andreas
Andreas29 is offline   Reply With Quote
Old 24-04-2019, 00:06   #9
Registered User
 
Reefmagnet's Avatar

Join Date: May 2008
Location: puɐןsuǝǝnb 'ʎɐʞɔɐɯ
Boat: Nantucket Island 33
Posts: 4,866
Re: Sea trial rpi3b+ and OpenCPN 5.0

There's a setting in config.txt that can be tweaked to change the default resolution. I've been running real VNC for a couple of months now with OpenPlotter and OpenCPN and Radar on an RPi 3+ without a monitor connected and it's fine.
Reefmagnet is offline   Reply With Quote
Old 24-04-2019, 00:20   #10
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,118
Re: Sea trial rpi3b+ and OpenCPN 5.0

Quote:
Originally Posted by Reefmagnet View Post
There's a setting in config.txt that can be tweaked to change the default resolution. I've been running real VNC for a couple of months now with OpenPlotter and OpenCPN and Radar on an RPi 3+ without a monitor connected and it's fine.
Hi Reefmagnet,

I have tried several options but not found a software solution. Using the latest updates and kernel 4.19.32.

System is always looking first to the HDMI port and if not available it default to a low resolution. Also with the latest RealVNC server 6.4.1.

The cause is in the RPI software.

With the Dummy HDMI dongle it works.


Bram
Attached Thumbnails
Click image for larger version

Name:	Schermafdruk van 2019-04-23 21-57-07.jpg
Views:	113
Size:	398.6 KB
ID:	190732  
verkerkbr is offline   Reply With Quote
Old 24-04-2019, 00:34   #11
Registered User
 
Reefmagnet's Avatar

Join Date: May 2008
Location: puɐןsuǝǝnb 'ʎɐʞɔɐɯ
Boat: Nantucket Island 33
Posts: 4,866
Re: Sea trial rpi3b+ and OpenCPN 5.0

Quote:
Originally Posted by verkerkbr View Post
Hi Reefmagnet,

I have tried several options but not found a software solution. Using the latest updates and kernel 4.19.32.

System is always looking first to the HDMI port and if not available it default to a low resolution. Also with the latest RealVNC server 6.4.1.

The cause is in the RPI software.

With the Dummy HDMI dongle it works.


Bram

Yes true, but config.txt allows changing of the default setting without the need for anything to be plugged into the hdmi socket. From memory (I think) it is the "hdmi_mode" setting that affects the change.


https://elinux.org/RPiconfig#Video
Reefmagnet is offline   Reply With Quote
Old 23-06-2019, 01:21   #12
Registered User

Join Date: Dec 2015
Location: Germany, sailing: Northsea
Boat: Friendship 28
Posts: 244
Re: Sea trial rpi3b+ and OpenCPN 5.0

Hi,

update:

I can test and run OC 5.0 a little bit longer due to a sailing passage over the North sea from the Netherlands to England.

In short: It works great on my raspberry pi 3b+. It was stable and the plugins worked without faults.
Also the Radar, the grib and the weatherrouting plugin.

Great Job

Regards

Andreas
Andreas29 is offline   Reply With Quote
Old 26-06-2019, 14:09   #13
Registered User

Join Date: Feb 2018
Location: Tromsoe, Norway
Boat: RM 1200
Posts: 25
Re: Sea trial rpi3b+ and OpenCPN 5.0

Running O5 on rpi3+ at the moment as the HDD on my laptop suddenly went the way of the Dodo. Ubuntu mate os. Seems to work well enough, but cant get the oesenc plugin installed. The updated radar installed no problem and works, but the oesenc plugin i cant even find. Apt-get install opencpn-<tab> list every plugin except oesenc. Any tips on what I am doing wrong? Tried updating the ppa, but didnt seem to help.
Tabaqui is offline   Reply With Quote
Old 26-06-2019, 17:05   #14
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,469
Re: Sea trial rpi3b+ and OpenCPN 5.0

Tabaqui...


Please post output of:


Code:
$sudo apt-get install oesenc-pi

Dave
bdbcat is offline   Reply With Quote
Old 26-06-2019, 23:29   #15
Registered User

Join Date: Feb 2018
Location: Tromsoe, Norway
Boat: RM 1200
Posts: 25
Re: Sea trial rpi3b+ and OpenCPN 5.0

That easy, and it worked perfectly. Doh.
Thanks Dave!
Tabaqui 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
Useful Sea-Trial Tips and Tests Pelagic Boat Ownership & Making a Living 61 02-08-2019 14:08
Survey and sea trial MV Wanderlust Powered Boats 8 15-07-2016 15:12
Polaris 43 survey and sea trial day - Ventura CA danielp Monohull Sailboats 12 11-04-2015 17:09
Launching our catamaran and first ever Sea-trial Catamoron Multihull Sailboats 6 03-12-2014 14:05
Survey and Sea Trial Suggestions CabezonBD Monohull Sailboats 1 08-11-2014 03:43

Advertise Here


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


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.