Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 20-11-2017, 08:07   #2056
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,809
Re: Beta Test / Technical

Thanks for posting this.

I just want to make it clear here, that both my integrated Intek HD Graphics 3000 board and Nvidia Geforce 540m board run hardware opengl when using OpenCPN. What I cannot seem to do with this rig is disable all hardware opengl and enable did-g's suggested software opengl, so that I can run some tests on speed and fps, etc.
__________________

__________________
rgleason is offline   Reply With Quote
Old 20-11-2017, 08:16   #2057
Registered User
 
travellerw's Avatar

Join Date: Jan 2014
Location: Martinique
Boat: Fortuna Island Spirit 40
Posts: 1,743
Re: Beta Test / Technical

Quote:
Originally Posted by travellerw View Post
I will source that exact driver and try it out. At this point I have tried about 4 versions of the driver and they all have the same result. My frame rate is about 1 frame every 5 seconds (no not kidding). The only way I have been able to get OpenGL to work is with the dll I listed above..

However.. I will source this driver version and test it out. I will report back..
Alright back already...

Unfortunately that driver had the exact same result for me. Scrolling and zooming is so slow that OpenCPN is unusable. In fact even loading OpenCPN is very slow. Once OpenCPN loads, it takes 15 seconds before the toolbar shows up.

I'm only using OpenCPN with CM93 charts and just the Dashboard plugin. I run 1600 X 900 resolution.

At this point, back to using the dll I posted..
__________________

__________________
travellerw is offline   Reply With Quote
Old 22-11-2017, 14:10   #2058
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,809
Re: Beta Test / Technical

When are we changing to wxWidgets 3.0.3?

Jon reports that wxWidgets has that as the stable version. I understand from the previous wxWidgets change that all plugins will need an update and will not be backward compatible with previous versions of opencpn, but will be going forward.

Is there a plan for these upcoming changes?

Thanks.
__________________
rgleason is offline   Reply With Quote
Old 22-11-2017, 14:11   #2059
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,809
Re: Beta Test / Technical

Forgot the post
http://www.cruisersforum.com/forums/....php?p=2523265
__________________
rgleason is offline   Reply With Quote
Old 22-11-2017, 16:57   #2060
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,959
Re: Beta Test / Technical

Rick...

Any good reason to change to wxWidgets 3.0.3?
Do any of the fixes there relate to us?

Thanks
Dave
__________________
bdbcat is online now   Reply With Quote
Old 22-11-2017, 17:09   #2061
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,809
Re: Beta Test / Technical

Sorry Dave, Tdan and Jon will have to advise, I know they've been using it.
__________________
rgleason is offline   Reply With Quote
Old 22-11-2017, 18:16   #2062
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 4,144
Re: Beta Test / Technical

Quote:
Originally Posted by bdbcat View Post
Rick...

Any good reason to change to wxWidgets 3.0.3?
Do any of the fixes there relate to us?

Thanks
Dave


I don't think there is anything in 3.0.3 that affects O.

Eventually we will want to move to 3.1. I have been testing with Win10 against latest git of wx and no issues so far. Next I will try on Rpi. But there is no rush I think.
__________________
transmitterdan is online now   Reply With Quote
Old 23-11-2017, 01:30   #2063
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,809
Re: Beta Test / Technical

Thanks Dan,
So I guess we can wait until 3.1 anyway, but

"I don't think there is anything in 3.0.3 that affects O."

Makes me think using wxWidgets 3.0.3 would not affect other PI anyway. So I'm going to find out with Jon's O4.8.0 w/wxW 3.0.3 version.
__________________
rgleason is offline   Reply With Quote
Old 23-11-2017, 08:28   #2064
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,959
Re: Beta Test / Technical

Rick...

I doubt there is any change in the wxWIdgets API for 3.0.3, so I suspect the Plugins, etc. will all work fine without modification.

Dave
__________________
bdbcat is online now   Reply With Quote
Old 02-12-2017, 03:42   #2065
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,809
Re: Beta Test / Technical

Dirk's new plugin deviation_pi has about nine errors when I compile as standalone, related to tinyxml.h which is missing from the src folder.

I know that opencpn now includes those tinxml files somehow, but would we need to include a tinyxml.lib file somewhere to eliminate the errors I am getting when compiling as standalone?

A brief explanation would be helpful.

Thankyou.
__________________
rgleason is offline   Reply With Quote
Old 02-12-2017, 10:59   #2066
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,959
Re: Beta Test / Technical

Rick....

First thing to do is copy tinyxml.h from the OCPN source tree into the plugin source tree. Then try the build again, to correct compile errors.

Then try to load the plugin, and check the log for errors....

Good luck
Dave
__________________
bdbcat is online now   Reply With Quote
Old 02-12-2017, 11:41   #2067
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,809
Re: Beta Test / Technical

Thanks Dave, That has helped. Also Dirk now has a tinyxml directory under src, which I copied tinystr.h into. Just one more error like that to fix now.
__________________
rgleason is offline   Reply With Quote
Old 02-12-2017, 15:06   #2068
Registered User

Join Date: May 2013
Location: NSW, Australia
Boat: Richter 42
Posts: 905
Re: Beta Test / Technical

Hi Dave,
If I try and run my plugin which has been compiled with wxWidget 3.0.3 against the standard released version of OCPN I the following error. There appears to have been a change in one of the colour routines. I get around this for my testing purposes by using the current widget DLL's in my build of OCPN exe's as I don't have wxWidgets 3.0.2 as 3.0.3 is the only downloadable version.

It should not be a problem when a new release version of OD is made as the build system should have the compatible version of widgets.

Regards
Jon

Quote:
Originally Posted by bdbcat View Post
Rick...

I doubt there is any change in the wxWIdgets API for 3.0.3, so I suspect the Plugins, etc. will all work fine without modification.

Dave
Attached Thumbnails
Click image for larger version

Name:	wxWidgets error with 3.0.3.png
Views:	27
Size:	10.5 KB
ID:	160057  
__________________
jongough is offline   Reply With Quote
Old 12-12-2017, 16:23   #2069
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,809
GPS JUMPING

Dave, this might be an OpenCPN bug.

OpenCPN jumping map

The symptom is GPS JUMPING.
It appears to be a malformed AIS sentence that is not rejected, so that it apparently is interpreted as a new position for own ship, which should not happen!

I'd be interested in what you think.
__________________
rgleason is offline   Reply With Quote
Old 12-12-2017, 17:29   #2070
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,809
Re: Beta Test / Technical

Bad AIVDO checksum, causes OpenCPN OWN SHIP GPS JUMPING!

http://www.cruisersforum.com/forums/f134/opencpn-jumping-map-194531.html#post2535407

This is a little bizzare.

Shouldn't Opencpn have a checksum calculator built in and reject bad sentences that cause this kind of problem?

Or at the very least, a bad checksum on an AIVDO should not cause a GPS Location JUMP for Own Ship!!!
__________________

__________________
rgleason is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

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
Beta Marine Diesel michaelmrc Engines and Propulsion Systems 48 23-03-2016 14:44
Need some technical advice....antennas. Just a Tinch Marine Electronics 15 01-12-2007 16:57
Blue Sea Systems Technical Brief GordMay Electrical: Batteries, Generators & Solar 0 16-03-2007 05:16
technical difficulties witchcraft The Sailor's Confessional 1 30-05-2005 15:09
Dow Corning Technical Manual GordMay The Library 0 12-04-2005 17:25



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2018, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2018, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.