Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.
Status
The first post of this thread is a WikiPost and can be edited by anyone with the appropiate permissions. Your edits will be public.

bazza5938

macrumors newbie
Nov 25, 2018
19
10
United Kingdom
Interestingly, I'm getting a crash from FCPX now when starting up saying it's quitting unexpectedly while using the AppleGVA plug-in. This may be because I'm sitting merging HDR images in Lightroom too, but have a crash report here anyway
 

Woof Woof

macrumors member
Sep 15, 2004
94
17
I'm curious... I assume sidecar requires HW accelerated encoding in the Mac in order to push the virtualized screen to an iPad.

Does the patch work in Catalina (with a RX580 or similar) to allow a cMP to use sidecar?

I've seen mention it works over either BT 4 (which would require a new Wifi/BT card) or over a direct cable.
 

h9826790

macrumors P6
Original poster
Apr 3, 2014
16,656
8,587
Hong Kong
Interestingly, I'm getting a crash from FCPX now when starting up saying it's quitting unexpectedly while using the AppleGVA plug-in. This may be because I'm sitting merging HDR images in Lightroom too, but have a crash report here anyway

Thanks for the report.

According to you’re signature, that’s a RX580, correct?

And you mean you are using the WhateverGreen plugin, right?

Also, with 10.14.5?

I am now running 10.14.6 DP3, with the hex edit method. Literally zero stability issue. I performed lots of tests. It seems this combination is very solid.

If you want a more stable setup. You may consider this. Especially this kind of .1 update (OS) is mainly bug fix, often run better than the previous official release.

I'm curious... I assume sidecar requires HW accelerated encoding in the Mac in order to push the virtualized screen to an iPad.

Does the patch work in Catalina (with a RX580 or similar) to allow a cMP to use sidecar?

I've seen mention it works over either BT 4 (which would require a new Wifi/BT card) or over a direct cable.

No, sidecar need HEVC hw encoding. Which is actually the only missing puzzle for us now.

And I tried both WhateverGreen and Hex edit method. None of them has any effect. (The AppleGVA.framework changed quite a bit, may need to mod another file. I will look into that later).

However, this is a very early stage beta, most likely Lilu and WhateverGreen also need time to update to become fully compatible to Catalina. So, the hope still there.
 
  • Like
Reactions: Woof Woof

bazza5938

macrumors newbie
Nov 25, 2018
19
10
United Kingdom
Thanks for the report.

According to you’re signature, that’s a RX580, correct?

And you mean you are using the WhateverGreen plugin, right?

Also, with 10.14.5?

I am now running 10.14.6 DP3, with the hex edit method. Literally zero stability issue. I performed lots of tests. It seems this combination is very solid.

If you want a more stable setup. You may consider this. Especially this kind of .1 update (OS) is mainly bug fix, often run better than the previous official release.

RX580, 10.14.5 and hexedit, started getting lockups with Lilu/Whatevergreen, so the DP of the latest update is the only difference, and didn't think there were any updates to AppleGVA ...
 

Chung123

macrumors regular
Dec 5, 2013
240
113
NYC
For the past week, I've been running the Mac Pro with the hardware acceleration with no issues. I thought the problem went away.

Until last night, when I fired up Final Cut Pro X.

Did a quick playback of timeline, scrubbed back to play another section and bam! Unresponsive Mac requiring hard reboot. :mad:

This morning, I got my second crash just browsing the web.

(Random notes: I know my Bluetooth Magic Mouse occasionally disconnects, and remember doing a good 3x PRAM reset last week. Would disconnecting bluetooth mouse cause crash? I also had disconnected my Luna Display Dongle as a troubleshooting step last week also.)

Can't wait to try 10.14.6.
 

kohlson

macrumors 68020
Apr 23, 2010
2,425
737
After running the Lilu mod for some time without issues, I wanted to try the Hex method. Unfortunately, it did not work for me, using the Jellyfish video as the indicator. I did verify that the video could be played, then after NVRAM reset and disabling SIP, again verifying that the Jellyfish video would no longer play.

With my very light hex editing skills, I duplicated the Apple GVA framework, downloaded iHex from the App Store, and find and replace the 2 instances. But, I was unable to save the file. Instead, I saved to a different name, then renamed in Finder. As well, I was unable to save the plist, so saved and renamed there, too.

