Become a MacRumors Supporter for $25/year with no ads, private forums, and more!

Ludacrisvp

macrumors 6502a
Original poster
May 14, 2008
776
350
With all the modern GPUs available one would think that we'd have plenty of power available for native AirPlay mirroring to be done.
I'm aware of AirParrot [2] however, it appears to no longer work for 10.13.4 and later. (I'm on 10.13.6)
By no longer work I mean instant kernel panic upon attempting to activate it to another display.

I've got an ATV4 that would be worthwhile to leverage along with an iPad Mini 2 (retina).

There are a few apps that allow one to leverage an iOS device as another display, however due to lack of AirPlay, the Duet app doesn't work, and the AirDisplay app also causes the Mac to kernel panic even though it doesn't use AirPlay (uses USB). And as you might imagine, the lack of actual AirPlay mirroring kills the ATV4. AirParrot had previously worked for this years ago.

I have a GTX 650 which has hardware 264 encoder, from what I understand the nMP also leverages the hardware encoder in the AMD card(s) it has. So one would think that the complete reliance on the Intel iGPU QuickSync is a scam, I've also seen reports that the Mountain Lion Dev preview 2 allowed for someone's old iMac to have native AirPlay Mirroring.

FWIW I am using the nVidia Web Drivers and have EFI flashed GTX650 so I have normal boot screens as if it was a real Mac card.

From the KP it is very clear that AirParrot is to blame.
Code:
      Kernel Extensions in backtrace:
         com.apple.iokit.IOGraphicsFamily(519.20)[0E507098-E375-39B7-9AE2-AFF2C7A5D961]@0xffffff7f8758c000->0xffffff7f875d4fff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[AEA4C7F5-CCB0-338B-B471-CF28A9792522]@0xffffff7f8748e000
         com.squirrels.airparrot.framebuffer(6.0)[60D16396-6A18-3339-BD56-44FBDC2B5A1F]@0xffffff7f877c2000->0xffffff7f877c7fff
            dependency: com.apple.iokit.IOGraphicsFamily(519.20)[0E507098-E375-39B7-9AE2-AFF2C7A5D961]@0xffffff7f8758c000

BSD process name corresponding to current thread: AirParrot 2

Model: MacPro3,1, BootROM MP31.006C.B05, 8 processors, Quad-Core Intel Xeon, 3.2 GHz, 18 GB, SMC 1.25f4
Graphics: NVIDIA GeForce GTX 650, NVIDIA GeForce GTX 650, PCIe
Memory Module: DIMM Riser B/DIMM 1, 2 GB, DDR2 FB-DIMM, 800 MHz, 0x0000,
Memory Module: DIMM Riser B/DIMM 2, 2 GB, DDR2 FB-DIMM, 800 MHz, 0x0000,
Memory Module: DIMM Riser A/DIMM 1, 4 GB, DDR2 FB-DIMM, 800 MHz, 0x02BA,
Memory Module: DIMM Riser A/DIMM 2, 4 GB, DDR2 FB-DIMM, 800 MHz, 0x02BA,
Memory Module: DIMM Riser B/DIMM 3, 2 GB, DDR2 FB-DIMM, 800 MHz, 0x0000,
Memory Module: DIMM Riser B/DIMM 4, 2 GB, DDR2 FB-DIMM, 800 MHz, 0x0000,
Memory Module: DIMM Riser A/DIMM 3, 1 GB, DDR2 FB-DIMM, 800 MHz, 0x802C,
Memory Module: DIMM Riser A/DIMM 4, 1 GB, DDR2 FB-DIMM, 800 MHz, 0x802C,
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x111), Broadcom BCM43xx 1.0 (7.77.37.31.1a9)
Bluetooth: Version 6.0.7f10, 3 services, 27 devices, 3 incoming serial ports
Network Service: Ethernet 1, Ethernet, en0
PCI Card: NVIDIA GeForce GTX 650, Display Controller, Slot-1
PCI Card: NVIDIA GeForce GTX 650, NVDA,Parent, Slot-1
PCI Card: pci1000,0411, RAID Controller, Slot-2@2,14,0
PCI Card: pci1b4b,9230, AHCI Controller, Slot-3
PCI Card: pci104c,8241, USB eXtensible Host Controller, Slot-4
Serial ATA Device: WDC WD7500BPKT-75PK4T0, 750.16 GB
Serial ATA Device: MKNSSDAT240GB, 240.06 GB
Serial ATA Device: TSSTcorpCD/DVDW SH-S183L
Serial ATA Device: HL-DT-ST BD-RE WH14NS40
Serial ATA Device: Samsung SSD 840 EVO 1TB, 1 TB
Serial ATA Device: MARVELL VIRTUALL
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: Fire
USB Device: Keyboard Hub
USB Device: Apple Keyboard
USB Device: G3
USB Device: USB Bus
USB Device: USB Bus
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB Bus
USB Device: USB Bus
FireWire Device: built-in_hub, Up to 800 Mb/sec
Thunderbolt Bus:

