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-04-2014, 01:42   #211
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: Optimized Opencpn: Testers Needed

Starting with a git download about an hour ago.


Quote:
Originally Posted by cagney View Post
Pulled and compiled Git 1/2 hour ago.


Looking at my previous list:
*No AIS Rollover -Fixed
*No AIS Target query dialog -Fixed
*The scale limit for showing AIS target names is not honored. It's on all the time. -Fixed
*Same thing for current number display. -Fixed
* The Gps status /North indicator dialog defaults to the lower right corner, hidden behind the chart and status bar. The normal position is top right. -No Change Now Fixed
*Dragging the toolbar, for example, leaves gray areas, noticeable for a short moment, before a screen-update kicks in. -No Change

A few more things:
* Deleting a route does not disappear from the screen....it stays on until zooming in/out. Fixed
* Using the "measure" tool works similar. The measured distances stays on screen even after "Measure off" is pressed, until zooming in/out. Fixed
* Wpts behave similar. When created trough right click menu or Ctrl + M it only appears on screen after zooming. Deleting a wpt, same thing as with route & measure. Fixed
A few more issues:
*Deleting a wpt in a route needs zooming to update the route.
*The same can be said for tracks. Creating/deleting are not updated without zooming.

About dragging the toolbar. I'm testing with Kubuntu 13.10/64 bits.
Click image for larger version

Name:	gray.png
Views:	118
Size:	105.5 KB
ID:	79205

It's visible around all dialogs when dragging them, but it's worse around the toolbar. Dragging the "AIS Query dialog" for example, it is more of a flicker around the edges.

Thomas
cagney is offline   Reply With Quote
Old 13-04-2014, 02:52   #212
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: Optimized Opencpn: Testers Needed

Yes ... testers are needed.
This is quite important as the optimized version needs to be merged with the mainstream OpenCPN soonish. We all want a zippier stable version.

One big obstacle is that there is no Windows version available to test for the majority of our users.

So if anyone that has the capability to compile and publish a windows version of Seans optimized version, it would really help.

Thomas
cagney is offline   Reply With Quote
Old 13-04-2014, 06:23   #213
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: Optimized Opencpn: Testers Needed

Quote:
Originally Posted by cagney View Post
One big obstacle is that there is no Windows version available to test for the majority of our users.
Yes, well I managed to cross-compile a windows version and build installers for all the plugins using mingw in linux, and it worked perfectly under wine.. but this effort was basically ignored and I continue to get reports of what doesn't work in visual studio.

In the meantime... I'm pretty close to having this working on raspberry pi with acceleration. I have no display to plug in, so I do everything blind but I know it is working from screen grabs.
seandepagnier is offline   Reply With Quote
Old 13-04-2014, 06:33   #214
Registered User
 
jonasaberg's Avatar

Join Date: Jul 2008
Location: Kristiansand, Norway
Boat: Wasa 410
Posts: 309
Re: Optimized Opencpn: Testers Needed

If you can build a windows version again and make it available I will give it a go.

Sent from my GT-I9300 using Tapatalk
jonasaberg is offline   Reply With Quote
Old 13-04-2014, 08:27   #215
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 387
Re: Optimized Opencpn: Testers Needed

Sean

While in quilt mode, moving the VP above or below 80 degrees causes an abort.

I do not see the dragging and track/route updating delays.


I can provide a Windows installation package ( about 40 MB ) if someone can provide instructions on how and where to upload.

Chuck
ChuckSK is offline   Reply With Quote
Old 13-04-2014, 09:04   #216
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: Optimized Opencpn: Testers Needed

Quote:
Originally Posted by ChuckSK View Post
Sean

While in quilt mode, moving the VP above or below 80 degrees causes an abort.

I do not see the dragging and track/route updating delays.


I can provide a Windows installation package ( about 40 MB ) if someone can provide instructions on how and where to upload.

Chuck
Thanks Chuck!
Private message sent.
Thomas
cagney is offline   Reply With Quote
Old 13-04-2014, 10:41   #217
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: Optimized Opencpn: Testers Needed

Thank you very much Chuck, for providing a Windows package.
So for all eager windows testers here is the optimized test version.

Windows Optimized Download

Thomas
cagney is offline   Reply With Quote
Old 13-04-2014, 12:14   #218
Registered User
 
AISEAG's Avatar