On restart, the Jellyfish video runs perfectly - the first time. It does not run properly after that, until a reboot. And when I try and use Handbrake/FreeSolo (see #266) and select H.264 (VideoToolBox) the encode fails.

I'm pretty sure this is pilot error on my part, since many others have successfully enabled this method. Any ideas? One thought is the original AppleGVA file within the framework is an alias, and when I saved the file as a different same and then renamed, the resulting file was no longer an alias.
 

h9826790

macrumors P6
Original poster
Apr 3, 2014
16,656
8,587
Hong Kong
After running the Lilu mod for some time without issues, I wanted to try the Hex method. Unfortunately, it did not work for me, using the Jellyfish video as the indicator. I did verify that the video could be played, then after NVRAM reset and disabling SIP, again verifying that the Jellyfish video would no longer play.

With my very light hex editing skills, I duplicated the Apple GVA framework, downloaded iHex from the App Store, and find and replace the 2 instances. But, I was unable to save the file. Instead, I saved to a different name, then renamed in Finder. As well, I was unable to save the plist, so saved and renamed there, too.

On restart, the Jellyfish video runs perfectly - the first time. It does not run properly after that, until a reboot. And when I try and use Handbrake/FreeSolo (see #266) and select H.264 (VideoToolBox) the encode fails.

I'm pretty sure this is pilot error on my part, since many others have successfully enabled this method. Any ideas? One thought is the original AppleGVA file within the framework is an alias, and when I saved the file as a different same and then renamed, the resulting file was no longer an alias.

Seems you have the permission issue.

If can't follow the exact steps in post #205.

Then after step 4, copy the AppleGVA.framework to your desktop, mod it at there.

After step 14, copy this modded file back into System⁩/Library⁩/⁨PrivateFrameworks⁩.

And do all 24 steps.
 
  • Like
Reactions: kohlson

kohlson

macrumors 68020
Apr 23, 2010
2,425
737
And do all 24 steps.
Just checking - you mention before step 22:
>>Optional steps to repair all modified files' permission (NOT tested on my own system yet, use at your own risk.

Do you recommend completing steps 22-24 to reset permissions?
 

h9826790

macrumors P6
Original poster
Apr 3, 2014
16,656
8,587
Hong Kong
Just checking - you mention before step 22:
>>Optional steps to repair all modified files' permission (NOT tested on my own system yet, use at your own risk.

Do you recommend completing steps 22-24 to reset permissions?

Yes, and don't worry, I tested these extra steps already, will update that part now.
 

bazza5938

macrumors newbie
Nov 25, 2018
19
10
United Kingdom
Interestingly, I'm getting a crash from FCPX now when starting up saying it's quitting unexpectedly while using the AppleGVA plug-in. This may be because I'm sitting merging HDR images in Lightroom too, but have a crash report here anyway


(Quoting myself here, I know)

I think I've found where I went wrong... I didn't use the method in the post to make a copy of the framework, I'd done it using terminal, however, if you do it this way, some symlinks (aliases for those not familiar with UNIX filesystems) aren't preserved, and this is what I think is messing me up. *IF* you decide to do it this way, use cp -R (Capital R) on it, as this will preserve them, I've redone things this way and Final Cut is happy again, about to install the public beta of 10.14.6 though
 

kohlson

macrumors 68020
Apr 23, 2010
2,425
737
And do all 24 steps.
Once I did this correctly, it worked - thanks!

Question: does this need to happen on the same drive you boot from? I tried booting from an HS drive, and editing the Mojave drive. But after completing the steps the login screen didn't show for Mojave on reboot. I finally tried booting into Mojave, and it was successful. Is that a requirement?
 
Last edited:
  • Like
Reactions: h9826790

h9826790

macrumors P6
Original poster
Apr 3, 2014
16,656
8,587
Hong Kong
Once I did this correctly, it worked - thanks!

Question: does this need to happen on the same drive you boot from? I tried booting from an HS drive, and editing the Mojave drive. But after completing the steps the login screen didn't show for Mojave on reboot. I finally tried booting into Mojave, and it was successful. Is that a requirement?

My procedures assume you mod the files directly from the boot drive.

If you mod from another drive, more likely you will have permission issue.
 

h9826790

macrumors P6
Original poster
Apr 3, 2014
16,656
8,587
Hong Kong
Confirmed this mod still works in 10.14.6 DP4. Again, nothing more, nothing less, still no HEVC hardware encode.
Screenshot 2019-07-10 at 1.37.06 PM.png


Both 10.14.6 DP2 and DP3 has zero crash / freeze (GPURestart) with RX580 on my cMP. And now, let's see if DP4 can keep the stability.

So far, my personal recommended combination for RX580 is "10.14.6 DP3 + Hex edit". This combination is so stable that I don't want to further update my primary boot drive actually. But I still bite the bullet and start my stability test for DP4, hopefully Apple can keep this until official release (I have a 10.14.6 DP3 backup clone).
 
Last edited:

MapleGreen

macrumors member
Jun 25, 2019
90
8
Confirmed this mod still works in 10.14.6 DP4. Again, nothing more, nothing less, still no HEVC hardware encode.
View attachment 847533

Both 10.14.6 DP2 and DP3 has zero crash / freeze (GPURestart) with RX580 on my cMP. And now, let's see if DP4 can keep the stability.

So far, my personal recommended combination for RX580 is "10.14.6 DP3 + Hex edit". This combination is so stable that I don't want to further update my primary boot drive actually. But I still bite the bullet and start my stability test for DP4, hopefully Apple can keep this until official release (I have a 10.14.6 DP3 backup clone).
Thanks. how can I see this hardware info? did you use special app for it?
 

atonaldenim

macrumors regular
Jun 11, 2018
239
316
TBH, I have absolutely no idea why this happen. I can't reproduce this issue on my setup. But so far, really absolutely zero freeze report from Vega users yet.

Also, this mod is actually make the AppleGVA believe our Mac is the iMac Pro (with Vega). So, really having a Vega onboard should be "more compatible" (theoretically).
Could it be that this hack is more stable with Vega cards, because it's masquerading as an iMac Pro, which only ships with Vega GPUs? I wonder if it would be more stable for Polaris cards to instead pretend to be a Mac that ships with Polaris GPUs like the iMac 5K.
 

tsialex

Contributor
Jun 13, 2016
13,454
13,601
Could it be that this hack is more stable with Vega cards, because it's masquerading as an iMac Pro, which only ships with Vega GPUs? I wonder if it would be more stable for Polaris cards to instead pretend to be a Mac that ships with Polaris GPUs like the iMac 5K.
The reason that iMac Pro is the target is because, like MP5,1, the Xeon used don’t have Quicksync. If the Mac has a processor that supports Quicksync, GPU encoding/decoding is not used.

So, changing to iMac5K will get us nothing.
 

h9826790

macrumors P6
Original poster
Apr 3, 2014
16,656
8,587
Hong Kong
H264 hardware decoding and encoding start working in 10.15 DP4 (19A512f) now (it did not work in previous DP)
HWAccel Catalina.png


BOTH HEVC hardware decoding and encoding do NOT work. So, not as good as Mojave (HEVC hardware decode can work in Mojave).

I haven't test hex edit method, but only do the board-id injection method (with Lilu and WhateverGreen).

I also manually edit the PlatformSupport.plist to let Catalina boot "natively" without the need of
"-no_compat_check" boot argument.
 

MacManu77

macrumors regular
Jan 31, 2018
110
4
Updating Mojave to version 10.14.6 the amd hardware acceleration installed via Lilu.kext and WhateverGreen.kext remains active ... or should it be reinstalled?
 

h9826790

macrumors P6
Original poster
Apr 3, 2014
16,656
8,587
Hong Kong
Updating Mojave to version 10.14.6 the amd hardware acceleration installed via Lilu.kext and WhateverGreen.kext remains active ... or should it be reinstalled?

No need to do anything for Lilu + WhateverGreen method. Just keep using it.
[doublepost=1563823436][/doublepost]Confirmed 10.14.6 Final work as expected. Safe to update.
67548550_10158530195602542_3324498652122054656_o.jpg


I keep using the latest beta in last few weeks, really 100% stable for RX580 (with hex edit method). I highly suggest all Polaris users update to 10.14.6 ASAP if you want hwaccel. Even though there is no guarantee that 10.14.6 final is as good as beta. But there is a reasonable high chance that RX580 can now provide flawless hwaccel in 10.14.6. Worth to update ASAP rather than stay at 10.14.5 which may hit the GPURestart bug.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.