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 19-11-2015, 08:38   #136
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: OpenCPN Beta test 4.1.1108 Release

You have made a good point that LLRegion breaks USE_GL=NO.

I think we should simplify things by removing the current internal tesselator, then in the case of USE_GL=NO (or for GLES) we can build and link with our own static version of glu. This will ensure consistent results.
seandepagnier is offline   Reply With Quote
Old 19-11-2015, 08:45   #137
Registered User

Join Date: May 2014
Boat: Shuttleworth Advantage
Posts: 2,268
Images: 2
Re: OpenCPN Beta test 4.1.1108 Release

Quote:
Originally Posted by Hakan View Post
Win10 mystery ??
XP was no problem but when I should end the Win10-O it wont close but just stop "answering" after a while and I had to force it close. The log file is full of CM93 messages I never seen before, like:
Håkan
Hakan, see my post 3 in this thread.

OpenGL - ON
2. prevents OCPN from closing, screen is hatched but remains active. If you then go into tools and switch OPENGL off you can close normally.

Peter
Tupaia is offline   Reply With Quote
Old 19-11-2015, 09:02   #138
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,147
Re: OpenCPN Beta test 4.1.1108 Release

Quote:
Originally Posted by Tupaia View Post
Hakan, see my post 3 in this thread.

OpenGL - ON
2. prevents OCPN from closing, screen is hatched but remains active. If you then go into tools and switch OPENGL off you can close normally.

Peter
Peter.
I've read your post but I don't think this issue is connected. I always use OpenGl and has run this version every day. I use BR24radar_pi and a other plugins as well.
If I get some tips about the CM93 log entries I'll make some more Win10 tests.

Thanks
Håkan
Hakan is offline   Reply With Quote
Old 19-11-2015, 19:12   #139
Registered User

Join Date: May 2011
Posts: 847
Re: OpenCPN Beta test 4.1.1108 Release

Quote:
Originally Posted by Tupaia View Post
Hakan, see my post 3 in this thread.

OpenGL - ON
2. prevents OCPN from closing, screen is hatched but remains active. If you then go into tools and switch OPENGL off you can close normally.

Peter
I'm seeing this; OCPN not closing but with OPENGL off .. happening all the time with this build (downloaded from the OCPN site beta).

Windows 10 machines x3

Not sure if it's submitting crash reports or not... need logs?

Chris
Littlechay is offline   Reply With Quote
Old 19-11-2015, 22:05   #140
Registered User

Join Date: May 2010
Posts: 86
Re: OpenCPN Beta test 4.1.1108 Release

I had O lock up on me today when trying to debug a serial port. When I unchecked the "Show NMEA Debug Window" it just hang with the little circle with rotating dots inside.

Gear: 32-bit Ubuntu 14.04.3 with the latest updates. CPU is i5-4200U and Graphics is Intel Haswell Mobile x86/MMX/SSE2. I had a port enabled, but it was not connected to anything. The port was using a serial-USB adaptor.

The problem is reproducable.

Cheers, ....Erik.
m/v B.C. Girl.
Richmond, BC.
ve7mdl is offline   Reply With Quote
Old 19-11-2015, 22:44   #141
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: OpenCPN Beta test 4.1.1108 Release

Quote:
Originally Posted by ve7mdl View Post
I had O lock up on me today when trying to debug a serial port. When I unchecked the "Show NMEA Debug Window" it just hang with the little circle with rotating dots inside.

Gear: 32-bit Ubuntu 14.04.3 with the latest updates. CPU is i5-4200U and Graphics is Intel Haswell Mobile x86/MMX/SSE2. I had a port enabled, but it was not connected to anything. The port was using a serial-USB adaptor.

The problem is reproducable.

Cheers, ....Erik.
m/v B.C. Girl.
Richmond, BC.
Can you rebuild with cmake -DCMAKE_BUILD_TYPE=Debug ..
then run in gdb or ddd, and when it is stick, hit ctrl-c and type "bt" at the prompt to get a backtrace and post that.
seandepagnier is offline   Reply With Quote
Old 19-11-2015, 23:52   #142
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,147
Re: OpenCPN Beta test 4.1.1108 Release

