Contribute
Register

<< Solved >> Comet Lake 10900k: can't enable iGPU for headless mode

Joined
Apr 6, 2020
Messages
75
Motherboard
MSI Z590 Torpedo
CPU
i9-10900K
Graphics
RX 6900 XT
Mac
  1. iMac
Hi there,

hopefully this counts as "graphics".
As the title says I'm having trouble making the iGPU work in headless mode. I have a 6900 XT as the main display output, but I need the iGPU in headless mode in order to make sidecar work. I followed Dortania's guide and added the entries exactly as shown here https://dortania.github.io/OpenCore-Install-Guide/config.plist/comet-lake.html#deviceproperties

So as for the path I added PciRoot(0x0)/Pci(0x2,0x0) and according to the guide the only key I need is AAPL,ig-platform-id with 0300C89B. It says "Used when the Desktop iGPU is only used for computing tasks and doesn't drive a display". It also says "Headless framebuffers (where the dGPU is the display out) do not need framebuffer-patch-enable and framebuffer-stolenmem" so I left them out (tested with them too, but that didn't do either).

I enabled both GPUs in the BIOS, while the dGPU remains as the primary output. The iGPU is set to 64 MB.

And yet macOS doesn't recognize my iGPU at all and the iPad is only showing a black screen when trying to use sidecar. I don't see the iGPU in my system report either. I have absolutely no idea why it isn't working because with my old setup (Z370 + 8700k) I had no trouble enabling the iGPU at all and it was the exact same procedure.

Any ideas?

iMac 20,2
6900 XT
MSI Z590 Torpedo
Intel 10900k Comet Lake
macOS Monterey 12.5
OpenCore 0.8.3

Here's my config file (with removed serial numbers and stuff) if anyone bothers to look into it. It would be very much appreciated. Thanks!
 

Attachments

  • config.plist
    52.8 KB · Views: 54

Edhawk

Moderator
Joined
Aug 2, 2013
Messages
4,910
Motherboard
Asus TUF Z390 Gaming
CPU
i5-8500
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Air
  3. MacBook Pro
Mobile Phone
  1. iOS
The IGPU doesn't show in System Information > Graphics/Displays when it is set in Headless mode, i.e. with an empty framebuffer. Only the discrete GPU is shown, along with the display(s) connected.

You might want to try using a different framebuffer, the one you are using is the 'Default' empty framebuffer, it is not the only headless Desktop framebuffer you can use.

0x9BC50003 would be the most logical to use, as your i9-10900K IGPU has the device ID 0x9BC5.

When entering this framebuffer you have to do the reverse-pair swap so you use 0300C59B in the config.plist.

You could also try 0x9BC40003 - 0300C49B, as that is another Comet Lake empty framebuffer for a Desktop system.
 
Joined
Apr 12, 2021
Messages
693
Motherboard
Asus z590 ROG Maximus XIII Hero
CPU
i9-11900K
Graphics
RX 6600 XT
Mac
  1. MacBook Pro
  2. Mac mini
  3. Mac Pro
Classic Mac
  1. Centris
  2. Power Mac
Mobile Phone
  1. iOS
My experience with a similar config (i9-10900K, z590, W5700 Pro, iMac20,2) was to use:

PciRoot(0x0)/Pci(0x2,0x0)
framebuffer-patch-enable Data <01000000>
AAPL,ig-platform-id Data <07009B3E>

And bootarg:

agdpmod=pikera

But no other WEG config.

The UHD 630 appeared in System Report alongside the Radeon and was usable via VDA.

I never tried Sidecar.
 
Last edited:
Joined
Apr 6, 2020
Messages
75
Motherboard
MSI Z590 Torpedo
CPU
i9-10900K
Graphics
RX 6900 XT
Mac
  1. iMac
Oh I had no idea there are other framebuffers that work for this CPU as my search results always referred to 0300C89B.
Thank you guys, will try and report back!

Update:
0300C59B didn't work either, but 7009B3E did! Sidecar is working now!

I haven't changed anything else. I still left out the framebuffer patch, so apparently not needed after all.

My UHD 630 still isn't showing in system report, but I think it's due to what Edhawk said.
Maybe it was different for c-o-pr because he used the framebuffer patch?
Not that it matters though.

Anyway, it's flawless. I finally get to use my iPad as a drawing tablet when working from home just like in the office.
Thank you guys!
 
Last edited:
Joined
May 10, 2011
Messages
2,731
Motherboard
Gigabyte B550 Vision D
CPU
Ryzen 5900X
Graphics
RX 6800
Mac
  1. iMac
  2. MacBook
  3. MacBook Air
  4. MacBook Pro
  5. Mac mini
  6. Mac Pro
Classic Mac
  1. Power Mac
  2. PowerBook
Mobile Phone
  1. iOS
Oh I had no idea there are other framebuffers that work for this CPU as my search results always referred to 0300C89B.
Thank you guys, will try and report back!

Update:
0300C59B didn't work either, but 7009B3E did! Sidecar is working now!

I haven't changed anything else. I still left out the framebuffer patch, so apparently not needed after all.

My UHD 630 still isn't showing in system report, but I think it's due to what Edhawk said.
Maybe it was different for c-o-pr because he used the framebuffer patch?
Not that it matters though.

Anyway, it's flawless. I finally get to use my iPad as a drawing tablet when working from home just like in the office.
Thank you guys!
Good work on the IGPU! When setting up the Comet Lake chipset on macOS unfortunately it’s a little more complex. That’s because depending on the OS and CPU you are using, the settings differ. On High Sierra up to Catalina I generally set it to spoof Coffee Lake CPUID and IGPU. On Big Sur onwards I disable CPUID spoofing ie. leave it blank but use either 07009BC8 for i5 or 07009BC5 for the i9 10900K.
 
Joined
Apr 6, 2020
Messages
75
Motherboard
MSI Z590 Torpedo
CPU
i9-10900K
Graphics
RX 6900 XT
Mac
  1. iMac
Guys, another question. When the iGPU is in headless mode, is it normal that macOS needs almost a minute to boot up? Not sure if it's literally a minute, but it's definitely much much longer than before. I'd say it takes twice as long now.
 
Joined
Mar 30, 2013
Messages
214
Motherboard
Asus TUF Gaming Z590 Plus WiFi
CPU
i9-10900
Graphics
RX 5700 XT
Mac
  1. MacBook Pro
  2. Mac Pro
Mobile Phone
  1. iOS
Guys, another question. When the iGPU is in headless mode, is it normal that macOS needs almost a minute to boot up? Not sure if it's literally a minute, but it's definitely much much longer than before. I'd say it takes twice as long now.
add agdpmod=pikera to NVRAM as bootstring as @c-o-pr stated will make it faster.
 
Joined
Apr 12, 2021
Messages
693
Motherboard
Asus z590 ROG Maximus XIII Hero
CPU
i9-11900K
Graphics
RX 6600 XT
Mac
  1. MacBook Pro
  2. Mac mini
  3. Mac Pro
Classic Mac
  1. Centris
  2. Power Mac
Mobile Phone
  1. iOS
Sry, to be clear,
agdpmod=pikera
gets AMD eGPU working

MacOS / Whatevergreen knows what to do with the Comet Lake iGPU regarding VDA/Quicksync (headless) without additional config, assuming a compatible SMBIOS e.g., iMac20,2

As to delays re GPU, I've never had anything to say about that, and I am not an expert on hack config at all.

I do have experience using z590 + 10900K so that's why I know that iGPU works natively.

Hth
 
Joined
May 10, 2011
Messages
2,731
Motherboard
Gigabyte B550 Vision D
CPU
Ryzen 5900X
Graphics
RX 6800
Mac
  1. iMac
  2. MacBook
  3. MacBook Air
  4. MacBook Pro
  5. Mac mini
  6. Mac Pro
Classic Mac
  1. Power Mac
  2. PowerBook
Mobile Phone
  1. iOS
Guys, another question. When the iGPU is in headless mode, is it normal that macOS needs almost a minute to boot up? Not sure if it's literally a minute, but it's definitely much much longer than before. I'd say it takes twice as long now.
To reduce the delay for the 6900XT we need to add in SSDT-BRG.aml & SSDT-XSPI.aml. We also need to add:

Key: CFG,CFG_USE_AGDC
Value: 01000000
Type: DATA

and

agdpmod=pikera swd_panic=1 forceRenderStandby=0
for the boot-arg. This will reduce the delay.
 
Joined
Apr 6, 2020
Messages
75
Motherboard
MSI Z590 Torpedo
CPU
i9-10900K
Graphics
RX 6900 XT
Mac
  1. iMac
Thank you guys, will try and report back!
 
Top