Code:
NVIDIA GeForce GTX 650:

  Chipset Model:    NVIDIA GeForce GTX 650
  Type:    GPU
  Bus:    PCIe
  Slot:    Slot-1
  PCIe Lane Width:    x16
  VRAM (Dynamic, Max):    2048 MB
  Vendor:    NVIDIA (0x10de)
  Device ID:    0x0fc6
  Revision ID:    0x00a2
  ROM Revision:    3731
  Metal:    Supported, feature set macOS GPUFamily1 v3
  Displays:
HF257:
  Resolution:    2560 x 1440 (QHD/WQHD - Wide Quad High Definition)
  UI Looks like:    2560 x 1440 @ 59 Hz
  Framebuffer Depth:    24-Bit Color (ARGB8888)
  Display Serial Number:    910RG3NA01945
  Mirror:    Off
  Online:    Yes
  Rotation:    Supported
  Automatically Adjust Brightness:    No
DELL P2416D:
  Resolution:    2560 x 1440 (QHD/WQHD - Wide Quad High Definition)
  UI Looks like:    2560 x 1440 @ 60 Hz
  Framebuffer Depth:    24-Bit Color (ARGB8888)
  Display Serial Number:    TN5PP6CQ0FTS
  Main Display:    Yes
  Mirror:    Off
  Online:    Yes
  Rotation:    Supported
  Automatically Adjust Brightness:    No
 

h9826790

macrumors P6
Apr 3, 2014
15,364
7,637
Hong Kong
With all the modern GPUs available one would think that we'd have plenty of power available for native AirPlay mirroring to be done.
I'm aware of AirParrot [2] however, it appears to no longer work for 10.13.4 and later. (I'm on 10.13.6)
By no longer work I mean instant kernel panic upon attempting to activate it to another display.

I've got an ATV4 that would be worthwhile to leverage along with an iPad Mini 2 (retina).

There are a few apps that allow one to leverage an iOS device as another display, however due to lack of AirPlay, the Duet app doesn't work, and the AirDisplay app also causes the Mac to kernel panic even though it doesn't use AirPlay (uses USB). And as you might imagine, the lack of actual AirPlay mirroring kills the ATV4. AirParrot had previously worked for this years ago.

I have a GTX 650 which has hardware 264 encoder, from what I understand the nMP also leverages the hardware encoder in the AMD card(s) it has. So one would think that the complete reliance on the Intel iGPU QuickSync is a scam, I've also seen reports that the Mountain Lion Dev preview 2 allowed for someone's old iMac to have native AirPlay Mirroring.

FWIW I am using the nVidia Web Drivers and have EFI flashed GTX650 so I have normal boot screens as if it was a real Mac card.

From the KP it is very clear that AirParrot is to blame.
Code:
      Kernel Extensions in backtrace:
         com.apple.iokit.IOGraphicsFamily(519.20)[0E507098-E375-39B7-9AE2-AFF2C7A5D961]@0xffffff7f8758c000->0xffffff7f875d4fff
            dependency: com.apple.iokit.IOPCIFamily(2.9)[AEA4C7F5-CCB0-338B-B471-CF28A9792522]@0xffffff7f8748e000
         com.squirrels.airparrot.framebuffer(6.0)[60D16396-6A18-3339-BD56-44FBDC2B5A1F]@0xffffff7f877c2000->0xffffff7f877c7fff
            dependency: com.apple.iokit.IOGraphicsFamily(519.20)[0E507098-E375-39B7-9AE2-AFF2C7A5D961]@0xffffff7f8758c000

BSD process name corresponding to current thread: AirParrot 2

