Open wittyofficer opened 4 years ago
I'm having the same issue, and I'm using mini-DP port with 4k. (It works fine on a real mac in the same network.)
Add me to the list, but I also cannot view any videos with iTunes DRM
Can someone try it with WG disabled?
@osy86 it's not working, even if disabling WEG in installer. I think the root cause is shiki for soft/hardware DRM decode.
Additionally, I did extensive tests, but no luck. System: 10.15.1, Monitor: 4k + dp (LG 27UL650)
My tests includes the newly updated weg 1.35 (and lilu 1.4) released yesterday, introducing some new feature in shikigva:
The result benchmark for my test:
I tried the following combinations
weg&lilu | shikigva | shiki-id | result-tv app | result-sample trailer file | note |
---|---|---|---|---|---|
-- | -- | -- | working | working | real mac |
1.3.4 + 1.3.9 | 32 | BE0... | black screen | audio is OK, video is black | The default settings for Hac-mini |
no weg | 32 | BE0... | won't play | can't decode | The default settings for Hac-mini, without weg |
1.3.5 + 1.4.0 | 32 | BE0... | won't play | can't decode | The default settings for Hac-mini, kexts updated |
1.3.5 + 1.4.0 | 160 | BE0... | black screen | audio is OK, video is black | shikigva hint from manual |
1.3.5 + 1.4.0 | 144 or 16 | BE0... | won't play | can't decode | shikigva hint from manual |
1.3.5 + 1.4.0 | 160 or 16 | 7BA... | won't play | can't decode | shiki-id hint from manual |
1.3.5 + 1.4.0 | 0 | -- | won't play | can't decode | ProductName, MLB, SN set as iMacPro1,1 (hint from manual) |
Thanks for testing. I think what's happening is that when we use IGPU to hardware decode, it doesn't work because of provisioning (see https://github.com/acidanthera/bugtracker/issues/586). However, currently it's not possible to activate AMD hardware decode (see comments in #18). I think to resolve this, we need to either get IGPU decode working or AMD decode working (or both).
Lilu & WEG master with shikigva=16 or shikigva=80 (for Netflix) should work on your setup without any other arguments with Macmini8,1 SMBIOS model. If it does not, then most likely AMD drivers for Vega 20 are borked.
DRM checking HDCP if is in use, IGPU intel doesn't have physical HDMI connection so there is no HDCP. only way I think is do this over AMD. second thing now with new Macs, MacBooks etc. and macOS it will harder get HW acceleration at least for HEVC because apple now using T2 chip for it.
I also tried disabling iGPU and changing SMBIOS to iMacPro 1,1. With this setup I was able to see the 30 sec video trailers before any episode on AppleTV + but the Episode didn’t play
@goodbest Can you test with shikigva=256
(no shiki-id
)?
Also put com.apple.AppleGVA.plist.zip in ~/Library/Preferences
.
First test with released WG. Second, test with the attached WG. WhateverGreen-1.3.6-RELEASE.zip
Here's some quick results, @osy86
weg | shikigva (w/o shiki-id) | AppleGVA.plist | tv-app result |
---|---|---|---|
1.3.5 | 256 | w & w/o | won't play |
1.3.6 | 256/128/80/32/16 | w | audio is fine, video show up for ~1 second, and then turns into glitches and green blocks |
1.3.6 | 256 | w/o | won't play |
I shot a clip to show the "glitches and green blocks" (I hit the play button at around the 3 second.) IMG_9502.mp4.zip
Please try shikigva=208
. The plist is no longer needed (you can delete it or leave it).
Also, try testing with iGPU disabled.
I'm afraid the result is still the same. either with shikigva=208 or iGPU disabled in BIOS.
Maybe it's better to wait for some test results by someone else (to ensure that my results are not mis-leading)?
After spending significant time on this, it seems to be very difficult/not possible.
Basically, we have two hardware video engines: AMD and Intel.
So the Intel IGPU DRM decoder requires GuC/HuC loading + PAVP to work. I've documented what I've reversed here but basically the underlying issue is that
Conclusion: Intel route is impossible.
AMD UVD engine can decrypt DRM. However, the UVD drivers need to be patched to work. I actually went ahead and fixed that. However, even with working UVD/VCE hardware drivers, we run into the above mentioned artifact/block/corrupted image issue.
I tried to see if there's any quirks listed in the Linux drivers, but afaik Linux doesn't actually implement any hardware DRM decoding (this is why you can't watch Disney+/Hulu Plus on your Linux machine). Since the decode issue doesn't affect non-encrypted streams, there is no point in looking for UVD hardware bug workarounds in Linux (there are a few but if they affected us, then normal video playback would be broken also, but we only see encrypted video playback broken).
If there is indeed a hardware bug/issue then maybe reversing the Windows drivers (which does support DRM) might help, but that's a lot of work.
Conclusion: AMD route is very difficult and probably not worth doing (honestly there is no show on Apple TV+ that I care about anyways).
I have not tested any eGPUs but it's probably possible to play with an officially supported AMD card in an eGPU.
@osy86 Thank you for your hard work. Nice try.
i gave it also a try using iMacPro1,1 and RX580 -radcodec ... the freeze on netflix and amazon is gone but aint working either pressing play ends up on help page from netflix. also all variants of shikigva didnt change anything .
@osy86, well, TV+ decoding, unlike Netflix, can be done entirely in software, so it is not that bad, but it needs reversing Apple drivers to be allowed when IGPU is visible.
I tried that Shiki flag with IGPU disabled in BIOS and it didn’t work. Maybe it’s looking for nvidia gpu since it’s a fallback for systems without hardware decode?
Do not think so, from what I remember it was designed to allow watching TV+ on MP5,1 and MP6,1. The key there was EXTSLOTS patch. I think the IGPU thing is not particularly relevant, but rather it will fallback to software renderer only when no hardware render exists.
I see, it doesn’t work without -radcodec either so maybe the check is more strict than “did create accelerator call fail”? Anyways I see that the amd ucd ucode is not loaded by AMDRadeonX4000HWLibs (unlike the other ucodes; which has vegam support) but is loaded by AMDRadeonX4000 which does not have any vegam specific code. I will try to replace this ucode with the vegam one from Linux and see if that makes a difference. Even if sw workaround for Apple tv+ works I would rather have Netflix working as well.
~The UVD ucode is encrypted in AMDRadeonX4000 and is loaded with PSP. On Linux, the UVD ucode is plaintext and loaded directly by the kernel. My guess is that Linux's ucode is not able to do any hardware decryption.~
Upon farther inspection I can’t say for certain PSP is involved here. There’s some obfuscation of the firmware but even unobfuscated it still seems to be encrypted.
This could be unrelated so I apologize in advance. (Catalina 10.15.2)
Last night I upgraded the WiFi BT card in my 2012 Mac Book Pro Retina to a BCM943602CS. Immediately after I rebooted I was required to re-authorise my TV app and Music app and in both cases I noted that the number of authorisations left had reduced by one..... in other words I was running DRM protected files on what was effectively a new machine.
I then started loading other apps that were sourced from both the app store and 3rd parties and in a number of cases I was asked to re-enter the apple ID and password associated with each app (I have 3 Apple ID's). For two of my 3rd party apps I was asked to re-enter their licence keys.
How is this related? If changing the WiFi BT card triggers these events, perhaps Apple is also checking hardware before making DRM decisions. For example, @wittyofficer is using the Dell DW1820A.
Just a thought....
This could be unrelated so I apologize in advance. (Catalina 10.15.2)
Last night I upgraded the WiFi BT card in my 2012 Mac Book Pro Retina to a BCM943602CS. Immediately after I rebooted I was required to re-authorise my TV app and Music app and in both cases I noted that the number of authorisations left had reduced by one..... in other words I was running DRM protected files on what was effectively a new machine.
I then started loading other apps that were sourced from both the app store and 3rd parties and in a number of cases I was asked to re-enter the apple ID and password associated with each app (I have 3 Apple ID's). For two of my 3rd party apps I was asked to re-enter their licence keys.
How is this related? If changing the WiFi BT card triggers these events, perhaps Apple is also checking hardware before making DRM decisions. For example, @wittyofficer is using the Dell DW1820A.
Just a thought....
I guess the serial number is bond to your WiFi card, right on the sticker.
It’s unrelated. The basically the keys sent to your device is based on unique id generated from serial, MAC address, guid, etc. But when hw decryption is used that key is passed to either IGPU or AMD GPU to perform the content decryption. That part is broken.
This whole time I was going under the assumption that DRM works on Windows, but that may not be the case. Can someone confirm that Netflix 4K works on Windows? Also test if Netflix 4K works on Windows with IGPU disabled.
Apple TV+ suddenly works now.
upgraded to 2.6 yesterday, apple tv+ still didn't work at that time, had audio only, half screen was green and lots of blocks and glitches.
AMD decoder in the installer was chosen.
Does it work with Intel?
Even AMD doesn't work any more after the reboot when I tried to test the intel decoder.
after an auto sleep, it works again.
if you know how to collect more information, please let me know, I will send it to you.
Even AMD doesn't work any more after the reboot when I tried to test the intel decoder.
Make sure you reset boot-arg or cleared NVRAM after reinstall as per the new instructions.
Even AMD doesn't work any more after the reboot when I tried to test the intel decoder.
Make sure you reset boot-arg or cleared NVRAM after reinstall as per the new instructions.
selected the reset boot-arg when applying the installer to test the intel decoder. didn't work. Then reset nvram on the boot menu, didn't work. manual sleep, didn't work. auto sleep, it is fine again. These are what I tried.
Thanks for testing. I think it might be a WG bug since I believe Apple TV+ is working with a software workaround. I don’t think hardware drm is working still.
So I am unable to get Apple TV+ working as you have. I'm wondering if there is something different in your configuration or if my hardware is broken somehow.
Can someone else test with 2.6 + AMD codec. Maybe @wittyofficer ?
I tried with 2.6 + AMD Codec, It didn't work, had the audio working but the screen was choppy and full of glitches. The S/W decoding made fans spin very loud.
Okay that's similar to my experience as well. I'm curious how @iiicwx got it working.
I literally have no idea why and how it gets to work suddenly. I don't think there is anything special in my system.
Configuration:
HaC Mini version [e.g: 2.0]: 2.6 OSX version [e.g: 10.14.6]: 10.15.2 NUC model [e.g: NUC8i7HNK]: NUC8i7HVK Boot SSD model and protocol [e.g: Samsung EVO 860 1TB, SATA]: 1. Macos: Western Digital SN750 NVMe 500GB. 2. win10: samsung 970evo plus 500GB First DIMM model [e.g: Patriot DDR4-2666 16GB]: Ballistix DDR4 2666Mhz 16GB Second DIMM model (if installed): no Display port(s) used [e.g: USB-C, mini DP]: mini DP to DP Display resolution(s) [e.g: 4K, 5K]: 3440*1440 Modifications
DW1820A support
Maybe it's the mini DP? I use USB-C DP and HDMI. I don't have mini DP.
@wittyofficer Do you have mini DP?
software wise of video related, I have VLC and Videoproc installed, but they were installed before 2.6.
Can somebody confirm an eGPU works? Wondering before I purchase one.
Can confirm the same as everyone else, switching to AMD makes Netflix work but a bit choppy. Apple TV does not work either way.
@osy86 I can confirm that I am seeing the same behaviour as @iiicwx. With AMD selected and clean boot, when I run an Apple TV+ show all I get are the green blotches and staggered playback. If I select sleep it goes through a 30 second process before it eventually comes back to the home screen and from that point on Apple TV+ playback works perfectly. I am using a Mini DP to DP cable attached to a Dell U2713HM display running at 2560x1440.
I can also confirm that I can stream a purchased TV episode however if I download the episode and then try to play it I get a blank screen. (I stand corrected, I can only stream a preview, not the whole episode)
My only recent change is that I have replaced DW1820A with BCM94360NG
HaC Mini version : 2.6 OSX version : 10.15.2 NUC model : NUC8i7HVK BIOS : HNKBLi70.86A Boot SSD model and protocol : Samsung 960 Pro 2TB PCIe First DIMM model : Patriot DDR4-2666 16GB Second DIMM model : Patriot DDR4-2666 16GB Display port(s) used : mini DP to DP Display resolution(s) : 2560x1440 Thunderbolt : Legacy Modifications: AMD selected
(BTW, I suspect sleep isn't working as it should because I run Sharemouse in the background)
@osy86 I can confirm that I am seeing the same behaviour as @iiicwx. With AMD selected and clean boot, when I run an Apple TV+ show all I get are the green blotches and staggered playback. If I select sleep it goes through a 30 second process before it eventually comes back to the home screen and from that point on Apple TV+ playback works perfectly. I am using a Mini DP to DP cable attached to a Dell U2713HM display running at 2560x1440.
I can also confirm that I can stream a purchased TV episode however if I download the episode and then try to play it I get a blank screen. (I stand corrected, I can only stream a preview, not the whole episode)
My only recent change is that I have replaced DW1820A with BCM94360NG
HaC Mini version : 2.6 OSX version : 10.15.2 NUC model : NUC8i7HVK Boot SSD model and protocol : Samsung 960 Pro 2TB PCIe First DIMM model : Patriot DDR4-2666 16GB Second DIMM model : Patriot DDR4-2666 16GB Display port(s) used : mini DP to DP Display resolution(s) : 2560x1440 Modifications: AMD selected
(BTW, I suspect sleep isn't working as it should because I run Sharemouse in the background)
Can you also report your BIOS version, and your tb3 configuration( native, legacy etc).
BTW, I wonder whether ASPM enable/disable is related with the issue. (DW1820A needs aspm=disable, 94360NG don't need to disable that).
BIOS : [HNKBLi70.86A] Thunderbolt : Legacy
I enabled ASPM. Now I can stream full purchased episodes but I still cannot play downloaded episodes. (I still have to go through the sleep process before I can playback anything using Apple TV+)
apple tv+ no longer works on v2.7.
It must be a WG issue since nothing changed except updating various kexts.
Apple TV never worked correctly.....? How did you get it to work in the first place?
Has anyone checked this DRM Compatibility Chart for 10.15? You could probably try adding Ignore this comment.shikigva=80
boot flag (WhateverGreen v1.3.8 and above) with an iMac or Mac mini SMBIOS. Or you could try Parallel Desktop running Windows 10 (with Windows Media Pack and HEVC decoder installed).
@sarkrui did you read the thread?
Someone in #1 said that newer Apple AMD drivers fixes DRM issues on other Ellesmere cards (which we spoofed to). I managed to fix the underlying issue so we can now boot the latest AMD drivers (previously we were stuck on 10.14.5 B1 drivers). Please test #279 and report back.
You may need to select the AMD Codec option in the installer as well as do other workarounds mentioned in this thread.
This whole time I was going under the assumption that DRM works on Windows, but that may not be the case. Can someone confirm that Netflix 4K works on Windows? Also test if Netflix 4K works on Windows with IGPU disabled.
On Windows, Netflix 4K works with HDMI output. When using type-c to dp, there is only 1080p
This whole time I was going under the assumption that DRM works on Windows, but that may not be the case. Can someone confirm that Netflix 4K works on Windows? Also test if Netflix 4K works on Windows with IGPU disabled.
On Windows, Netflix 4K works with HDMI output. When using type-c to dp, there is only 1080p
With IGPU disabled?
Hi,
Is anyone else having issue to play videos from Apple tv app ? I'm getting a blank screen while playing any episodes. I tried Netflix on browser and it's working fine. Only having issue with Apple TV+.
Configuration:
Modifications