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

2010-05-18 Thread Michael Diehr
On May 17, 2010, at 6:26 PM, Michael Diehr wrote: > Update: it appears as if instantiating a dummy NSOpenGLView in my master > process helps the issue. > > I'm not clear whether I actually need to go so far as to create the > NSOpenGLView and add it as a subview, or if simply linking with the O

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

2010-05-18 Thread Michael Diehr
On May 17, 2010, at 6:41 PM, Dave Keck wrote: > The user's Energy Saver settings affects which card is used (better > battery life vs. higher performance.) Not sure if that helps you > though, since changing the value on my system requires logging out. According to this: http://codykrieger.com

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

2010-05-17 Thread Michael Diehr
On May 17, 2010, at 6:41 PM, Dave Keck wrote: >> 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

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

2010-05-17 Thread Dave Keck
> 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?

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

2010-05-17 Thread Michael Diehr
Update: it appears as if instantiating a dummy NSOpenGLView in my master process helps the issue. I'm not clear whether I actually need to go so far as to create the NSOpenGLView and add it as a subview, or if simply linking with the OpenGL framework is sufficient. Also - not sure what pixel f

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

2010-05-17 Thread David M. Cotter
http://codykrieger.com/gfxCardStatus/ On May 17, 2010, at 4:10 PM, Michael Diehr wrote: > 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 sound

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

2010-05-17 Thread Michael Diehr
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 w

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

2010-05-04 Thread Noah Desch
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/Lib

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

2010-05-03 Thread Gideon King
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 re

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

2010-05-03 Thread Charles Srstka
On May 3, 2010, at 5:59 PM, Gideon King wrote: > I see from Jens' reply, that I could try DYLD_PRINT_LIBRARIES, but it would > perhaps not be very useful until I know what I am looking for, and we're not > going to update the old version of the application anyway. If anyone does > know if it is

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

2010-05-03 Thread Gideon King
He sends a system profile with the program running and another without it running. Without the program running, it is as follows: Graphics/Displays: NVIDIA GeForce GT 330M: Chipset Model: NVIDIA GeForce GT 330M Type: GPU Bus: PCIe PCIe Lane Width: x16 VRAM (Tot

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

2010-05-03 Thread Jens Alfke
On May 3, 2010, at 2:46 PM, Gideon King wrote: 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 possi

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

2010-05-03 Thread Gideon King
Not particularly. I mean it is a graphics based program, but we don't have animations going on while the program is just sitting there, and we don't use any opengl or anything like that. Even when the user is interacting with it, it's just normal screen redraws - nothing I would have thought wou

My program causes MacBook Pro to use NVidia graphics processor

2010-05-03 Thread Gideon King
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