Contribute
Register

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

Joined
Jun 16, 2014
Messages
31
Motherboard
Huanan Deluxe X79
CPU
E5-2680 v2
Graphics
RX 580
Mobile Phone
  1. iOS
You could use a iMacPro1,1 SMBIOS OR a better way you could keep your current SMBIOS but just use “shikigva=32 shiki-id=iMacPro1,1’s board-id” boot args to tell AppleGVA that your mac is a iMacPro1,1. See post #635. I have E3-1230 v2, RX560 and i use Macpro6,1 with above boot args.

My problem is I have changed smbios to iMacPro1.1 and opencl geekbench score about 138.000, but with smbios MacPro6.1 use “shikigva=32 shiki-id=7BA5B2D9E42DDD94” only 98.000 points.

See #631

Now with smbios iMacPro1.1 boot macOS but not works keyboard and mouse, but clock and istat show progress and run. I think crash something graphics because the last app that I have used was BruceX with Final Cut Pro X. Only works my clover with smbios MacPro6.1, with others smbios boot perfectly but not works keyboard and mouse.
 
Last edited:
Joined
Nov 3, 2018
Messages
310
Motherboard
ASRock B360-HDV
CPU
i5-8400
Graphics
RX 470
Mobile Phone
  1. iOS
My problem is I have changed smbios to iMacPro1.1 and opencl geekbench score about 138.000, but with smbios MacPro6.1 use “shikigva=32 shiki-id=7BA5B2D9E42DDD94” only 98.000 points.

See #631

Now with smbios iMacPro1.1 boot macOS but not works keyboard and mouse, but clock and istat show progress and run. I think crash something graphics because the last app that I have used was BruceX with Final Cut Pro X. Only works my clover with smbios MacPro6.1, with others smbios boot perfectly but not works keyboard and mouse.

upgrade to 10.14.4 beta1, it is very stable for hardware decoding and encoding.
 
Joined
Nov 3, 2018
Messages
310
Motherboard
ASRock B360-HDV
CPU
i5-8400
Graphics
RX 470
Mobile Phone
  1. iOS
update:

with dummykext141, macOS 10.14.4, using imacpro1,1 board-id, encoding and decoding worked great on RX 560, but i got very high fan speed after watching videos for a while, and the fan makes quit a lot of noise. this never happened before. I'll try to disable dummykext141 to see what is the real cause of this problem.
 

Attachments

  • Screen Shot 2019-01-27 at 13.08.14.png
    Screen Shot 2019-01-27 at 13.08.14.png
    52.7 KB · Views: 132
Joined
Nov 3, 2018
Messages
310
Motherboard
ASRock B360-HDV
CPU
i5-8400
Graphics
RX 470
Mobile Phone
  1. iOS
update:

with dummykext141, macOS 10.14.4, using imacpro1,1 board-id, encoding and decoding worked great on RX 560, but i got very high fan speed after watching videos for a while, and the fan makes quit a lot of noise. this never happened before. I'll try to disable dummykext141 to see what is the real cause of this problem.


update:

Removed dummykext141 and shikigva boot args, playing 3 online streaming videos at the same time , no high fan speed. i guess dummykext141 needs modification. i'll take a look how to do that.
 

Attachments

  • Screen Shot 2019-01-27 at 13.26.17.png
    Screen Shot 2019-01-27 at 13.26.17.png
    56.5 KB · Views: 76
Joined
Nov 3, 2018
Messages
310
Motherboard
ASRock B360-HDV
CPU
i5-8400
Graphics
RX 470
Mobile Phone
  1. iOS
update:

Removed dummykext141 and shikigva boot args, playing 3 online streaming videos at the same time , no high fan speed. i guess dummykext141 needs modification. i'll take a look how to do that.

Update to below update: this fan speed problem still exists, it happens when doing GPU works after wake from sleep.

Update again:

I created a new dummy kext for macOS 10.14.4, see attached dummy144.kext.zip, fixed high fan speed problem.

Again, i tested with 3 online video streaming, plus a local movie playing with mpv, all at the same time, and keep fast fowarding backwarding the movie using right and left arrow keyboard key, GPU shows utilization 100%, power 78W, temp 65 degree, still no high fanspeed problem.

If you are interested, here is the instructions to create the dummy144.kext:

1. create a folder 'dummy144'
2. copy '/System/Library/Extensions/AMDRadeonX4000.kext/Contents/Info.plist' to 'dummy144'
3. edit 'dummy144/Info.plist' with PlistEditPro.app
4. append a # to 'Executable file' so that it will seek 'AMDRadeonX4000' from system instead of from the folder 'dummy144'
5. change the value of 'Get Info string' 'Bundle identifier' 'Bundle name' to whatever you want.
6. Add 'IOGVAHEVCDecode 1' 'IOGVAHEVCEncode 1' 'IOGVAVTCapabilities' 'IOGVACodec AMDU6V3' to 'AMDBaffin' and 'AMDEllesmere' under 'IOKitPersonalities'
7. make everything else untouched, save the Info.plist, rename dummy144 to dummy144.kext
8. copy dummy144.kext to Clover/kexts/other/
9. add boot args: shiki-id=Mac-7BA5B2D9E42DDD94 shikigva=32 to Clover/config.plist
 