Model: MacPro3,1, BootROM MP31.006C.B05, 8 processors, Quad-Core Intel Xeon, 3.2 GHz, 18 GB, SMC 1.25f4
Graphics: NVIDIA GeForce GTX 650, NVIDIA GeForce GTX 650, PCIe
Memory Module: DIMM Riser B/DIMM 1, 2 GB, DDR2 FB-DIMM, 800 MHz, 0x0000,
Memory Module: DIMM Riser B/DIMM 2, 2 GB, DDR2 FB-DIMM, 800 MHz, 0x0000,
Memory Module: DIMM Riser A/DIMM 1, 4 GB, DDR2 FB-DIMM, 800 MHz, 0x02BA,
Memory Module: DIMM Riser A/DIMM 2, 4 GB, DDR2 FB-DIMM, 800 MHz, 0x02BA,
Memory Module: DIMM Riser B/DIMM 3, 2 GB, DDR2 FB-DIMM, 800 MHz, 0x0000,
Memory Module: DIMM Riser B/DIMM 4, 2 GB, DDR2 FB-DIMM, 800 MHz, 0x0000,
Memory Module: DIMM Riser A/DIMM 3, 1 GB, DDR2 FB-DIMM, 800 MHz, 0x802C,
Memory Module: DIMM Riser A/DIMM 4, 1 GB, DDR2 FB-DIMM, 800 MHz, 0x802C,
AirPort: spairport_wireless_card_type_airport_extreme (0x14E4, 0x111), Broadcom BCM43xx 1.0 (7.77.37.31.1a9)
Bluetooth: Version 6.0.7f10, 3 services, 27 devices, 3 incoming serial ports
Network Service: Ethernet 1, Ethernet, en0
PCI Card: NVIDIA GeForce GTX 650, Display Controller, Slot-1
PCI Card: NVIDIA GeForce GTX 650, NVDA,Parent, Slot-1
PCI Card: pci1000,0411, RAID Controller, Slot-2@2,14,0
PCI Card: pci1b4b,9230, AHCI Controller, Slot-3
PCI Card: pci104c,8241, USB eXtensible Host Controller, Slot-4
Serial ATA Device: WDC WD7500BPKT-75PK4T0, 750.16 GB
Serial ATA Device: MKNSSDAT240GB, 240.06 GB
Serial ATA Device: TSSTcorpCD/DVDW SH-S183L
Serial ATA Device: HL-DT-ST BD-RE WH14NS40
Serial ATA Device: Samsung SSD 840 EVO 1TB, 1 TB
Serial ATA Device: MARVELL VIRTUALL
USB Device: USB 2.0 Bus
USB Device: Hub
USB Device: Fire
USB Device: Keyboard Hub
USB Device: Apple Keyboard
USB Device: G3
USB Device: USB Bus
USB Device: USB Bus
USB Device: BRCM20702 Hub
USB Device: Bluetooth USB Host Controller
USB Device: USB Bus
USB Device: USB Bus
FireWire Device: built-in_hub, Up to 800 Mb/sec
Thunderbolt Bus:

Code:
NVIDIA GeForce GTX 650:

  Chipset Model:    NVIDIA GeForce GTX 650
  Type:    GPU
  Bus:    PCIe
  Slot:    Slot-1
  PCIe Lane Width:    x16
  VRAM (Dynamic, Max):    2048 MB
  Vendor:    NVIDIA (0x10de)
  Device ID:    0x0fc6
  Revision ID:    0x00a2
  ROM Revision:    3731
  Metal:    Supported, feature set macOS GPUFamily1 v3
  Displays:
HF257:
  Resolution:    2560 x 1440 (QHD/WQHD - Wide Quad High Definition)
  UI Looks like:    2560 x 1440 @ 59 Hz
  Framebuffer Depth:    24-Bit Color (ARGB8888)
  Display Serial Number:    910RG3NA01945
  Mirror:    Off
  Online:    Yes
  Rotation:    Supported
  Automatically Adjust Brightness:    No
DELL P2416D:
  Resolution:    2560 x 1440 (QHD/WQHD - Wide Quad High Definition)
  UI Looks like:    2560 x 1440 @ 60 Hz
  Framebuffer Depth:    24-Bit Color (ARGB8888)
  Display Serial Number:    TN5PP6CQ0FTS
  Main Display:    Yes
  Mirror:    Off
  Online:    Yes
  Rotation:    Supported
  Automatically Adjust Brightness:    No

All Nvidia GPU has no hardware encoding / decoding support in macOS.