Today's git on Win10:
CM93 is still OK on my part of the globe apart from a little piece of the world map at a very specific scale. (The usual VDR )
But:
There's a constantly increasing use of memory. (I'm not saying this is introduced now)
Dedicated memory use increases at around 5 000 kB/minute, from ~200 000 at start to 582 320 after 1 h 15 min.
The increase scheme has the following reproducible pattern:
-At start and no activity: Usage is stable around 200 000 kB
-Start receiving NMEA data from UDP network: Usage increases by ~5 000 kB/min
-Stop receiving NMEA data: Usage still increases with ~5 000 kB/min

After 24 hours the memory use will be huge if it's continuing??

-No increased memory use for the 4.1.1108 instance replaying the VDR

Is there a explanation for this behavior? (Multiplexer??)

Håkan
Hakan is offline   Reply With Quote
Old 20-11-2015, 00:35   #143
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: OpenCPN Beta test 4.1.1108 Release

Quote:
Originally Posted by Hakan View Post
Today's git on Win10:
CM93 is still OK on my part of the globe apart from a little piece of the world map at a very specific scale. (The usual VDR )
Where is the problem at what specific scale?
Quote:
But:
There's a constantly increasing use of memory. (I'm not saying this is introduced now)
Dedicated memory use increases at around 5 000 kB/minute, from ~200 000 at start to 582 320 after 1 h 15 min.

The increase scheme has the following reproducible pattern:
-At start and no activity: Usage is stable around 200 000 kB
-Start receiving NMEA data from UDP network: Usage increases by ~5 000 kB/min
-Stop receiving NMEA data: Usage still increases with ~5 000 kB/min
I don't usually use udp. Which plugins are enabled? Can you disable all the plugins? If this doesn't help, can you try older versions to try to determine when this problem begun?
Quote:
After 24 hours the memory use will be huge if it's continuing??

-No increased memory use for the 4.1.1108 instance replaying the VDR

Is there a explanation for this behavior? (Multiplexer??)

Håkan
Maybe the udp multiplexer
seandepagnier is offline   Reply With Quote
Old 20-11-2015, 01:26   #144
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,147
Re: OpenCPN Beta test 4.1.1108 Release

Sean..
Memory:
- Plugins on/off has no impact
- UDP multiplexer still suspected. I tried to disconnect the UDP receiver and instead connect an AIS feed via TCP - no increase of memory usage! Back to UDP - increased usage. I'm sorry not having the opportunity to test a normal serial input here but could visit my boat for a test if required.

My UDP set-up is as of attached shot.
I didn't traced back in O versions but have a feeling it's not new.

CM93:
The world map glimpse is very short and not easy to replicate. I'll see if I can force it to show up again. Stand by on this - not a big issue.

Håkan
Attached Thumbnails
Click image for larger version

Name:	Connections.PNG
Views:	135
Size:	22.4 KB
ID:	113354  
Hakan is offline   Reply With Quote
Old 20-11-2015, 06:36   #145
Registered User

Join Date: Oct 2014
Posts: 274
Re: OpenCPN Beta test 4.1.1108 Release

Refer back to my post #118.
Quote:
Originally Posted by .Paul. View Post
I built O from the source Dave revised on 15 Nov, and I have run Hakan's VDR several times in this version.

It renders the quilted chart detail much better. Also, the small region south of St Dagholmen (an island) from 57 59.8N 11 46.8E and SE from this lat/lon now has spot soundings and depth contours. My previous build from 14 Nov only had blue (shallow water) there. All of the water areas appear to be correctly rendered.

A few place name text labels disappear once in a while when the chart canvas is redrawn. The next redraw brings the labels back.
The text labels blinking off and on is caused by having "De-Cluttered Text" checked under Options>Charts>Vector Chart Display. With the checkmark removed, there are many overlapping labels, but they don't switch off and on.

Quote:
The C scale chart that fills the right side of my screen has the buff color of land with one symbol ... (BUIREL) ...

From time to time this region is displayed in gray ...

It stays gray for only a short time, then the buff land and BUIREL symbol return as the charts move under the red boat.

All in all, it is an improvement.

