Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 25-01-2014, 10:50   #136
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,407
Re: Optimized Opencpn: Testers Needed

Hakan,
Downloaded this Optimized Opencpn: Testers Needed

Hope iit is most current...

Found an Opencpn.pot file, isn't that for compiling? Is so, then I have to do a git clone of sean's optimized-Opencpn.... I don't know first thing about internationalization.... where do I put the file?

Anyway, can't I just use your compiled Opencpn-Sean.exe in my 3.3.1303 directory?
Going to try it now anyway.
__________________

__________________
rgleason is offline   Reply With Quote
Old 25-01-2014, 11:06   #137
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,407
Re: Optimized Opencpn: Testers Needed

The file works.
OpenGL Options
Used FBO Panning -checked
Texture Compression -not checked
Texture Dimension - 512mb
Texture Memory 256 mb

Use Acclerated Graphics Opengpl -checked
Zoom to curser checked
Enable chart quilting -checked

Dell XPS L502X 15 Inspiron Laptop, 8gb ram, i7-2720QM at 2.20Ghz 64 bit, Win7
This laptop has two video cards, on board Intel HD Graphics and NVIDIA Geforce GT 540M adapter
For Opengl I have it set to be using the Nvidia adapter.

I also should probably test this on a old Dell small Laptop with XP, in several days.
Has similar video card to yours Hakan.

What do you want me to exercise in particular

Thanks
__________________

__________________
rgleason is offline   Reply With Quote
Old 25-01-2014, 11:12   #138
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,407
Re: Optimized Opencpn: Testers Needed

It seemed to be working fine, fast. Then bombed it twice and sent reports...
1. Turned on follow (have no gps enabled right now)
2. It Zoomed to the boat.
3. Right click on the chart (its on CM93 charts) and pick BSB
4. It bombs.

Should I regen the BSB charts?
Would the SENC have chaged?
__________________
rgleason is offline   Reply With Quote
Old 25-01-2014, 11:17   #139
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,407
Re: Optimized Opencpn: Testers Needed

Here is the tail of the Opencpn.ini file
Attached Files
File Type: doc Opencpn331045-bomb.doc (7.4 KB, 37 views)
__________________
rgleason is offline   Reply With Quote
Old 25-01-2014, 14:31   #140
Registered User
 
Gilletarom's Avatar

Join Date: Mar 2010
Location: France
Boat: 10.50 mètres
Posts: 2,295
Re: Optimized Opencpn: Testers Needed

hello Sean,

Using O3.3.1303.4 that Hakan put in line.

First test : French language Ok, Add chart directory Ok, Click on a point of chart Ok then Zoom +++++ and then Impossible to ZOOM -. O Is blocked.

It is possible to shutdown O with red cross.

B.R. Gilletarom.
Attached Files
File Type: doc opencpn.ini.doc (8.2 KB, 24 views)
File Type: doc opencpn.log.doc (38.4 KB, 24 views)
File Type: doc navobj.xml.doc (357 Bytes, 32 views)
__________________
Gilletarom is offline   Reply With Quote
Old 25-01-2014, 15:02   #141
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,967
Re: Optimized Opencpn: Testers Needed

Quote:
Originally Posted by rgleason View Post
Hakan,
Hope iit is most current...

Found an Opencpn.pot file, isn't that for compiling? Is so, then I have to do a git clone of sean's optimized-Opencpn.... I don't know first thing about internationalization.... where do I put the file?
...
Rick..
Yes there is nothing more pushed to Git until today.

The Pot file should be placed in the /po directory of the git source files and be used if you would like to update a .po file for translation. Not much use for you "over there" I think.
For the .exe file I saw you found a proper use.
__________________
Hakan is offline   Reply With Quote
Old 25-01-2014, 16:23   #142
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,967
Re: Optimized Opencpn: Testers Needed

