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 want to write (maybe) OT post so @shuhung can you help me here?: FCPX randomly freezes macOS 10.13.
It's a problem related to this thread.

HW decoding HEVC work perfectly in video players not equal to HW HEVC decoding will also work in FCPX during video editing, recently AMD HEVC not work in FCPX preview window, FCPX just started to support HEVC, still has a long road to run.
 
Last edited:
HW decoding HEVC work perfectly in video players not equal to HW HEVC decoding will also work in FCPX during video editing, recently AMD HEVC not work in FCPX preview window, FCPX just started to support HEVC, still has a long road to run.
Maybe is it better to use H264 instead H265 at the moment (in FCPX) ?

How is the situation on 10.13.4?
 
Maybe is it better to use H264 instead H265 at the moment (in FCPX) ?

How is the situation on 10.13.4?

Yes, source video should be H264 format for FCPX editing.

If source is HEVC, IQSV can HW decoding in preview window but encoding is very poor in FCPX, RX460 just reverse.

Same condition in 10.13.4, I think need new FCPX version more than OS version upgrade.
 
Yes, source video should be H264 format for FCPX editing.

If source is HEVC, IQSV can HW decoding in preview window but encoding is very poor in FCPX, RX460 just reverse.

Same condition in 10.13.4, I think need new FCPX version more than OS version upgrade.
If I still use dummy kext for H265 HW E/D can I work with H264 (E/D) without problem in FCPX with RX460 and iGPU disabled (or enabled?)
 
If I still use dummy kext for H265 HW E/D can I work with H264 (E/D) without problem in FCPX with RX460 and iGPU disabled (or enabled?)

No, H264 encode not work even cause system freeze.
Recently HEVC video frame rate higher than 30 fps not work well in FCPX, same as other video players, except QuickTime can playback HEVC video @60 fps correctly.

Enable IQSV if need H264 output.

EX460 work fine in below condition (HEVC encoding round 70 fps in 1080p), higher than 1080p work but encoding speed will be slower.
1080p H264@30 to 1080p HEVC 8 bit
1080p HEVC@30 to 1080p HEVC 8 bit
 
H.264 rendering with IQSV enabled use RX460 acceleration or not?

IQSV enabled = iGPU enabled from BIOS(64MB, max) , right?

Enable IQSV, AMD HEVC support will be auto disabled.

Yes, enable from BIOS and use empty frame ig-platform-id 0x19120001.
 
I removed all kext about HW H.265 support.
BIOS settings:
  • Chipset/Integrated Graphics : Enabled
  • Chipset/DVMT Pre-Allocated :64M
  • Peripherals/Initial Display Output : PCIe 1 Slot
Now the BruceX test (output: H.264/Apple ProRes 422) mark 1m26s and the result file is glitched (green side and squares coloured overlap video), what's wrong?

glitched_output.gif

Clover dir and IOreg copy attached below.
________________________________________

Update: All apparently fixed.
  • Chipset/DVMT Pre-Allocated :128M (I don't know if it's useful, please enlighten me)
  • IntelGraphicsFixup.kext updated to v1.2.6
    • Fix Skylake and KabyLake automatic framebuffer detection
    • Ensure standard connector-less framebuffers are used (!)
  • E/C/kexts/Other/Lilu.kext moved to /Library/Extensions/ (apple says that non-apple kext should be placed here)
  • E/C/kexts/Other/WhateverGreen.kext moved to /Library/Extensions/ (-)
  • E/C/kexts/Other/IntelGraphicsFixup.kext moved to /Library/Extensions/ (-)
  • Permissions rebuild
Code:
$ sudo chmod -R 755 /Library/Extensions
$ sudo chown -R root:wheel /Library/Extensions
  • kextcache update
Code:
$ sudo kextcache -i /

Now my BruceX time is 44s, I read some RX560 scored 27s, is it correct this gap?

 

Attachments

  • debug_zenonos.zip
    3.3 MB · Views: 86
Last edited:
I removed all kext about HW H.265 support.
BIOS settings:
  • Chipset/Integrated Graphics : Enabled
  • Chipset/DVMT Pre-Allocated :64M
  • Peripherals/Initial Display Output : PCIe 1 Slot
Now the BruceX test (output: H.264/Apple ProRes 422) mark 1m26s and the result file is glitched (green side and squares coloured overlap video), what's wrong?

View attachment 320295

Clover dir and IOreg copy attached below.
________________________________________

Update: All apparently fixed.
  • Chipset/DVMT Pre-Allocated :128M (I don't know if it's useful, please enlighten me)
  • IntelGraphicsFixup.kext updated to v1.2.6
    • Fix Skylake and KabyLake automatic framebuffer detection
    • Ensure standard connector-less framebuffers are used (!)
  • E/C/kexts/Other/Lilu.kext moved to /Library/Extensions/ (apple says that non-apple kext should be placed here)
  • E/C/kexts/Other/WhateverGreen.kext moved to /Library/Extensions/ (-)
  • E/C/kexts/Other/IntelGraphicsFixup.kext moved to /Library/Extensions/ (-)
  • Permissions rebuild
Code:
$ sudo chmod -R 755 /Library/Extensions
$ sudo chown -R root:wheel /Library/Extensions
  • kextcache update
Code:
$ sudo kextcache -i /

Now my BruceX time is 44s, I read some RX560 scored 27s, is it correct this gap?


Mine also 43 sec.

Lilu and it's plugins need load earlier, place in clover/kext/others is the best choice, if prefer to install at L/E also install LiluFriend plugins to L/E, which ensure all lilu and it's plugins load earlier
 
Originally, AMD HEVC is not officially supported for RX GPU, for Vega GPU only, I don’t think Apple will open or add this feature to RX GPU in 10.13.4.
That would be a shame as they use variants of those GPU's in their MacbookPro's.
It would be interesting to examine the IOREG of those real MacBookPro14,3
 
Status
Not open for further replies.
Back
Top