Giter Site home page Giter Site logo

Comments (28)

wastrox avatar wastrox commented on July 23, 2024 7

MacBook Pro 8,1 (late 2011), Sandy Bridge CPU, Same problem, followed by solution for Intel HD3000

Screen Shot 2021-03-14 at 10 19 50 PM
Screen Shot 2021-03-14 at 10 17 49 PM

Symptoms: no AirPlay logo on status bar, no AirPlay Display drop-down menu in Display Preferences, but AirPlay devices are listed in Sound Preferences as possible options for sound output:

Screen Shot 2021-03-14 at 10 21 42 PM

When playing a YouTube video in Safari, AirPlay mirroring option appears and actually WORKS:

Screen Shot 2021-03-14 at 10 23 21 PM

After investing a lot of time to research the possible reason, I finally found a solution.

The reason why this happening is actually because AirPlay mirroring requires hardware acceleration to be correctly detected by operating system.

It happens that after clean Catalina install using macos-catalina-patcher, though Intel HD3000 hardware acceleration works perfectly, VDA H.264 hardware decoding/encoding is not working (or at least it is not correctly identified by operating system).

To check this, you can use tools like VDADecoderCheck, VideoProc's Hardware Info, but I would suggest latest release of Hackintool - https://github.com/headkaze/Hackintool/releases/tag/3.5.3

Hackintool will report that "VDA Decoder failed", "Hardware acceleration is not available", same as VDADecoderCheck. VideoProc will also report that both H264 and HEVC hardware decoder/encoder and video processing acceleration are not available.

To fix the problem, you can download and install latest release versions of two well-known kexts: Lilu.kext and WhateverGreen.kext - just put them to /Library/Extensions and follow regular kext install procedure.

For those who could find this post using Google: if you are unfamiliar with installing kexts manually, fixing kext permissions, rebuilding kext caches etc. and just need simple instructions to make it work, here they are:

  1. Create a folder AirPlayFix in your Downloads folder.
  2. Download Lilu.kext
  3. Download WhateverGreen.kext
  4. unzip Lilu-1.5.1-RELEASE.zip and WhateverGreen-1.4.8-RELEASE.zip
  5. Copy or move Lilu.kext and WhateverGreen.kext from their respected unzipped folders to AirPlayFix folder:

Screen Shot 2021-03-14 at 10 47 48 PM
Screen Shot 2021-03-14 at 10 51 54 PM

  1. Download, install and launch Hackintool, go to Utilities tab and use Install kext(s) button:

Screen Shot 2021-03-14 at 10 54 38 PM

  1. Select Lilu.kext and WhateverGreen.kext:

Screen Shot 2021-03-14 at 10 58 19 PM

  1. When prompted for destination, select /Library/Extensions, wait for the process to finish, then reboot.

Result should be like this:

Screen Shot 2021-03-14 at 11 05 07 PM

Screen Shot 2021-03-14 at 11 07 39 PM

(It's ok in my particular situation for HEVC to be unavailable since my CPU/GPU don't support HEVC acceleration)

And finally what we were fighting for:

Screen Shot 2021-03-14 at 11 13 42 PM

@dosdude1 @LogoiLab FYI
@mdacunha90 @trineu @karlic @jtauke @STMROB @Fyobl @TeslaHacks @graanco @dqkk @JosJos85 @ldcarpediem
I hope this post was worth the effort and it will help you guys.

from macos-catalina-patcher.

ldcarpediem avatar ldcarpediem commented on July 23, 2024 1

Amazing @wastrox ! That works perfectly in only 5 minutes thanks to your help.
The Airplay logo appeared and Airplay works on my LG TV.
Thank you !

PS : I had to wait 3 minutes when installing kext and some red lines appeared at the end, looks like there is an issue. But it wasn't.
I rebooted my Mac and the install had worked perfectly.

from macos-catalina-patcher.

STMROB avatar STMROB commented on July 23, 2024 1

@wastrox, I confirm, the fix works perfectly well, and is quite simple to apply. Thanks a lot!

from macos-catalina-patcher.

robinkaty avatar robinkaty commented on July 23, 2024 1

Thanks, this worked for me. my 2011 doesn't have the AMD Gpu, it was neutered by dosdude1, not sure the reason, but this fixed it. Thanks!

from macos-catalina-patcher.

whitecatcafe avatar whitecatcafe commented on July 23, 2024 1