Thanks,
Paul
I built O from the source including yesterday (19 Nov 2015) morning's commit by bdbcat that merged Cm93 rendering fixes from Sean. I ran this build in Win10 with Hakan's VDR many times. I have not observed the gray region replacing the buff color of land in the C scale chart region. The rendering problem seems to be fixed.

Thanks,
Paul
.Paul. is offline   Reply With Quote
Old 20-11-2015, 08:18   #146
Registered User

Join Date: Oct 2014
Posts: 274
Re: OpenCPN Beta test 4.1.1108 Release

The problem of a gray field replacing the C scale chart region while running Hakan's VDR just came back! My previous post was based on running a build from yesterday afternoon. That source included yesterday (19 Nov 2015) morning's commit by bdbcat that merged "Cm93 rendering fixes" from Sean.

I just pulled last night's changes including Dave's commit to "Implement mag variation calculation at object location if WMM is available". I built O. Now, when running with the VDR, the C scale chart on the right side of the screen switches from the buff land color to gray and back to buff.

Paul
.Paul. is offline   Reply With Quote
Old 20-11-2015, 08:50   #147
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,147
Re: OpenCPN Beta test 4.1.1108 Release

Sean..Dave..Paul..
Ref to my CM93 indication about the world map glimpse.
I still have trouble to shot it because it's short lived and resolve itself after a some seconds. But the appearance is as of my screenshot at non quilt mode. The world map area is C scale and the screen scale is around 26000(1.9x)
As said, not a big issue but for the record....Ans I didn't saw it using the git build Nov 18.

Håkan
Attached Thumbnails
Click image for larger version

Name:	CM93_WM.PNG
Views:	118
Size:	176.4 KB
ID:	113395  
Hakan is offline   Reply With Quote
Old 20-11-2015, 10:00   #148
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: OpenCPN Beta test 4.1.1108 Release

Quote:
Originally Posted by .Paul. View Post
The problem of a gray field replacing the C scale chart region while running Hakan's VDR just came back! My previous post was based on running a build from yesterday afternoon. That source included yesterday (19 Nov 2015) morning's commit by bdbcat that merged "Cm93 rendering fixes" from Sean.

I just pulled last night's changes including Dave's commit to "Implement mag variation calculation at object location if WMM is available". I built O. Now, when running with the VDR, the C scale chart on the right side of the screen switches from the buff land color to gray and back to buff.

Paul
Can you sync back to before the last change or so and try to find which change broke it for you?
seandepagnier is offline   Reply With Quote
Old 20-11-2015, 10:05   #149
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,401
Re: OpenCPN Beta test 4.1.1108 Release

Paul/Hakan...

Just for fun, will you make the following change and try to reproduce the quilt background anomalies reported?

Code:
bool cm93chart::IsPointInLoadedM_COVR ( double xc, double yc )
{
    //  Provisionally revert to older method pending investigation.
#if 0
    return m_region.Contains(yc, xc);
#else
      for ( unsigned int im=0 ; im < m_pcovr_array_loaded.GetCount() ; im++ )
      {
            if ( G_PtInPolygon_FL ( m_pcovr_array_loaded.Item ( im )->pvertices, m_pcovr_array_loaded.Item ( im )->m_nvertices, xc, yc ) )
                  return true;
      }
      return false;
#endif
}
Note the conditional change "if 0"...

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 20-11-2015, 10:22   #150
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,147
Re: OpenCPN Beta test 4.1.1108 Release

Dave..
This old friend again

Ok, with #if = 0 it was easy to get the attached screenshot. With #if = 1 it's better.
Håkan
Attached Thumbnails
Click image for larger version

Name:	CM93_IF = 0.PNG
Views:	132
Size:	81.5 KB
ID:	113406  
Hakan is offline   Reply With Quote
Reply

Tags
enc, lease, 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 test 4.1.1022 Release bdbcat OpenCPN 122 07-11-2015 01:12
OpenCPN Beta test 4.1.925 Release bdbcat OpenCPN 177 04-11-2015 08:16
OpenCPN Beta test 4.1.602 Release bdbcat OpenCPN 193 13-10-2015 08:19
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


All times are GMT -7. The time now is 18: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.