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 13-09-2016, 00:36   #181
Registered User

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

Next is the installation of the Mesa and the other utilities and then do more testing. But now I have some work to do on the Boat.

Tried the same SD card in my Pi3. But that did not work.

Bram
verkerkbr is offline   Reply With Quote
Old 13-09-2016, 01:49   #182
Registered User

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

Quote:
Originally Posted by verkerkbr View Post
Next is the installation of the Mesa and the other utilities and then do more testing. But now I have some work to do on the Boat.

Tried the same SD card in my Pi3. But that did not work.

Bram
Pi 3 : Perhaps I took the wrong module for the Pi 1. I will do a new compiling.
verkerkbr is offline   Reply With Quote
Old 19-09-2016, 22:34   #183
Registered User

Join Date: Dec 2015
Location: Germany, sailing: Northsea
Boat: Friendship 28
Posts: 244
Re: OpenCPN on Raspberry PI2

Quote:
Originally Posted by verkerkbr View Post
Kernel 4.8.0-rc5 is working now. And without the activation of the VC4 driver GLXgears is running at 59.955 fps.

And OpenCPN works with OpenGL setting to on and with very fast screen movements. And this on a PI2 ! Not yet tried it on my Pi3

Screen fragmentation by zooming-out is however not gone.

But I have not tried the other driver options.

But anyhow it works with OpenGL in the kernel. But it seems still experimental.

Bram
Hi Bram,

so you build your own kernel from source as described in your link?

Regards

Andreas
Andreas29 is offline   Reply With Quote
Old 21-09-2016, 07:34   #184
Registered User

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

Quote:
Originally Posted by Andreas29 View Post
Hi Bram,

so you build your own kernel from source as described in your link?

Regards

Andreas
Hallo Andreas,

I did it the first time with the setup for the Raspberry Pi 1. It worked. Then I tried to do the same for the Raspberry 3. But no luck this time. Now I will wait for the kernel 4.5 or higher.

It was not possible for me the figure out what goes wrong the second time. Compilation seems to go, but then starting the system, it did not start. When I take away the additions in the config.txt, the system start as before with the "old" 4.4.21 kernel.

Regards,

Bram
verkerkbr is offline   Reply With Quote
Old 13-10-2016, 05:47   #185
Registered User

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

Quote:
Originally Posted by boat_alexandra View Post
I understand... for now we patiently wait.


Once opengl is fully stable on the raspberry, there is another problem as it creates a new target which is "arm" but also "opengl" not "opengles"

I this means we don't need glshim, but how to distribute binaries? Other boards need opengles and share the same binaries as armv7.

Could extend glshim to fit on top of opengl as a simple wrapper to allow selecting opengl vs opengles at runtime?
No progress with the Pi2/3. Tried the BananaPi instead with the ARMbian (jessie) version. Did the dist upgrade. Now GLXgears are running at 140 FPS. OpenCPN does work at first. Closing the program and try to make a new start, then there is an error:

LIBGL: Initialising glshim
glXCreateNewContext(0x1f34400, 0x1fdb710, 32788 (nil), 1)
libGL:build on Sep 14 2016
Libgl: current folder etc
libGL:loaded : libGLESv1_CM.so
libGL:loaded : libEGL.so
Aborted

Removed the OpenCPN folder and started with the settings again. Same result.
verkerkbr is offline   Reply With Quote
Old 13-10-2016, 07:23   #186
Registered User

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

is the only way to reboot the board? I don't have a banana pi but they should have the same hardware as the cubietruck. Can you try older versions of opencpn to see if there is a regression?

What type of charts? Can you load only vector or only raster without this?
seandepagnier is offline   Reply With Quote
Old 13-10-2016, 08:37   #187
Registered User

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

Quote:
Originally Posted by boat_alexandra View Post
is the only way to reboot the board? I don't have a banana pi but they should have the same hardware as the cubietruck. Can you try older versions of opencpn to see if there is a regression?

What type of charts? Can you load only vector or only raster without this?
The only thing I have to do is to remove the .opencpn folder. The O starts en I have to do the settings again. Then it works. But closing OpenCPN and try to start a new session I get the error of non starting. When I do the starting in the terminal mode,
I get the answer as mentioned.

I just gave it a try with only the World map. Same result.

Looking at the logs. The start log for renewed starting is halted at: Creating glChartCanvas then the next sentence is not shown.

OpenGL is not switched on.

I can make a copy of the both logs. Tried also with accelerated panning to off.
verkerkbr is offline   Reply With Quote
Old 16-10-2016, 14:54   #188
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: out cruising again, currently in Fiji
Boat: Sailboat
Posts: 1,470
Re: OpenCPN on Raspberry PI2

Hurray!

I got an initial accelerated desktop going on RPI3: I had no luck with the open source driver (vc4-kms-v3d), I have to use a HDMI=>VGA converter, somewhere the EDID gets lost, and I was unable to set it manually, I only get a black screen, despite discussions with the developer Eric Anholt: https://github.com/anholt/linux/issues/56

But now Eric added a way to use the closed source driver:
https://github.com/raspberrypi/linux/pull/1637

In short: instead of using
dtoverlay=vc4-kms-v3d
use
dtoverlay=vc4-fkms-v3d
in the /boot/config.txt

This gives me ~230fps with "vblank_mode=0 glxgears". I now have OpenGL active in OpenCPN and the BR24 radar plugin started working.

OpenCPN currently freezes when activating a second radar window (B&G 4G) but this is a separate topic. Very happy with the progress!

Dirk

