Vafilter gstvafilter.c:381:gst_va_filter_open: vaCreateContext: resource allocation failed

I have built Gstreamer 1.24 on below platform.

GPU: Meteor Lake-P [Intel Arc Graphics]
CPU: Intel® Core™ Ultra 7 Processor 155HL
Kernel: Linux 6.7.12+bpo-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6

Meson build command:

run meson setup . .. \
        --buildtype release --unity off --strip \
        --default-library shared \
        --wrap-mode=nofallback \
        -Dorc-source=system \
	-Dgpl=enabled \
        -Drs=enabled \
	-Dcpp_args="-std=c++20" \
        -Dexamples=disabled -Dtests=enabled -Dgtk_doc=disabled \
        -Dpackage-origin="$Gxx" $OPTS "

When i run a gstreamer pipeline in which vaapi elements are present shows the following error.

Pipeline -
GST_DEBUG=vaapi:7,vah264enc:7 gst-launch-1.0 filesrc location=filename.mp4 ! h264parse ! vah264dec ! vah264enc ! h264parse ! fakesink

0:00:00.006290254 4399 0x5590843ebaa0 INFO vaapi gstvaapiutils.c:95:gst_vaapi_log: Open new log file /tmp/vaapi.log.091346.thd-0x0000112f for the thread 0x0000112f
0:00:00.006313647 4399 0x5590843ebaa0 INFO vaapi gstvaapiutils.c:95:gst_vaapi_log: LIBVA_TRACE is on, save log into /tmp/vaapi.log.091346.thd-0x0000112f
0:00:00.006326254 4399 0x5590843ebaa0 INFO vaapi gstvaapiutils.c:95:gst_vaapi_log: VA-API version 1.21.0
0:00:00.006342061 4399 0x5590843ebaa0 INFO vaapi gstvaapiutils.c:95:gst_vaapi_log: User environment variable requested driver ‘iHD’
0:00:00.006348279 4399 0x5590843ebaa0 INFO vaapi gstvaapiutils.c:95:gst_vaapi_log: Trying to open /opt/scorer/lib/dri/iHD_drv_video.so
0:00:00.009107942 4399 0x5590843ebaa0 INFO vaapi gstvaapiutils.c:95:gst_vaapi_log: Found init function __vaDriverInit_1_21
0:00:00.010609498 4399 0x5590843ebaa0 INFO vaapi gstvaapiutils.c:95:gst_vaapi_log: va_openDriver() returns 0
0:00:00.010637649 4399 0x5590843ebaa0 INFO vaapi gstvaapiutils.c:122:vaapi_initialize: VA-API version 1.21
0:00:00.020220284 4399 0x5590843ebaa0 INFO vaapi gstvaapiutils.c:95:gst_vaapi_log: Open new log file /tmp/vaapi.log.091346.thd-0x0000112f for the thread 0x0000112f
0:00:00.020234255 4399 0x5590843ebaa0 INFO vaapi gstvaapiutils.c:95:gst_vaapi_log: LIBVA_TRACE is on, save log into /tmp/vaapi.log.091346.thd-0x0000112f
0:00:00.020246381 4399 0x5590843ebaa0 INFO vaapi gstvaapiutils.c:95:gst_vaapi_log: VA-API version 1.21.0
0:00:00.020256635 4399 0x5590843ebaa0 INFO vaapi gstvaapiutils.c:95:gst_vaapi_log: User environment variable requested driver ‘iHD’
0:00:00.020262443 4399 0x5590843ebaa0 INFO vaapi gstvaapiutils.c:95:gst_vaapi_log: Trying to open /opt/scorer/lib/dri/iHD_drv_video.so
0:00:00.020276718 4399 0x5590843ebaa0 INFO vaapi gstvaapiutils.c:95:gst_vaapi_log: Found init function _vaDriverInit_1_21
0:00:00.021296781 4399 0x5590843ebaa0 INFO vaapi gstvaapiutils.c:95:gst_vaapi_log: va_openDriver() returns 0
0:00:00.021318542 4399 0x5590843ebaa0 INFO vaapi gstvaapiutils.c:122:vaapi_initialize: VA-API version 1.21
0:00:00.021340035 4399 0x5590843ebaa0 LOG vaapi video-format.c:597:video_format_create_map_once: failed to map RGB va_format with fourcc: AB30, byte order: 1 BPP: 32, depth 30, red mask 3ff, green mask ffc00, blue mask 3ff00000, alpha mask 30000000 to any gstreamer video format
0:00:00.021351190 4399 0x5590843ebaa0 LOG vaapi video-format.c:597:video_format_create_map_once: failed to map RGB va_format with fourcc: XB30, byte order: 1 BPP: 32, depth 30, red mask 3ff, green mask ffc00, blue mask 3ff00000, alpha mask 0 to any gstreamer video format
0:00:00.021372487 4399 0x5590843ebaa0 LOG vaapi video-format.c:597:video_format_create_map_once: succeed to map RGB va_format with fourcc: AR30, byte order: 1 BPP: 32, depth 30, red mask 3ff00000, green mask ffc00, blue mask 3ff, alpha mask 30000000 to BGR10A2_LE gstreamer video format
0:00:00.021381295 4399 0x5590843ebaa0 LOG vaapi video-format.c:597:video_format_create_map_once: failed to map RGB va_format with fourcc: XR30, byte order: 1 BPP: 32, depth 30, red mask 3ff00000, green mask ffc00, blue mask 3ff, alpha mask 0 to any gstreamer video format
0:00:00.021390089 4399 0x5590843ebaa0 LOG vaapi video-format.c:597:video_format_create_map_once: succeed to map RGB va_format with fourcc: RG16, byte order: 1 BPP: 16, depth 16, red mask f800, green mask 7e0, blue mask 1f, alpha mask 0 to RGB16 gstreamer video format
0:00:00.021398300 4399 0x5590843ebaa0 LOG vaapi video-format.c:597:video_format_create_map_once: succeed to map RGB va_format with fourcc: RGBA, byte order: 1 BPP: 32, depth 32, red mask ff000000, green mask ff0000, blue mask ff00, alpha mask ff to ABGR gstreamer video format
0:00:00.021406033 4399 0x5590843ebaa0 LOG vaapi video-format.c:597:video_format_create_map_once: succeed to map RGB va_format with fourcc: BGRA, byte order: 1 BPP: 32, depth 32, red mask ff00, green mask ff0000, blue mask ff000000, alpha mask ff to ARGB gstreamer video format
0:00:00.021413898 4399 0x5590843ebaa0 LOG vaapi video-format.c:597:video_format_create_map_once: succeed to map RGB va_format with fourcc: ARGB, byte order: 1 BPP: 32, depth 32, red mask ff0000, green mask ff00, blue mask ff, alpha mask ff000000 to BGRA gstreamer video format
0:00:00.021421185 4399 0x5590843ebaa0 LOG vaapi video-format.c:597:video_format_create_map_once: succeed to map RGB va_format with fourcc: XRGB, byte order: 1 BPP: 32, depth 24, red mask ff0000, green mask ff00, blue mask ff, alpha mask 0 to BGRx gstreamer video format
0:00:00.021446586 4399 0x5590843ebaa0 LOG vaapi video-format.c:597:video_format_create_map_once: failed to map RGB va_format with fourcc: RGBP, byte order: 1 BPP: 24, depth 24, red mask 0, green mask 0, blue mask 0, alpha mask 0 to any gstreamer video format
0:00:00.021455061 4399 0x5590843ebaa0 LOG vaapi video-format.c:597:video_format_create_map_once: failed to map RGB va_format with fourcc: BGRP, byte order: 1 BPP: 24, depth 24, red mask 0, green mask 0, blue mask 0, alpha mask 0 to any gstreamer video format
0:00:00.021461271 4399 0x5590843ebaa0 LOG vaapi video-format.c:597:video_format_create_map_once: succeed to map RGB va_format with fourcc: ABGR, byte order: 1 BPP: 32, depth 32, red mask ff, green mask ff00, blue mask ff0000, alpha mask ff000000 to RGBA gstreamer video format
0:00:00.021466915 4399 0x5590843ebaa0 LOG vaapi video-format.c:597:video_format_create_map_once: succeed to map RGB va_format with fourcc: XBGR, byte order: 1 BPP: 32, depth 24, red mask ff, green mask ff00, blue mask ff0000, alpha mask 0 to RGBx gstreamer video format
0:00:00.021473344 4399 0x5590843ebaa0 LOG vaapi video-format.c:597:video_format_create_map_once: succeed to map RGB va_format with fourcc: RGBX, byte order: 1 BPP: 32, depth 24, red mask ff000000, green mask ff0000, blue mask ff00, alpha mask 0 to xBGR gstreamer video format
0:00:00.021479077 4399 0x5590843ebaa0 LOG vaapi video-format.c:597:video_format_create_map_once: succeed to map RGB va_format with fourcc: BGRX, byte order: 1 BPP: 32, depth 24, red mask ff00, green mask ff0000, blue mask ff000000, alpha mask 0 to xRGB gstreamer video format
0:00:00.022143848 4399 0x5590843ebaa0 ERROR vaapi gstvaapiutils.c:66:gst_vaapi_err: Invalid context id 0xffffffff
0:00:00.022154040 4399 0x5590843ebaa0 DEBUG vaapi gstvaapiutils.c:131:vaapi_check_status: vaCreateContext() [VPP]: resource allocation failed
0:00:00.022611215 4399 0x5590843ebaa0 DEBUG vaapi gstvaapiutils.c:131:vaapi_check_status: vaGetConfigAttributes(): invalid parameter
0:00:00.022618548 4399 0x5590843ebaa0 DEBUG vaapi gstvaapiutils.c:131:vaapi_check_status: vaGetConfigAttributes(): invalid parameter
0:00:00.022624624 4399 0x5590843ebaa0 DEBUG vaapi gstvaapiutils.c:131:vaapi_check_status: vaGetConfigAttributes(): invalid parameter
0:00:00.022629197 4399 0x5590843ebaa0 DEBUG vaapi gstvaapiutils.c:131:vaapi

