Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

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 01-03-2023, 16:13   #31
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,527
Re: OpenCPN Version 5.7.1 Beta Test #4

LoL...
"I do hope KDE/Plasma will be supported"
The management of Top-Level-Windows is done automatically by wxWidgets, interacting with the system DisplayManager (in your case Plasma). There is very little that can be done at app-level (i.e. OCPN source code) to change this. So I would not expect much change in this behavior on O58 release.
Aside: I run an older version of KDE and Plasma daily, without problems. Just sayin...

Sorry
Dave
bdbcat is offline   Reply With Quote
Old 01-03-2023, 17:19   #32
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: out cruising again, currently in Fiji
Boat: Sailboat
Posts: 1,474
Re: OpenCPN Version 5.7.1 Beta Test #4

I just compiled tag 5.6.2 on the same system, and at first I thought it doesn't not show the issue with the MUI button bar, but eventually it did.

Since bookworm is soon the next Debian stable, I would like to help get that right...
LeaseOnLife is offline   Reply With Quote
Old 02-03-2023, 06:04   #33
Registered User

Join Date: Jun 2017
Posts: 472
Re: OpenCPN Version 5.7.1 Beta Test #4

OpenCPN focal arm64 beta #4 build is not available on launchpad currently
mgrouch is offline   Reply With Quote
Old 02-03-2023, 08:37   #34
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,527
Re: OpenCPN Version 5.7.1 Beta Test #4

JM...
re:
"If opencpn is running with an un-acknowledged ais sound alarm, it will become unusable after about 15 minutes."


Are you able to build from source for linux?
I would like to test a patch on your config.
Thanks
Dave
bdbcat is offline   Reply With Quote
Old 02-03-2023, 09:44   #35
Registered User

Join Date: Mar 2010
Location: QC, Canada
Boat: Kelt 8.50
Posts: 190
Re: OpenCPN Version 5.7.1 Beta Test #4

Quote:
Originally Posted by bdbcat View Post
JM...
re:
"If opencpn is running with an un-acknowledged ais sound alarm, it will become unusable after about 15 minutes."


Are you able to build from source for linux?
I would like to test a patch on your config.
Thanks
Dave
Dave


I used to. I will check my build env.

Go ahead.
JM
houlejm is offline   Reply With Quote
Old 02-03-2023, 12:34   #36
Registered User

Join Date: Mar 2010
Location: QC, Canada
Boat: Kelt 8.50
Posts: 190
Re: OpenCPN Version 5.7.1 Beta Test #4

Quote:
Originally Posted by bdbcat View Post
JM...
re:
"If opencpn is running with an un-acknowledged ais sound alarm, it will become unusable after about 15 minutes."


Are you able to build from source for linux?
I would like to test a patch on your config.
Thanks
Dave
Dave
Just built O from git master.
It seems to have no problem. At least with anchor alarm.
Not enough traffic now to test ais.

Testing continues...


JM
houlejm is offline   Reply With Quote
Old 02-03-2023, 13:35   #37
Registered User

Join Date: Mar 2020
Posts: 35
Re: OpenCPN Version 5.7.1 Beta Test #4

The persistent AIS information is fixed. Thank you.

This may be insignificant, but I noticed that when I was replaying candump log files can0 to vcan0, if I went into settings and hit Apply the data stream would stop after a few seconds. The fix would be to deselect vcan0, reselect vcan0 and then OK. I have not seen this on a regular can0 feed, only with the playback.
ZagsAtCF is offline   Reply With Quote
Old 02-03-2023, 13:36   #38
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,527
Re: OpenCPN Version 5.7.1 Beta Test #4

JM...
More to come from me. There is definitely some file leakage in the sound handlers.


Also, I found it only happens when CMake finds and uses the public library "libsndfile.so". For a local build, this will only be found if you have installed package "libsndfile1-dev". Otherwise, OCPN uses an embedded sound file loader of reduced capabilities, which does not leak file handles.



Check your CMake output on a fresh build, looking for something like:
message(STATUS "ENABLE_LIBSNDFILE is set but I cannot find libsndfile")


or, simply:
$ ldd opencpn
and see if "libsndfile.so" is loading.
If it is not, than you will probably find no leakage problem. If it is, expect leakage.