Join Date: May 2012
Location: Dahouet (Brittany)
Boat: BENETEAU
Posts: 491
Re: Optimized Opencpn: Testers Needed

Hi,

test on a XP platform

OpenGL On : Degrees and minutes are not well written when Grid option is selected

OpenGL Off : OK

Serge
Attached Thumbnails
Click image for larger version

Name:	SEAN-1606-Grid.GIF
Views:	127
Size:	112.1 KB
ID:	79294   Click image for larger version

Name:	Sean-1606-Grid-OpenGL-Off.GIF
Views:	111
Size:	112.8 KB
ID:	79295  

AISEAG is offline   Reply With Quote
Old 13-04-2014, 12:32   #219
Registered User
 
AISEAG's Avatar

Join Date: May 2012
Location: Dahouet (Brittany)
Boat: BENETEAU
Posts: 491
Re: Optimized Opencpn: Testers Needed

Hi,

When selecting Vectorial Charts in the toolbox, the items list (left part of the screen) is empty.

Serge
Attached Thumbnails
Click image for larger version

Name:	SEAN-1606-ToolBox-map.GIF
Views:	126
Size:	108.3 KB
ID:	79306  
AISEAG is offline   Reply With Quote
Old 13-04-2014, 13:16   #220
Registered User

Join Date: Dec 2005
Location: Helsingborg
Boat: Dufour 35
Posts: 3,891
Re: Optimized Opencpn: Testers Needed

Quote:
Originally Posted by AISEAG View Post
Hi,

When selecting Vectorial Charts in the toolbox, the items list (left part of the screen) is empty.

Serge
Maybe not so strange. From the documentation:
Quote:
The first time you use a vectorchart with a brand new installation you will see nothing, if you use Mariners standard. Why?
The Mariners Standard list of Feature types is empty on a fresh install. When you load the first vector chart, the list is populated with the Features that are discovered on that particular vector chart. The default visibility of the added Features in MarinersStandard category is presently 0, invisible.(This will soon change. Version 3.4, when released, will show all features as they are discovered.).
If you load another ENC, any newly discovered Feature types are added to the list, again with viz=0, off. However, the visibility of Feature types as set previously by the tick boxes is not modified.
Use the "Select All" button frequently until you have initiated all the charts you intend to use and/or the feature list is fully populated
Also, you have not selected "Mariners Standard" display category.

Thomas
cagney is offline   Reply With Quote
Old 13-04-2014, 14:08   #221
Registered User

Join Date: Jun 2011
Location: 27south
Boat: Easton 47
Posts: 65
Re: Optimized Opencpn: Testers Needed

Sean, disabled compression, turned on opengl …….no crash….. also the colour rendering of the BSB charts changes ….much sharper an closer to what you would expect.
Removing all charts in the list to test background chart stability in opengl triggers a WX assert…….


../src/osx/carbon/region.cpp(159): assert "m_refData" failed in DoOffset(): invalid wxRegion

Call stack:
[00] _ZL22wxDefaultAssertHandlerRK8wxStringiS1_S1_S1_
[01] wxOnAssert(char const*, int, char const*, char const*, wchar_t const*)
[02] wxRegion:oOffset(int, int)
[03] glChartCanvas::RenderCharts(ocpnDC&, OCPNRegion&) glChartCanvas.cpp:278
[04] glChartCanvas::Render() glChartCanvas.cpp:318
[05] glChartCanvas::OnPaint(wxPaintEvent&) glChartCanvas.cpp:145
[06] wxEvtHandler::ProcessEventIfMatchesId(wxEventTable EntryBase const&, wxEvtHandler*, wxEvent&)
[07] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[08] wxEvtHandler::ProcessEventLocally(wxEvent&)
[09] wxEvtHandler::ProcessEvent(wxEvent&)
[10] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[11] wxWindowBase::HandleWindowEvent(wxEvent&) const
[12] wxWindow::MacDoRedraw(long)
[13] wxWidgetCocoaImpl::drawRect(void*, NSView*, void*)
[14] wxOSX_drawRect(NSView*, objc_selector*, CGRect)
[15] -[NSView _drawRect:clip:]
[16] -[NSView _recursiveDisplayAllDirtyWithLockFocus:visRect:]
[17] -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVis ibleRect:rectIsVisibleRectForView:topView:]
[18] -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVis ibleRect:rectIsVisibleRectForView:topView:]
[19] -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVis ibleRect:rectIsVisibleRectForView:topView:]
[20] -[NSView _recursiveDisplayRectIfNeededIgnoringOpacity:isVis ibleRect:rectIsVisibleRectForView:topView:]
Do you want to stop the program?
You can also choose [Cancel] to suppress further warnings.

