[JSL/EHL] Reconsider enable GUC_LOAD_HUC for CBR/VBR rate control
/* Don't enable GuC/HuC on pre-Gen12 */
if (GRAPHICS_VER(i915) < 12) {
i915->params.enable_guc = 0;
return;
}
It seems Intel disabled the HuC firmware loading by default on all pre-Gen12 platforms, however the iGPU of Jasper Lake and Elkhart Lake are the stripped version of Gen11 Ice Lake, which means they only support CQP rate control by default with low-power encoding unless you add the i915.enable_guc=2
option in your kernel parameters but you can't expect any end user to achieve this on their own and it is risky.
I don't think this is the desired behavior since CBR and VBR rate control methods are the basic feature of any fully functional video encoder such as H.264 and HEVC. Thus the CBR and VBR rate control should be available out of the box once the UMD and KMD are properly installed.
There has been tons of issues since the shipping of JSL and EHL products. Users can't use their NUC or mini PC as a server to transcode video on the fly with FFmpeg for online media delivery due the lack of CBR or VBR rate control. And CQP is not a good idea for video bitrate control in our use case.
Please reconsider enable HuC firmware loading (ENABLE_GUC_LOAD_HUC) on these two chips. Thanks!
[h264_vaapi @ 0x558a24fd8280] Driver does not support VBR RC mode (supported modes: CQP).
Issues: