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-05-2020, 16:27   #61
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,501
Re: OpenCPN Version 5.1.511 Beta Test

Rasbats....


GetPluginDataDir() does not exist in OpenCPN v5.0. Most likely, the plugin fails to load due to to a linkage error.
If you want to build "legacy" mode plugins and managed plugins with the same code base, you will need to implement some build-time switch to determine which API to use.


Dave
bdbcat is offline   Reply With Quote
Old 14-05-2020, 03:31   #62
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,290
Re: OpenCPN Version 5.1.511 Beta Test

Pls have patience with a native Win user.
How do I add the beta ppa to Synaptic on my Ubuntu 18.04? (ppa:opencpn/opencpn works fine for 5.0 but...)
Thanks
Håkan
Hakan is online now   Reply With Quote
Old 14-05-2020, 04:15   #63
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: OpenCPN Version 5.1.511 Beta Test

Quote:
Originally Posted by Hakan View Post
Pls have patience with a native Win user.
How do I add the beta ppa to Synaptic on my Ubuntu 18.04? (ppapencpn/opencpn works fine for 5.0 but...)
Thanks
Håkan
Håkan

Go to this page https://launchpad.net/~bdbcat/+archive/ubuntu/opencpn
and follow the instructions. The new repository will automatically show up in Synaptic.

Thomas
cagney is offline   Reply With Quote
Old 14-05-2020, 04:45   #64
Registered User

Join Date: May 2012
Posts: 1,228
Re: OpenCPN Version 5.1.511 Beta Test

Dave...

Thanks. Got this working.

Quote:
Originally Posted by bdbcat View Post
Rasbats....
GetPluginDataDir() does not exist in OpenCPN v5.0. Most likely, the plugin fails to load due to to a linkage error.
If you want to build "legacy" mode plugins and managed plugins with the same code base, you will need to implement some build-time switch to determine which API to use.
Dave
Mike
Rasbats is offline   Reply With Quote
Old 14-05-2020, 05:20   #65
Registered User

Join Date: Mar 2011
Boat: Outremer 4X
Posts: 31
Re: OpenCPN Version 5.1.511 Beta Test

Quote:
Originally Posted by bcn View Post
Here on macOS no clipping...
I think it's also clipped in your example, look at the soundings 1.8 or 1.3..
but probably less (around one or two pixels).

Maybe there is something wrong in the bounding box calculation, the code
is quite complex, haven't really understood the calculation done there
Patg is offline   Reply With Quote
Old 14-05-2020, 09:55   #66
Registered User

Join Date: Mar 2011
Boat: Outremer 4X
Posts: 31
Re: OpenCPN Version 5.1.511 Beta Test

Quote:
Originally Posted by Patg View Post
Maybe there is something wrong in the bounding box calculation, the code
is quite complex, haven't really understood the calculation done there
BTW: This only happens when using OpenGL. Next guess is DepthFont::Build() ?
Patg is offline   Reply With Quote
Old 14-05-2020, 12:21   #67
Registered User

Join Date: Feb 2011
Posts: 1,128
Re: OpenCPN Version 5.1.511 Beta Test

As far as the grid is concern try switching on and off the OpenGL and see what happened. Opencpn freeze then you have to close and restart. With opengl off the grid is present, when on no more grid.
Bye.
P_Dub is offline   Reply With Quote
Old 14-05-2020, 16:48   #68
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,501
Re: OpenCPN Version 5.1.511 Beta Test

patg...
re:
"It looks like the lower part of the digit is clipped by a few pixels. ... I must admit that I use a home-built version of OCPN and not the current beta distribution, but it's more or less on the same git-commit."


In computer code, "more or less the same" is exactly equivalent to "different".


Have you tried the true Beta release? Exactly what charts are you showing? What is your Chart Object Scale factor set to?


Thanks
Dave
bdbcat is offline   Reply With Quote
Old 15-05-2020, 00:05   #69
Registered User

Join Date: May 2012
Posts: 1,228
Re: OpenCPN Version 5.1.511 Beta Test

OpenCPN_5.1.511+1.34f3279.dmg

Clean install. TCData seems to be missing.


Mike
Rasbats is offline   Reply With Quote
Old 15-05-2020, 00:52   #70
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: OpenCPN Version 5.1.511 Beta Test

Small Bug found by elan 333.

This is a problem, at least for Linux using *buntu, an O version 5.0 and up.
Screenshots below from Kubuntu 20.04 using O with the latest(this morning) code patches from Git.

Click image for larger version

Name:	Screenshot_20200515_092917.png
Views:	68
Size:	47.2 KB
ID:	215097

Click image for larger version

Name:	Screenshot_20200515_092958.png
Views:	63
Size:	42.0 KB
ID:	215098

Exactly how this looks like depends on the window manager used by the distro.

Essentially, the background color is missing when the item is marked in the Options->Charts->Chart Files->Directories. Notice the missing blue highlighting.

Compare with the same directory listing in the "Chart Groups" tab, where it's shown correctly.

Thomas
cagney is offline   Reply With Quote
Old 15-05-2020, 14:54   #71
Registered User

Join Date: Mar 2011
Boat: Outremer 4X
Posts: 31
Re: OpenCPN Version 5.1.511 Beta Test

Quote:
Originally Posted by bdbcat View Post
patg...
re:
"It looks like the lower part of the digit is clipped by a few pixels. ... I must admit that I use a home-built version of OCPN and not the current beta distribution, but it's more or less on the same git-commit."


In computer code, "more or less the same" is exactly equivalent to "different".


Have you tried the true Beta release? Exactly what charts are you showing? What is your Chart Object Scale factor set to?

Thanks
Dave
Hi Dave

Installed OpenCPN_5.1.511+1.556ae2f.dmg from cloudsmith now and
I see the same effect. Charts in my screenshots are from o-charts (UK2019) using oeSENC, but I have exactly the same effect with CM93.

Chart Object Scalefactor is 0. The clipping only occurs when OpenGL is enabled. MacOS Release is 10.14.6 (Mojave)

EDIT: just noticed commit abf9fe84af2ffb586227d399803f7718a850542
It solves the problem for cm93. oeSENC seems to have it's own version of the libs, so I'll guess it'll be fixed in the next plugin update.


Thanks

Patrick
Patg is offline   Reply With Quote
Old 16-05-2020, 02:56   #72
Registered User

Join Date: Dec 2009
Location: Norway
Boat: Saxe Ocean
Posts: 60
Re: OpenCPN Version 5.1.511 Beta Test

Missing lib, oesenc fails

OPN 5.1.511 from ppa on clean/new Ubuntu 20.04
opencpn/focal,now 5.1.511.1-0~focal1 amd64 [installed]

Oesenc 4.2.7 via Plugin Manager

The library is not present anywhere else on the computer.

11:40:55.514 MESSAGE oesenc_pi.cpp:4093 oesenc_pi: oeserverd results:
11:40:55.514 MESSAGE oesenc_pi.cpp:4096 /home/sam/.local/bin/oeserverd: error while loading shared libraries:
libsgllnx64-2.29.02.so: cannot open shared object file: No such file or directory
SamH is offline   Reply With Quote
Old 16-05-2020, 06:00   #73
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,290
Re: OpenCPN Version 5.1.511 Beta Test

Heading prediction line is interrupted at great zoom level when own ship is outside the screen edge..

On Win10. OpenGL=On. (Not reproducible when OpenGL=Off)
The heading prediction line is interrupted at great zoom levels. The end circle is still left on correct position but the dotted line is interrupted. See shots at three zoom levels.
- The Heading Prediction line is here set to 5 Nm.
- Not reproducible on a Ubuntu 18.04.
- Reproducible on a RPI3 Stretch but there is the corresponding interruption exchanged by a full line instead. Instead of a space between the dotted line and the end circle it's a homogeneous line.
- No difference if oeSENC or Raster charts are used.
- One or two canvas mode is the same.
- COG prediction line is not affected.
- Reported on V 5.1.428 as well. (Not tested on O 5.0)

Håkan
Attached Thumbnails
Click image for larger version

Name:	HDG_pred_26200.jpg
Views:	60
Size:	59.1 KB
ID:	215174   Click image for larger version

Name:	HDG_pred_17400.jpg
Views:	56
Size:	56.3 KB
ID:	215175  

Click image for larger version

Name:	HDG_pred_4800.jpg
Views:	57
Size:	43.8 KB
ID:	215176  
Hakan is online now   Reply With Quote
Old 16-05-2020, 07:42   #74
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,501
Re: OpenCPN Version 5.1.511 Beta Test

SamH...
re:
"Missing lib, oesenc fails"


Acknowledged.
As workaround for now, please do:


$sudo apt-get install opencpn-sglock-amd64


Thanks for the report
Dave
bdbcat is offline   Reply With Quote
Old 16-05-2020, 08:02   #75
Registered User

Join Date: Dec 2009
Location: Norway
Boat: Saxe Ocean
Posts: 60
Re: OpenCPN Version 5.1.511 Beta Test

Quote:
Originally Posted by bdbcat View Post
SamH...
re:
"Missing lib, oesenc fails"

Acknowledged.
As workaround for now, please do:

Dave



After workaround+reboot, when "Create USB key dongle System ID file"

ERROR creating Fingerprint file
USB Key dongle not detected

dmesg:
[ 49.174396] usb 2-3: New USB device found, idVendor=1547, idProduct=1000, bcdDevice= 0.01
[ 49.174402] usb 2-3: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[ 49.174406] usb 2-3: Product: SG-Lock USB Key
[ 49.174408] usb 2-3: Manufacturer: SG-Lock
[ 49.178840] hid-generic 0003:1547:1000.0002: hiddev0,hidraw0: USB HID v1.00 Device [SG-Lock SG-Lock USB Key] on usb-0000:00:14.0-3/input0


*edit*
Fingerprint created when opencpn sudo'ed.
SamH 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 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
Autopilot Furuno 511 - Experiences anyone? JesperWe Marine Electronics 1 14-12-2008 12:29
My Furuno Nav-pilot 511 died Help in Vero Beach? JohnnyB Marine Electronics 4 07-07-2008 19:19

Advertise Here


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


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.