Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 04-12-2011, 08:41   #76
Registered User

Join Date: Feb 2010
Posts: 619
Re: OpenCPN Version 2.6 Beta Build 1125

Quote:
Originally Posted by bdbcat View Post
Anyone having similar problems with Win7?
I got hold now of a Win7 box briefly. Did not try to turn off dwm.exe, but just normally running 2.6.1125 OpenGL looks exactly like Vista without dwm...

P.
__________________

__________________
PjotrC is offline   Reply With Quote
Old 04-12-2011, 09:18   #77
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 743
Re: OpenCPN Version 2.6 Beta Build 1125

Ok to build from Git
Jean Pierre
__________________

__________________
Ptizef is offline   Reply With Quote
Old 04-12-2011, 09:55   #78
Registered User

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

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

re/incorrect chart quilt patches...

Does this happen from initial load with OpenGL enabled, or only after panning about and viewing multiple charts/scales, and then switching to OpenGL?

Dave
Dave
Testing and trying to recreate.
Meanwhile I notice that the OpenGL mode seems to be a real resource hog. Running without GL "top" reports a steady 15% mem use. Switching to GL and this value quickly rises to 60% +, until the program becomes unresponsive. On exit the program then seems to hang until Kdesktop gets fed up and asks if I want to kill the process.

Running OpenCPN with valgrind results in this
Code:
==32628== 
==32628== HEAP SUMMARY:
==32628==     in use at exit: 5,277,588 bytes in 19,410 blocks
==32628==   total heap usage: 1,488,924 allocs, 1,469,514 frees, 3,395,517,078 bytes allocated
==32628== 
==32628== LEAK SUMMARY:
==32628==    definitely lost: 26,359 bytes in 151 blocks
==32628==    indirectly lost: 234,636 bytes in 2,174 blocks
==32628==      possibly lost: 3,409,563 bytes in 6,579 blocks
==32628==    still reachable: 1,607,030 bytes in 10,506 blocks
==32628==         suppressed: 0 bytes in 0 blocks
==32628== Rerun with --leak-check=full to see details of leaked memory
==32628== 
==32628== For counts of detected and suppressed errors, rerun with: -v
==32628== Use --track-origins=yes to see where uninitialised values come from
==32628== ERROR SUMMARY: 6268335 errors from 1000 contexts (suppressed: 59 from 11)
Thomas
__________________
cagney is offline   Reply With Quote
Old 04-12-2011, 13:07   #79
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: OpenCPN Version 2.6 Beta Build 1125

ptizef.....

If you could make one small change to chcanv.cpp, and recompile for a test under Vista.....

Existing code

Code:
 
void ChartCanvas::Refresh( bool eraseBackground, const wxRect *rect)
{
if(g_bopengl)
m_glcc->Refresh(eraseBackground, rect);
else
wxWindow::Refresh(eraseBackground, rect);
}

Change to
Code:
 
void ChartCanvas::Refresh( bool eraseBackground, const wxRect *rect)
{
if(g_bopengl)
m_glcc->Refresh(eraseBackground, NULL);
else
wxWindow::Refresh(eraseBackground, rect);
}
This will force all OpenGL window redraws to update the entire window, unconditionally.

Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 04-12-2011, 14:18   #80
Registered User

Join Date: Sep 2009
Location: Angers - France
Boat: Beneteau First 29 Ptizef
Posts: 743
Re: OpenCPN Version 2.6 Beta Build 1125

Good night Dave

I just recompile with your code change and tried hard for half and hour
to reproduce the refresh problem and I failed .
Good job , it seems the problem of small refreshed part of the screen is solved (at least on my system)

time to go to bed for me

Regards
Jean Pierre
__________________
Ptizef is offline   Reply With Quote
Old 05-12-2011, 00:49   #81
Registered User

Join Date: Jul 2011
Posts: 2
Re: OpenCPN Version 2.6 Beta Build 1125

Thanks for all the hard work.

Ubuntu 11.10

Under OpenGL some elements of charts are not shown, in this example, the arrows indicating direction in Traffic Separation lanes. These are not revealed by zooming further in, but show up when OpenGL is disabled.

Also, some unusual colours appear in certain areas of the chart (dark green in this example, orange in some others).

Unfortunately unable to test with GPS input.
Attached Thumbnails
Click image for larger version

Name:	OpenGL off.png
Views:	75
Size:	140.3 KB
ID:	34412   Click image for larger version

Name:	TSS arrows.png
Views:	73
Size:	90.8 KB
ID:	34413  

__________________
owenr is offline   Reply With Quote
Old 05-12-2011, 03:19   #82
Senior Cruiser
 
sailorF54's Avatar

Cruisers Forum Supporter

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

Quote:
Originally Posted by owenr View Post

Ubuntu 11.10

Under OpenGL some elements of charts are not shown, in this example, the arrows indicating direction in Traffic Separation lanes. These are not revealed by zooming further in, but show up when OpenGL is disabled.
.
Confirmed with Vista
(Other magenta features are also missing)
Attached Thumbnails
Click image for larger version

Name:	ScreenShot002.jpg
Views:	67
Size:	131.5 KB
ID:	34414   Click image for larger version

Name:	ScreenShot003.jpg
Views:	65
Size:	198.2 KB
ID:	34415  

__________________
sailorF54 is offline   Reply With Quote
Old 05-12-2011, 07:18   #83
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: OpenCPN Version 2.6 Beta Build 1125

