RE: My program causes MacBook Pro to use NVidia graphics
RE: My program causes MacBook Pro to use NVidia graphics
- Subject: RE: My program causes MacBook Pro to use NVidia graphics
- From: Keith Blount <email@hidden>
- Date: Tue, 18 May 2010 02:28:53 -0700 (PDT)
Interesting - I only just came across this thread, but one of my users reported exactly the same thing a few weeks back. As the user just left the comment via Twitter and I never received anything else, until I saw this thread it had gone on my curious-must-look-at-that-in-the-future list. The strange thing is, my app does no intensive drawing at all - it's a writing app, and although it has some custom views, there are no animation effects or anything else that requires special graphics processing. So I tried Jens' suggestion and added "DYLD_PRINT_LIBRARIES" as an environment variable, and sure enough my app is linking against the OpenGL framework too. Is this, as Noah says, the reason for my program causing the switch to the NVidia graphics chip? I'm not explicitly linking against the OpenGL framework, though - does this mean that another framework I am linking against is invoking it? (I link against the QuickLook, AddressBook, Carbon, QTKit,
QuickTime, Quartz, QuartzCore, WebKit and SystemConfiguration frameworks.)
Is this something I should be concerned about? As I'm not explicitly calling anything that should do this, I'm assuming it's just a quirk of the system caused by one of the frameworks I'm linking against, in which case I assume there's not much I could do anyway.
Thanks and all the best,
Keith
--- ORIGINAL MESSAGE ---
Hi, I've had a query from a user of my software, and he says that when he runs it, his MacBook Pro switches to use the NVidia graphics chip.
I haven't done anything in my program to specifically force that (and I'm not sure whether it is possible to in normal Cocoa code). Is there something that I specific I may have in my application that would force it to use that graphics card?
Is there some way this user could run my program and force it to use the other graphics processor?
Thanks
Gideon
_______________________________________________
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