• Become a Premium Member for $25/year with no ads to improve your community experience. Upgrade to Pro Account for faster response and no wait times!

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

There is no way to disable iGPU, there is a PrimaryGPU option only that is set to PCIE.
Okay.
What are PR files ?
PR files are Problem Reporting Files. It usually contains EFI, IOReg, BIOS Settings, bootlog and kextcache output.
 
Okay.

PR files are Problem Reporting Files. It usually contains EFI, IOReg, BIOS Settings, bootlog and kextcache output.
Hmm ... how can I generate it ? Sorry for stupid question, do you mean boot log from DEBUG version of OpenCore ?
 
Hmm ... how can I generate it ? Sorry for stupid question, do you mean boot log from DEBUG version of OpenCore ?
You can do it manually. Simply copy all the files into a single zip file and upload it over here or to Google Drive.

Also, how much of a time difference when exporting H.265 with IGPU and AMD GPU?
 
Last edited:
Because I still do not know what and where those files are, I'm sending an output from "log show --last boot" command.

Additionally I found that VideoProc converted report an error after pressing a refresh button on HEVC section ... There is some error on the background that disappears quickly saying something like "Error: cannot create compression session: -12903" and "Try -allow_sw 1. The hardware encoder may be busy, or not supported" ... it seems that those messages came from ffmpeg bundled with VidoProc.

Additionally there is a lot of messages coming from VTEncoderXPCService in the system log I'm sending. Thanks.
1663486364133.png
 

Attachments

Last edited:
Additionally I found that VideoProc converted report an error after pressing a refresh button on HEVC section ... There is some error on the background that disappears quickly saying something like "Error: cannot create compression session: -12903" and "Try -allow_sw 1. The hardware encoder may be busy, or not supported"
Always, refresh to update the current status of encoding. Step #6 already mentions about it. As the image says it's not enabled, that's the reason for slow export.
Additionally there is a lot of messages coming from VTEncoderXPCService in the system log I'm sending. Thanks.
Attach your PR files.
 
See attachment with EFI, kextstat.lst, Mac Pro.ioreg (from IOregistryEditor), Mac Pro.spx (from System report), pcidevices.txt (from Hackingtool)
 

Attachments

See attachment with EFI, kextstat.lst, Mac Pro.ioreg (from IOregistryEditor), Mac Pro.spx (from System report), pcidevices.txt (from Hackingtool)
Update: after removing a Headless iGPU configuration from OC/config.plist the VideoProc shows both - H.264 and H.265 acceleration. However this does NOT solve the problem with acceleration in DaVinci, H.265 is still very very very slow :-(
 
See attachment with EFI, kextstat.lst, Mac Pro.ioreg (from IOregistryEditor), Mac Pro.spx (from System report), pcidevices.txt (from Hackingtool)
Your configuration is not as per the guide.
Invalid properties and injections exist, including Quirks. Moreover, SMBIOS is not correct.
Update: after removing a Headless iGPU configuration from OC/config.plist the VideoProc shows both - H.264 and H.265 acceleration. However this does NOT solve the problem with acceleration in DaVinci, H.265 is still very very very slow :-(
Is IGPU disabled in BIOS?

How much of a time difference when exporting H.265 with IGPU and AMD GPU?
 
Your configuration is not as per the guide.
Invalid properties and injections exist, including Quirks. Moreover, SMBIOS is not correct.

Is IGPU disabled in BIOS?

How much of a time difference when exporting H.265 with IGPU and AMD GPU?
Configuration follows OpenCore guide for Commetlake architecture.

GPU is not possible to be disabled in BIOS, there is a Primary GPU option only set to PCIE

H.265 encoding is slower let's say 50 times than H.264
 
Configuration follows OpenCore guide for Commetlake architecture.
Not at least from this forum. If you seek support on this forum, everything should be accordingly.
GPU is not possible to be disabled in BIOS, there is a Primary GPU option only set to PCIE
Okay.
H.265 encoding is slower let's say 50 times than H.264
Bummer. That's incredibly slow. There could be several causes.

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. Also, consider using Resolve> FFmpeg >H.265.

Also, are you using DaVinci Resolve or DaVinci Resolve Studio?
 

Forum statistics

Threads
1,937
Messages
18,124
Members
27,846
Latest member
radek60