Closed rekjanov closed 1 year ago
I also tried, on Ubuntu 22.04.1 with the following updated media components:
I've filed an issue: https://gitlab.freedesktop.org/drm/intel/-/issues/8080
This has been a long time issue due to the neglect of Intel devs.
Intel disabled the HuC loading by default on pre-Gen12 platforms, however Jasper Lake and Elkhart Lake are two stripped version of Gen11, which means they only support CQP rate control by default unless you add the i915.enable_guc=2
option in your kernel parameters but you can't expect any end user can achieve this on their own.
I don't think this is the desired behavior since CBR and VBR rate control methods are the basic feature of any full functional video encoder such as H.264 and HEVC. They should reconsider enable HuC loading on these two chips.
Thank you. I figured out about enable_guc=2
. The problem is that on 5.15 kernel GuC initialization fails with error -110 (time out). This parameter works on 6.1.10 kernel though. I haven't tried the versions inbeetwen.
To add to confusion, in my previous experience with MediaSDK (18.3) and kernel 4.19 on SKL and APL, I didn't need any GuC/HuC firmware to get cbr/vbr.
5.15 had a known issue that prevent you from using the GuC/HuC fimware.
Only JSL and EHL are affected by this issue and end users have to add this parameter on their own.
Because these two chip doesn't support non-low-power(PAK+kernel+VME) encoding.
System information
Issue behavior
Tried on uptodate Ubuntu Server 22.04.1 with distribution provided media sdk packages, on generic (5.15) and oem (6.1) kernel Also tried on a from scratch system with stock 5.15 kernel and latest media sdk/va driver 22.5.4 with requirements.
Describe the current behavior
but
any other rc doesn't work either
Describe the expected behavior
Debug information
libva 2.14.0, libigdgmm12 22.1.2+ds1-1, intel-media-va-driver-non-free 22.3.1+dfsg1-1ubuntu1, libmfx1/libmfx-tools 22.3.0-1
vainfo.log
strace.log
libva_trace.log
mfxtracer.log