Cruisers Forum
 


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 14-01-2016, 08:34   #241
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,119
Re: OpenCPN RC 4.1.1301 Release

Win10, VS2013. Git fetch 30 minutes ago.
Now there are better Journeyman tool bar icons for OD. It could be they and Watchdog are slightly over sized compared to the core icons but much better than before.
Thanks/ Håkan
Attached Thumbnails
Click image for larger version

Name:	OD_icon_Jour.PNG
Views:	144
Size:	13.2 KB
ID:	116704  
Hakan is online now   Reply With Quote
Old 14-01-2016, 10:11   #242
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: Nova Scotia Canada
Boat: Wharram Tiki 46
Posts: 1,321
Re: OpenCPN RC 4.1.1301 Release

Quote:
Originally Posted by did-g View Post
hi,
1) is not obvious within wx, there's no function for active cpu count.
2) is a bug, I'm looking at it.
@did-g

I see your pull request, but perhaps this could be a simpler fix for both problems:

I did some investigation and testing (hacking) in regards to this problem.

I found that just using a fixed number of threads instead of using wxThread::GetCPUCount() in glChartCanvas.cpp seems to work better.
I used four threads, and tested with 1 and 4 CPUs.

That simplifies things a lot. But perhaps there are implications I am not aware of ?

Cheers,
JM.
NahanniV is offline   Reply With Quote
Old 14-01-2016, 10:36   #243
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: OpenCPN RC 4.1.1301 Release

I would suggest putting max threads in OpenCPN.ini because a 4 core user may want to limit the cores. Other 8 core users might want to allow up to 6.
transmitterdan is offline   Reply With Quote
Old 14-01-2016, 10:59   #244
Registered User
 
NahanniV's Avatar

Join Date: Mar 2011
Location: Nova Scotia Canada
Boat: Wharram Tiki 46
Posts: 1,321
Re: OpenCPN RC 4.1.1301 Release

Quote:
Originally Posted by transmitterdan View Post
I would suggest putting max threads in OpenCPN.ini because a 4 core user may want to limit the cores. Other 8 core users might want to allow up to 6.
That would be good.

Every system is different as far as when the bottleneck is I/O or CPU.

But after 4 CPUs are involved I doubt much would be gained by adding more CPUs to this particular task.

I can run some tests to try and figure out a good default.
I'll try:
1 core with 1 thread.
1core with 4 threads.
2 cores with 2 threads
2 cores with 4 threads
4 cores with 4 threads

Cheers,
JM.
NahanniV is offline   Reply With Quote
Old 14-01-2016, 11:44   #245
Registered User

Join Date: Jan 2007
Location: Minneapolis
Boat: Irwin 37 CC
Posts: 665
Re: OpenCPN RC 4.1.1301 Release

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

Does it crash to black screen without showing the files selector dialog?

Will you post your opencpn.ini file?

Thanks
Dave
Not black screen, no files selector dialog, it was the nxt active window.

I notice in the ini file that GE2KAP is on; but it has been removed and I ran uninstall for GoodAnchorage. I set both to 0 and O hangs instead of crashes. The very first failure I got was a hang but no circle showded so I kept clicking Export selected until it crashed.

From the log file
1:15:29 PM: Detected display size (horizontal): 210 mm
1:15:32 PM: PlugInManager searching for PlugIns in location C:\Program Files (x86)\OpenCPN\plugins
1:15:32 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins\chartdldr_pi.dll
1:15:32 PM: C:\Program Files (x86)\OpenCPN\plugins\chartdldr_pi.dll
API Version detected: 113
PlugIn Version detected: 102
1:15:32 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins\dashboard_pi.dll
1:15:32 PM: C:\Program Files (x86)\OpenCPN\plugins\dashboard_pi.dll
API Version detected: 106
PlugIn Version detected: 102
1:15:32 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins\grib_pi.dll
1:15:32 PM: C:\Program Files (x86)\OpenCPN\plugins\grib_pi.dll
API Version detected: 112
PlugIn Version detected: 300
1:15:32 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins\iacfleet_pi.dll
1:15:32 PM: C:\Program Files (x86)\OpenCPN\plugins\iacfleet_pi.dll
API Version detected: 113
PlugIn Version detected: 8
1:15:32 PM: PlugInManager: Loading PlugIn: C:\Program Files (x86)\OpenCPN\plugins\wmm_pi.dll
1:15:32 PM: C:\Program Files (x86)\OpenCPN\plugins\wmm_pi.dll
API Version detected: 108
PlugIn Version detected: 101
1:15:41 PM: Detected display size (horizontal): 210 mm
Attached Files
File Type: doc Untitled 1.doc (20.0 KB, 51 views)
__________________
David Kester
Pegasus IV
wdkester is offline   Reply With Quote
Old 14-01-2016, 11:53   #246
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,387
Re: OpenCPN RC 4.1.1301 Release

