This will prevent the operating system from switching between graphics processors to save energy, which can cause errors during playback or recording.

  • Open System Preferences
  • Go to Energy Saver
  • Uncheck automatic graphics switching