All cMP has no GPU hardware encoding support in macOS yet (haven't test the latest 10.14 PB3 yet).

The only known hardware decoding working on cMP so far is the RX580 hardware decode in 10.14 beta.
 

Ludacrisvp

macrumors 6502a
Original poster
May 14, 2008
776
350
All Nvidia GPU has no hardware encoding / decoding support in macOS.

All cMP has no GPU hardware encoding support in macOS yet (haven't test the latest 10.14 PB3 yet).

The only known hardware decoding working on cMP so far is the RX580 hardware decode in 10.14 beta.

That's pretty lame, you'd think that the WebDrivers would have been able to provide access to the hardware encoders in the GPU.

So I'm probably SOL then?

I thought I read somewhere that there was a requirement for the Mac's CPU to support SSE4.2 in order to run the newer AMD cards, which my 08 doesn't have (only up to SSE4.1)
 

bookemdano

macrumors 65816
Jul 29, 2011
1,424
805
Hmmm...

With my new RX 580 installed (Sapphire Pulse 8GB) I am newly getting the Airplay Mirroring icon in the menu bar. At first I thought it was a Mojave thing as that's where I first saw it, but then I booted back into HS 10.13.6 and it's showing up there too. It was definitely not there with any of my previous cards (stock GT120 and a MVC EVGA GeForce 750 Ti).

Image 7-30-18 at 5.57 PM.JPG

Thing is though, I don't know if it actually works since my cMP is at the office and my AppleTVs are at home. Hopefully someone else who has this same combo with available AppleTVs on the same network can verify. If not, then I'll try to bring one of my ATVs to work later this week.
 
  • Like
Reactions: Ludacrisvp

eksu

macrumors 6502
Aug 3, 2017
322
146
For what it's worth, I've had the Airplay Mirroring Icon with a flashed 280X for quite a while, but it doesn't actually work.

H265 encoding will be needed, so we'll need to try again when the 580 supports it.
 
  • Like
Reactions: bookemdano

Squuiid

macrumors 68000
Oct 31, 2006
1,736
1,265
Would someone with an RX 580 and Mojave beta be able to try this and report back?
 

eksu

macrumors 6502
Aug 3, 2017
322
146
I should add, with my 280X in HS Airplay works from sources like Youtube, Quicktime, etc, but in Mojave Airplay doesn't work at all currently. Apple TV switches, but there's nothing but a black screen. My quicktime window switches, but then switches back.

I think it has to do with the switch to Airplay 2 and perhaps it's my Apple TV 3rd Generation.
 

Ludacrisvp

macrumors 6502a
Original poster
May 14, 2008
776
350
Damn it was sounding so promising there for a bit. Just having the icon seems like perhaps it could be made to work.
 

Ludacrisvp

macrumors 6502a
Original poster
May 14, 2008
776
350
Debated starting a new thread on this since things have changed a bit in the last 2 years mainly due to OpenCore.
But also figured, since I already had a thread about it, why not just bump it up from the grave?

So I decided to do a side-by-side comparison between my hack with a xeon and rx580 that does airplay perfectly with the iMacPro 1,1 smbios via clover and the cMP3,1 that is booting with opencore with AMD HWaccel enabled (RX 580 as well) and both into the same version of Mojave.

Now the 3,1 kind of thinks it is doing AirPlay, meaning the icon is in the menu and i can tell it to airplay to my ATV (or to another mac running 5kplayer that does airplay receiving for video / mirroring, which is handy to test with). When I tell the 3,1 to do AirPlay mirror the menu icon turns blue and in display prefs it lets me pick the AP Display but doesn't allow me to pick mirror mode or extended desktop.

This seems to put stress on the AirPlayXPCHelper process in Activity Monitor.
Using the "sample" function of Activity Monitor I can see there are some differences in what each mac is doing.

The "iMacPro1,1" hack has a few things that load that aren't loaded by the 3,1... the first being:
"/System/Library/Extensions/AMDRadeonVADriver2.bundle/Contents/MacOS/AMDRadeonVADriver2"
Which is getting heavily used by "com.apple.videotoolbox.compressionQueue" on the iMacPro, but, while "com.apple.videotoolbox" is loaded by both machines in the 'sample', there is no compressionQueue in use on the 3,1.
"/System/Library/PrivateFrameworks/AppleGVA.framework/Versions/A/AppleGVA" is also not loaded by the 3,1 but is loaded by iMacPro1,1 and is heavily mentioned in the videotoolbox thread as well.

Would seem to me that this would be the focus area on getting airplay to work ... getting AppleGVA to load properly which I'd think would then load the AMDRadeonVADriver2 automatically.
 

natjonesart

macrumors member
Jan 22, 2017
94
26
Canada
Thought I would bump this up to see if any movement has been made with Airplay and Mirroring on the cMP. It seems we are close. I searched around but the topic seems to get lost in the long OpenCore threads.
 
Last edited:

Nguyen Duc Hieu

macrumors 65816
Jul 5, 2020
1,451
389
Ho Chi Minh City, Vietnam
Why do you require native Airplay?
Try AirServer.
It works, but costs about 30$ for permanent license.
The same price for a Miracast, Chrome cast etc.... But with the casting dongles, you don't have to power on cMP.
 

Ludacrisvp

macrumors 6502a
Original poster
May 14, 2008
776
350
Why do you require native Airplay?
Try AirServer.
It works, but costs about 30$ for permanent license.
The same price for a Miracast, Chrome cast etc.... But with the casting dongles, you don't have to power on cMP.
Every non-native implementation I’ve played with has a ton of lag and doesn’t integrate properly.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.