Attachments

  • dummy144.kext.zip
    2.5 KB · Views: 238
  • Screen Shot 2019-01-27 at 13.58.09.png
    Screen Shot 2019-01-27 at 13.58.09.png
    57.5 KB · Views: 201
  • Screen Shot 2019-01-27 at 14.47.05.png
    Screen Shot 2019-01-27 at 14.47.05.png
    94.3 KB · Views: 207
  • Screen Shot 2019-01-27 at 14.47.36.png
    Screen Shot 2019-01-27 at 14.47.36.png
    175.9 KB · Views: 181
  • Screen Shot 2019-01-27 at 14.47.56.png
    Screen Shot 2019-01-27 at 14.47.56.png
    197.3 KB · Views: 183
Last edited:
Joined
Oct 26, 2013
Messages
1,054
Motherboard
MSI B250M PRO-VHD
CPU
i3-7100
Graphics
RX 570
i guess dummykext141 needs modification. i'll take a look how to do that.

Dummy141 kext just use AppleUSBHostMergeProperties function append 'IOGVAHEVCDecode 1' 'IOGVAHEVCEncode 1' 'IOGVAVTCapabilities' 'IOGVACodec AMDU6V3' to AMDRadeonX4000_AMDBaffinGraphicsAccelerator and AMDRadeonX4000_AMDEllesmereGraphicsAccelerator, do nothing about fan speed.

Both methods should be same, old override injection method may need change frequently but dummy141 (append method) not.
 
Joined
Nov 3, 2018
Messages
310
Motherboard
ASRock B360-HDV
CPU
i5-8400
Graphics
RX 470
Mobile Phone
  1. iOS
Dummy141 kext just use AppleUSBHostMergeProperties function append 'IOGVAHEVCDecode 1' 'IOGVAHEVCEncode 1' 'IOGVAVTCapabilities' 'IOGVACodec AMDU6V3' to AMDRadeonX4000_AMDBaffinGraphicsAccelerator and AMDRadeonX4000_AMDEllesmereGraphicsAccelerator, do nothing about fan speed.

Both methods should be same, old override injection method may need change frequently but dummy141 (append method) not.


thanks for the info. I found that this fan speed problem still exist, it happens when doing GPU works after wake from sleep. I'll do more test.
 
Joined
Oct 26, 2013
Messages
1,054
Motherboard
MSI B250M PRO-VHD
CPU
i3-7100
Graphics
RX 570
thanks for the info. I found that this fan speed problem still exist, it happens when doing GPU works after wake from sleep. I'll do more test.

Depended on VBIOS and FB kext, try create a dummy kext, add Acre powerplay properties (CFG_PTPL2_TBL) to your dummy kext.
1548576649056.png


edit: dummy FB kext sample
 

Attachments

  • AcreFB.kext.zip
    1.6 KB · Views: 72
Last edited:
Joined
Nov 3, 2018
Messages
310
Motherboard
ASRock B360-HDV
CPU
i5-8400
Graphics
RX 470
Mobile Phone
  1. iOS
Depended on VBIOS and FB kext, try create a dummy kext, add Acre powerplay properties (CFG_PTPL2_TBL) to your dummy kext.
View attachment 382579

edit: dummy FB kext sample

Can I add these to Dummy141.kext? if not ,what would this acre dummy kext look like, can you show me a sample?
 
Joined
Oct 26, 2013
Messages
1,054
Motherboard
MSI B250M PRO-VHD
CPU
i3-7100
Graphics
RX 570
My problem is I have changed smbios to iMacPro1.1 and opencl geekbench score about 138.000, but with smbios MacPro6.1 use “shikigva=32 shiki-id=7BA5B2D9E42DDD94” only 98.000 points.

Your dummy kext is outdate, it base on swap ID method, try dummy141 kext, should help.

Now with smbios iMacPro1.1 boot macOS but not works keyboard and mouse, but clock and istat show progress and run. I think crash something graphics because the last app that I have used was BruceX with Final Cut Pro X. Only works my clover with smbios MacPro6.1, with others smbios boot perfectly but not works keyboard and mouse.

My ASUS and Asrock mobos also have this issue, due to some ACPI code are missing on usb ssdt table, correct ACPI code then all usb ports work with new SMBIOS like iMacPro1,1.
 
Top