• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: My program causes MacBook Pro to use NVidia graphics processor
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: My program causes MacBook Pro to use NVidia graphics processor


  • Subject: Re: My program causes MacBook Pro to use NVidia graphics processor
  • From: Michael Diehr <email@hidden>
  • Date: Mon, 17 May 2010 16:10:57 -0700

I'm in rather the opposite boat -- my app does NOT trigger the switch to NVIDIA, and my OpenGL calls fail (actually, it's more complicated that this as it's a screensaver and a helper app) but it sounds like if I simply link my bundle to one of the GL frameworks (even if I don't need it?) that will auto-trigger the NVIDIA usage?

I don't suppose apple has provided an API for an app to explicitly ask for one or the other?   I see code here to detect and switch, but it looks like it's reverse-engineerd and that's always scary...

http://github.com/codykrieger/gfxCardStatus




On May 4, 2010, at 8:58 PM, Noah Desch wrote:

>
>
> Well your list includes:
>
> /System/Library/Frameworks/OpenGL.framework/Resources//GLRendererFloat.bundle/GLRendererFloat
> /System/Library/Frameworks/OpenGL.framework/Resources/GLEngine.bundle/GLEngine
> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib
> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib
> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib
> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLProgrammability.dylib
> /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib
> /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
>
> So I'm guessing that would do it. As to why you'd be linking against these, I can't answer.
>
> -Noah
>
>
>
>
> On May 3, 2010, at 9:08 PM, Gideon King wrote:
>
>> On 04/05/2010, at 10:14 AM, Charles Srstka wrote:
>>
>>> If you posted the results to the list, it could be very useful, as someone may see something in there that they recognize.
>>>
>>
>> OK - in case it is useful, here are the results of running the app with that setting, and sorting the output and removing duplicates. The first group is the ones that were loaded at startup, and the second group are the new ones that were loaded as I played with the app for a while.
> _______________________________________________
>
> Cocoa-dev mailing list (email@hidden)
>
> Please do not post admin requests or moderator comments to the list.
> Contact the moderators at cocoa-dev-admins(at)lists.apple.com
>
> Help/Unsubscribe/Update your Subscription:
>
> This email sent to email@hidden

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: My program causes MacBook Pro to use NVidia graphics processor
      • From: Dave Keck <email@hidden>
    • Re: My program causes MacBook Pro to use NVidia graphics processor
      • From: Michael Diehr <email@hidden>
    • Re: My program causes MacBook Pro to use NVidia graphics processor
      • From: "David M. Cotter" <email@hidden>
References: 
 >My program causes MacBook Pro to use NVidia graphics processor (From: Gideon King <email@hidden>)
 >Re: My program causes MacBook Pro to use NVidia graphics processor (From: Gideon King <email@hidden>)
 >Re: My program causes MacBook Pro to use NVidia graphics processor (From: Gideon King <email@hidden>)
 >Re: My program causes MacBook Pro to use NVidia graphics processor (From: Charles Srstka <email@hidden>)
 >Re: My program causes MacBook Pro to use NVidia graphics processor (From: Gideon King <email@hidden>)
 >Re: My program causes MacBook Pro to use NVidia graphics processor (From: Noah Desch <email@hidden>)

  • Prev by Date: Re: Re: Why I can't see my localized nib?
  • Next by Date: Re: My program causes MacBook Pro to use NVidia graphics processor
  • Previous by thread: Re: My program causes MacBook Pro to use NVidia graphics processor
  • Next by thread: Re: My program causes MacBook Pro to use NVidia graphics processor
  • Index(es):
    • Date
    • Thread