Contribute
Register

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

Status
Not open for further replies.
I don't know if that will work for a Z170/HD530 motherboard. Not the same as a Z370.

I seen people using this ig-platform-id with Z270 and B250 motherboards. You just have to find an ID that works your system if you have problems :)
 
I've literally read all the comments from this post and still totally lost on which to follow. Can someone summarize this thread please, @shuhung?

As of now, what I did is the following.
1. Enabled iGPU in BIOS with 64 MB (Max MB available).
2. Set Primary GPU to PEG
3. Installed Shiki, Lilu, WEG in Clover\Kexts\Others. - Do I need the IntelGraphicsFixup as well?
4. Set ig-platform-id to 0x59120003
5. Reboot and was successful but it takes a bit longer than iGPU disabled
6. Tested playing Sony 4K demo video and it wasn't smooth. Also, I think its the CPU working basing on Intel Power Gadget. iGPU bar (green bar) never moved.

I'm pretty sure I miss something here. Could someone help?

My system:
  • MSI 370i Pro Carbon
  • Intel i3-8100
  • Gigabyte RX460 4GB
  • OS X 10.13.5

Update:
Added IntelGraphicsFixup 1.2.7 and booom. I can play the Sony 4K demo smoothly. From Intel Power Gadget, both CPU and GPU shows usage. But is that suppose to happen? I mean should my CPU be at full speed when playing 4K videos? I thought the whole point is to transfer rendering from CPU to GPU?
 

Attachments

  • Screen Shot 2018-06-30 at 4.10.54 PM.png
    Screen Shot 2018-06-30 at 4.10.54 PM.png
    9.4 MB · Views: 196
Last edited:
wow it seems 10.14 beta 3 has fixed the bug related to freezing rx580 in fcpx with h264 and hevc 8bit. @shuhung Can you check the problem again? I tried and fcpx not freezes anymore. But I do not know rx580 have been used to encode/decode? @@
 
My problem is when I run Photos.app, after a few seconds the system freezes. log show gives GPU errors. Sometimes the same happens in QT playing Sony 4k demo. Playing 4k demo shows low CPU but the playback is a bit choppy.

I have Rx560 4GB (67ef deviceid). Integrated UHD630 is enabled, 0x59120003 ig-platform-id. GFX0->IGPU and PEGP->GFX0

Acceleration appears to work, but the freezes...

Code:
cwd
/
txt
/System/Library/Frameworks/VideoToolbox.framework/Versions/A/XPCServices/VTDecoderXPCService.xpc/Contents/MacOS/VTDecoderXPCService
txt
/private/var/db/mds/messages/502/se_SecurityMessages
txt
/usr/share/icu/icudt59l.dat
txt
/System/Library/Extensions/AMDMTLBronzeDriver.bundle/Contents/MacOS/AMDMTLBronzeDriver
txt
/System/Library/Video/Plug-Ins/VCPHEVC.bundle/Contents/MacOS/VCPHEVC
txt
/System/Library/Extensions/AMDRadeonVADriver2.bundle/Contents/MacOS/AMDRadeonVADriver2
txt
/usr/lib/dyld
txt
/private/var/db/dyld/dyld_shared_cache_x86_64h
0
/dev/null
1
/dev/null
2
/dev/null

Is there a solution?
 

Attachments

  • ioreg.ioreg
    16 MB · Views: 118
My problem is when I run Photos.app, after a few seconds the system freezes. log show gives GPU errors. Sometimes the same happens in QT playing Sony 4k demo. Playing 4k demo shows low CPU but the playback is a bit choppy.

I have Rx560 4GB (67ef deviceid). Integrated UHD630 is enabled, 0x59120003 ig-platform-id. GFX0->IGPU and PEGP->GFX0

Acceleration appears to work, but the freezes...