I really can't thank you enough @wastrox! Working perfectly on my 2011 MBP running Catalina 10.15.7 :)

from macos-catalina-patcher.

crisisarea avatar crisisarea commented on July 23, 2024 1

Thank you very much, @wastrox! That's workly perfectly on late 2011 MBP with Catalina 15.6 patched!
A few red validation lines appear at the end of the installation of the kexts but this is not a problem.

Your tutorial is crystal clear and has FINALLY solved this problem that had been blocking me for months!
My Mac and I thank you from the bottom of our hearts!

from macos-catalina-patcher.

trineu avatar trineu commented on July 23, 2024

Same problem for me.
The icon in the top bar is gone, although the button is still transparent, but it doesn't find any AirPlay devices.

from macos-catalina-patcher.

karlic avatar karlic commented on July 23, 2024

I have the same problem on MacBookPro8,1. Airplay was working before installing Catalina with Catalina Patcher.

I installed once and had the same problem as @trineu. I installed a second time and now the icon is completely missing (not just transparent).

@dosdude1 Does this help?

 % sudo /System/Library/CoreServices/AirPlayUIAgent.app/Contents/MacOS/AirPlayUIAgent
zsh: illegal hardware instruction  sudo ./AirPlayUIAgent

Also this seems to appear in dmesg when running the above:

apfs_spec_read_wrapper:11004: apfs_spec_read_wrapper : f_info->fsr_offset 49152  f_info->fsr_length 49152 filesize 94672
AMFI: SIP is off, allowing core dump for pid 773
AMFI: SIP is off, allowing core dump for pid 772

and there is a crash report in console.

Let me know if you need any more info.

from macos-catalina-patcher.

jtauke avatar jtauke commented on July 23, 2024

I'm getting the same illegal hardware instruction error on a MacbookPro8,1 as @karlic is.

Happy to provide any info that may be relevant.

from macos-catalina-patcher.

STMROB avatar STMROB commented on July 23, 2024

I have the same issue with Airplay being not recognized and no Airplay icon in the menu bar.
Airplay1
Airplay2

from macos-catalina-patcher.

Fyobl avatar Fyobl commented on July 23, 2024

Same issue here. Have tried everything everyone suggests online with no luck. MacBook Pro 8,1

from macos-catalina-patcher.

TeslaHacks avatar TeslaHacks commented on July 23, 2024

I have same issue on iMac9,1.
スクリーンショット 2020-08-24 14 05 35

from macos-catalina-patcher.

mrcbax avatar mrcbax commented on July 23, 2024

Is everyone here who is having this problem using a language other than english on their system. Seems like an odd locales based issue just from the screenshots. @TeslaHacks @STMROB

from macos-catalina-patcher.

TeslaHacks avatar TeslaHacks commented on July 23, 2024

@LogoiLab Hmm... Now i turned Mac's language to English but i couldn't find AirPlay logo on status bar.
Screen Shot 2020-08-25 at 11 27 06

from macos-catalina-patcher.

graanco avatar graanco commented on July 23, 2024

last I knew you need a compatible airplay CPU for that to work....

from macos-catalina-patcher.

dqkk avatar dqkk commented on July 23, 2024

Is everyone here who is having this problem using a language other than english on their system. Seems like an odd locales based issue just from the screenshots. @TeslaHacks @STMROB

This could be a related issue: I just had problems installing Catalina on a MacBookPro5,3 that was set up in pt-br. The patcher would throw an error when applying the wifi patch. After several tries I reformatted and retried (in english) with success. One guess at the problem is that in pt-br the APFS data partition is labeled "Dados" instead of "Data".

from macos-catalina-patcher.

JosJos85 avatar JosJos85 commented on July 23, 2024

Same on my side with an Imac 10,1 (late 2009) and a MacBookPro 7,1 (mid 2010).
I reformatted with language in English but the airplay logo in status bar remain invisible.
However when playing a video on youtube.com I do have the opportunity from both computers to stream to my SmartTV but not between each other.

from macos-catalina-patcher.

ldcarpediem avatar ldcarpediem commented on July 23, 2024

Hi, does anyone find something new to repair Airplay issue on Catalina Patcher ? I have MBP late 2011 (MacBookPro8,1)... I can use airplay by sharing the song when I click on the volume icon in the bar and choose my LG webOS output... But only the song, and cannot share the screen. So airplay seems to work...

from macos-catalina-patcher.

JosJos85 avatar JosJos85 commented on July 23, 2024

