Contribute
Register

AMD/Nvidia Primary Display with AirPlay Mirroring

Status
Not open for further replies.

toleda

Moderator
Joined
May 19, 2010
Messages
22,845
Motherboard
Asus Maximus VII Impact
CPU
Core i7-4770K
Graphics
RX 560 + HD4600
Mac
  1. iMac
  2. MacBook Pro
  3. Mac mini
Classic Mac
  1. 512K
  2. LC
  3. Power Mac
Mobile Phone
  1. iOS
AMD/Nvidia Primary Display with AirPlay Mirroring

11/12/18 - DEPRECATED

See [Guide] Intel Framebuffer patching using WhateverGreen

Experimental, make a bootable backup before attempting. Not all configurations have been tested.

macOS with AMD/Nvida graphics as the primary display. No motherboard/integrated graphics display(s). BIOS/Boot screens and AirPlay Mirroring supported with appropriate system definition.

This technique may cause boot failure with no integrated graphics display on 10.13, 10.12 or 10.11; remove AirPlay framebuffer injection and set BIOS/.../Primary Display or Init Display to IGPU.

For both Intel and AMD/Nvidia graphics, see Integrated and Discrete Graphics, Working Together

Change Log
v2.0 - 11/25/2017 - High Sierra

v1.3 - 10/23/2014 - Yosemite
v1.2 - 3/24/2014 - Add dsdt injection
v1.1 - 3/21/2014 - Chimera Injection Edit
v1.0 - 12/10/2013 - Release

Discrete Graphics
  • AMD: Vega, RX, R9, R7, HD7xxx, HD6xxx, HD5xxx
  • Nvidia: GT/S/X 10xx, 9xx, 7xx, 6xx, 5xx, 4xx
Requirements
  1. macOS:
    • High Sierra/10.13 or newer
    • Sierra/10.12 or newer
    • Yosmite/10.11 or newer
    • Yosemite/10.10 or newer
    • Mavericks/10.9 or newer
    • Mountain Lion/10.8.5: unstable, only Nvidia/HD4600 works
  2. Boot Display
    • Connected to AMD/Nvidia graphics card
    • No display connected to motherboard/Intel graphics
  3. Recognized AirPlay device
    • AppleTV - Gen 2/3/4/4K
Settings
  1. BIOS/AMI/Advanced/System Agent/Enable Integrated Graphics
    1. Set PCIE/PEG (examples)
      • Init Display First: PCIE/PEG
      • Primary Display: PCIE/PEG
  2. HD630/200 Series/Kaby Lake
    1. Framebuffer: IGPlatformID=59120003
    2. SysDef: imac18
  3. HD530/100 Series/Skylake
    1. Framebuffer: IGPlatformID=19120001
    2. SysDef: imac17
  4. HD6200/8 Series/9 Series/Broadwell - Not available
  5. HD4600/8 Series/9 Series/Haswell
    1. Framebuffer: IGPlatformID=04120004
    2. SysDef: macbookpro11, macbookair6, imac14
  6. HD4000/7Series/Ivy Bridge
    1. Framebuffer: IGPlatformID=01620007
    2. SysDef: macbookpro9, macbookair5 imac13, macmini6
  7. HD3000/6 Series/Sandy Bridge
    1. Framebuffer: Default
    2. SysDef: macbookpro8, macbookair4, imac12, macmini5
Installation (Step 1 or Step 2, not both)
  1. Clover Settings (with ssdt/AirPlay, see 2.)
    1. Clover/config.plist/
      1. Intel AirPlay framebuffer injection (select one method, not both)
        1. Graphics/
          1. Inject/Intel/YES
          2. ig-platform-id/
            • HD630: 59120003
            • HD530: 19120001
            • HD4600: 04120004
            • HD4000: 01620007
        2. ssdt/AirPlay
          1. Remove config.plist/ACPI/DSDT/Patches/Rename GFX0 to IGPU
          2. install ssdt to EFI/CLOVER/ACPI/patched/
      2. AMD only (Credit: carpentryplus25)
        1. CLOVER/config.plist/Graphics/Inject/ATI/YES
        2. CLOVER/config.plist/Graphics/RadeonDeInit/YES (Clover v4297 or newer)
    2. SMBIOS
      1. automatic, no entry required.
  2. Restart
  3. BIOS
    1. Advanced Menu/System Agent Configuration/Primary Display/Init Display First/PCIE, PEG, ...
    2. Exit/Save
  4. Restart
Note
  1. Boot times likely to increase.
Credit
PikeRAlpha Intel HD4600 with full resolution | Pike's Universum
carpentryplus25/Post #142/Integrated and Discrete Graphics, Working Together

