Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 07-07-2013, 10:49   #16
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: Mac Performance Update

Gerhard...
This version IS built against 2.9.5, so I really do not understand what you are trying to say here.

The questions are:
1. How is the performance of this test version on Lion and Mountain Lion, in quilt mode, with GPS running?
2. Can Mac builders duplicate my build process and results?
I will post the exact build commands if requested.
3. Will it run at all on Snow Leopard?

Thanks

Pavel
__________________

__________________
nohal is offline   Reply With Quote
Old 07-07-2013, 11:09   #17
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Re: Mac Performance Update

Quote:
Originally Posted by nohal View Post
Gerhard...
This version IS built against 2.9.5, so I really do not understand what you are trying to say here.

The questions are:
1. How is the performance of this test version on Lion and Mountain Lion, in quilt mode, with GPS running?
2. Can Mac builders duplicate my build process and results?
I will post the exact build commands if requested.
3. Will it run at all on Snow Leopard?

Thanks

Pavel
And my answer was: Anything else than 2.9.5 does not work with OSX.
You got it now?
Gerhard
__________________

__________________
CarCode is offline   Reply With Quote
Old 07-07-2013, 11:16   #18
Registered User
 
Capt Rottnest's Avatar

Join Date: Nov 2012
Location: FN QLD
Boat: Junk rig Schooner
Posts: 209
Re: Mac Performance Update

Quote:
Originally Posted by nohal View Post
Gary...
Nothing to see

Pavel
Sorry, post #13 should be fixed now..
__________________
Capt Rottnest is offline   Reply With Quote
Old 07-07-2013, 11:25   #19
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: Mac Performance Update

Quote:
Originally Posted by CarCode View Post
And my answer was: Anything else than 2.9.5 does not work with OSX.
You got it now?
Gerhard
Gerhard, sorry, no, I really don't get how this answers any of the questions you guys were asked.

Pavel
__________________
nohal is offline   Reply With Quote
Old 08-07-2013, 20:21   #20
Registered User

Join Date: Jun 2011
Location: 27south
Boat: Easton 47
Posts: 65
Re: Mac Performance Update

Quote:
Originally Posted by bdbcat View Post
Hello Mac Fans...

I have little confidence that wxWidgets 2.9.x->3.0 will adequately address the wxRegion performance issues in OpenCPN. So, I have implemented a test version using a private OCPNRegion class to replace wxRegion on the Mac. It uses source lifted from the gdk library, with hardware dependencies removed.

The code is available on github opencpn, branch "region".

A test dmg of OpenCPN 3.3.705 is available at
https://www.dropbox.com/s/onymstztvz...PN_3.3.705.dmg

There is no Windows or Linux build for this spot test.

Some FAQs on the build:

. It is a true 64 bit build
. built with wxWidgets 2.9.5, daily tarball download.
. built using tools from "Xcode 4.3.3 for Lion" on lion

Code:
dsrs-mac-mini:build_cocoa dsr$ clang --version
Apple clang version 3.1 (tags/Apple/clang-318.0.61) (based on LLVM 3.1svn)
Target: x86_64-apple-darwin11.4.2
Thread model: posix
. wxWidgets build target is
Code:
--with-macosx-sdk=/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.7.sdk
So, the questions are:
1. How is the performance of this test version on Lion and Mountain Lion, in quilt mode, with GPS running?
2. Can Mac builders duplicate my build process and results?
I will post the exact build commands if requested.
3. Will it run at all on Snow Leopard?

Thanks, and remember to "Think different"
Dave

Good stuff Dave
just had a quick play an can see an immediate improvement.

2ghz Macbook running 10.7.5 aka Lion
quilting on and its the best it has ever been + GPS connected and functioning normally, BSB & CM93.
The app is much more responsive in all ways...a guess would be at least a 50% speed increase over all previous builds, options and route manager windows open instantly, did not notice anything untoward in the route manager, i have at least 50 tracks in there including some v long ones plus many waypoints with no problem.
re compiling - will try when i get a mo.
re snow leopard - over it.

only thing i spotted that was retro was that ALL text in the options windows has shrunk to an almost unreadable level : )

many thanks for your efforts great stuff an lays the ground work 4 future mac 64 bit builds - was getting a bit worried there 4 a while!!

mo
__________________
Icnoships is offline   Reply With Quote
Old 08-07-2013, 20:45   #21
Registered User

Join Date: Jun 2011
Location: 27south
Boat: Easton 47
Posts: 65
Re: Mac Performance Update

Not sure if it helps with this build but can confirm all top marks are incorrect & O hangs after closing route properties dialog window - force quit required.

mo
__________________
Icnoships is offline   Reply With Quote
Old 09-07-2013, 03:23   #22
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Re: Mac Performance Update

Quote:
Originally Posted by Icnoships View Post
Not sure if it helps with this build but can confirm all top marks are incorrect & O hangs after closing route properties dialog window - force quit required.
mo
To get correct topmarks delete or comment out the lines for "if wxCHECK_Version(2, 9, 0)" in s52plib.cpp at function CompareLUPObjects():