Error -
3 0:00:00.523465805 107 0x5569947ca6a0 ERROR vaapi gstvaapiencoder.c:873:gst_vaapi_encoder_reconfigure_internal: failed to update VA context

MESA: warning: Could not get intel_device_info.
MESA: warning: Could not get intel_device_info.

Vainfo -

dmesg | grep driver

[ 0.048354] Performance Events: XSAVE Architectural LBR, PEBS fmt4±baseline, AnyThread deprecated, Meteorlake Hybrid events, 32-deep LBR, full-width counters, Intel PMU driver.
[ 0.048354] core: cpu_core PMU driver:
[ 0.009908] core: cpu_atom PMU driver: PEBS-via-PT
[ 0.676741] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 247)
[ 0.686820] Serial: 8250/16550 driver, 4 ports, IRQ sharing enabled
[ 0.720791] intel_pstate: Intel P-state driver initializing
[ 0.947712] hid: raw HID events driver (C) Jiri Kosina
[ 1.260503] sdhci: Secure Digital Host Controller Interface driver
[ 1.277780] usbcore: registered new interface driver usbfs
[ 1.277789] usbcore: registered new interface driver hub
[ 1.277802] usbcore: registered new device driver usb
[ 2.327343] usbcore: registered new device driver r8152-cfgselector
[ 2.663636] usbcore: registered new interface driver r8152
[ 2.670214] usbcore: registered new interface driver cdc_ether
[ 3.327362] usbcore: registered new interface driver snd-usb-audio
[ 3.349006] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 3.371731] usbcore: registered new interface driver usbhid
[ 3.371734] usbhid: USB HID core driver
[ 3.558766] Intel(R) Wireless WiFi driver for Linux
[ 3.595421] sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 3.598541] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 3.598559] sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 3.600333] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 3.600350] sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 3.618691] usbcore: registered new interface driver uvcvideo
[ 3.618733] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 3.618754] sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 3.851633] WARNING: CPU: 3 PID: 500 at drivers/gpu/drm/i915/display/intel_bios.c:2664 intel_bios_init+0x14fc/0x1d50 [i915]
[ 3.852643] intel_display_driver_probe_noirq+0x39/0x270 [i915]
[ 3.852802] i915_driver_probe+0x6d6/0xbf0 [i915]
[ 3.852949] ? __pfx___driver_attach+0x10/0x10
[ 3.852952] __driver_probe_device+0x78/0x160
[ 3.852956] driver_probe_device+0x1f/0x90
[ 3.852961] __driver_attach+0xd2/0x1c0
[ 3.852968] bus_add_driver+0x116/0x220
[ 3.852971] driver_register+0x59/0x100
[ 3.867564] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 3.867587] sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 3.867590] usbcore: registered new interface driver btusb
[ 5.194228] snd_hda_intel 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 5.194265] sof-audio-pci-intel-mtl 0000:00:1f.3: Digital mics found on Skylake+ platform, using SOF driver
[ 5.279613] sof-audio-pci-intel-mtl 0000:00:1f.3: using HDA machine driver skl_hda_dsp_generic now
[31573.296718] tun: Universal TUN/TAP device driver, 1.6