@wastrox Thanks for the work you have done that seems to work in various situation

Unfortunately, on my side it doesn't work for both my computers.
After installing both Lilu.kext and WhateverGreen.kext VDA Decoder remains in value "Decoder Failed".

I guess there is something about the GPU.
My Imac 10,1 (late 2009) has a Geforce 9400M.
And my MacBookPro 7,1 (mid 2010) has a Geforce 320M.

from macos-catalina-patcher.

wastrox avatar wastrox commented on July 23, 2024

@wastrox Thanks for the work you have done that seems to work in various situation

Unfortunately, on my side it doesn't work for both my computers.
After installing both Lilu.kext and WhateverGreen.kext VDA Decoder remains in value "Decoder Failed".

I guess there is something about the GPU.
My Imac 10,1 (late 2009) has a Geforce 9400M.
And my MacBookPro 7,1 (mid 2010) has a Geforce 320M.

@JosJos85 Could not be that easy for GeForce as it appeared for my Intel HD 3000 😞 . Please check https://github.com/acidanthera/WhateverGreen/blob/master/Manual/FAQ.GeForce.en.md, maybe installing
https://www.nvidia.com/download/driverResults.aspx/125379/en-us could help in your situation

from macos-catalina-patcher.

KJHoney-cutt avatar KJHoney-cutt commented on July 23, 2024

I recently had this exact same issue and the solution @wastrox provided was great. I am having an issue when selecting "Use as Separate Display" from the AirPlay icon. The display connected to my AppleTV just shows a green screen. Any advice?

from macos-catalina-patcher.

ubilight0066 avatar ubilight0066 commented on July 23, 2024

thanks for sharing your findings! however for my case it shows 'fully supported' but no icon on the top somehow. please shed some light? @wastrox

from macos-catalina-patcher.

wastrox avatar wastrox commented on July 23, 2024

thanks for sharing your findings! however for my case it shows 'fully supported' but no icon on the top somehow. please shed some light? @wastrox

Please check regular Apple advice on fixing AirPlay issues; if it says fully supported, then probably your problem is out of the scope of this small guide. Unfortunately, I don't have an old mac anymore and can't check anything myself to help you on the matter 😕

from macos-catalina-patcher.

Daking28 avatar Daking28 commented on July 23, 2024

I’m having the same issue. I have an GeForce 320m even with both kexts or trying with the default Catalina patches it doesn’t work I get a black screen also when mirroring to my iPad. On my MacBook Air mid 2010.

from macos-catalina-patcher.

robertotrevisan avatar robertotrevisan commented on July 23, 2024

It works perfectly as a mirror. When I switch to extended mode, the AppleTV has a green screen. Could anyone help? Thank you very much. My Macbook Pro 8.3 (2011 Late 17')

from macos-catalina-patcher.

arkygeek avatar arkygeek commented on July 23, 2024

It works perfectly as a mirror. When I switch to extended mode, the AppleTV has a green screen. Could anyone help? Thank you very much. My Macbook Pro 8.3 (2011 Late 17')

Exactly the same issue with me! Late 2011 MBP 15"

from macos-catalina-patcher.

joseterra avatar joseterra commented on July 23, 2024

it happens also in my MB air 11'' 2011 with OCLP for Catalina installation. However, the above procedure makes the Mac unbootable. Is there a solution for those who have installed OCLP?

EDIT: Actually, by following exactly the procedure indicated by wastrox (very thanks to him for the solution), I was able to activate Airplay correctly.
There is a problem that can be worked around: the Mac no longer boots from the opencore legacy picker (stacks on apple booting). But, to resolve such trouble, just press "alt" at startup and select the Mac OS disk. Once started, from "system preferences", select "startup disk" and choose the usual Mac disk and restart. From that moment, it will boot from the MacOS disk and no longer from the legacy opencore boot picker... easy!

from macos-catalina-patcher.

SirJDingens avatar SirJDingens commented on July 23, 2024

Regarding seperate display support, as far as i know secondary display rendering is exclusively handled by the dGPU, therefore only giving a green screen because no renderer is available. I don't think there is a way to force iGPU rendering for this (if so please let me know). This should only affect 15" and 17" models, as the 13" is not equipped with a dGPU. An option for external displays without mirroring would probably be something like a USB adapter with an integrated renderer, but given the USB 2 IO limitation i don't think results will be that great, also only wired.

from macos-catalina-patcher.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.