From: "Chip Davis" Subject: Re: [PATCH 1/7] winemac.drv: Add macdrv_get_gpus() helper. Message-Id: <87dd8ca9ec9744d087fd932445b8dbb3@codeweavers.com> Date: Wed, 24 Apr 2019 15:47:11 +0000 In-Reply-To: References: <000dcee0-600e-3263-4ccf-bcb94d9a9aa1@codeweavers.com> <46EB3F2A-9392-421C-B1BF-30F4EB4B118F@codeweavers.com> <9FAA7CED-9241-4F30-A563-9F22A386D405@codeweavers.com> April 24, 2019 10:40 AM, "Henri Verbeet" wrote: > On Wed, 24 Apr 2019 at 19:52, Ken Thomases wrote: > >> Right, but with automatic graphics switching there are two GPUs that could potentially drive the >> main display. > > This may be a slight tangent, but while early switchable GPUs had both > GPUs connected to the display through a multiplexer, on current setups > only the integrated/weak/low-power GPU is actually connected to the > display, and the other GPU is actually headless. The GPU connected to > the display is then responsible for getting the contents of the other > GPU onto the screen. I'm not sure how accurately that topology is > reflected by the relevant MacOS APIs. I'm not so sure that is in fact how it works on Mac. I remember a change to MoltenVK that was made to use MTLCreateSystemDefaultDevice() in order to force the system to switch to presenting with the discrete GPU, because that performed better when also using it for rendering. Chip