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 08-01-2024, 06:40   #1966
Registered User

Join Date: Sep 2023
Posts: 5
Re: Help / FAQ

Thanks, that was good advice. It wasn't a memory issue (4GB RPI with 1GB used and no swapping going on).
But switching to the non-flatpak version (installed with apt-get) definitely improved performance a lot. However, the new version has crashed twice in 5 minutes and doesn't render charts properly.
Oddly, flatpak is how the OpenCPN docs say to install on RPI4: https://opencpn.org/wiki/dokuwiki/do...tallation:rpi4
I'm getting the feeling that it's not practical to retrofit OpenCPN to my existing RPI installation. I'm suspicious that it might be because I installed headless and added what I needed for VNC, because I'm seeing things like this:
Code:
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

 SENC: nCPU: 4    m_max_jobs :3

(opencpn:10784): Gtk-CRITICAL **: 06:31:37.345: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

I'll start with a fresh RPI image with OpenPlotter and just copy my SignalK settings over.
barnaclebill22 is offline   Reply With Quote
Old 08-01-2024, 10:49   #1967
Registered User

Join Date: Mar 2012
Location: Solomons, MD
Boat: Cal 27
Posts: 165
Images: 4
Re: Help / FAQ

Quote:
Originally Posted by barnaclebill22 View Post
Thanks, that was good advice. It wasn't a memory issue (4GB RPI with 1GB used and no swapping going on).
But switching to the non-flatpak version (installed with apt-get) definitely improved performance a lot. However, the new version has crashed twice in 5 minutes and doesn't render charts properly.
Oddly, flatpak is how the OpenCPN docs say to install on RPI4: https://opencpn.org/wiki/dokuwiki/do...tallation:rpi4
I'm getting the feeling that it's not practical to retrofit OpenCPN to my existing RPI installation. I'm suspicious that it might be because I installed headless and added what I needed for VNC, because I'm seeing things like this:
Code:
*** BUG ***
In pixman_region32_init_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

 SENC: nCPU: 4    m_max_jobs :3

(opencpn:10784): Gtk-CRITICAL **: 06:31:37.345: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar
I'll start with a fresh RPI image with OpenPlotter and just copy my SignalK settings over.

Do you know what windowing system was being used? I get the impression that OpenCPN is having growing pains with Wayland (along with a bunch of other linux software). I couldn't get any of the Ubuntu installed VNC clients to connect to the RPI except for RealVNC. I am "assuming" that the other VNC clients were having trouble due to Wayland. It's still on my todo list to check the various RPI distribution documentation to see what each are using.
cas206 is offline   Reply With Quote
Old 08-01-2024, 18:54   #1968
Registered User

Join Date: Sep 2023
Posts: 5
Re: Help / FAQ

It's x11, not Wayland.
Still can't get SignalK to work...apparently it's listening on ipv6 but not ipv4. So I'm just going to go back to my old headless SK install and wait a bit before trying OpenCPN again.
barnaclebill22 is offline   Reply With Quote
Old 09-01-2024, 07:51   #1969
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Help / FAQ

Quote:
Originally Posted by barnaclebill22 View Post
Still can't get SignalK to work...apparently it's listening on ipv6 but not ipv4.
Unless you explicitly configured it to do something else or have IPV4 support completely disabled on your system, SignalK server listens on all interfaces, both IPv4 and IPv6. Do not get fooled by seeing :::3000 in eg. netstat -l output, it still means the service is reachable on IPv4 as well.

For acceptable OpenCPN performance on a RPi, you really must have OpenGL working, then it is OK even on my headless RPi 3B over VNC. All this comes out of the box on OpenPlotter.
nohal is offline   Reply With Quote
Old 10-01-2024, 10:13   #1970
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,637
Images: 2
Re: Help / FAQ

Quote:
Originally Posted by Jon Hacking View Post
Does anyone know if there's something inherent in OpenCPN that prevents it from displaying an mbTile that crosses the 180?

I'm making mbTiles of Fiji, & the 180 cuts through the right end of Fiji (the dateline makes a jog there). I can create an mbTile that goes up to the 180 on each side, but when I load it into OpenCPN, I get very strange behavior:

If the 180 is on the left side of my screen, then ONLY the mbTile on the right is displayed, & if the 180 is on the right side, then only the mbTile on the left is displayed.

If I grab the chart & start panning OpenCPN, when the 180 crosses the center of my screen, the mbTile that has been visible disappears & the mbTile that's been invisible suddenly appears!

If I try to construct an mbTile that crosses the 180, OpenCPN doesn't display it at all (although I don't know the quality of the tool I use to build that mbTile - it's the Merge_MbTiles function of Paul Higgins' Sat2Chart program).

Is this expected behavior?

Or have I found an OpenCPN bug?

Dear Jon, we have made a new issue here Dave has looked at this and needs


Quote:
"test MBtiles file that exhibits the problem. I expect the georef data in the tiles may differ according to the tile source."

If you have a free opensource account you can upload these to this Issue with drag and drop, provided the file type is accepted. You can change the extension too. Otherwise upload to here please, or whatever.



Thanks
rgleason is offline   Reply With Quote
Old 11-01-2024, 18:39   #1971
Registered User
 
