Re: [PATCH v3 0/2] efi/x86: Call set_os() protocol on dual GPU Macs

From: Lukas Wunner
Date: Wed Jul 17 2024 - 14:58:43 EST


On Wed, Jul 17, 2024 at 04:35:15PM +0000, Aditya Garg wrote:
> For the Macs having a single GPU, in case a person uses an eGPU,
> they still need this apple-set-os quirk for hybrid graphics.

I don't quite follow. You mean the integrated graphics are
disabled by EFI firmware if an eGPU is attached?

This sounds like a bug on Apple's part: The panel can be switched
between integrated graphics and discrete graphics, but an external
display can't be switched between eGPU and iGPU. Is the person
affected using the latest EFI firmware update from Apple?

We need more information before we can devise a way to solve the
issue:

- Exact model name
(I'd be surprised if this affected pre-Haswell models)
- Full dmesg output with command line option "dump_apple_properties"
(EFI drivers provide various properties for Thunderbolt-attached
devices and graphics cards, those could be queried to recognize
the situation causing the issue)
- Full lspci output with and without eGPU attached

Perhaps you can open a bug at bugzilla.kernel.org and attach the
files there.

Thanks,

Lukas