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 05-01-2024, 00:36   #31
Registered User
 
hans-martijn's Avatar

Join Date: Jul 2020
Location: Netherlands
Boat: Ferretti Altura 42
Posts: 49
Re: New Raspberry Pi 5 and OpenCPN

Did you guys try the PCIe nvme adapter yet? I bought the pineberry one with PCIe 3 support. USB 3 was fast, but now my pi boots faster than my windows laptop :-)
hans-martijn is offline   Reply With Quote
Old 13-01-2024, 04:02   #32
Registered User

Join Date: Oct 2014
Location: Netherlands
Boat: Halmatic 30
Posts: 1,106
Re: New Raspberry Pi 5 and OpenCPN

Now after some use of the RPI5. Now running cool in an Argon Neo 5 case.

Fedora 39 does not run.

Ubuntu Mantic works without any problems.

RaspiOS64 (based on Bookworm) runs well. With two remarks:
Right piano bar appears correct on the first screen of OpenCPN. But after touching the screen with mouse. The piano bar flips off the screen to another location but still works.

To open the serial port for user bram: sudo usermod -a -G dialout bram. The GPS serial mouse works.

But after restarting the system this setting is gone and must be repeated.

Using the OpenCPN in flatpak version. O-charts plugin works. SignalK server is running.
Software running from USB3 SSD or USB3,1 fast USB stick. No longer us of an SD card.

The RPI5 is running fast with very quick screen movement. Almost to fast !

All with the Wayland graphical server.

Bram
verkerkbr is offline   Reply With Quote
Old 13-01-2024, 04:33   #33
Registered User

Join Date: Dec 2023
Posts: 9
Re: New Raspberry Pi 5 and OpenCPN

Hi MrGod2U,
I have replaced the usb cable, and now it works well.
Thanks MrGod2U !
cliaco is offline   Reply With Quote
Old 13-01-2024, 07:46   #34
Registered User

Join Date: Mar 2016
Location: Bremen
Boat: Dehler Optima 106
Posts: 151
Re: New Raspberry Pi 5 and OpenCPN

Hi,

a little report of my install and two issues.

I started from a clean install of Bookworm and installed flatpak OpenCPN first. Works fine, but ultraslow when fed with (virtual) data. Data are replayed using canplayer playing an old candump-file I generated myself while on board.

After a while I figured how to install the newest Open-CPN-Installer, which I used to install SignalK and a "normal" OpenCPN.

So, I have a Pi5, where I can ran both, even in parallel. Both are version 5.8.4.

Issue1: FlatPak OpenCPN is ultraslow compared to normal OpenCPN, when kept busy with data. It could take 2-3 seconds until the toolbar shows (it is set to auto-hide), for instance.

Issue2: Normal OpenCPN does not install o-charts plugin. (Flatpak does).

In the log-file I find the following lines:

Code:
14:37:59.074 MESSAGE OCPNPlatform.cpp:1084 Loading catalog for opencpn core.
14:37:59.074 MESSAGE OCPNPlatform.cpp:925 Getting DefaultSystemLocale...
14:38:17.746 MESSAGE update_mgr.cpp:222 Selected update: o-charts
14:38:17.750 MESSAGE pluginmanager.cpp:572 Installing o-charts
14:38:17.752 MESSAGE plugin_handler.cpp:1248 Installing o-charts-2.0.1.9_debian-wx32-arm64-11-arm64.tar.gz from local cache
14:38:17.782 MESSAGE plugin_loader.cpp:1143 Plugin is compatible by elf library scan: true
14:38:17.785 MESSAGE plugin_loader.cpp:246 PluginLoader: loading plugins from /home/pi/.local/lib/opencpn;/usr/lib/opencpn
14:38:17.786 MESSAGE plugin_loader.cpp:162 Using LD_LIBRARY_PATH: /home/pi/.local/lib/opencpn:/usr/lib/opencpn:/home/pi/.local/lib/opencpn:/usr/lib/opencpn:/home/pi/.local/lib/opencpn:/usr/lib/opencpn
14:38:17.786 MESSAGE plugin_loader.cpp:194 Using PATH: /home/pi/.local/bin:/usr/bin:/home/pi/.local/bin:/usr/bin:/home/pi/.local/bin:/usr/bin:/home/pi/.local/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games
14:38:17.786 MESSAGE plugin_loader.cpp:251 Loading plugins from dir: /home/pi/.local/lib/opencpn
14:38:17.786 MESSAGE plugin_loader.cpp:444 PluginLoader searching for PlugIns in location /home/pi/.local/lib/opencpn
14:38:17.786 MESSAGE plugin_loader.cpp:482 Found 1 candidates
14:38:17.787 MESSAGE plugin_loader.cpp:271 Checking plugin candidate: /home/pi/.local/lib/opencpn/libo-charts_pi.so
14:38:17.787 MESSAGE plugin_loader.cpp:336 Checking plugin compatibility: /home/pi/.local/lib/opencpn/libo-charts_pi.so
14:38:17.787 MESSAGE plugin_loader.cpp:1143 Plugin is compatible by elf library scan: true
14:38:17.787 MESSAGE plugin_loader.cpp:1206 PluginLoader: Loading PlugIn: /home/pi/.local/lib/opencpn/libo-charts_pi.so
14:38:17.788   ERROR dlunix.cpp:120 Failed to load shared library '/home/pi/.local/lib/opencpn/libo-charts_pi.so': libGLEW.so.2.1: cannot open shared object file: No such file or directory
14:38:17.788 MESSAGE plugin_loader.cpp:1251 Ignoring blacklisted plugin libo-charts_pi
14:38:17.788 MESSAGE plugin_loader.cpp:1261    PluginLoader: Cannot load library: /home/pi/.local/lib/opencpn/libo-charts_pi.so
14:38:17.788 MESSAGE plugin_loader.cpp:251 Loading plugins from dir: /usr/lib/opencpn
14:38:17.788 MESSAGE plugin_loader.cpp:444 PluginLoader searching for PlugIns in location /usr/lib/opencpn
14:38:17.788 MESSAGE plugin_loader.cpp:482 Found 4 candidates
14:38:17.788 MESSAGE plugin_loader.cpp:271 Checking plugin candidate: /usr/lib/opencpn/libdashboard_pi.so
14:38:17.788 MESSAGE plugin_loader.cpp:271 Checking plugin candidate: /usr/lib/opencpn/libwmm_pi.so
14:38:17.788 MESSAGE plugin_loader.cpp:271 Checking plugin candidate: /usr/lib/opencpn/libchartdldr_pi.so
14:38:17.788 MESSAGE plugin_loader.cpp:271 Checking plugin candidate: /usr/lib/opencpn/libgrib_pi.so
It does not find a shared library called libGLEW.so.2.1, which seems to belong to OpenGL. The current (and I believe the only) version of LibGLEW for bookworm is libGLEW.so.2.2. Maybe, the o-charts plugin has to load the newest
version of libGLEW?

Best,

Manfred
Aldebaran17 is offline   Reply With Quote
Old 13-01-2024, 08:48   #35
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: New Raspberry Pi 5 and OpenCPN

You are loading a Bullseye (Debian 11) plugin package which is obviously built against different versions of libraries and can't ever work on Bookworm.
nohal is offline   Reply With Quote
Old 13-01-2024, 08:51   #36
Registered User

Join Date: Mar 2016
Location: Bremen
Boat: Dehler Optima 106
Posts: 151
Re: New Raspberry Pi 5 and OpenCPN

So, let's rephrase my question: is there a o-charts plugin version (possibly in beta), which is compatible with bookworm?

And just out of curiosity: how could I install this plugin not compatible with bookworm in flatpak, running on the same OS?
Aldebaran17 is offline   Reply With Quote
Old 13-01-2024, 08:58   #37
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: New Raspberry Pi 5 and OpenCPN

Quote:
Originally Posted by Aldebaran17 View Post
So, let's rephrase my question: is there a o-charts plugin version (possibly in beta), which is compatible with bookworm?
As far as I can tell the o-chart plugin is normally available for Bookworm using the plugin manager.
Quote:
And just out of curiosity: how could I install this plugin not compatible with bookworm in flatpak, running on the same OS?
Normally using the plugin manager, that is what flatpak is all about, it removes the endless number of combinations of everything in "normal" linux environments because the dependencies are part of the package itself.
nohal is offline   Reply With Quote
Old 13-01-2024, 10:21   #38
Registered User

