Contribute
Register

Radeon RX 4XX/5XX standalone system, AMDRadeonX4250.kext (GVA support H264) does not support HEVC HW

Joined
Oct 23, 2010
Messages
920
Motherboard
GA-Z77X-UP5-TH
CPU
i7-3770K
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
Can you explain little more about this situation. So in your case U have Ivy CPU, witch is X86PlatformPlugin and trying to get work on AppleACPIPlatform platform right ?
So please tell me more about this case. for CPU 2th gen and 3th gen. SO I can send you EFI one of my Z77 machine with i5-2500K witch work on SmBios iMacPro1,1 and AppleACPIPlatform and I thing it's work very well. even OC I clocked to 5.4 but now I 5.0GHz - 24/7. This machine is one of my favorite one. and What can I do in this case. to do it better ?
Ideally, for my i7-3770K (Ivy bridge), I'd like to use iMac13,2 ModelID but this model assumes and iGPU & Nvidia Discrete GPU thus that config does not work well for using an AMD RX 5xx GPU for H.264 or HEVC encoding.
So I disable the IGPU and set the model ID to iMacPro1,1 as that model does not have an IGPU but does have an AMD GPU. This allows H.264 and HEVC encoding (well it did but 10.15.2 broke it again for FCPX - that's another story).
The problem with using iMacPro1,1 model ID on an Ivy Bridge is CPU power management is not optimal as it assumes an Intel Xeon W-21xx. Even though I have a SSDT for the CPU power management, it does not work very well.

So, what CPUFriend kext does is to inject the correct CPU frequency vectors, and power configurations for iMac13,2 (as defined by Mac-FC02E91DDD3FA6A4.plist) for iMacPro1,1. That is, you can set Model ID to iMacPro1,1 but still have the CPU power configuration of iMac13,2.

For your i5-2500K (Sandy Bridge) you could potentially do the same. It depends on what Model ID you are using currently, what SSDT you have for overclocking to 5.4Ghz (which is very surprising :crazy:) and which AMD GPU you want to use for HEVC encoding.
 
Joined
Oct 23, 2010
Messages
920
Motherboard
GA-Z77X-UP5-TH
CPU
i7-3770K
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
"I was doing that pressing reload button and once it turned green did the encode, it created a log file in the library/application support/videoproc where it said something like could not initialize videotoolbox"

Yep, i had the same problem - iGPU headless - using SMBIOS imac13,2. Headless config was 100% OK but problems using HW Enc.
Did lot of sksivga tests ... until i switched to SMBIOS iMacPro and disabled iGPU in BIOS and removed all Clover Options für iGPU (headless ID, Injekt Intel..).
I then restarted and HW Enc works - WEG used as before. I have IVY cpu but even with iMacPro SMBIOS all is OK - cpu speedstep works as before. I only disabled generate p/c states and aktivate Plugin and Plugintype = 1. Now and before never used an ssdt.aml for CPU Pstates. Clover did all well - before by generate p/cstates , now by using Plugintype and Plugintype=1.
View attachment 440851
I'm surprised that you believe your Ivy Bridge CPU power management is working with any help except for PlugInType=1 for iMacPro1,1 model ID. Have you checked that the SpeedStep P-States switch actually step across the whole range using Hackintool ? Also have you checked the CPU power consumption and average speed during idle which ?
 
Joined
Oct 23, 2010
Messages
920
Motherboard
GA-Z77X-UP5-TH
CPU
i7-3770K
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
Hi macnb,

I have the same CPU and a similar motherboard as you. I tried to set my SMBIOS to iMacPro1,1 and disabled IGPU in BIOS. I also had the dummy152.kext but I still couldn't get my HEVC encoding working. Do you have any suggestions?

Thanks,
Joseph
What are you using to do the HEVC encoding ?
FCPX 10.4.8 and compressor 4.4.6 does not work anymore with macOS 10.15.2 and RX 5XX GPU
 
Joined
Jan 13, 2017
Messages
269
Motherboard
Gigabyte Designare Z390
CPU
i9 9900K
Graphics
RX580
Mac
  1. iMac
  2. Mac Pro
Classic Mac
  1. Apple
Mobile Phone
  1. iOS
I'm surprised that you believe your Ivy Bridge CPU power management is working with any help except for PlugInType=1 for iMacPro1,1 model ID. Have you checked that the SpeedStep P-States switch actually step across the whole range using Hackintool ? Also have you checked the CPU power consumption and average speed during idle which ?
And where to download this scrypt. /ResourceConverter.sh
 
Joined
Jul 29, 2013
Messages
37
Motherboard
Gigabyte GA-z97x-ud7 TH
CPU
i5 4690k
Graphics
Sapphire RX 590 Nitro+
Then hevc doesn’t work for you :(

If I run the same file using Movist, CPU usage by Movist is only 6-8%. WindowServer is at 20%. What does that mean? With mpv it was 170%.

Also downloaded jellyfish-3-mbps-hd-hevc-10bit.mkv - same thing.
 
Joined
Oct 17, 2014
Messages
122
Motherboard
Z390 Gaming X
CPU
i7-8700K
Graphics
RX 570
Mac
  1. MacBook
Mobile Phone
  1. iOS
What are you using to do the HEVC encoding ?
FCPX 10.4.8 and compressor 4.4.6 does not work anymore with macOS 10.15.2 and RX 5XX GPU

interesting you would say that.
z390 gaming x
8700k
Rx 570
10.15.2

changed smbios to Mac Pro 7,1
BUT I enabled igpu in bios

compressor encodes via hardware (I’ll check version number when I have a chance)
Handbrake encodes via hardware
 
Joined
Jun 15, 2013
Messages
23
Motherboard
Z87-UD3H
CPU
i7-4770K
Graphics
RX 580
Mac
  1. MacBook Air
  2. MacBook Pro
Mobile Phone
  1. iOS
If I run the same file using Movist, CPU usage by Movist is only 6-8%. WindowServer is at 20%. What does that mean? With mpv it was 170%.

Also downloaded jellyfish-3-mbps-hd-hevc-10bit.mkv - same thing.

Can you try the 400mbps one? If cpu doesn’t spike then it seems to work.
 
Joined
Oct 23, 2010
Messages
920
Motherboard
GA-Z77X-UP5-TH
CPU
i7-3770K
Graphics
RX 580
Mac
  1. iMac
  2. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
encodes via hardware
yes but WHICH hardware - IGPU or AMD GPU ???
Check using @mitch_de's AMD menu tool which will tell you if AMD GPU is encoding (it will say ENC=YES in the menu bar).
 
Joined
Jul 29, 2013
Messages
37
Motherboard
Gigabyte GA-z97x-ud7 TH
CPU
i5 4690k
Graphics
Sapphire RX 590 Nitro+
Can you try the 400mbps one? If cpu doesn’t spike then it seems to work.

With WEG 1.3.6 and Lilu 1.41:
Video plays smoothly each time. CPU is random at the beginning. See screenshots - sometimes around 50-70% sometimes 30% sometimes even 10% but after 1/3rd video is done playing it goes down to around 7-10%.

With WEG 1.3.5 and Lilu 1.4.0:
The video was struggling to play, could hear the fan(s). The CPU shot up to 243% see last screenshot.


Screenshots with WEG 1.3.6 and Lilu 1.41:
1576938678342.png

1576938690329.png

1576938699644.png

1576938710148.png



Screenshot with WEG 1.3.5 and Lilu 1.4.0:
1576939280633.png
 
Last edited:
Top