@wdkester...

Is it hanging now?

Will you go to C:\Program Files (x86)\OpenCPN\plugins and see what files are there? OCPN can actually load any PlugIn that it finds in this directly, whether enabled or not.

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 14-01-2016, 15:35   #247
Registered User

Join Date: Jan 2007
Location: Minneapolis
Boat: Irwin 37 CC
Posts: 665
Re: OpenCPN RC 4.1.1301 Release

Quote:
Originally Posted by bdbcat View Post
@wdkester...

Is it hanging now?

Will you go to C:\Program Files (x86)\OpenCPN\plugins and see what files are there? OCPN can actually load any PlugIn that it finds in this directly, whether enabled or not.

Thanks
Dave
You guessed right. It got reloaded. Dang these smart computers.

So, I deleted the dll file, restarted the system, reinstalled O with settings and it still hangs.
__________________
David Kester
Pegasus IV
wdkester is offline   Reply With Quote
Old 14-01-2016, 16:51   #248
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,387
Re: OpenCPN RC 4.1.1301 Release

wdkester....

What dll files are in C:\Program Files (x86)\OpenCPN\plugins?

Dave
bdbcat is offline   Reply With Quote
Old 14-01-2016, 17:32   #249
Registered User

Join Date: Jan 2007
Location: Minneapolis
Boat: Irwin 37 CC
Posts: 665
Re: OpenCPN RC 4.1.1301 Release

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

What dll files are in C:\Program Files (x86)\OpenCPN\plugins?

Dave
Dave,
chartdldr_pi, wmm_pi, dashboard_pi, grib_pi, iacfleet_pi
__________________
David Kester
Pegasus IV
wdkester is offline   Reply With Quote
Old 14-01-2016, 17:59   #250
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: OpenCPN RC 4.1.1301 Release

Quote:
Originally Posted by wdkester View Post
Dave,
chartdldr_pi, wmm_pi, dashboard_pi, grib_pi, iacfleet_pi
Are there no other .dll files? I think chartdldr_pi has several that accompany it. What Dave is asking for is every .dll file in the folder whether it is a plugin or not.

Edit: the accompanying .dll files end up in the main opencpn folder not the plugins folder. Sorry for causing any confusion.
transmitterdan is offline   Reply With Quote
Old 14-01-2016, 18:09   #251
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,387
Re: OpenCPN RC 4.1.1301 Release

wdkester...

OK, lets try removing all the dll's from the plugins directory, one by one.

Starting with that suspicious looking iacfleet_pi.dll

Thanks
Dave
bdbcat is offline   Reply With Quote
Old 15-01-2016, 06:11   #252
Registered User

Join Date: Jan 2007
Location: Minneapolis
Boat: Irwin 37 CC
Posts: 665
Re: OpenCPN RC 4.1.1301 Release

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

OK, lets try removing all the dll's from the plugins directory, one by one.

Starting with that suspicious looking iacfleet_pi.dll

Thanks
Dave
Deleted all PI (incl Downloader last) still hangs.
__________________
David Kester
Pegasus IV
wdkester is offline   Reply With Quote
Old 15-01-2016, 06:24   #253
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: OpenCPN RC 4.1.1301 Release

Quote:
Originally Posted by wdkester View Post
Deleted all PI (incl Downloader last) still hangs.
Are you running Windows 10? If so, does it hang after you reboot the computer?
transmitterdan is offline   Reply With Quote
Old 15-01-2016, 09:56   #254
Registered User

Join Date: Jan 2007
Location: Minneapolis
Boat: Irwin 37 CC
Posts: 665
Re: OpenCPN RC 4.1.1301 Release

Quote:
Originally Posted by transmitterdan View Post
Are you running Windows 10? If so, does it hang after you reboot the computer?
Windows 7, and I haven't been rebooting the OS; but when I restart opencpn, it restarts normally. But obviously something isn't normal. Something is being remembered that damages Export.
__________________
David Kester
Pegasus IV
wdkester is offline   Reply With Quote
Old 15-01-2016, 10:17   #255
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 7,387
Re: OpenCPN RC 4.1.1301 Release

wdkester...

Working on this now. If you can, please DO NOT reload OCPN, or change anything. This one is hard to catch, and you have a live one in the trap. Don't let it get away....

Thanks
Dave
bdbcat is offline   Reply With Quote
Reply

Tags
enc, lease, opencpn

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
For Sale: FIREBOY 1301 Automatic Extinguisher Doug Brown Classifieds Archive 0 13-05-2014 20:19
Install Halon 1301 system in diesel engine room? chris07732 Construction, Maintenance & Refit 3 11-04-2011 06:44
OpenCPN Version 2.3.0 Release bdbcat OpenCPN 74 31-12-2010 01:09
OpenCPN Version 1.3.6 Release bdbcat OpenCPN 32 30-01-2010 05:07

Advertise Here


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


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.