Mac OS X - Mountain Lion w/ XBMC Eden two issues

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
legenderry Offline
Junior Member
Posts: 3
Joined: Jul 2012
Reputation: 0
Post: #1
I am working on a MacBook Pro w/ Retina Display running Mountain Lion (Mac OS X 10.8). I am having two separate issues with it, which I haven't been able to locate any solutions to as of yet. So, I now post this thread and hope someone is able to provide some sort of solution to my issues.

1.) When XBMC starts up I often get a message about having to "reopen" the application. I have the option to "Reopen" or "Don't reopen" and XBMC starts up when I select one of these - but it is not static. Sometimes I have to select "Don't reopen" and sometimes I have to select "Reopen" to make the application start up. Kind of a 50/50 quiz show builtin to the application. When the application starts I have no trouble using it so far - no crashes or weird hangups or anything.

2.) When i have XBMC opened on (let's say) desktop 3, and while idling in the menus I swipe to desktop 1 and read up on a forum or something, I notice the CPU usage for the application shoots up from 4-6% to 30-50% in the activity monitor. I have fiddle about with this, making sure I could reproduce the issue, and indeed it is EVERY time I change away from the desktop running XBMC the CPU usage instantly shoots up.

I have supplied a paste of xbmc.log from a startup where both issues were present. http://pastebin.com/9uxzuyhi

If you need anymore information to help me solve the issue please don't hesitate to comment on it and I will do my best to supply any information necessary.

Thanks
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 10,657
Joined: Feb 2011
Reputation: 112
Location: germany
Post: #2
1. Sounds like the GateKeeper feature of ML. In ML only signed apps from the AppStore are allowed to be started normally. XBMC is not a signed app (because we don't own a proper certificate for that). So you have to allow all Applications in Systemsettings->Security->Gatekeeper - see http://www.macrumors.com/2012/02/16/os-x...y-default/ - but it is only a guess - because i have never seen such a dialog. (if gatekeeper isn't the issue please post a screenshot of the message).

2. Read up dirty region in our wiki http://wiki.xbmc.org/index.php?title=Dirty_regions

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
legenderry Offline
Junior Member
Posts: 3
Joined: Jul 2012
Reputation: 0
Post: #3
Hi, Memphiz

None of the above seems spot on, I'm afraid. The Gatekeeper is set to allow all applications at the moment - I hit that snag on the new OS quite quickly. I have supplied screenshots of the error I receive from time to time.

http://imgur.com/gAgos&omBBJ
http://imgur.com/gAgos&omBBJ#1

The dirty region did nothing for my CPU usage at all. Except, now I can hear a faint noise from the machine when it updates - maybe it was there before too I just didn't notice it, but it sounds a bit like my old Asus motherboard that had some coilwhine when writing to memory. Only when on another desktop and the XBMC application is opened though.
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 10,657
Joined: Feb 2011
Reputation: 112
Location: germany
Post: #4
click the "report" button and post the complete crashlog on pastebin.com and put the link in here.

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
legenderry Offline
Junior Member
Posts: 3
Joined: Jul 2012
Reputation: 0
Post: #5
I got the report right here: http://pastebin.com/yG3xvbRU

Could it be an issue with the Retina display Macbook Pro model perhaps Confused
(This post was last modified: 2012-08-01 00:16 by legenderry.)
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 10,657
Joined: Feb 2011
Reputation: 112
Location: germany
Post: #6
Could you also post a xbmc.log (not sure if one gets generated because the crash is very early). Well of course it can be due to the retina display. But normally apple should hold this special stuff away from us coders and it "should" just work without us doing anything special *grrr*.

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 10,657
Joined: Feb 2011
Reputation: 112
Location: germany
Post: #7
Ohh i saw that davilla fixed that crash. Please try the nightly build tomorrow and see how it behaves.

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
find quote
mniewiera Offline
Junior Member
Posts: 5
Joined: Jan 2010
Reputation: 0
Post: #8
Hi legenderry,

i can relate to your problem #2.
but this is not a problem with mountain lion. this happend with lion and snow leopard too.
as soon as you switch desktops, or when you switch from full screen to windowed mode and than switch the desktop the cpu/gpu usage increases drastically.
find quote
Memphiz Offline
Team-XBMC Developer
Posts: 10,657
Joined: Feb 2011
Reputation: 112
Location: germany
Post: #9
<gui>
<algorithmdirtyregions>1</algorithmdirtyregions>
<nofliptimeout>1000</nofliptimeout>
</gui>

added this in my advancedsettings.xml got the cpu usage to 5% when swtiching desktops. Just be sure xbmc is idle (no video playing or so - just sitting somwhere in a menu). See "dirty regions" in the wiki again. If you are sitting in the main menu be sure to turn off the news ticker. Also the debugging printouts may lead to excessive rendering/cpu increase when in background.

AppleTV2/iPhone/iPod: HowTo find debug logs and everything else which the devs like so much: click here
HowTo setup NFS for XBMC: Wiki NFS
HowTo configure avahi (zeroconf): Wiki Avahi
READ THE IOS FAQ!: iOS FAQ
(This post was last modified: 2012-08-02 23:56 by Memphiz.)
find quote