Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 10-05-2012, 16:44   #61
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: OpenCPN Version 2.6 Beta Build 1705

Sandeman....

The NMEA source GPSD probably does not work with most recent gpsd revisions. It is scheduled to be dropped soon.

Try Network LIBGPS instead....

Thanks
Dave
__________________

__________________
bdbcat is offline   Reply With Quote
Old 11-05-2012, 03:35   #62
Registered User

Join Date: May 2012
Posts: 3
Re: OpenCPN Version 2.6 Beta Build 1705

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

The NMEA source GPSD probably does not work with most recent gpsd revisions. It is scheduled to be dropped soon.

Try Network LIBGPS instead....

Thanks
Dave
Thank you again Dave.

I re-installed GPSD and switched to libgps in the opencpn configuration. The position is now displayed properly.

The "Show GPS/NMEA data stream window" displays no output? Although the Dashboard and XGPS do display the position correctly.

Sandeman
__________________

__________________
sandeman is offline   Reply With Quote
Old 11-05-2012, 04:32   #63
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: OpenCPN Version 2.6 Beta Build 1705

Sandeman...
gpsd does not output NMEA sentences, but it's own data structures - That's why there's nothing to be displayed in the NMEA stream window.

Pavel
__________________
nohal is offline   Reply With Quote
Old 11-05-2012, 05:13   #64
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,248
Re: OpenCPN Version 2.6 Beta Build 1705

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

Crash on 64bits:

As I understand it, you can reliably crash on 64 bits with one specific config file, which you have previously attached.

I tried that config file locally on 32 bits, no problems.

If you can reliably crash, then the thing to do is systematically remove questionable items from the config file, one, by one, until you find the one item that causes the crash.

You ddd dump is not conclusive, I'm afraid.

Thanks
Dave
Dave

It's a gpsd problem. Whenever the NMEA data source is set to "Network LIBGPS" when closing down, opencpn crashes on the next start. Deleting (or changing) the line "Source=LIBGPS:localhost" in the conf file, is all that is needed to start the application again.

Thomas
__________________
cagney is offline   Reply With Quote
Old 11-05-2012, 19:33   #65
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: OpenCPN Version 2.6 Beta Build 1705

Hello all...

Anyone else having trouble with F5 colorscheme change on cm93? See post #50, this thread.....

Works fine for me.

Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 11-05-2012, 19:36   #66
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: OpenCPN Version 2.6 Beta Build 1705

Thomas....

64bit libgps problem:

Does xgps work on this system with gpsd started?

Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 11-05-2012, 23:35   #67
Senior Cruiser
 
sailorF54's Avatar

Cruisers Forum Supporter

Join Date: Dec 2009
Location: Perros-Guirec, France
Boat: Jeanneau Sunshine 36
Posts: 829
Re: OpenCPN Version 2.6 Beta Build 1705

Quote:
Originally Posted by bdbcat View Post
Hello all...

Anyone else having trouble with F5 colorscheme change on cm93? See post #50, this thread.....

Works fine for me.

Thanks
Dave
Vista
First issue: duplicated, but only in non GL model:
You can't get out of the dusk or night mode with F5 (it only affects routes, ownship etc... see pic with route and ownship highlighted in night mode) until you change scale or pan but then F5 only affects toolbar, status bar...
You then end up with weird things onscreen after panning (see pic, note quilting is on)
Attached Thumbnails
Click image for larger version

Name:	Image001.jpg
Views:	57
Size:	118.7 KB
ID:	40946   Click image for larger version

Name:	Image002.jpg
Views:	54
Size:	164.4 KB
ID:	40947  

__________________
sailorF54 is offline   Reply With Quote
Old 11-05-2012, 23:51   #68
Senior Cruiser
 
sailorF54's Avatar

Cruisers Forum Supporter

Join Date: Dec 2009
Location: Perros-Guirec, France
Boat: Jeanneau Sunshine 36
Posts: 829
Re: OpenCPN Version 2.6 Beta Build 1705

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

64bit libgps problem:

Does xgps work on this system with gpsd started?

Thanks
Dave
Second issue