Edit: Raspian, fully updated, and kernel (firmware) updated to latest as of writing. uname -r: 4.4.23-v7+ (not yet ready to compile my own 4.8 kernel...)
LeaseOnLife is offline   Reply With Quote
Old 17-10-2016, 00:33   #189
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 PI2

Thanks leaseonlife, up and running on openplotter now. Opencpn was usable before but much better now.
I did a rpi-update to get the new kernel- careful, it lost my /boot/config.txt file so be sure to back this up first.
Then enable the driver in old raspi config in the menu bar and changed the /boot/config.txt file as described.
Seems to work fine with cm93 charts but crashes using raster charts created from Google earth.
But overall thanks.
conachair is offline   Reply With Quote
Old 23-10-2016, 01:52   #190
Registered User

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

Quote:
Originally Posted by conachair View Post
Thanks leaseonlife, up and running on openplotter now. Opencpn was usable before but much better now.
I did a rpi-update to get the new kernel- careful, it lost my /boot/config.txt file so be sure to back this up first.
Then enable the driver in old raspi config in the menu bar and changed the /boot/config.txt file as described.
Seems to work fine with cm93 charts but crashes using raster charts created from Google earth.
But overall thanks.
Not much difference here between these 2 drivers. Problem with zooming out is still not solved. With the latest driver version a rainbow screen starts with switching on the system.

Starting OpenCPN gives at first a black screen. Wiping of the screen solves this.

GLXgears is more or less the same.

Bram
verkerkbr is offline   Reply With Quote
Old 19-11-2016, 10:04   #191
Registered User

Join Date: Dec 2015
Location: Germany, sailing: Northsea
Boat: Friendship 28
Posts: 244
Re: OpenCPN on Raspberry PI2

Hi,

on friday I tested the latest Jessie OS (from September) with OC 4.4 and OpenGL on my pi2. The prob with the zoom out fry pi still exists.
The Desktop is now Pixel, the build in vnc-server works great without grafics probs but the prob with the zoom out Crash sucks.

Didn´t look for kernel update since yet, try to do this the next days

Regards

Andreas
Andreas29 is offline   Reply With Quote
Old 19-11-2016, 10:33   #192
Registered User

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

Hi Andreas,

I have several times tried do the upgrade as mentioned on the Eric Anholt website.

This upgrade takes the latest kernel versions. But I have no luck. I had it working some time ago. But now how I tried no latest kernel shows up.

Upgrades of the kernel appear fast. Now kernel 4.4.32 but he problem with zooming out remains the same. However If you don't zoom out too much it works very good. The grid zooms out, the Ais objects but not the charts. Wiping the screen helps to a certain degree.

The OpenPlotter version 0.9.0, not yet out, works very well here and with SignalK support you can now use the instruments.

The OpenPlotter additions, like SignalK, VNC, Wifi Access Point, Multiplexer etc etc. are great.

VNC wireless on other systems work perfect.

With kernel 4.5 the zooming-out problem should be solved (I hope so)

Regards,


Bram
Attached Thumbnails
Click image for larger version

Name:	2016-11-14-120145_1680x1050_scrot.jpg
Views:	359
Size:	438.8 KB
ID:	136491  
verkerkbr is offline   Reply With Quote
Old 19-11-2016, 12:22   #193
Registered User

Join Date: Dec 2015
Location: Germany, sailing: Northsea
Boat: Friendship 28
Posts: 244
Re: OpenCPN on Raspberry PI2

Hi,

yes, using the latest kernel via rpi-update is 4.4.32 but the zomming prob still exists.

What type of charts you´re using?

I attached a screenshot from my 10" tablet that I use via a wifi connection with the pi. OC runs on the pi and via xrdp (with the new jessie I use the VNC-Server) the tab works as a control Center.

Regards

Andreas
Attached Thumbnails
Click image for larger version

Name:	scshot.jpg
Views:	216
Size:	387.0 KB
ID:	136493  
Andreas29 is offline   Reply With Quote
Old 20-11-2016, 13:46   #194
Registered User

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

Adreas,

the Charts are of the Delta area in the SW of the Netherlands. These ENC Charts are in a high resolution and can be downloaded from Vaarweginformatie.

There is also an set available of the Scheldt. From the Sea to Antwerp (Belgium). The Charts set is available available at the VTS-Scheldt site. Also for free.

If you register to this site you get an email when upgrades are available. Almost every 2 weeks.

But still no high resolution Charts available of the Rotterdam area, Waddenzee and the Ijsselmeer.

But you can get detailed Charts from Chartworld in S63 format.

Gruss,


Bram
verkerkbr is offline   Reply With Quote
Old 10-12-2016, 06:24   #195
Registered User

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

Quote:
Originally Posted by conachair View Post
Thanks leaseonlife, up and running on openplotter now. Opencpn was usable before but much better now.
I did a rpi-update to get the new kernel- careful, it lost my /boot/config.txt file so be sure to back this up first.
Then enable the driver in old raspi config in the menu bar and changed the /boot/config.txt file as described.
Seems to work fine with cm93 charts but crashes using raster charts created from Google earth.
But overall thanks.
Just upgrade the Open Plotter Raspian version to OpenPlotter 0.9.0 and the Raspian OS. Upgraded the OS (new video driver system) and the kernel to 4.4.37

sudo apt update
sudo apt upgrade
sudo rpi-update

Glxgears (sudo apt install mesa-utils) now running at 140.000 FPS.

I can switch OpenGL to on in OpenCPN and this works.

Not yet tried the VC4.

But it is a working with fast screen movements and zooms in- and out with no problems.

Regards,

Bram
verkerkbr 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 PI Raspbian Captain_Steve OpenCPN 12 08-02-2015 10:45
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
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 08:22.


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.