Code:
cwd
/
txt
/System/Library/Frameworks/VideoToolbox.framework/Versions/A/XPCServices/VTDecoderXPCService.xpc/Contents/MacOS/VTDecoderXPCService
txt
/private/var/db/mds/messages/502/se_SecurityMessages
txt
/usr/share/icu/icudt59l.dat
txt
/System/Library/Extensions/AMDMTLBronzeDriver.bundle/Contents/MacOS/AMDMTLBronzeDriver
txt
/System/Library/Video/Plug-Ins/VCPHEVC.bundle/Contents/MacOS/VCPHEVC
txt
/System/Library/Extensions/AMDRadeonVADriver2.bundle/Contents/MacOS/AMDRadeonVADriver2
txt
/usr/lib/dyld
txt
/private/var/db/dyld/dyld_shared_cache_x86_64h
0
/dev/null
1
/dev/null
2
/dev/null

Is there a solution?

VCPHEVC means it's a software acceleration, so it isn't working properly. Are you using Lilu, WhateverGreen and IntelGraphicsFixup kexts? You also have to enable "Inject Intel" in Clover.


Your IOReg seems to be corrupted. Are you sure you need GFX0->IGPU and PEGP->GFX0? I don't use them at all; you have to use they only if you need.
 
Last edited:
wow it seems 10.14 beta 3 has fixed the bug related to freezing rx580 in fcpx with h264 and hevc 8bit. @shuhung Can you check the problem again? I tried and fcpx not freezes anymore. But I do not know rx580 have been used to encode/decode? @@

On 10.14 DP 1, AMD HEVC HW encode / decode OK, H264 decode OK, H264 encoder disabled by Apple.
On 10.14 DP 2/3, AMD HEVC encoding no longer work, HEVC HW decoding work with VLC 3.0.4 but not work with QuickTime.

On 10.13.5, for AMDEllesmereGraphicsAccelerator (RX470/480/570/580) use below patch to disable IOGVACodec, remove SwapID.kext if installed, should fix FCPX freeze without OpenCL performance drop, all CUs work.

Name
AMDRadeonX4000

Comment
Rename IOGVACodec to IOGVACodex

Find
494F4756 41436F64 6563

Replace
494F4756 41436F64 6578
 
hello @shuhung
Today, i got new card RX 460 changing for GT1050 because i think AMD native support from 10.13,
Firstly i uninstall NVIDI driver, uncheck web driver flag after that i install whatevergreen for AMD card( in config file i remove all ig-flatform or fakeID). I run all test openGL, luxmark and i got the point same with internet result when i try to find. But when i ran benchmark geenbenk detect my card is Pro 555 and in Max vidio converter can detect my card to encode by hardware. Thanks so much.
 

Attachments

  • Screen Shot 2018-07-07 at 12.13.36 PM.png
    Screen Shot 2018-07-07 at 12.13.36 PM.png
    73.1 KB · Views: 2,875
  • Screen Shot 2018-07-07 at 12.13.27 PM.png
    Screen Shot 2018-07-07 at 12.13.27 PM.png
    177.4 KB · Views: 3,091
  • Screen Shot 2018-07-07 at 12.13.00 PM.png
    Screen Shot 2018-07-07 at 12.13.00 PM.png
    243.7 KB · Views: 2,924
  • Screen Shot 2018-07-07 at 12.12.35 PM.png
    Screen Shot 2018-07-07 at 12.12.35 PM.png
    197.4 KB · Views: 2,943
Last edited:
On 10.14 DP 1, AMD HEVC HW encode / decode OK, H264 decode OK, H264 encoder disabled by Apple.
On 10.14 DP 2/3, AMD HEVC encoding no longer work, HEVC HW decoding work with VLC 3.0.4 but not work with QuickTime.

On 10.13.5, for AMDEllesmereGraphicsAccelerator (RX470/480/570/580) use below patch to disable IOGVACodec, remove SwapID.kext if installed, should fix FCPX freeze without OpenCL performance drop, all CUs work.

Name
AMDRadeonX4000

Comment
Rename IOGVACodec to IOGVACodex

Find
494F4756 41436F64 6563

Replace
494F4756 41436F64 6578
On 10.13.5, I tried with patch but fcpx is still freeze
 
Status
Not open for further replies.
Back
Top