On Nov 17, 2013, at 10:55 PM, Nathan Scott <nathans@xxxxxxxxxx> wrote:
>
> ----- Original Message -----
>> On Nov 16, 2013, at 1:05 PM, Zsolt Ferenczy <zsolt@xxxxxxx> wrote:
>>
>>> Hi,
>>>
>>> I have been running PCP on MacOS for quite some time going back to 10.6.
>>> Currently running PCP 3.8.6 and GUI 1.5.11 on 10.9 with Qt 4.8.3. I
>>> realize that version of Qt is a bit old but it has been working fine until
>>> 10.9. The problem I have is monitoring live systems in pmchart, the update
>>> of the chart freezes almost straight away on 10.9.
>>>
>>> My first question is, what version of Qt is recommended for PCP/Mac these
>>> days? Then, is PCP known to work with 10.9?
>
> Qt versions from 4.4 onward are expected to work.
>
>> My bad, Qt 4.8.3 is included with PCP in /Library/PCP/Frameworks. The fact
>> that I happened to have the full 4.8.3 SDK installed is not relevant. Sorry.
>>
>> The problem under 10.9 is the new power management framework. Need to turn
>> off App Nap for pmtime.app for things to run correctly.
>
> Oh, that's interesting (and bad news for us). How ... very wierd. I don't
> have access to a 10.9 machine, but from searching the webs it looks like we
> might be able to disable this with:
> "defaults write com.sgi.pkg.pcp NSAppSleepDisabled -bool YES"
> or ... hmm, actually more likely:
> "defaults write com.aconex.pkg.pcp-gui NSAppSleepDisabled -bool YES"
> Is that anything like the approach you took?
I simply used Finder, command-I, checked "Prevent App Nap". I am sure that is
doing defaults write under the covers or something similar.
>
> It may be possible for us to flick that switch by default, via one of the XML
> files that builds the Mac packages - perhaps build/mac/installer-info? Could
> you try a build (in the git tree, its "./Makepkgs --verbose") and experiment
> with changes in that file? (I'm just guessing here, but maybe it will work)
>
Sure, will poke around and see how it can be set by default.
--
Zsolt
|