Si la pantalla de mi MacBook Pro Retina 2012 está dormida cuando el ordenador cambia de la tarjeta gráfica discreta Nvidia a la integrada Intel, WindowServer se congela. Soy capaz de mover el cursor e incluso de controlar aplicaciones (por ejemplo, de desbloquear iTunes) haciendo clic a ciegas, pero la imagen en pantalla no se actualiza.
Una forma segura de reproducirlo es conectarse al ordenador a través de VNC haciendo que el ordenador cambie a la gráfica discreta. Luego cierro el cliente VNC en mi teléfono y uso una esquina caliente para poner la pantalla en reposo. Cuando el servidor VNC se da cuenta de que el cliente se ha desconectado, vuelve a cambiar a la gráfica integrada, provocando el fallo. Sin embargo, esto no es exclusivo de VNC, ya que puedo desencadenar este error con cualquier aplicación que utilice gráficos discretos.
Aquí está el registro correspondiente:
4/2/14 13:18:53.902 screensharingd[274]: Authentication: SUCCEEDED :: User Name: user :: Viewer Address: 192.168.1.12 :: Type: DH
4/2/14 13:18:54.159 WindowServer[100]: Received display connect changed for display 0x4280382
4/2/14 13:18:54.182 WindowServer[100]: Found 62 modes for display 0x04280382 [36, 26]
4/2/14 13:18:54.206 WindowServer[100]: Received display connect changed for display 0x3f003f
4/2/14 13:18:54.206 WindowServer[100]: Found 1 modes for display 0x003f003f [1, 0]
4/2/14 13:18:54.206 WindowServer[100]: Received display connect changed for display 0x3f0040
4/2/14 13:18:54.207 WindowServer[100]: Found 1 modes for display 0x003f0040 [1, 0]
4/2/14 13:18:54.207 WindowServer[100]: Received display connect changed for display 0x3f0041
4/2/14 13:18:54.207 WindowServer[100]: Found 1 modes for display 0x003f0041 [1, 0]
4/2/14 13:18:54.218 WindowServer[100]: CGXMuxAcknowledge: Posting glitchless acknowledge
4/2/14 13:18:54.229 WindowServer[100]: MPAccessSurfaceForDisplayDevice: Set up page flip mode on display 0x04280382 device: 0x7fd5fd100be0 isBackBuffered: 1 numComp: 3 numDisp: 3
4/2/14 13:18:54.253 WindowServer[100]: Received display connect changed for display 0x4280382
4/2/14 13:18:54.254 WindowServer[100]: Found 1 modes for display 0x04280382 [1, 0]
4/2/14 13:18:58.000 kernel[0]: pci pause: SDXC
4/2/14 13:19:01.261 WindowServer[100]: _CGXSetWindowBackgroundBlurRadius: Invalid window 0xffffffff
4/2/14 13:19:01.282 loginwindow[68]: find_shared_window: WID -1
4/2/14 13:19:01.283 loginwindow[68]: CGSGetWindowTags: Invalid window 0xffffffff
4/2/14 13:19:01.283 loginwindow[68]: find_shared_window: WID -1
4/2/14 13:19:01.283 loginwindow[68]: CGSSetWindowTags: Invalid window 0xffffffff
4/2/14 13:19:01.372 WindowServer[100]: device_generate_desktop_screenshot: authw 0x7fd5fd04fdc0(2000), shield 0x7fd5fae43ba0(2001)
4/2/14 13:19:01.391 WindowServer[100]: device_generate_lock_screen_screenshot: authw 0x7fd5fd04fdc0(2000), shield 0x7fd5fae43ba0(2001)
4/2/14 13:19:01.534 com.apple.launchd.peruser.501[154]: (com.apple.SystemUIServer.agent[167]) The following job tried to hijack the service "com.apple.tsm.uiserver" from this job: 0x7fd1b3609f20.anonymous.loginwindow
4/2/14 13:19:14.139 loginwindow[68]: ERROR | -[LWBuiltInScreenLockAuthLion closeAuthAndReset:] | Attempted to remove an observer when not observing
4/2/14 13:19:14.174 WindowServer[100]: CGXDisplayDidWakeNotification [45457018136]: posting kCGSDisplayDidWake
4/2/14 13:19:14.175 WindowServer[100]: handle_will_sleep_auth_and_shield_windows: Deferring.
4/2/14 13:19:14.320 WindowServer[100]: Received display connect changed for display 0x4280382
4/2/14 13:19:14.341 WindowServer[100]: Found 29 modes for display 0x04280382 [18, 11]
4/2/14 13:19:14.371 WindowServer[100]: Received display connect changed for display 0x4280382
4/2/14 13:19:14.372 WindowServer[100]: Found 1 modes for display 0x04280382 [1, 0]
4/2/14 13:19:14.372 WindowServer[100]: current_mode_index: Failed to find current {ioModeID, ioModeDepth}
4/2/14 13:19:14.386 WindowServer[100]: Received display connect changed for display 0x3f003f
4/2/14 13:19:14.386 WindowServer[100]: Found 1 modes for display 0x003f003f [1, 0]
4/2/14 13:19:14.386 WindowServer[100]: Received display connect changed for display 0x3f0040
4/2/14 13:19:14.386 WindowServer[100]: Found 1 modes for display 0x003f0040 [1, 0]
4/2/14 13:19:14.386 WindowServer[100]: Received display connect changed for display 0x3f0041
4/2/14 13:19:14.387 WindowServer[100]: Found 1 modes for display 0x003f0041 [1, 0]
4/2/14 13:19:14.400 WindowServer[100]: CGXMuxAcknowledge: Posting glitchless acknowledge
4/2/14 13:19:14.401 WindowServer[100]: CGXMuxAcknowledge: Posting immediate acknowledge
4/2/14 13:19:14.487 WindowServer[100]: MPAccessSurfaceForDisplayDevice: Set up page flip mode on display 0x04280382 device: 0x7fd5fd100be0 isBackBuffered: 1 numComp: 3 numDisp: 3
4/2/14 13:19:14.490 WindowServer[100]: Received display connect changed for display 0x4280382
4/2/14 13:19:14.491 WindowServer[100]: Found 1 modes for display 0x04280382 [1, 0]
4/2/14 13:19:14.491 WindowServer[100]: Display 0x04280382 changed state to offline
4/2/14 13:19:14.525 WindowServer[100]: No display devices are on-line. Switching to virtual display mode
4/2/14 13:19:14.526 WindowServer[100]: Received display connect changed for display 0x3f003f
4/2/14 13:19:14.526 WindowServer[100]: Found 1 modes for display 0x003f003f [1, 0]
4/2/14 13:19:14.526 WindowServer[100]: Received display connect changed for display 0x3f0040
4/2/14 13:19:14.526 WindowServer[100]: Found 1 modes for display 0x003f0040 [1, 0]
4/2/14 13:19:14.526 WindowServer[100]: Received display connect changed for display 0x3f0041
4/2/14 13:19:14.526 WindowServer[100]: Found 1 modes for display 0x003f0041 [1, 0]
4/2/14 13:19:14.527 Finder[168]: CGSCopyDisplayColorSpace: Invalid display 0x04280382
4/2/14 13:19:14.527 gfxCardStatus[218]: CGSCopyDisplayColorSpace: Invalid display 0x04280382sa
4/2/14 13:19:14.543 Kotoeri[235]: CGSCopyDisplayColorSpace: Invalid display 0x04280382
4/2/14 13:19:14.543 Kotoeri[235]: CGSCopyDisplayColorSpace: Invalid display 0x04280382
4/2/14 13:19:14.543 WindowServer[100]: Display 0x41dc9d01: GL mask 0x2; bounds (0, 0)[1280 x 1024], 2 modes available
off-line, enabled, built-in, Vendor 756e6b6e, Model 76697274, S/N 0, Unit 1, Rotation 0
UUID 0xffffffffffffffffffffffffffffffff
4/2/14 13:19:14.544 WindowServer[100]: Display 0x41dc9d05: GL mask 0x20; bounds (0, 0)[1280 x 1024], 2 modes available
off-line, enabled, built-in, Vendor 756e6b6e, Model 76697274, S/N 0, Unit 5, Rotation 0
UUID 0xffffffffffffffffffffffffffffffff
4/2/14 13:19:14.544 WindowServer[100]: Display 0x41dc9d04: GL mask 0x10; bounds (0, 0)[1280 x 1024], 2 modes available
off-line, enabled, built-in, Vendor 756e6b6e, Model 76697274, S/N 0, Unit 4, Rotation 0
UUID 0xffffffffffffffffffffffffffffffff
4/2/14 13:19:14.544 WindowServer[100]: Display 0x41dc9d03: GL mask 0x8; bounds (0, 0)[1280 x 1024], 2 modes available
off-line, enabled, built-in, Vendor 756e6b6e, Model 76697274, S/N 0, Unit 3, Rotation 0
UUID 0xffffffffffffffffffffffffffffffff
4/2/14 13:19:14.544 WindowServer[100]: Display 0x41dc9d02: GL mask 0x5; bounds (0, 0)[1440 x 900], 27 modes available
Main, Active, on-line, enabled, built-in, Vendor 756e6b6e, Model 76697274, S/N 0, Unit 2, Rotation 0
UUID 0xf7e52f93b4ac312e87ed39669f5c08b8
4/2/14 13:19:14.545 Melo[238]: CGSCopyDisplayColorSpace: Invalid display 0x04280382
4/2/14 13:19:14.545 Melo[238]: CGSCopyDisplayColorSpace: Invalid display 0x04280382
4/2/14 13:19:14.563 NotificationCenter[189]: CGSCopyDisplayColorSpace: Invalid display 0x04280382
4/2/14 13:19:14.563 NotificationCenter[189]: CGSCopyDisplayColorSpace: Invalid display 0x04280382
4/2/14 13:19:14.563 NotificationCenter[189]: CGSCopyDisplayColorSpace: Invalid display 0x04280382
4/2/14 13:19:14.563 NotificationCenter[189]: CGSCopyDisplayColorSpace: Invalid display 0x04280382
4/2/14 13:19:14.571 WindowServer[100]: Display added
4/2/14 13:19:14.571 WindowServer[100]: Display removed
4/2/14 13:19:14.573 WindowServer[100]: Display 0x41dc9d02: GL mask 0x5; bounds (0, 0)[1440 x 900], 27 modes available
Main, Active, on-line, enabled, built-in, Vendor 756e6b6e, Model 76697274, S/N 0, Unit 2, Rotation 0
UUID 0xf7e52f93b4ac312e87ed39669f5c08b8
4/2/14 13:19:14.573 WindowServer[100]: Display 0x41dc9d01: GL mask 0x2; bounds (2464, 0)[1 x 1], 2 modes available
off-line, enabled, built-in, Vendor 756e6b6e, Model 76697274, S/N 0, Unit 1, Rotation 0
UUID 0xffffffffffffffffffffffffffffffff
4/2/14 13:19:14.573 WindowServer[100]: Display 0x41dc9d05: GL mask 0x20; bounds (2465, 0)[1 x 1], 2 modes available
off-line, enabled, built-in, Vendor 756e6b6e, Model 76697274, S/N 0, Unit 5, Rotation 0
UUID 0xffffffffffffffffffffffffffffffff
4/2/14 13:19:14.573 WindowServer[100]: Display 0x41dc9d04: GL mask 0x10; bounds (2466, 0)[1 x 1], 2 modes available
off-line, enabled, built-in, Vendor 756e6b6e, Model 76697274, S/N 0, Unit 4, Rotation 0
UUID 0xffffffffffffffffffffffffffffffff
4/2/14 13:19:14.573 WindowServer[100]: Display 0x41dc9d03: GL mask 0x8; bounds (2467, 0)[1 x 1], 2 modes available
off-line, enabled, built-in, Vendor 756e6b6e, Model 76697274, S/N 0, Unit 3, Rotation 0
UUID 0xffffffffffffffffffffffffffffffff
4/2/14 13:19:16.572 WindowServer[100]: **DMPROXY** (2) Found `/System/Library/CoreServices/DMProxy'.
4/2/14 13:19:16.609 WindowServer[100]: Display 0x41dc9d02: Unit 2; ColorProfile { 3, "Display"}
4/2/14 13:19:16.630 WindowServer[100]: Display 0x41dc9d02: Unit 2; ColorProfile { 3, "Display"}; TransferFormula (1.000000, 1.000000, 1.000000)
4/2/14 13:19:16.655 WindowServer[100]: Display 0x41dc9d02: Unit 2; ColorProfile { 3, "Display"}; TransferFormula (1.000000, 1.000000, 1.000000)
4/2/14 13:19:21.043 login[283]: USER_PROCESS: 283 ttys001
4/2/14 13:19:38.053 sudo[291]: user : TTY=ttys000 ; PWD=/Users/user ; USER=root ; COMMAND=/usr/bin/killall loginwindow
Puntos de interés: 13:18:53, me conecto vía VNC. 13:19:14, el ordenador intenta cambiar a la gráfica Intel y obtiene un montón de errores. 13:19:38, mato a loginscreen a través de SSH para que WindowServer se reinicie.
Esta es una instalación limpia de 10.9.2 hecha ayer usando la partición de recuperación. El día anterior tuve una instalación de 10.9 que actualicé desde 10.8 y 10.7 que no tuvo este problema, así que no creo que sea un problema de hardware. No tengo extensiones de kernel de terceros instaladas.