dismissing assert = crash.

restart …..and background chart visible…..all appears normal and stable….
this is with compression off opengl on.

note …..GPS monitor window is not visible.

ok going to build cashe with cm93…..will report later…..

also will see if i can get the debugger running for a backtrace…..

Mo
Icnoships is offline   Reply With Quote
Old 13-04-2014, 14:49   #222
Registered User

Join Date: Jun 2011
Location: 27south
Boat: Easton 47
Posts: 65
Re: Optimized Opencpn: Testers Needed

Sean, selected cm93 charts…..opengl ON …compression OFF….
all appears normal/stable….no GPS monitor….

Enable compression…..did scan charts …just a brief flash of the dialog window then nothing happened

did force full rebuild…..same

O's log as follows…..

07:18:57 EST: Loading CM93 cell /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011/01500420/B/01800450.B
07:18:58 EST: Loading World Chart Q=2 in 4 ms.
07:18:58 EST: Loading CM93 cell /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011/01500420/E/01850459.E
07:18:58 EST: Loading CM93 cell /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011/01500420/E/01850460.E
07:19:06 EST: Loading CM93 cell /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011/01500420/C/01860456.C
07:19:06 EST: Warning: unable to use texture for chart symbols
07:22:26 EST: OpenGL-> Using s3tc dxt1 compression
07:22:26 EST: OpenGL-> Compressed tile size: 128kb (6:1)
07:22:56 EST:
07:22:56 EST: Starting chart database Update...
07:22:56 EST: Searching directory: /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011 for *.kap
07:22:56 EST: Searching directory: /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011 for *.geo
07:22:56 EST: Searching directory: /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011 for *.000
07:22:56 EST: Searching directory: /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011 for *.s57
07:22:56 EST: Searching directory: /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011 for 00300000.a
07:22:56 EST: Loading chart data for /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011
07:22:56 EST: CM93Composite Chart Root is /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011/
07:22:56 EST: Finished chart database Update
07:22:56 EST:
07:22:56 EST: BuildCompressedCache() count = 0
07:22:56 EST: Chart cache purge
07:22:56 EST: Initializing Chart /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011
07:22:56 EST: CM93Composite Chart Root is /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011/
07:22:56 EST: Loaded CM93 Dictionary from /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011/
07:22:56 EST: Loading CM93 cell /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011/01500420/C/01860456.C
07:23:11 EST:
07:23:11 EST: Starting chart database Update...
07:23:11 EST: Searching directory: /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011 for *.kap
07:23:12 EST: Searching directory: /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011 for *.geo
07:23:12 EST: Searching directory: /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011 for *.000
07:23:12 EST: Searching directory: /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011 for *.s57
07:23:12 EST: Searching directory: /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011 for 00300000.a
07:23:12 EST: Loading chart data for /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011
07:23:12 EST: CM93Composite Chart Root is /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011/
07:23:12 EST: Adding chart file: /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011
07:23:12 EST: Finished chart database Update
07:23:12 EST:
07:23:12 EST: BuildCompressedCache() count = 0
07:23:12 EST: Chart cache purge
07:23:12 EST: Initializing Chart /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011
07:23:12 EST: CM93Composite Chart Root is /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011/
07:23:12 EST: Loaded CM93 Dictionary from /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011/
07:23:12 EST: Loading CM93 cell /Users/mo/Desktop/O/opencpndata/charts/Cm93 jan 2011/01500420/C/01860456.C


that …… 07:19:06 EST: Warning: unable to use texture for chart symbols.. showed up as a compile warning as..

[ 59%] Building CXX object CMakeFiles/OpenCPN.dir/src/chartsymbols.cpp.o
/Users/mo/seandepagnier/OpenCPN/src/chartsymbols.cpp:865:17: warning: add explicit braces to avoid dangling else
[-Wdangling-else]
wxLogMessage(_("Warning: unable to use texture for chart symbols"));
^
/opt/local/include/wx-2.9/wx/log.h:1366:22: note: expanded from macro 'wxLogMessage'
#define wxLogMessage wxDO_LOG_IF_ENABLED(Message)
^
/opt/local/include/wx-2.9/wx/log.h:1353:5: note: expanded from macro 'wxDO_LOG_IF_ENABLED'
else