Duplicated, in non GL mode (Vista)
in GL mode, dimming does affect the whole computer screen: when you minimize OpenCpn, the screen remains dimmed.
__________________
sailorF54 is offline   Reply With Quote
Old 12-05-2012, 01:58   #69
Registered User
 
rooiedirk's Avatar

Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 300
Re: OpenCPN Version 2.6 Beta Build 1705

Hoi Dave,
Also duplicated under linux.
only non OpenGL. Hitting F5 dims only window and toolbar, but not the chart area. when you start panning, the 'new' visible chart areas are dimmed as they should be.
Hitting F5 again has no affect on chart area, only on window and toolbar, giving weird affect on the chart area.
Dirk
__________________
rooiedirk is offline   Reply With Quote
Old 12-05-2012, 02:18   #70
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: OpenCPN Version 2.6 Beta Build 1705

Dave...
Also can reproduce the dimming problem - This is a product of panning the chart to the SW and then NE while using F5... Have looked at the code for a little while, but can't find a way to invalidate and redraw the chart canvas properly

Pavel
Attached Thumbnails
Click image for larger version

Name:	dime-error.png
Views:	54
Size:	237.2 KB
ID:	40956  
__________________
nohal is offline   Reply With Quote
Old 12-05-2012, 02:20   #71
Registered User

Join Date: Dec 2005
Location: WNA
Boat: Dufour 35
Posts: 3,248
Re: OpenCPN Version 2.6 Beta Build 1705

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

64bit libgps problem:

Does xgps work on this system with gpsd started?

Thanks
Dave
Dave
Once OpenCPN is up and running, gps through Network LIBGPS , and xgps both works.

Thomas
__________________
cagney is offline   Reply With Quote
Old 12-05-2012, 05:33   #72
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
Re: OpenCPN Version 2.6 Beta Build 1705

Quote:
Originally Posted by bdbcat View Post
Anyone else having trouble with F5 colorscheme change on cm93? See post #50, this thread.....

Works fine for me.
Dave, I see it. It's the s57chart.cpp:2236 that doesn't fire, so reallyNew is false and there is no update.

/j
__________________
JesperWe is offline   Reply With Quote
Old 12-05-2012, 05:58   #73
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,883
Re: OpenCPN Version 2.6 Beta Build 1705

All...

Thanks for the input on F5 colorscheme change problem...

I must be dense. I cannot reproduce it.

To confirm....

Procedure:
linux...
1705...
cm93, quilted....
non-opengl...

Hit key F5, and observe that chart does not change color, while screen decorations do change color.
Pan some, and see the new sections in proper color.

I cannot reproduce. Must be some race condition?

I will look at the code. Thanks Jesper for the hint.

Dave
__________________
bdbcat is offline   Reply With Quote
Old 12-05-2012, 06:14   #74
Registered User

Join Date: Dec 2008
Boat: Journeyman
Posts: 705
Re: OpenCPN Version 2.6 Beta Build 1705

Quote:
Originally Posted by bdbcat View Post
I must be dense. I cannot reproduce it.
Very strange. Looks like it's my fault, but what I cannot understand is why I had it working before, and you have it working now.

This is clearly missing:

Code:
diff --git a/src/s52plib.cpp b/src/s52plib.cpp
index 3e5b619..dafb652 100644
--- a/src/s52plib.cpp
+++ b/src/s52plib.cpp
@@ -996,6 +996,8 @@
 
       if( !useLegacyRaster ) ChartSymbols::LoadRasterFileForColorTable(
                   m_colortable_index );
+
+      m_ColorScheme = scheme;
 }
 
 S52color* s52plib::getColor( const char *colorName ) {
__________________
JesperWe is offline   Reply With Quote
Old 12-05-2012, 09:50   #75
Registered User
 
rooiedirk's Avatar

Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 300
Re: OpenCPN Version 2.6 Beta Build 1705

Above patch is indeed doing the trick for the weird F5 behavior for me
thanks.
Dirk
__________________

__________________
rooiedirk is offline   Reply With Quote
Reply

Tags
opencpn

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




Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.