int CompareLUPObjects( LUPrec *item1, LUPrec *item2 )
{
// sort the items by their name...
// #if wxCHECK_VERSION(2, 9, 0)
// int ir = wxStricmp( item1->OBCL, item2->OBCL );
// #else
int ir = strcmp( item1->OBCL, item2->OBCL );
// #endif

wxStricmp is wrong here.

There are many different ways in the OCPN code to show or raise up subwindows. The code should be cleaned up for one working way.

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 09-07-2013, 07:13   #23
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,880
Re: Mac Performance Update

Carcode...

Thanks for the patch. We await more

Dave
__________________
bdbcat is offline   Reply With Quote
Old 09-07-2013, 11:35   #24
Registered User
 
sbfreddie's Avatar

Join Date: Mar 2012
Location: Southern Texas, Port Isabel
Boat: I Wish
Posts: 164
Images: 1
Send a message via Skype™ to sbfreddie
Re: Mac Performance Update

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

Thanks for the patch. We await more

Dave
Dave:
You asked if it will work on Snow Leopard (10.6.x). The answer is no because you have built for min OS of 10.7. In order to get a build that includes Snow Leopard you will have to change to min build of 10.6. But this also forces you to add the SDK for 10.6 which does not come with the newer Xcode builds.

Thanks,
Freddie
__________________
sbfreddie is offline   Reply With Quote
Old 09-07-2013, 11:41   #25
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: Mac Performance Update

Freddie...
Do we have to have two builds to support both Snow Leopard an Lion/Mountain Lion or is it OK to have just one (and do we have to build it on SL or is having the 10.6 SDK on a Mountian Lion machine with Xcode 4.6 enough?)
We kind of changed roles - while I got hold of some processor time on a Mac a couple of days ago, Dave's was fried by lightning...

Thanks

Pavel
__________________
nohal is offline   Reply With Quote
Old 09-07-2013, 11:51   #26
Marine Service Provider
 
bdbcat's Avatar

Join Date: Mar 2008
Posts: 4,880
Re: Mac Performance Update

Pavel...

Check this out, especially link from "obviousjim". The download link for 10.6 SDK works for me...

Xcode 4.5 not supporting 10.6 SDK - openFrameworks forum

I guess we can just try the build with 10.6 SDK and see what happens on your machine.

New (to me, ebay) 2009 Mac Mini coming in the mail soon...

Any other dormant Mac hardware donations would be appreciated.

Dave
__________________
bdbcat is offline   Reply With Quote
Old 09-07-2013, 12:29   #27
Registered User
 
CarinaPDX's Avatar

Join Date: Jan 2010
Location: Portland, Oregon, USA
Boat: 31' Cape George Cutter
Posts: 1,673
Re: Mac Performance Update

Have you tried to build for a deployment target of 10.6 with 10.8 SDK? This may work; see here: objective c - Obtaining 10.6 Base SDK for Xcode 4.5.2 - Stack Overflow

I'm happy to test on 10.6 when ready.

Greg
__________________
CarinaPDX is offline   Reply With Quote
Old 09-07-2013, 12:29   #28
Alu
Registered User

Join Date: May 2012
Posts: 8
Re: Mac Performance Update

I tested the version with 10.8.4 / 10.7.4 and the performance improved dramatically.

Thank you
__________________
www.nmeasail.de
Alu is offline   Reply With Quote
Old 09-07-2013, 12:50   #29
Registered User

Join Date: Jul 2010
Location: Monastir, Tunisia
Boat: Amel Sharki
Posts: 1,774
Re: Mac Performance Update

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

Check this out, especially link from "obviousjim". The download link for 10.6 SDK works for me...

Xcode 4.5 not supporting 10.6 SDK - openFrameworks forum

I guess we can just try the build with 10.6 SDK and see what happens on your machine.

New (to me, ebay) 2009 Mac Mini coming in the mail soon...

Any other dormant Mac hardware donations would be appreciated.

Dave
You may keep in mind two things:
- You may use any SDK equal/greater than 10.5 with newest Xcode version as far as you have included older SDKs into the Xcode Bundle.
Path for SDKs in the Xcode Bundle is /Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
- lowest SDK version to be used with wxWidgets2.9.5 is 10.5. Tiger (10.4) is not supported by wxWidgets anymore.

Gerhard
__________________
CarCode is offline   Reply With Quote
Old 09-07-2013, 13:44   #30
Registered User

Join Date: Feb 2010
Location: On the go. Not in Prague.
Posts: 4,016
Re: Mac Performance Update

Anybody actually knows if we need to use 10.6 SDK for the build or setting the Deployment Target to 10.6 is enough as Greg's link suggests? I will try, but have no Snow Leopard system available to test the resulting bundle...
__________________

__________________
nohal is offline   Reply With Quote
Reply

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 15:00.


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.