Hi there all...

Anyone worked with the "portable" (-p) option yet?

Just wondering
Dave
__________________
bdbcat is offline   Reply With Quote
Old 05-12-2011, 07:33   #84
Registered User

Join Date: Feb 2010
Posts: 619
Re: OpenCPN Version 2.6 Beta Build 1125

I tried the Portable way of OCPN...

It works nice, and is very useful.

1. It would be great to be able to add a label to the window:

Code:
opencpn -p "My portable version"
2. If a chart directory is deleted, OCPN on next start still shows the chart outlines on screen. 2.5.0 will silently remove them on attempted access. 2.6.1125 will crash...

3. D: is my portable drive today. I am not sure all of this is OK:

Code:
[Directories]
S57DataLocation=D:\\OpenCPN 2.6.1125\\s57data
SENCFileLocation=D:\\OpenCPN 2.6.1125\\SENC
PresentationLibraryData=
CM93DictionaryLocation=..\\bb_be\\CM93ed2_2010\\
InitChartDir=D:\\bb_be\\CM93ed2_2010
GPXIODir=D:\\Dokumenty20110125\\navig\\tracks
GRIBDirectory=D:\\OpenCPN 2.6.1125
IACFleetDirectory=D:\\OpenCPN 2.6.1125
Of course the plugins are responsible for their behaviour.

Piotr
__________________
PjotrC is offline   Reply With Quote
Old 05-12-2011, 14:22   #85
Registered User

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

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

re/incorrect chart quilt patches...

Does this happen from initial load with OpenGL enabled, or only after panning about and viewing multiple charts/scales, and then switching to OpenGL?

Dave
I'm unable to recreate.....at this moment.
The way it happened was like this:
I had about 20 different raster charts loaded + cm93, using OpenGL all the time and switching a lot between single and quilting with F9. I first observed something weird, looking at a chart with irregular shape. The problem went, when turning off GL. I then loaded all the Carib charts to find a similar shaped chart, an see if the same thing happened. During this process I looked at quite a few charts all over, until I came across the view in the post.

Thomas
__________________
cagney is offline   Reply With Quote
Old 05-12-2011, 17:24   #86
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: OpenCPN Version 2.6 Beta Build 1125

PjotrC...

Can you tell me more about conditions for

Code:
2. If a chart  directory is deleted, OCPN on next start still shows the chart outlines  on screen. 2.5.0 will silently remove them on attempted access.  2.6.1125 will crash...
Thanks
Dave
__________________
bdbcat is offline   Reply With Quote
Old 05-12-2011, 20:00   #87
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,884
Re: OpenCPN Version 2.6 Beta Build 1125

Hi...

Anyone tried Bluetooth GPS on Windows --WITHOUT-- an intermediary Virtual Port setup?
I tested with a Bluetooth serial port link from an Android tablet. No GPS, just confirmed data flow. A contrived test, to be sure, but all I had at hand....

Wondering
Dave
__________________
bdbcat is offline   Reply With Quote
Old 06-12-2011, 05:31   #88
Registered User

Join Date: Feb 2010
Posts: 619
Re: OpenCPN Version 2.6 Beta Build 1125

Quote:
Originally Posted by bdbcat View Post
Can you tell me more ...
I had one crash with 2.6.1125 and I attach the logfile for it. However... I cannot reproduce it... On Sunday morn it looked so obvious, that I did not investigate too much. The steps I took were:

1. create a directory with charts on portable drive
2. start OCPN portably and add (1.) to chartset, zoom in to some charts
3. close OCPN
4. delete the directory
5. restart OCPN and navigate to the outlines still visible
6. click on a chart bar in the Status Bar

but my memory tells me it was with Belgian ENC, while the log shows the Dutch...

I will keep looking for this.

Piotr
Attached Files
File Type: doc del_crash.txt.doc (13.1 KB, 35 views)
__________________
PjotrC is offline   Reply With Quote
Old 06-12-2011, 05:36   #89
Registered User

Join Date: Feb 2011
Posts: 490
Re: OpenCPN Version 2.6 Beta Build 1125

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

Anyone tried Bluetooth GPS on Windows --WITHOUT-- an intermediary Virtual Port setup?
I tested with a Bluetooth serial port link from an Android tablet. No GPS, just confirmed data flow. A contrived test, to be sure, but all I had at hand....

Wondering
Dave
It works OK with version 2.5.0 but not with 2.6.---
I don't kow why! so remove the 2.6.-- and I am waiting for the next.
P_Dub
__________________
P_Dub is offline   Reply With Quote
Old 06-12-2011, 08:45   #90
Registered User

Join Date: Nov 2010
Posts: 74
Re: OpenCPN Version 2.6 Beta Build 1125

Anyone tried Bluetooth GPS on Windows --WITHOUT-- an intermediary Virtual Port setup?

Yes with win 7 and it's not good.
The port COM do'nt appear in the list, so ...

But It's ok with an virtual port setup.
__________________

__________________
tiersp 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


Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenCPN Version 2.6 Beta Status bdbcat OpenCPN 5 25-11-2011 02:09
OpenCPN Version 2.5 Release bdbcat OpenCPN 86 02-09-2011 19:14
OpenCPN Version 2.4 Beta Build 628 bdbcat OpenCPN 63 15-07-2011 19:17
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 05:31
OpenCPN Version 2.4 Beta Build 708 bdbcat OpenCPN 34 12-07-2011 14:20



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

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


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.