I don't know if this is related but when my system switches to the internal GPU, I get the following messages in the log:
2/4/15 6:19:17.420 PM WindowServer[118]: Received display connect changed for display 0x42803c2
2/4/15 6:19:17.441 PM WindowServer[118]: Found 27 modes for display 0x042803c2 [27, 0]
2/4/15 6:19:17.468 PM WindowServer[118]: MPAccessSurfaceForDisplayDevice: Set up page flip mode on display 0x042803c2 device: 0x7f91b9f065f0 isBackBuffered: 1 numComp: 3 numDisp: 3
2/4/15 6:19:17.475 PM WindowServer[118]: CGXMuxAcknowledge: Posting glitchless acknowledge
2/4/15 6:19:17.554 PM WindowServer[118]: Received display connect changed for display 0x42803c2
2/4/15 6:19:17.554 PM WindowServer[118]: Found 1 modes for display 0x042803c2 [1, 0]
2/4/15 6:19:17.554 PM WindowServer[118]: Received display connect changed for display 0x3f003f
2/4/15 6:19:17.555 PM WindowServer[118]: Found 1 modes for display 0x003f003f [1, 0]
2/4/15 6:19:17.555 PM WindowServer[118]: Received display connect changed for display 0x3f0040
2/4/15 6:19:17.555 PM WindowServer[118]: Found 1 modes for display 0x003f0040 [1, 0]
2/4/15 6:19:17.555 PM WindowServer[118]: Received display connect changed for display 0x3f0041
2/4/15 6:19:17.555 PM WindowServer[118]: Found 1 modes for display 0x003f0041 [1, 0]
and when I switch to the discrete GPU, I get
2/4/15 6:19:30.493 PM WindowServer[118]: Received display connect changed for display 0x42803c2
2/4/15 6:19:30.512 PM WindowServer[118]: Found 27 modes for display 0x042803c2 [27, 0]
2/4/15 6:19:30.537 PM WindowServer[118]: Received display connect changed for display 0x3f003f
2/4/15 6:19:30.538 PM WindowServer[118]: Found 1 modes for display 0x003f003f [1, 0]
2/4/15 6:19:30.538 PM WindowServer[118]: Received display connect changed for display 0x3f0040
2/4/15 6:19:30.538 PM WindowServer[118]: Found 1 modes for display 0x003f0040 [1, 0]
2/4/15 6:19:30.538 PM WindowServer[118]: Received display connect changed for display 0x3f0041
2/4/15 6:19:30.538 PM WindowServer[118]: Found 1 modes for display 0x003f0041 [1, 0]
2/4/15 6:19:30.540 PM WindowServer[118]: MPAccessSurfaceForDisplayDevice: Set up page flip mode on display 0x042803c2 device: 0x7f91b9f065f0 isBackBuffered: 1 numComp: 3 numDisp: 3
2/4/15 6:19:30.547 PM WindowServer[118]: CGXMuxAcknowledge: Posting glitchless acknowledge
2/4/15 6:19:30.577 PM WindowServer[118]: Received display connect changed for display 0x42803c2
2/4/15 6:19:30.577 PM WindowServer[118]: Found 1 modes for display 0x042803c2 [1, 0]