AMD/Nvidia Primary Display with AirPlay Mirroring

Discussion in 'Graphics' started by toleda, Dec 10, 2013.

  1. toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    21,189
    Mobo:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    Dec 10, 2013 at 1:49 AM #1
    toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    21,189
    Mobo:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    AMD/Nvidia Primary Display with AirPlay Mirroring

    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=19122001
      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: 59122003
              • HD530: 19122001
              • 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. 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: Dec 9, 2017
  2. nemmo

    nemmo

    Joined:
    May 30, 2011
    Messages:
    28
    Mobo:
    OS X 10.10 Yosemite
    CPU:
    Intel Core i5 3350P
    Graphics:
    NVIDIA Geforce GTX 650 OC 1GB
    Mobile Phone:
    iOS
    Jan 8, 2014 at 5:38 PM #2
    nemmo

    nemmo

    Joined:
    May 30, 2011
    Messages:
    28
    Mobo:
    OS X 10.10 Yosemite
    CPU:
    Intel Core i5 3350P
    Graphics:
    NVIDIA Geforce GTX 650 OC 1GB
    Mobile Phone:
    iOS
    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!
     
  3. twistedindustries

    twistedindustries

    Joined:
    Aug 22, 2011
    Messages:
    38
    Mobo:
    GA-Z77-DS3H
    CPU:
    i7 3770K
    Graphics:
    GTX 660
    Mac:
    MacBook Pro
    Classic Mac:
    Xserve
    Mobile Phone:
    iOS
    Jan 8, 2014 at 7:35 PM #3
    twistedindustries

    twistedindustries

    Joined:
    Aug 22, 2011
    Messages:
    38
    Mobo:
    GA-Z77-DS3H
    CPU:
    i7 3770K
    Graphics:
    GTX 660
    Mac:
    MacBook Pro
    Classic Mac:
    Xserve
    Mobile Phone:
    iOS
    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.
     
  4. toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    21,189
    Mobo:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    Jan 8, 2014 at 8:14 PM #4
    toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    21,189
    Mobo:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    AMD/Nvidia Primary Display with AirPlay Mirroring on Mavericks

    No, take a guess why.
     
    originalmagneto likes this.
  5. mosser

    mosser

    Joined:
    Oct 4, 2012
    Messages:
    104
    Mobo:
    Z75 Pr3
    CPU:
    i7 3770 3.4GHZ
    Graphics:
    MSI G4 970 GTX
    Mac:
    MacBook Pro
    Mobile Phone:
    iOS
    Jan 8, 2014 at 8:41 PM #5
    mosser

    mosser

    Joined:
    Oct 4, 2012
    Messages:
    104
    Mobo:
    Z75 Pr3
    CPU:
    i7 3770 3.4GHZ
    Graphics:
    MSI G4 970 GTX
    Mac:
    MacBook Pro
    Mobile Phone:
    iOS
    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.
     
  6. madman1234

    madman1234

    Joined:
    Aug 17, 2012
    Messages:
    436
    Mobo:
    GA-Z77X-UD5H
    CPU:
    i5-3570K
    Graphics:
    Gigabyte GTX 960 4GB
    Mac:
    MacBook
    Mobile Phone:
    iOS
    Jan 8, 2014 at 9:44 PM #6
    madman1234

    madman1234

    Joined:
    Aug 17, 2012
    Messages:
    436
    Mobo:
    GA-Z77X-UD5H
    CPU:
    i5-3570K
    Graphics:
    Gigabyte GTX 960 4GB
    Mac:
    MacBook
    Mobile Phone:
    iOS
    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:
    What I am doing wrong?
     
  7. Bansaku

    Bansaku

    Joined:
    Jan 14, 2010
    Messages:
    338
    Mobo:
    GA-Z77X-UD5H
    CPU:
    i7 3770K
    Graphics:
    EVGA GTX 980Ti SC+
    Mac:
    iMac
    Classic Mac:
    Apple, eMac, iMac, LC, Power Mac
    Mobile Phone:
    iOS
    Jan 8, 2014 at 10:47 PM #7
    Bansaku

    Bansaku

    Joined:
    Jan 14, 2010
    Messages:
    338
    Mobo:
    GA-Z77X-UD5H
    CPU:
    i7 3770K
    Graphics:
    EVGA GTX 980Ti SC+
    Mac:
    iMac
    Classic Mac:
    Apple, eMac, iMac, LC, Power Mac
    Mobile Phone:
    iOS
    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:
     
  8. Bansaku

    Bansaku

    Joined:
    Jan 14, 2010
    Messages:
    338
    Mobo:
    GA-Z77X-UD5H
    CPU:
    i7 3770K
    Graphics:
    EVGA GTX 980Ti SC+
    Mac:
    iMac
    Classic Mac:
    Apple, eMac, iMac, LC, Power Mac
    Mobile Phone:
    iOS
    Jan 8, 2014 at 11:01 PM #8
    Bansaku

    Bansaku

    Joined:
    Jan 14, 2010
    Messages:
    338
    Mobo:
    GA-Z77X-UD5H
    CPU:
    i7 3770K
    Graphics:
    EVGA GTX 980Ti SC+
    Mac:
    iMac
    Classic Mac:
    Apple, eMac, iMac, LC, Power Mac
    Mobile Phone:
    iOS
    AMD/Nvidia Primary Display with AirPlay Mirroring on Mavericks

    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?
     
  9. toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    21,189
    Mobo:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    Jan 9, 2014 at 4:26 AM #9
    toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    21,189
    Mobo:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    AMD/Nvidia Primary Display with AirPlay Mirroring on Mavericks

    Edit dsdt/IGPU/
    Code (Text):

                            "AAPL,ig-platform-id",
                            Buffer (0x04)
                            {
                                0x07, 0x00, 0x62, 0x01
                            },
     
     
  10. toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    21,189
    Mobo:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    Jan 9, 2014 at 4:27 AM #10
    toleda

    toleda Moderator

    Joined:
    May 20, 2010
    Messages:
    21,189
    Mobo:
    Asus Maximus VII Impact
    CPU:
    Core i7-4770K
    Graphics:
    HD7750 + HD4600
    Mac:
    iMac, MacBook Pro, Mac mini
    Classic Mac:
    512K, LC, Power Mac
    Mobile Phone:
    iOS
    AMD/Nvidia Primary Display with AirPlay Mirroring on Mavericks

    See Post #10.
     

Share This Page