GUIDE How to Enable H.264 and HEVC/H.265 encoding on macOS

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Messages
4,147
Motherboard
Supermicro X11SPA-T
CPU
Intel Xeon W-3275 28 Core
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. Mac mini
  2. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
No, no, I didn't set anything special in DaVinci. I just tried the difference between manual and automatic selection of Graphic card, but the result seems to be the same = no success = very poor encoding performance to H.265 ... see image below
View attachment 5034

Unfortunately there is no possibility to encode via UHD630 (even that iGPU is listed), because it is not selectable and is grayed-out as you can see. This would be a sufficient workaround for me, because encoding via iGPU was quite fast.

BTW it is a free version of Davinci.

Thanks for any help.
Here, uncheck Auto and test Metal and OpenCL. Metal should export fast.
 

rmkk

New member
Joined
Sep 14, 2022
Messages
15
Motherboard
ASRock Z490 ITX/TB3
CPU
Intel I7-10700
Graphics
UHD630 + RX6600XT
OS X/macOS
12.0.x
Bootloader
  1. OpenCore
Mac
  1. Mac Pro
Mobile Phone
  1. iOS
In Resolve, H.265 export is carried out on the GPU. It may simply be that Intel's 10700K H.265's encoder is better than RX 6600XT.
When export to H.265 start in Resolve (free version) processor goes to load and all fans start spinning. So I suspect that dGPU is not being used.
 

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Messages
4,147
Motherboard
Supermicro X11SPA-T
CPU
Intel Xeon W-3275 28 Core
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. Mac mini
  2. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
When export to H.265 start in Resolve (free version) processor goes to load and all fans start spinning. So I suspect that dGPU is not being used.
Probably, the main root cause. What's the CPU load when exporting?

Could be mostly related to the free version. Try to export using Resolve Studio.
 

KVyDavid

New member
Joined
Nov 23, 2022
Messages
6
Motherboard
B75
CPU
i5 3470s
Graphics
RX 560
OS X/macOS
12.0.x
Bootloader
  1. OpenCore
Mac
  1. iMac Pro
Mobile Phone
  1. iOS
Hi, I have the same problem. Trying to export to HEVC with Compressor using RX 560 4GB and i5 3470s. Exporting to H.264 took a few minutes and HEVC took a few hours with CPU at 100%. VideoProc says I can encode HEVC and I can use it to encode HEVC on Windows with Premiere Pro. But I don't know why macOS doesn't use my dGPU
Here're my PR files
 

Attachments

  • Screen Shot 2022-11-23 at 8.08.15 PM.png
    Screen Shot 2022-11-23 at 8.08.15 PM.png
    145.9 KB · Views: 1
  • EFI.zip
    13 MB · Views: 0
Last edited:

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Messages
4,147
Motherboard
Supermicro X11SPA-T
CPU
Intel Xeon W-3275 28 Core
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. Mac mini
  2. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
Hi, I have the same problem. Trying to export to HEVC with Compressor using RX 560 4GB and i5 3470s. Exporting to H.264 took a few minutes and HEVC took a few hours with CPU at 100%. VideoProc says I can encode HEVC and I can use it to encode HEVC on Windows with Premiere Pro. But I don't know why macOS doesn't use my dGPU
Here're my PR files
Incomplete PR files attached.

Provide the PR files as described in the FAQ:
 

KVyDavid

New member
Joined
Nov 23, 2022
Messages
6
Motherboard
B75
CPU
i5 3470s
Graphics
RX 560
OS X/macOS
12.0.x
Bootloader
  1. OpenCore
Mac
  1. iMac Pro
Mobile Phone
  1. iOS
Incomplete PR files attached.

Provide the PR files as described in the FAQ:
Sorry for missing files. Here they are:
 

Attachments

  • PR.zip
    14 MB · Views: 4

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Messages
4,147
Motherboard
Supermicro X11SPA-T
CPU
Intel Xeon W-3275 28 Core
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. Mac mini
  2. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
Sorry for missing files. Here they are:

Here are a few issues.

Make the following changes to your config.plist

- Remove ResetLogoStatus Quirk in ACPI>Quirks section.
- Remove the IGPU Device from DeviceProperties section.
- Kexts loading order is not correct. Important Kexts should load first.
- Set Target to 3 in Misc>Debug section.
- Enable DisableWatchDog, AppleDebug and ApplePanic in Misc>Debug section.
- Drivers loading order is not correct. Important Drivers should load first.
- Remove HfsPlus.efi and use OpenHfsPlus.efi.

Once you're done with the changes, save your config.plist. Restart the system and reset NVRAM twice. Attach the new PR files.

Also, it would be better to disable your IGPU from BIOS. If there is no such options, you can disable the IGPU from the config.plist
 

KVyDavid

New member
Joined
Nov 23, 2022
Messages
6
Motherboard
B75
CPU
i5 3470s
Graphics
RX 560
OS X/macOS
12.0.x
Bootloader
  1. OpenCore
Mac
  1. iMac Pro
Mobile Phone
  1. iOS
Here are a few issues.

Make the following changes to your config.plist

- Remove ResetLogoStatus Quirk in ACPI>Quirks section.
- Remove the IGPU Device from DeviceProperties section.
- Kexts loading order is not correct. Important Kexts should load first.
- Set Target to 3 in Misc>Debug section.
- Enable DisableWatchDog, AppleDebug and ApplePanic in Misc>Debug section.
- Drivers loading order is not correct. Important Drivers should load first.
- Remove HfsPlus.efi and use OpenHfsPlus.efi.

Once you're done with the changes, save your config.plist. Restart the system and reset NVRAM twice. Attach the new PR files.

Also, it would be better to disable your IGPU from BIOS. If there is no such options, you can disable the IGPU from the config.plist
I've done what you told me. Here it is
I renamed OpenHfsPlus to HfsPlus
 

Attachments

  • PR.zip
    13.4 MB · Views: 2

EliteMacx86

Administrator
Staff member
Joined
Jul 22, 2018
Messages
4,147
Motherboard
Supermicro X11SPA-T
CPU
Intel Xeon W-3275 28 Core
Graphics
2xAMD RX 580 8GB
OS X/macOS
11.0.x
Bootloader
  1. OpenCore
Mac
  1. Mac mini
  2. MacBook Pro
Mobile Phone
  1. Android
  2. iOS
I've done what you told me. Here it is
I renamed OpenHfsPlus to HfsPlus
Looks good.

Describe your export process and monitoring process.
 

Forum statistics

Threads
791
Messages
8,510
Members
7,994
Latest member
amedeus64