Problem Reporting
  1. Description of graphics problem
  2. macOS version/motherboard model/BIOS version/processor/graphics
  3. Procedure/Guide Used
  4. Copy of IOReg/Select View Raw IORegistryExplorer_v2.1.zip
  5. System Preferences/Displays screenshot
  6. Clover
    1. EFI/Clover/config.plist
    2. EFI/Clover/misc/debug.log (Set config.plist/Boot/Debug/YES)
      • DCPIManager/Misc/Boot Log
    3. EFI/Clover/ACPI/Patched/dsdt.aml (if installed)
    4. EFI/Clover/ACPI/Patched/ssdt.aml (if installed)
 
Last edited:
AMD/Nvidia Primary Display with AirPlay Mirroring on Mavericks

Hello. Will this work if I don't a an Intel HD Card? My processor doesn't have a graphics chip on it, Intel I5 3350P.
Thank you in advance!
 
AMD/Nvidia Primary Display with AirPlay Mirroring on Mavericks

Can't wait to try this on a friends hack, he has sandy bridge i3 with hd3000 but doesn't have onboard video on his board so I am hoping this would allow him to airplay. Ill report back if this does or doesn't work.
 
AMD/Nvidia Primary Display with AirPlay Mirroring on Mavericks

Hello. Will this work if I don't a an Intel HD Card? My processor doesn't have a graphics chip on it
No, take a guess why.
 
AMD/Nvidia Primary Display with AirPlay Mirroring on Mavericks

Great guide, except it does not work for me.

do i need a dsdt for intel hd audio? since i get kp with some debugger called related to intel audio.

atm I'm using dsdt for nvidia hdmi sound.
 
AMD/Nvidia Primary Display with AirPlay Mirroring on Mavericks

If I understood correctly, the goal is, that I am able mirror my Hack Display to a Apple TV or any other Airplay device, right?

I followed the guide, but I don't get the Airplay symbol in the upper task bar.

My hack:

OSX 10.9.1, i5-3570k, GA-Z77X-UD5H, Asus GTX650, iMac13,2, Init Display First -> PCI, HD4000 in BIOS enabled but no monitor is connected, HDMI Audio using dsdt.aml

Clover:
<key>Graphics</key>
<dict>
<key>GraphicsInjector</key>
<string>No</string>
<key>PatchVBios</key>
<string>No</string>
<key>LoadVBios</key>
<string>No</string>
<key>ig-platform-id</key>
<string>0x01620007</string>
</dict>

What I am doing wrong?
 
AMD/Nvidia Primary Display with AirPlay Mirroring on Mavericks

Great guide as always! I actually found this out on my own, so I am pleased I have some validation. :thumbup:

You are understating "Boot times likely to increase" and I will like to add 'Even on an SSD'.
- With IGPU disabled and
Primary Display set to PCIE my system boots OS X on a Corsair Force 3 SSD so fast I don't even get a spinner at the Apple screen, just 1/2 second and straight to Desktop.
- With IGPU enabled and
Primary Display set to PCIE it takes longer to boot than a regular HDD.
- With IGPU enabled and
Primary Display set to IGPU (blind boot method) my system boots as fast as if IGPU were disabled.

One problem I am experiencing is that regardless of the IGPU boot method, Airplay Mirroring is painfully slow, even over Ethernet; the delay makes mirroring literally impossible to use. The AppleTV will go to a black screen, then 20-30 seconds later a grey screen (as if the display was syncing), then the Desktop will appear. If I were to guesstimate, I am getting about 0.00000054fps using extended desktop. If I were to drag a window over minutes pass before the window will start to appear on the screen. Desktop mirroring nets a seemingly frozen screen.
:confused:
 
AMD/Nvidia Primary Display with AirPlay Mirroring on Mavericks

I followed the guide, but I don't get the Airplay symbol in the upper task bar.

I have the same motherboard with an i7 3770K (essentially the same CPU), and I have the Airplay symbol on iTunes and the menu bar even if I don't have the IGPU enabled. Airplay works fine, I just can't enable Airplay Mirroring. A few things try try. Change the system definition from iMac13,2 to Macmini6,2 and see if that helps. Double check to see if you have "Show mirroring options in the menu bar when available" checked in Displays. Is you AppleTV connected to your network?
 
AMD/Nvidia Primary Display with AirPlay Mirroring on Mavericks

I'm using dsdt for nvidia hdmi sound.
Edit dsdt/IGPU/
Code:
                        "AAPL,ig-platform-id", 
                        Buffer (0x04)
                        {
                            0x07, 0x00, 0x62, 0x01
                        },
 
Status
Not open for further replies.
Back
Top