Please let me know what you find.

Dave
bdbcat is offline   Reply With Quote
Old 02-03-2023, 13:57   #39
Registered User

Join Date: Mar 2010
Location: QC, Canada
Boat: Kelt 8.50
Posts: 190
Re: OpenCPN Version 5.7.1 Beta Test #4

Dave

I do not have libsndfile1.dev
Waiting for more.


JM
houlejm is offline   Reply With Quote
Old 02-03-2023, 16:30   #40
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,527
Re: OpenCPN Version 5.7.1 Beta Test #4

JM...
Without libsndfile, then all should be fine. No file leakage.
Do you find that is the case?

You may install libsndfile by:

$sudo apt-get install libsndfile1-dev

Then rebuild OCPN, and see if file leakage returns.
Dave

bdbcat is offline   Reply With Quote
Old 02-03-2023, 18:30   #41
Registered User

Join Date: Mar 2010
Location: QC, Canada
Boat: Kelt 8.50
Posts: 190
Re: OpenCPN Version 5.7.1 Beta Test #4

Quote:
Originally Posted by bdbcat View Post
JM...
Without libsndfile, then all should be fine. No file leakage.
Do you find that is the case?

You may install libsndfile by:

$sudo apt-get install libsndfile1-dev

Then rebuild OCPN, and see if file leakage returns.
Dave

Dave
Without libsndfile it seemed ok
I recompiled using libsndfile1-dev
It also seems ok


jm
houlejm is offline   Reply With Quote
Old 02-03-2023, 19:01   #42
Registered User

Join Date: Mar 2016
Location: San Francisco
Boat: Morgan 382
Posts: 3,246
Re: OpenCPN Version 5.7.1 Beta Test #4

I don't have an extra machine to test 5.7.1 on. Can someone confirm the following bug is fixed?

https://opencpn.org/flyspray/index.p...s&task_id=2881
__________________
-Warren
wholybee is offline   Reply With Quote
Old 02-03-2023, 19:04   #43
Registered User

Join Date: Mar 2010
Location: QC, Canada
Boat: Kelt 8.50
Posts: 190
Re: OpenCPN Version 5.7.1 Beta Test #4

Quote:
Originally Posted by houlejm View Post
Dave
Without libsndfile it seemed ok
I recompiled using libsndfile1-dev
It also seems ok

jm

Now i am not so sure. I try all that again.
jm
houlejm is offline   Reply With Quote
Old 02-03-2023, 19:05   #44
Registered User
 
LeaseOnLife's Avatar

Join Date: Apr 2008
Location: out cruising again, currently in Fiji
Boat: Sailboat
Posts: 1,474
Re: OpenCPN Version 5.7.1 Beta Test #4

Quote:
Originally Posted by houlejm View Post
Dave
Without libsndfile it seemed ok
I recompiled using libsndfile1-dev
It also seems ok


jm

not here! I compile with libsndfile1-dev and after a few minutes having an anchor alarm going off I can see the amount of open files increasing, by ~ one per second. Dave, If you want to send me your patch, happy to test!


Dirk
LeaseOnLife is offline   Reply With Quote
Old 02-03-2023, 19:06   #45
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,527
Re: OpenCPN Version 5.7.1 Beta Test #4

JM/LoL...
I just pushed a significant change to sound file management.
Please pull master now, and rebuild with libsndfile-dev enabled.
Thanks
Dave
bdbcat 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 Beta Version 5.7.1 Beta Test #1 - Plugins rgleason OpenCPN 115 08-03-2023 00:01
OpenCPN Version 5.1.511 Beta Test bdbcat OpenCPN 103 23-05-2020 04:02
OpenCPN Version 5.1.428 Beta Test bdbcat OpenCPN 289 19-05-2020 04:46
OpenCPN Version 2.2 Beta Test bdbcat OpenCPN 437 15-12-2010 19:17
OpenCPN Version 2.2 Beta Test Bugs / Discussion bdbcat OpenCPN 120 26-09-2010 02:53

Advertise Here
  Vendor Spotlight
No Threads to Display.


All times are GMT -7. The time now is 15:01.


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.