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

From: Aditya Garg
Date: Tue Jul 23 2024 - 12:25:35 EST


Sending this message again as for some reason it got sent only to Lukas:

Full model name: Mac mini (2018) (Macmini8,1)

The drive link below has the logs:

https://drive.google.com/file/d/1P3-GlksU6WppvzvWC0A-nAoTZh7oPPxk/view?usp=drive_link

________________________________________
From: Lukas Wunner <lukas@xxxxxxxxx>
Sent: 18 July 2024 00:28
To: Aditya Garg
Cc: Ard Biesheuvel; linux-efi@xxxxxxxxxxxxxxx; linux-kernel@xxxxxxxxxxxxxxx; Ard Biesheuvel; Hans de Goede; Kerem Karabay; Orlando Chamberlain; sharpenedblade@xxxxxxxxx
Subject: Re: [PATCH v3 0/2] efi/x86: Call set_os() protocol on dual GPU Macs

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