Join Date: Mar 2016
Location: Bremen
Boat: Dehler Optima 106
Posts: 151
Re: New Raspberry Pi 5 and OpenCPN

I used the PlugIn Manager to install the o-Charts Plugin. In both cases version 2.0.1.9 has been installed, obviously two different flavours. Which is not the recent, since cloudsmith shows version 2.0.1.10.

I did update the Master catalog, still the newest version is not visible. Why?

In Flatpak 2.0.1.9 it is working, within a normal app it is not.
Aldebaran17 is offline   Reply With Quote
Old 13-01-2024, 10:41   #39
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: New Raspberry Pi 5 and OpenCPN

2.0.1.9 is the latest released version and works just fine on aarch64 Bookworm running on a Raspberry Pi with opencpn 5.8.4 package installed from the normal Debian repositories. As you can see on the attached screenshot.

If you want to find out what is wrong with your system, please provide at least the same log as you initially did, but using the correct version of the plugin.
Attached Thumbnails
Click image for larger version

Name:	bookworm.png
Views:	32
Size:	359.6 KB
ID:	285256  
nohal is offline   Reply With Quote
Old 13-01-2024, 13:26   #40
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,402
Re: New Raspberry Pi 5 and OpenCPN

Also, please show the version of O/S running. Sure this is bookworm?

OCPN should not offer to install a plugin built for Debian/11 on a Debian/12(bookworm) system. If it does, then this is indeed a bug in O584.


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 13-01-2024, 13:39   #41
Registered User

Join Date: Mar 2016
Location: Bremen
Boat: Dehler Optima 106
Posts: 151
Re: New Raspberry Pi 5 and OpenCPN

Dave,

it is Bookworm on a Pi5:

Click image for larger version

Name:	Bildschirmfoto 2024-01-13 um 20.08.25.jpg
Views:	36
Size:	394.5 KB
ID:	285260

@Nohal:

the above part of the logfile is the most recent try to install the o-charts plugin.

Could it be an issue of the PI-Manager?

the flavour is set to ubuntu-wx32-arm64.22.04

Manfred
Aldebaran17 is offline   Reply With Quote
Old 13-01-2024, 13:44   #42
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: New Raspberry Pi 5 and OpenCPN

Quote:
Originally Posted by Aldebaran17 View Post
Dave,

it is Bookworm on a Pi5:

Attachment 285260

@Nohal:

the above part of the logfile is the most recent try to install the o-charts plugin.

Could it be an issue of the PI-Manager?

the flavour is set to ubuntu-wx32-arm64.22.04

Manfred
ubuntu-wx32-arm64.22.04 is of course wrong for Debian Bookworm, the correct (and automatically selected by OpenCPN for me) value is debian-arm64:12
nohal is offline   Reply With Quote
Old 13-01-2024, 13:55   #43
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: New Raspberry Pi 5 and OpenCPN

Also looking at the version of OpenCPN, where did you install it from? It also seems to be something targeting Bullseye/Ubuntu 22.04 and I'm pretty surprised that it even runs on Bookworm at all.
nohal is offline   Reply With Quote
Old 13-01-2024, 16:44   #44
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,402
Re: New Raspberry Pi 5 and OpenCPN

Hmmm...
Could be using the default OCPN install .deb (or repo) baked into OpenPlotter.
I guess the OpenPlotter image for Bookworm needs a tweak to use debian/12 backport or so.


Dave
bdbcat is offline   Reply With Quote
Old 13-01-2024, 17:23   #45
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: New Raspberry Pi 5 and OpenCPN

Yes, it seems that somehow OpenPlotter allows the user to end up having https://launchpad.net/~opencpn/+arch...-archive-extra installed on Bookworm.

I can probably imagine that reason to use this package (if it actually is the package) was the lack of plugins available for the actual Bookworm at the moment, but the only solution to that is to get rid of it and use the actual https://packages.debian.org/bookworm-backports/opencpn
nohal 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
General Question to Raspberry OpenCPN and OpenGL kutt OpenCPN 27 02-03-2018 09:38
OpenCPN on Raspberry Pi 2 and plugins Andreas29 OpenCPN 5 31-12-2015 04:25
OpenCPN plugin and raspberry Neitsabes OpenCPN 15 31-05-2015 14:39
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

Advertise Here


All times are GMT -7. The time now is 02: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.