^

so cannot build cm93 cache
Mo
Icnoships is offline   Reply With Quote
Old 13-04-2014, 15:11   #223
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,644
Images: 2
Re: Optimized Opencpn: Testers Needed

Sean and Thomas I too will the compiled version when I have a computer in front of me.

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
rgleason is online now   Reply With Quote
Old 13-04-2014, 15:26   #224
Registered User

Join Date: Jun 2011
Location: 27south
Boat: Easton 47
Posts: 65
Re: Optimized Opencpn: Testers Needed

sean, couple more observations…..

mousing over the toolbar causes the canvas to jump slightly with each mouseover….this is only with opengl off

there is no problems when grabing the toolbar and moving it canvas does not tear...

turn on opengl…..at zoom levels 261400 an above causes the chart colours to change….background land an sea turn grey….

This is with no cache generated

Mo
Icnoships is offline   Reply With Quote
Old 13-04-2014, 22:03   #225
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,417
Re: Optimized Opencpn: Testers Needed

Quote:
Originally Posted by ChuckSK View Post
Sean

While in quilt mode, moving the VP above or below 80 degrees causes an abort.
I cannot reproduce. Is this with no charts or cm93 or? Can you get a backtrace?

Quote:
Originally Posted by AISEAG View Post
Hi,

test on a XP platform

OpenGL On : Degrees and minutes are not well written when Grid option is selected

OpenGL Off : OK

Serge
fixed now.

Quote:
Originally Posted by Icnoships View Post
Sean, disabled compression, turned on opengl …….no crash….. also the colour rendering of the BSB charts changes ….much sharper an closer to what you would expect.
So you mean it's an improved quality with opengl? This is because of mipmapping. Without this, it looks really bad especially when zoomed far out.
Quote:
Removing all charts in the list to test background chart stability in opengl triggers a WX assert…….


../src/osx/carbon/region.cpp(159): assert "m_refData" failed in DoOffset(): invalid wxRegion

Call stack:
[00] _ZL22wxDefaultAssertHandlerRK8wxStringiS1_S1_S1_
[01] wxOnAssert(char const*, int, char const*, char const*, wchar_t const*)
[02] wxRegion:oOffset(int, int)
[03] glChartCanvas::RenderCharts(ocpnDC&, OCPNRegion&) glChartCanvas.cpp:278
[04] glChartCanvas::Render() glChartCanvas.cpp:318
[05] glChartCanvas::OnPaint(wxPaintEvent&) glChartCanvas.cpp:145
The line numbers don't line up in the source file so it's difficult to trace. Can you repeat this one? Do you have to load raster charts and use them, then go and remove them all?
Quote:
dismissing assert = crash.

restart …..and background chart visible…..all appears normal and stable….
this is with compression off opengl on.

note …..GPS monitor window is not visible.

ok going to build cashe with cm93…..will report later…..

also will see if i can get the debugger running for a backtrace…..

Mo
For gps monitor you can enable under setup and user interface. Perhaps it should be enabled by default? I disabled it by default because I consider it useless and it slows things down.

Quote:
Originally Posted by Icnoships View Post

07:23:12 EST: BuildCompressedCache() count = 0
07:23:12 EST: Chart cache purge

so cannot build cm93 cache
Mo
The compressed cache is only for raster charts not cm93. Try again with raster charts, but you must have enabled the options.

Quote:
Originally Posted by Icnoships View Post
sean, couple more observations…..

mousing over the toolbar causes the canvas to jump slightly with each mouseover….this is only with opengl off
Does this occur with the master branch as well?

Quote:

there is no problems when grabing the toolbar and moving it canvas does not tear...
I think this is a specific problem for a certain window manager on xorg only
Quote:
turn on opengl…..at zoom levels 261400 an above causes the chart colours to change….background land an sea turn grey….

This is with no cache generated

Mo
This but is well known and is in the master branch as well, and occurs when switching opengl mode on. It doesn't occur for normal use if opengl is on at start.
seandepagnier is offline   Reply With Quote
Reply

Tags
opencpn, enc


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


Advertise Here


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


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.