Sean..
I had the opportunity to test version 23034 on a newer machine running Win7.
There I was able to use OpenGL and see the nice graphic. I tested using raster BSB and vector charts and on that machine the performance where rather acceptable for both. Minor less zoom updating speed for raster than for vector charts but useful. There was one occasion with some weird border between the raster and vector charts but moving up and down it eventually disappeared. I was repeatable when moving fast over the border. See my screen shots.
But the opportunity to show both raster and vector is as said before really outstanding and I think it's only Opencpn that have this feature. So if you manage to develop also the raster rendering O will be even more fantastic.
Thanks Håkan
Attached Thumbnails
Click image for larger version

Name:	Capture.jpg
Views:	96
Size:	254.8 KB
ID:	74652   Click image for larger version

Name:	Capture2.jpg
Views:	102
Size:	146.2 KB
ID:	74653  

__________________
Hakan is offline   Reply With Quote
Old 26-01-2014, 01:20   #143
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,967
Re: Optimized Opencpn: Testers Needed

Sean..
Crash report on a Win7, 2.2 GHz, 3GB, ATI...Radeon HD4000 256 MB.
OCPN 3.3.13034 pulled from Git Jan 25. OpenGL is activated
This crash scheme is repeated four times and it was exactly the same manner each time.
1. O is opened viewing a CM93 chart and have two available BSB charts. See capture 1.
2. I choose the leftmost BSB by a mouse click.
3. I start to move East using the left arrow key. See capture2
4. Continue moving east. Now the BSB chart is very close to the screen edge. Capture3
5. Further moving and when the BSB is passing the edge the crash occurs.

Q: Why does O choose to view the World map instead of the available CM93 chart?

The log says the same thing before every crash:
Code:
>>>>A start up log
08:22:02: 2014-01-26
08:22:02:  ------- Starting OpenCPN -------
08:22:02: Version 3.3.13034 Build 2014-01-23
08:22:02: wxWidgets version: wxWidgets 2.8.12
08:22:02: MemoryStatus:  mem_total: 2810 mb,  mem_initial: 9 mb

>>>>>>>One crash
08:22:17: Initializing Chart C:\ProgramData\opencpn\Charts\bsb\9321 Marstrand.kap
08:22:17: Initializing Chart C:\ProgramData\opencpn\Charts\bsb\9321_1.kap
08:22:18: Loading World Chart Q=0 in 80 ms.
08:22:18: Background world map loaded from GSHHS datafiles found in: C:\Program Files (x86)\OpenCPN\gshhs\
08:22:18: Loading World Chart Q=2 in 176 ms.
08:25:55: 

>>>>>>Another crash
08:25:58: Loading CM93 cell C:\ProgramData\opencpn\Charts\CM93_2011\\03900000/E/04430035.E
08:26:56: LOGBOOK:  2014-01-26 07:26:56 UTC  DR Lat   58.09300 Lon   11.73080
08:27:51: Initializing Chart C:\ProgramData\opencpn\Charts\bsb\9321 Marstrand.kap
08:27:51: Initializing Chart C:\ProgramData\opencpn\Charts\bsb\9321_1.kap
08:27:52: Loading World Chart Q=0 in 78 ms.
08:27:52: Background world map loaded from GSHHS datafiles found in: C:\Program Files (x86)\OpenCPN\gshhs\
08:27:52: Loading World Chart Q=2 in 187 ms.
I've two crash reports available if you wish - just ask.
I will not touch that PC's OCPN more until a I've next version to test. Could be fine for verifying?
Attached Thumbnails
Click image for larger version

Name:	crash1.gif
Views:	81
Size:	156.0 KB
ID:	74678   Click image for larger version

Name:	crash2.gif
Views:	87
Size:	211.6 KB
ID:	74679  

Click image for larger version

Name:	crash3.gif
Views:	80
Size:	114.1 KB
ID:	74680  
__________________
Hakan is offline   Reply With Quote
Old 26-01-2014, 13:49   #144
Registered User

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

Here is a patch for the selected route disappearing.

Code:
diff --git a/src/glChartCanvas.cpp b/src/glChartCanvas.cpp
index 5081613..1d74213 100644
--- a/src/glChartCanvas.cpp
+++ b/src/glChartCanvas.cpp
@@ -1650,6 +1650,7 @@ Route *active_route = g_pRouteMan->GetpActiveRoute();
 
     if( active_route ) active_route->Draw( dc, vp );
     if( g_pActiveTrack ) g_pActiveTrack->Draw( dc, vp );