Jon Hacking's Avatar

Join Date: Sep 2010
Location: Currently cruising the Philippines, just got back from PNG & Solomons
Boat: Wauquiez 45' (now 48') catamaran
Posts: 1,093
Images: 1
Send a message via Skype™ to Jon Hacking
Re: Help / FAQ

Rick (& Dave), I feel really embarrassed. And the professional tester in me is even more embarrassed. I did see this, I really did.

But I can no longer reproduce the problem, & I've worked pretty hard at trying to do just that. OpenCPN is (now) displaying my Fiji mbTiles that are on each side of the 180 just fine, at the same time, regardless of my zoom-level or screen position.

AFAICT, the only change to my Dev-computer is that my Win11 was recently updated, but I have a hard time believing that this fixed what I was seeing.

I can't reliably make an mbTile that actually crosses the 180, & when I try (by using the Merge_MbTiles function of Sat2Chart) it won't display in OpenCPN, but I think this is more of a problem with either the mbTiles internal format not allowing mbTiles that cross the 180, or an issue with the Merge function, as it probably wasn't designed with this special case in mind.

Whatever. Please accept my apologies & close this bug. If I can find a reliable repro scenario, I'll let you know.
__________________
-- Jon Hacking s/v Ocelot
Jon Hacking is offline   Reply With Quote
Old 21-01-2024, 06:22   #1972
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,637
Images: 2
Re: Help / FAQ

Jon, it is closed now. https://github.com/OpenCPN/OpenCPN/issues/3581


Next time, if you find something definitive, you can register for a free opensource github account and make an issue. Thanks.
rgleason is offline   Reply With Quote
Old 23-01-2024, 18:42   #1973
Registered User

Join Date: Nov 2023
Posts: 7
Re: Help / FAQ

Hi,
I have old 32 bit laptop on which I installed latest Linux Debian 12 with LXDE desktop - it works well. Windows 10 is not supported on this machine - tried already to install it but installation doesn't even start.


I would like to install OpenCPN on this laptop but I am not sure OpenCPN still supports Linux 32 bit. I know it supports 32 bit Windows but haven't found anything about Linux. Can you advise if it is possible to install latest OpenCPN on 32 bit Linux Debian 12?


Thank you,
Chris
jdeveloper is offline   Reply With Quote
Old 23-01-2024, 18:52   #1974
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Help / FAQ

Sure, opencpn is in the bookworm-backports repository for all the architectures Debian still supports as you can see at https://packages.debian.org/bookworm-backports/opencpn

What you won't get are the 3rd party plugins - not being built for 32bit x86 Linux and other exotic architectures as pretty much nobody is using them anymore.
nohal is offline   Reply With Quote
Old 24-01-2024, 19:32   #1975
Registered User

Join Date: Nov 2023
Posts: 7
Re: Help / FAQ

Quote:
Originally Posted by nohal View Post
Sure, opencpn is in the bookworm-backports repository for all the architectures Debian still supports as you can see at https://packages.debian.org/bookworm-backports/opencpn

What you won't get are the 3rd party plugins - not being built for 32bit x86 Linux and other exotic architectures as pretty much nobody is using them anymore.

Thanks. I actually was able to run 32 bit Windows version of OpenCPN on this Linux with Wine emulator. It launches without OpenGL, I can see the UI and load some maps but I haven't tested if other features and plugins work. Has anyone tried it? Will it work fine?
jdeveloper is offline   Reply With Quote
Old 24-01-2024, 19:39   #1976
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Help / FAQ

It will, without the features that do require OpenGL and with degraded performance. It is you who must assess if it is fine for you.
nohal is offline   Reply With Quote
Old 24-01-2024, 21:19   #1977
Registered User

Join Date: Mar 2012
Location: Solomons, MD
Boat: Cal 27
Posts: 165
Images: 4
Re: Help / FAQ

Also, if you connect USB devices for use in OpenCPN, you may have an issue getting that to work with WINE. VirtualBox is usually included in most debian derived distributions. It will allow you to install Windows, with USB support, and is capable of doing accelerated graphics, if you have supported video hardware.
cas206 is offline   Reply With Quote
Old 26-01-2024, 04:12   #1978
Registered User

Join Date: Feb 2011
Posts: 1,108
Re: Help / FAQ

The last Opencpn 5.9.0-0-1054.... request a parallel installation, Any idea why?
It was previously always an updating process.
P_Dub is offline   Reply With Quote
Old 26-01-2024, 04:35   #1979
Registered User

Join Date: Feb 2010
Location: Tierra del Fuego
Boat: Phantom 19
Posts: 6,212
Re: Help / FAQ

Same reason as always, the automatically generated version number of the CI builds, as usually ignore.
nohal is offline   Reply With Quote
Old 27-01-2024, 15:32   #1980
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,637
Images: 2
Re: Help / FAQ

Is there some nmea0183 tool that would process VDR nmea file, adding and correcting the checksums? This would be very useful and save time creating test files for instruments and watchdog.
rgleason is offline   Reply With Quote
Reply


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


Advertise Here


All times are GMT -7. The time now is 23:05.


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.