Trace_file_ouptut
cat /tmp/vaapi.log.091346.t

hd-0x0000112f
[50378.446530][ctx       none]==========va_TraceInitialize
[50378.446536][ctx       none]==========	VA-API vendor string: Intel iHD driver for Intel(R) Gen Graphics - 24.1.5 (8068c2e11)
[50378.446538][ctx       none]=========vaInitialize ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446733][ctx       none]=========vaQueryConfigProfiles ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446739][ctx       none]=========vaQueryConfigEntrypoints ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446740][ctx       none]=========vaQueryConfigEntrypoints ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446741][ctx       none]=========vaQueryConfigEntrypoints ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446742][ctx       none]=========vaQueryConfigEntrypoints ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446743][ctx       none]=========vaQueryConfigEntrypoints ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446744][ctx       none]=========vaQueryConfigEntrypoints ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446745][ctx       none]=========vaQueryConfigEntrypoints ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446746][ctx       none]=========vaQueryConfigEntrypoints ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446747][ctx       none]=========vaQueryConfigEntrypoints ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446748][ctx       none]=========vaQueryConfigEntrypoints ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446749][ctx       none]=========vaQueryConfigEntrypoints ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446749][ctx       none]=========vaQueryConfigEntrypoints ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446750][ctx       none]=========vaQueryConfigEntrypoints ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446751][ctx       none]=========vaQueryConfigEntrypoints ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446752][ctx       none]=========vaQueryConfigEntrypoints ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446752][ctx       none]=========vaQueryConfigEntrypoints ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446753][ctx       none]=========vaQueryConfigEntrypoints ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446754][ctx       none]=========vaQueryConfigEntrypoints ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446755][ctx       none]=========vaQueryConfigEntrypoints ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446756][ctx       none]=========vaQueryConfigEntrypoints ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446757][ctx       none]=========vaQueryConfigEntrypoints ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446757][ctx       none]=========vaQueryConfigEntrypoints ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446758][ctx       none]=========vaQueryConfigEntrypoints ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446759][ctx       none]=========vaQueryConfigEntrypoints ret = VA_STATUS_SUCCESS, success (no error) 
[50378.446764][ctx       none]=========vaQueryConfigEntrypoints ret = VA_STATUS_SUCCESS, success (no error) 
[50378.447270][ctx       none]==========va_TraceCreateConfig
[50378.447272][ctx       none]	profile = -1, VAProfileNone
[50378.447273][ctx       none]	entrypoint = 10, VAEntrypointVideoProc
[50378.447273][ctx       none]	num_attribs = 0
[50378.447289][ctx       none]=========vaCreateConfig ret = VA_STATUS_SUCCESS, success (no error) 
[50378.447374][ctx       none]=========vaCreateContext ret = VA_STATUS_ERROR_ALLOCATION_FAILED, resource allocation failed 
[50378.447383][ctx       none]==========va_TraceDestroyConfig
[50378.447383][ctx       none]	config = 0x00002f10
[50378.447386][ctx       none]=========vaDestroyConfig ret = VA_STATUS_SUCCESS, success (no error) 
[50378.447830][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_SUCCESS, success (no error) 
[50378.447831][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.447840][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.447845][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_SUCCESS, success (no error) 
[50378.447846][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.447851][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.447855][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_SUCCESS, success (no error) 
[50378.447856][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.447882][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448135][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448143][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_SUCCESS, success (no error) 
[50378.448144][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448266][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_SUCCESS, success (no error) 
[50378.448267][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448274][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448279][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_SUCCESS, success (no error) 
[50378.448280][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448284][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448289][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_SUCCESS, success (no error) 
[50378.448289][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448293][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448298][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_SUCCESS, success (no error) 
[50378.448298][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448303][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448307][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_SUCCESS, success (no error) 
[50378.448308][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448312][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448316][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_SUCCESS, success (no error) 
[50378.448317][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448321][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448325][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_SUCCESS, success (no error) 
[50378.448326][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448330][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448334][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_SUCCESS, success (no error) 
[50378.448335][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448350][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448517][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_SUCCESS, success (no error) 
[50378.448518][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448525][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448532][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_SUCCESS, success (no error) 
[50378.448533][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448538][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448544][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_SUCCESS, success (no error) 
[50378.448544][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448549][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448555][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_SUCCESS, success (no error) 
[50378.448556][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448561][ctx       none]=========vaGetConfigAttributes ret = VA_STATUS_ERROR_INVALID_PARAMETER, invalid parameter 
[50378.448893][ctx       none]==========va_TraceTerminate
[50378.448903][ctx       none]=========vaTerminate ret = VA_STATUS_SUCCESS, success (no error)
dmesg | grep -i i915
[    3.849782] i915 0000:00:02.0: [drm] GT0: Incompatible option enable_guc=3 - HuC is not supported!
[    3.851084] i915 0000:00:02.0: [drm] VT-d active for gfx access
[    3.851372] i915 0000:00:02.0: vgaarb: deactivate vga console
[    3.851398] i915 0000:00:02.0: [drm] Using Transparent Hugepages
[    3.851614] i915 0000:00:02.0: Port A asks to use VBT vswing/preemph tables
[    3.851633] WARNING: CPU: 3 PID: 500 at drivers/gpu/drm/i915/display/intel_bios.c:2664 intel_bios_init+0x14fc/0x1d50 [i915]
[    3.851813] Modules linked in: btmtk kvm_intel(+) i915(+) bluetooth kvm snd_sof_pci_intel_mtl snd_sof_intel_hda_common soundwire_intel soundwire_generic_allocation snd_sof_intel_hda_mlink irqbypass soundwire_cadence snd_sof_intel_hda ghash_clmulni_intel snd_sof_pci snd_sof_xtensa_dsp sha256_ssse3 sha1_ssse3 iwlwifi sha3_generic snd_sof jitterentropy_rng drm_buddy drm_display_helper sha512_ssse3 sha512_generic uvcvideo snd_sof_utils snd_soc_hdac_hda aesni_intel snd_hda_ext_core ctr cec videobuf2_vmalloc crypto_simd snd_soc_acpi_intel_match tcp_bbr uvc cryptd videobuf2_memops videobuf2_v4l2 rapl processor_thermal_device_pci snd_soc_acpi drbg sch_fq rc_core processor_thermal_device pmt_telemetry cfg80211 videodev processor_thermal_wt_hint snd_soc_core ansi_cprng intel_cstate ttm intel_rapl_msr pmt_class iTCO_wdt processor_thermal_rfim ecdh_generic intel_uncore snd_compress processor_thermal_rapl intel_pmc_bxt videobuf2_common ecc wmi_bmof mei_me snd_pcm_dmaengine intel_rapl_common drm_kms_helper ucsi_acpi
[    3.851946] RIP: 0010:intel_bios_init+0x14fc/0x1d50 [i915]
[    3.852128]  ? intel_bios_init+0x14fc/0x1d50 [i915]
[    3.852290]  ? intel_bios_init+0x14fc/0x1d50 [i915]
[    3.852456]  ? intel_bios_init+0x14fc/0x1d50 [i915]
[    3.852643]  intel_display_driver_probe_noirq+0x39/0x270 [i915]
[    3.852802]  i915_driver_probe+0x6d6/0xbf0 [i915]
[    3.852975]  i915_init+0x22/0xc0 [i915]
[    3.853100]  ? __pfx_i915_init+0x10/0x10 [i915]
[    3.874023] i915 0000:00:02.0: vgaarb: VGA decodes changed: olddecodes=io+mem,decodes=io+mem:owns=io+mem
[    3.875465] i915 0000:00:02.0: firmware: direct-loading firmware i915/mtl_dmc.bin
[    3.882900] i915 0000:00:02.0: [drm] Finished loading DMC firmware i915/mtl_dmc.bin (v2.11)
[    3.904314] i915 0000:00:02.0: firmware: failed to load i915/mtl_guc_70.bin (-2)
[    3.904327] i915 0000:00:02.0: firmware: failed to load i915/mtl_guc_70.bin (-2)
[    3.904330] i915 0000:00:02.0: [drm] *ERROR* GT0: GuC firmware i915/mtl_guc_70.bin: fetch failed -ENOENT
[    3.904333] i915 0000:00:02.0: [drm] GT0: GuC firmware(s) can be downloaded from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
[    3.905007] i915 0000:00:02.0: firmware: failed to load i915/mtl_guc_70.bin (-2)
[    3.905011] i915 0000:00:02.0: firmware: failed to load i915/mtl_guc_70.bin (-2)
[    3.905012] i915 0000:00:02.0: [drm] *ERROR* GT1: GuC firmware i915/mtl_guc_70.bin: fetch failed -ENOENT
[    3.905014] i915 0000:00:02.0: [drm] GT1: GuC firmware(s) can be downloaded from https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/i915
[    3.905781] i915 0000:00:02.0: [drm] GT0: GuC firmware i915/mtl_guc_70.bin version 0.0.0
[    3.905855] i915 0000:00:02.0: [drm] *ERROR* GT0: GuC initialization failed -ENOENT
[    3.905857] i915 0000:00:02.0: [drm] *ERROR* GT0: Enabling uc failed (-5)
[    3.905858] i915 0000:00:02.0: [drm] *ERROR* GT0: Failed to initialize GPU, declaring it wedged!
[    3.906214] i915 0000:00:02.0: [drm:add_taint_for_CI [i915]] CI tainted:0x9 by intel_gt_init+0xb7/0x340 [i915]
[    4.038397] i915 0000:00:02.0: [drm] Selective fetch area calculation failed in pipe A
[    5.192114] [drm] Initialized i915 1.6.0 20230929 for 0000:00:02.0 on minor 0
[    5.194269] i915 display info: display version: 14
[    5.194273] i915 display info: cursor_needs_physical: no
[    5.194276] i915 display info: has_cdclk_crawl: yes
[    5.194278] i915 display info: has_cdclk_squash: yes
[    5.194281] i915 display info: has_ddi: yes
[    5.194283] i915 display info: has_dp_mst: yes
[    5.194285] i915 display info: has_dsb: yes
[    5.194286] i915 display info: has_fpga_dbg: yes
[    5.194287] i915 display info: has_gmch: no
[    5.194289] i915 display info: has_hotplug: yes
[    5.194290] i915 display info: has_hti: no
[    5.194291] i915 display info: has_ipc: yes
[    5.194292] i915 display info: has_overlay: no
[    5.194293] i915 display info: has_psr: yes
[    5.194294] i915 display info: has_psr_hw_tracking: no
[    5.194296] i915 display info: overlay_needs_physical: no
[    5.194298] i915 display info: supports_tv: no
[    5.194298] i915 display info: has_hdcp: yes
[    5.194300] i915 display info: has_dmc: yes
[    5.194301] i915 display info: has_dsc: yes
[    5.196996] sof-audio-pci-intel-mtl 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    5.202690] fbcon: i915drmfb (fb0) is primary device
[    5.217986] i915 0000:00:02.0: [drm] fb0: i915drmfb frame buffer device

Hi,

Thanks.

But, that gstreamer log doesn’t correspond to the pipeline, since the log show vaapi elements while the pipeline uses va elements.

also, regarding the error in the title, please check this previous report:

It seems that the GPU is too new for the used driver (iHD)