+    if( cc1->m_pSelectedRoute ) cc1->m_pSelectedRoute->Draw( dc, vp );
 
     GridDraw( dc );
Chuck
__________________
ChuckSK is offline   Reply With Quote
Old 26-01-2014, 14:53   #145
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 1,967
Re: Optimized Opencpn: Testers Needed

Quote:
Originally Posted by ChuckSK View Post
Here is a patch for the selected route disappearing.........Chuck
Chuck..
Nice! I actually saw this before but have forgot to report.
I've tested your patch and it works fine. The route line is now red when selected instead of invisible.

If someone would like to test it's now included in my Win-exe file in the zip here:
https://dl.dropboxusercontent.com/u/...Sean_13034.zip

Håkan
__________________
Hakan is offline   Reply With Quote
Old 26-01-2014, 19:51   #146
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: chesapeake bay
Boat: bristol 27
Posts: 2,813
Re: Optimized Opencpn: Testers Needed

I have a whole bunch of bug fixes but my tree is broken and I lack the memory to remember enough to fully and effectively use git while dealing with this.

Thanks chuck for the fixes, I think I am getting pretty close. I have a mouse with a wheel now!
__________________
boat_alexandra is offline   Reply With Quote
Old 29-01-2014, 17:56   #147
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,407
Re: Optimized Opencpn: Testers Needed

Sean,
During the entire time I was using Weather_routing and Climatology for these routings, I was also running 3.3.13034! Just realized that, and I thought it was acting quicker and without any complaints during that time. It did involve some good exercise and commands. Using Opengl on Dell XPS 15 with Nvidia Geforce 540m card.
See several posts Weather Routing
__________________
rgleason is offline   Reply With Quote
Old 29-01-2014, 18:30   #148
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: chesapeake bay
Boat: bristol 27
Posts: 2,813
Re: Optimized Opencpn: Testers Needed

Good to hear not any issues for you. Wait a few days or week or so and I should have version 5 which hopefully will improve the loading time of raster charts by about a factor of 50 (it's incredibly inefficient the way it is currently)
__________________
boat_alexandra is offline   Reply With Quote
Old 01-02-2014, 23:06   #149
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: chesapeake bay
Boat: bristol 27
Posts: 2,813
Re: Optimized Opencpn: Testers Needed

I do not know when I can finish work on this fork (or anything else related to opencpn) now that I have no working computer to use for development.

My computer had a daily kernel panic due to cpu temperature above 80C. I took it apart to clean any dust, but there wasn't much, and verify the fan worked correctly. When I put it back together (I was very careful) the computer no longer posts bios. I have taken this machine apart in the past to repair broken buttons, and clean out dist, so I do not know what I did wrong, but I was experiencing a lot of abnormal behavior over the last few months.

Unfortuately (since my tree was a mess I didn't push with git) a lot of bugs I fixed for this patch as well as the optimized raster work is on a solid state drive which I cannot access. Currently I must use internet cafe because I discovered my backup computer no longer functions either.
__________________
boat_alexandra is offline   Reply With Quote
Old 02-02-2014, 16:09   #150
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 9,407
Re: Optimized Opencpn: Testers Needed

Sean,

This is to let you know that I am going to contribute towards a computer. I can't imagine working on Opencpn without your talents and contributions, so hopefully others will pitch in too.
I think I'll use your "About the Author" webpage About with the paypal donate button in your website. If you think a Mac is the answer and that it can run Windows and Linux to in a Virtual Machine, that's fine with me too. I think it would be great to fully support the Mac and I hope the community will see how your offer will help all Mac users too.

No doubt you will be able to salvage the hard drive and put it in a case with USB connection to use as additional backup, and you will find uses for the other parts, being a clever guy into Sustainability and Reuse, and I expect they will be used for boat control of some sort.

Also I really like what you are doing wiith Optimizing Opencpn.

Best
Rick
__________________

__________________
rgleason is offline   Reply With Quote
Reply

Tags
opencpn, enc

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 16:38.


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.