Not able to detect GstVA encoders using gst-inspect

Context:
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.7.12-1~bpo12+1 (2024-05-06) x86_64 GNU/Linux

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 "

OS Details:

  • OS: Ubuntu-22.04
  • libva version: 2.17
  • libva-utils version: 2.17

The build was successful. Additionally I checked and the Video card is present under /dev/dri . I set LIBVA_DRIVER_NAME=iHD and the appropriate path of LIBVA_DRIVERS_PATH However, when I do gst-inspect-1.0 va I can only see decoders present and only two encoders. Is there any step or a process I’m missing. Please suggest.

I can only see decoders present and no encoders.

Your screen shot of the gst-inspect-1.0 va output shows vaav1lpenc, vah264lpenc and vah265lpenc encoders?

Yes, the screenshot of the gst-inspect-1.0 va output shows vaav1lpenc, vah264lpenc, and vah265lpenc encoders. However, I am specifically looking for the vapostproc element and vah264enc encoders.

vainfo only reports LP (low power) encoder profiles, no shader based encoders. That being said, it could be nice to rework the encoder naming when there is only one option. To be fair, I’m not too sure why Intel cares differentiating these as LP as they only have one encoder per format on this platform.

@vjaquez what do you think of ensuring we always have non LP named elements ? Would make Intel usage less painful.

I’m not sure. Though it would help for code portability, properties/limits change, so it cannot be expected to behave equally, leading, potentially, to unexpected output. Still, the same potential problem can appear when changing the hardware/driver (for example, moving from iHD to radeonsi). Again, I’m not sure.

What worries me the most is whay vapostproc didn’t register.

Can you paste the output of

GST_DEBUG=va*:8 GST_REGISTRY= gst-inspect-1.0 va --gst-disable-registry-fork

Attaching the output of following command -

GST_DEBUG=va*:8 GST_REGISTRY= gst-inspect-1.0 va --gst-disable-registry-fork
0:00:00.012340539 64188 0x555a04f76530 LOG                       va gstvadevice_linux.c:97:gst_va_device_find_devices: Ignoring card0-DP-1 in (null)
0:00:00.012363139 64188 0x555a04f76530 LOG                       va gstvadevice_linux.c:97:gst_va_device_find_devices: Ignoring card0-DP-2 in (null)
0:00:00.012370735 64188 0x555a04f76530 LOG                       va gstvadevice_linux.c:97:gst_va_device_find_devices: Ignoring card0-DP-3 in (null)
0:00:00.012377302 64188 0x555a04f76530 LOG                       va gstvadevice_linux.c:97:gst_va_device_find_devices: Ignoring card0-DP-4 in (null)
0:00:00.012383842 64188 0x555a04f76530 LOG                       va gstvadevice_linux.c:97:gst_va_device_find_devices: Ignoring card0-HDMI-A-1 in (null)
0:00:00.012389958 64188 0x555a04f76530 LOG                       va gstvadevice_linux.c:97:gst_va_device_find_devices: Ignoring card0-eDP-1 in (null)
0:00:00.012396609 64188 0x555a04f76530 LOG                       va gstvadevice_linux.c:97:gst_va_device_find_devices: Ignoring card0 in /dev/dri/card0
0:00:00.012531741 64188 0x555a04f76530 INFO               vadisplay gstvadisplay_drm.c:155:gst_va_display_drm_create_va_display:<vadisplaydrm0> DRM render node with kernel driver i915
0:00:00.012578883 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:353:_va_info:<vadisplaydrm0> VA info: VA-API version 1.17.0
0:00:00.012595443 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:353:_va_info:<vadisplaydrm0> VA info: User environment variable requested driver 'iHD'
0:00:00.012604850 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:353:_va_info:<vadisplaydrm0> VA info: Trying to open /opt/scorer/lib/dri/iHD_drv_video.so
0:00:00.015203691 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:353:_va_info:<vadisplaydrm0> VA info: Found init function __vaDriverInit_1_17
0:00:00.017051044 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:353:_va_info:<vadisplaydrm0> VA info: va_openDriver() returns 0
0:00:00.017063824 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:405:gst_va_display_initialize:<vadisplaydrm0> VA-API version 1.17
0:00:00.017071189 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:176:_gst_va_display_filter_driver: VA-API driver vendor: Intel iHD driver for Intel(R) Gen Graphics - 23.3.0 (919d39804)
0:00:00.017082676 64188 0x555a04f76530 INFO                      va gstvadevice_linux.c:104:gst_va_device_find_devices: Found VA-API device: /dev/dri/renderD128
0:00:00.017394865 64188 0x555a04f76530 LOG                       va plugin.c:104:plugin_register_decoders: 1 decoder codec: AV01
0:00:00.017407761 64188 0x555a04f76530 LOG                       va plugin.c:106:plugin_register_decoders: sink caps: video/x-av1, profile=(string)main, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ]
0:00:00.017421798 64188 0x555a04f76530 LOG                       va plugin.c:107:plugin_register_decoders: src caps: video/x-raw(memory:VAMemory), width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], format=(string){ NV12, P010_10LE }; video/x-raw(memory:DMABuf), width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], format=(string)DMA_DRM, drm-format=(string){ NV12:0x0100000000000009, P010:0x0100000000000009 }; video/x-raw, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], format=(string){ NV12, P010_10LE }
0:00:00.017917990 64188 0x555a04f76530 LOG                       va plugin.c:104:plugin_register_decoders: 4 decoder codec: VP90
0:00:00.017928610 64188 0x555a04f76530 LOG                       va plugin.c:106:plugin_register_decoders: sink caps: video/x-vp9, profile=(string){ 0, 1, 2, 3 }, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ]
0:00:00.017946318 64188 0x555a04f76530 LOG                       va plugin.c:107:plugin_register_decoders: src caps: video/x-raw(memory:VAMemory), width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], format=(string){ NV12, VUYA, P010_10LE, P012_LE, Y410, Y412_LE }; video/x-raw(memory:DMABuf), width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], format=(string)DMA_DRM, drm-format=(string){ NV12:0x0100000000000009, AYUV:0x0100000000000009, P010:0x0100000000000009, P012:0x0100000000000009, Y410:0x0100000000000009, Y412:0x0100000000000009 }; video/x-raw, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], format=(string){ NV12, VUYA, P010_10LE, P012_LE, Y410, Y412_LE }
0:00:00.018097848 64188 0x555a04f76530 LOG                       va plugin.c:104:plugin_register_decoders: 1 decoder codec: VP80
0:00:00.018106102 64188 0x555a04f76530 LOG                       va plugin.c:106:plugin_register_decoders: sink caps: video/x-vp8, width=(int)[ 1, 4096 ], height=(int)[ 1, 4096 ]
0:00:00.018117683 64188 0x555a04f76530 LOG                       va plugin.c:107:plugin_register_decoders: src caps: video/x-raw(memory:VAMemory), width=(int)[ 1, 4096 ], height=(int)[ 1, 4096 ], format=(string)NV12; video/x-raw(memory:DMABuf), width=(int)[ 1, 4096 ], height=(int)[ 1, 4096 ], format=(string)DMA_DRM, drm-format=(string)NV12:0x0100000000000009; video/x-raw, width=(int)[ 1, 4096 ], height=(int)[ 1, 4096 ], format=(string)NV12
0:00:00.020222431 64188 0x555a04f76530 LOG                       va plugin.c:104:plugin_register_decoders: 12 decoder codec: H265
0:00:00.020236443 64188 0x555a04f76530 LOG                       va plugin.c:106:plugin_register_decoders: sink caps: video/x-h265, profile=(string){ main, main-intra, main-still-picture, main-10, main-10-intra, main-12, main-422-10, main-422-12, main-444, main-444-10, main-444-12, screen-extended-main, screen-extended-main-10, screen-extended-main-444, screen-extended-main-444-10 }, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ]
0:00:00.020258137 64188 0x555a04f76530 LOG                       va plugin.c:107:plugin_register_decoders: src caps: video/x-raw(memory:VAMemory), width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], format=(string){ P010_10LE, YUY2, Y210, Y212_LE, VUYA, Y410, P012_LE, Y412_LE, NV12 }; video/x-raw(memory:DMABuf), width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], format=(string)DMA_DRM, drm-format=(string){ P010:0x0100000000000009, YUYV:0x0100000000000009, Y210:0x0100000000000009, Y212:0x0100000000000009, AYUV:0x0100000000000009, Y410:0x0100000000000009, P012:0x0100000000000009, Y412:0x0100000000000009, NV12:0x0100000000000009 }; video/x-raw, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], format=(string){ P010_10LE, YUY2, Y210, Y212_LE, VUYA, Y410, P012_LE, Y412_LE, NV12 }
0:00:00.020477656 64188 0x555a04f76530 LOG                       va plugin.c:104:plugin_register_decoders: 2 decoder codec: MPEG
0:00:00.020490032 64188 0x555a04f76530 LOG                       va plugin.c:106:plugin_register_decoders: sink caps: video/mpeg, mpegversion=(int)2, profile=(string){ simple, main }, width=(int)[ 1, 2048 ], height=(int)[ 1, 2048 ]
0:00:00.020499698 64188 0x555a04f76530 LOG                       va plugin.c:107:plugin_register_decoders: src caps: video/x-raw(memory:VAMemory), width=(int)[ 1, 2048 ], height=(int)[ 1, 2048 ], format=(string)NV12; video/x-raw(memory:DMABuf), width=(int)[ 1, 2048 ], height=(int)[ 1, 2048 ], format=(string)DMA_DRM, drm-format=(string)NV12:0x0100000000000009; video/x-raw, width=(int)[ 1, 2048 ], height=(int)[ 1, 2048 ], format=(string)NV12
0:00:00.020738070 64188 0x555a04f76530 LOG                       va plugin.c:104:plugin_register_decoders: 3 decoder codec: H264
0:00:00.020746871 64188 0x555a04f76530 LOG                       va plugin.c:106:plugin_register_decoders: sink caps: video/x-h264, profile=(string){ main, high, constrained-baseline }, width=(int)[ 1, 4096 ], height=(int)[ 1, 4096 ]
0:00:00.020757730 64188 0x555a04f76530 LOG                       va plugin.c:107:plugin_register_decoders: src caps: video/x-raw(memory:VAMemory), width=(int)[ 1, 4096 ], height=(int)[ 1, 4096 ], format=(string)NV12; video/x-raw(memory:DMABuf), width=(int)[ 1, 4096 ], height=(int)[ 1, 4096 ], format=(string)DMA_DRM, drm-format=(string)NV12:0x0100000000000009; video/x-raw, width=(int)[ 1, 4096 ], height=(int)[ 1, 4096 ], format=(string)NV12
0:00:00.021260873 64188 0x555a04f76530 LOG                       va plugin.c:106:plugin_register_decoders: sink caps: image/jpeg, sof-marker=(int)0, colorspace=(string){ sYUV, GRAY, sRGB }, sampling=(string){ YCbCr-4:2:0, YCbCr-4:2:2, YCbCr-4:4:4, GRAYSCALE, RGB, BGR }, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ]
0:00:00.021272525 64188 0x555a04f76530 LOG                       va plugin.c:107:plugin_register_decoders: src caps: video/x-raw(memory:VAMemory), width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], format=(string){ NV12, GRAY8, Y42B, Y444, RGBP }; video/x-raw(memory:DMABuf), width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], format=(string)DMA_DRM, drm-format=(string)NV12:0x0100000000000009; video/x-raw, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], format=(string){ NV12, GRAY8, Y42B, Y444, RGBP }
0:00:00.022476119 64188 0x555a04f76530 LOG                       va plugin.c:190:plugin_register_encoders: 8 encoder low power codec: H265
0:00:00.022490036 64188 0x555a04f76530 LOG                       va plugin.c:193:plugin_register_encoders: sink caps: video/x-raw(memory:VAMemory), width=(int)[ 128, 16384 ], height=(int)[ 128, 12288 ], format=(string){ NV12, P010_10LE, VUYA, Y410 }; video/x-raw(memory:DMABuf), width=(int)[ 128, 16384 ], height=(int)[ 128, 12288 ], format=(string)DMA_DRM, drm-format=(string){ NV12:0x0100000000000009, P010:0x0100000000000009, AYUV:0x0100000000000009, Y410:0x0100000000000009 }; video/x-raw, width=(int)[ 128, 16384 ], height=(int)[ 128, 12288 ], format=(string){ NV12, P010_10LE, VUYA, Y410 }
0:00:00.022500943 64188 0x555a04f76530 LOG                       va plugin.c:194:plugin_register_encoders: src caps: video/x-h265, profile=(string){ main, main-10, main-444, main-444-10, screen-extended-main, screen-extended-main-10, screen-extended-main-444, screen-extended-main-444-10 }, width=(int)[ 1, 16384 ], height=(int)[ 1, 12288 ]
0:00:00.022676520 64188 0x555a04f76530 INFO               vadisplay gstvadisplay_drm.c:155:gst_va_display_drm_create_va_display:<vadisplaydrm1> DRM render node with kernel driver i915
0:00:00.022712482 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:353:_va_info:<vadisplaydrm1> VA info: VA-API version 1.17.0
0:00:00.022722537 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:353:_va_info:<vadisplaydrm1> VA info: User environment variable requested driver 'iHD'
0:00:00.022729658 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:353:_va_info:<vadisplaydrm1> VA info: Trying to open /opt/scorer/lib/dri/iHD_drv_video.so
0:00:00.022745168 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:353:_va_info:<vadisplaydrm1> VA info: Found init function __vaDriverInit_1_17
0:00:00.023497471 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:353:_va_info:<vadisplaydrm1> VA info: va_openDriver() returns 0
0:00:00.023505637 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:405:gst_va_display_initialize:<vadisplaydrm1> VA-API version 1.17
0:00:00.023511097 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:176:_gst_va_display_filter_driver: VA-API driver vendor: Intel iHD driver for Intel(R) Gen Graphics - 23.3.0 (919d39804)
0:00:00.024445099 64188 0x555a04f76530 LOG                       va plugin.c:190:plugin_register_encoders: 4 encoder low power codec: VP90
0:00:00.024461382 64188 0x555a04f76530 LOG                       va plugin.c:193:plugin_register_encoders: sink caps: video/x-raw(memory:VAMemory), width=(int)[ 128, 8192 ], height=(int)[ 96, 8192 ], format=(string){ NV12, VUYA, P010_10LE, Y410, ARGB, ABGR }; video/x-raw(memory:DMABuf), width=(int)[ 128, 8192 ], height=(int)[ 96, 8192 ], format=(string)DMA_DRM, drm-format=(string){ NV12:0x0100000000000009, AYUV:0x0100000000000009, P010:0x0100000000000009, Y410:0x0100000000000009, AR24:0x0100000000000002, AB24:0x0100000000000002 }; video/x-raw, width=(int)[ 128, 8192 ], height=(int)[ 96, 8192 ], format=(string){ NV12, VUYA, P010_10LE, Y410, ARGB, ABGR }
0:00:00.024469872 64188 0x555a04f76530 LOG                       va plugin.c:194:plugin_register_encoders: src caps: video/x-vp9, profile=(string){ 0, 1, 2, 3 }, width=(int)[ 1, 8192 ], height=(int)[ 1, 8192 ]
0:00:00.024475760 64188 0x555a04f76530 DEBUG                     va plugin.c:221:plugin_register_encoders: No encoder implementation for VP90
0:00:00.024567706 64188 0x555a04f76530 LOG                       va plugin.c:190:plugin_register_encoders: 1 encoder low power codec: AV01
0:00:00.024577576 64188 0x555a04f76530 LOG                       va plugin.c:193:plugin_register_encoders: sink caps: video/x-raw(memory:VAMemory), width=(int)[ 128, 8192 ], height=(int)[ 96, 8192 ], format=(string){ NV12, P010_10LE }; video/x-raw(memory:DMABuf), width=(int)[ 128, 8192 ], height=(int)[ 96, 8192 ], format=(string)DMA_DRM, drm-format=(string){ NV12:0x0100000000000009, P010:0x0100000000000009 }; video/x-raw, width=(int)[ 128, 8192 ], height=(int)[ 96, 8192 ], format=(string){ NV12, P010_10LE }
0:00:00.024583975 64188 0x555a04f76530 LOG                       va plugin.c:194:plugin_register_encoders: src caps: video/x-av1, profile=(string)main, width=(int)[ 1, 8192 ], height=(int)[ 1, 8192 ]
0:00:00.024703166 64188 0x555a04f76530 INFO               vadisplay gstvadisplay_drm.c:155:gst_va_display_drm_create_va_display:<vadisplaydrm2> DRM render node with kernel driver i915
0:00:00.024729567 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:353:_va_info:<vadisplaydrm2> VA info: VA-API version 1.17.0
0:00:00.024737668 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:353:_va_info:<vadisplaydrm2> VA info: User environment variable requested driver 'iHD'
0:00:00.024743138 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:353:_va_info:<vadisplaydrm2> VA info: Trying to open /opt/scorer/lib/dri/iHD_drv_video.so
0:00:00.024757394 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:353:_va_info:<vadisplaydrm2> VA info: Found init function __vaDriverInit_1_17
0:00:00.025252701 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:353:_va_info:<vadisplaydrm2> VA info: va_openDriver() returns 0
0:00:00.025259298 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:405:gst_va_display_initialize:<vadisplaydrm2> VA-API version 1.17
0:00:00.025263990 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:176:_gst_va_display_filter_driver: VA-API driver vendor: Intel iHD driver for Intel(R) Gen Graphics - 23.3.0 (919d39804)
0:00:00.025599797 64188 0x555a04f76530 LOG                       va plugin.c:190:plugin_register_encoders: 3 encoder low power codec: H264
0:00:00.025608504 64188 0x555a04f76530 LOG                       va plugin.c:193:plugin_register_encoders: sink caps: video/x-raw(memory:VAMemory), width=(int)[ 32, 4096 ], height=(int)[ 32, 4096 ], format=(string)NV12; video/x-raw(memory:DMABuf), width=(int)[ 32, 4096 ], height=(int)[ 32, 4096 ], format=(string)DMA_DRM, drm-format=(string)NV12:0x0100000000000009; video/x-raw, width=(int)[ 32, 4096 ], height=(int)[ 32, 4096 ], format=(string)NV12
0:00:00.025615168 64188 0x555a04f76530 LOG                       va plugin.c:194:plugin_register_encoders: src caps: video/x-h264, profile=(string){ main, high, constrained-baseline }, width=(int)[ 1, 4096 ], height=(int)[ 1, 4096 ]
0:00:00.025702913 64188 0x555a04f76530 INFO               vadisplay gstvadisplay_drm.c:155:gst_va_display_drm_create_va_display:<vadisplaydrm3> DRM render node with kernel driver i915
0:00:00.025725738 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:353:_va_info:<vadisplaydrm3> VA info: VA-API version 1.17.0
0:00:00.025733796 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:353:_va_info:<vadisplaydrm3> VA info: User environment variable requested driver 'iHD'
0:00:00.025739169 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:353:_va_info:<vadisplaydrm3> VA info: Trying to open /opt/scorer/lib/dri/iHD_drv_video.so
0:00:00.025752927 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:353:_va_info:<vadisplaydrm3> VA info: Found init function __vaDriverInit_1_17
0:00:00.026551859 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:353:_va_info:<vadisplaydrm3> VA info: va_openDriver() returns 0
0:00:00.026564712 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:405:gst_va_display_initialize:<vadisplaydrm3> VA-API version 1.17
0:00:00.026570194 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:176:_gst_va_display_filter_driver: VA-API driver vendor: Intel iHD driver for Intel(R) Gen Graphics - 23.3.0 (919d39804)
0:00:00.027292824 64188 0x555a04f76530 LOG                       va plugin.c:190:plugin_register_encoders: 1 encoder codec: JPEG
0:00:00.027308535 64188 0x555a04f76530 LOG                       va plugin.c:193:plugin_register_encoders: sink caps: video/x-raw(memory:VAMemory), width=(int)[ 16, 16384 ], height=(int)[ 16, 16384 ], format=(string){ NV12, YUY2, UYVY, GRAY8, ABGR }; video/x-raw(memory:DMABuf), width=(int)[ 16, 16384 ], height=(int)[ 16, 16384 ], format=(string)DMA_DRM, drm-format=(string){ NV12:0x0100000000000009, YUYV:0x0100000000000009, UYVY:0x0100000000000009, AB24:0x0100000000000002 }; video/x-raw, width=(int)[ 16, 16384 ], height=(int)[ 16, 16384 ], format=(string){ NV12, YUY2, UYVY, GRAY8, ABGR }
0:00:00.027320358 64188 0x555a04f76530 LOG                       va plugin.c:194:plugin_register_encoders: src caps: image/jpeg, sof-marker=(int)0, colorspace=(string){ sYUV, GRAY }, sampling=(string){ YCbCr-4:2:0, YCbCr-4:2:2, GRAYSCALE }, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ]
0:00:00.027326982 64188 0x555a04f76530 DEBUG                     va plugin.c:221:plugin_register_encoders: No encoder implementation for JPEG
0:00:00.027363269 64188 0x555a04f76530 INFO               vadisplay gstvavideoformat.c:458:fix_map: GST_VIDEO_FORMAT_ABGR => { fourcc RGBA, drm fourcc RA24, LSB, bpp 32, depth 32, R 0xff000000, G 0x00ff0000, B 0x0000ff00, A 0x000000ff }
0:00:00.027372699 64188 0x555a04f76530 INFO               vadisplay gstvavideoformat.c:458:fix_map: GST_VIDEO_FORMAT_ARGB => { fourcc BGRA, drm fourcc BA24, LSB, bpp 32, depth 32, R 0x0000ff00, G 0x00ff0000, B 0xff000000, A 0x000000ff }
0:00:00.027380594 64188 0x555a04f76530 INFO               vadisplay gstvavideoformat.c:458:fix_map: GST_VIDEO_FORMAT_BGRA => { fourcc ARGB, drm fourcc AR24, LSB, bpp 32, depth 32, R 0x00ff0000, G 0x0000ff00, B 0x000000ff, A 0xff000000 }
0:00:00.027387715 64188 0x555a04f76530 INFO               vadisplay gstvavideoformat.c:458:fix_map: GST_VIDEO_FORMAT_BGRx => { fourcc XRGB, drm fourcc XR24, LSB, bpp 32, depth 24, R 0x00ff0000, G 0x0000ff00, B 0x000000ff, A 0000000000 }
0:00:00.027394735 64188 0x555a04f76530 INFO               vadisplay gstvavideoformat.c:458:fix_map: GST_VIDEO_FORMAT_RGBA => { fourcc ABGR, drm fourcc AB24, LSB, bpp 32, depth 32, R 0x000000ff, G 0x0000ff00, B 0x00ff0000, A 0xff000000 }
0:00:00.027402221 64188 0x555a04f76530 INFO               vadisplay gstvavideoformat.c:458:fix_map: GST_VIDEO_FORMAT_RGBx => { fourcc XBGR, drm fourcc XB24, LSB, bpp 32, depth 24, R 0x000000ff, G 0x0000ff00, B 0x00ff0000, A 0000000000 }
0:00:00.027408645 64188 0x555a04f76530 INFO               vadisplay gstvavideoformat.c:458:fix_map: GST_VIDEO_FORMAT_xBGR => { fourcc RGBX, drm fourcc RX24, LSB, bpp 32, depth 24, R 0xff000000, G 0x00ff0000, B 0x0000ff00, A 0000000000 }
0:00:00.027414338 64188 0x555a04f76530 INFO               vadisplay gstvavideoformat.c:458:fix_map: GST_VIDEO_FORMAT_xRGB => { fourcc BGRX, drm fourcc BX24, LSB, bpp 32, depth 24, R 0x0000ff00, G 0x00ff0000, B 0xff000000, A 0000000000 }
0:00:00.027466205 64188 0x555a04f76530 ERROR               vafilter gstvafilter.c:381:gst_va_filter_open:<vafilter0> vaCreateContext: resource allocation failed
0:00:00.027471978 64188 0x555a04f76530 WARN                      va plugin.c:248:plugin_register_vpp: Failed open VA filter
0:00:00.068923849 64188 0x555a04f76530 INFO                   vaapi gstvaapiutils.c:95:gst_vaapi_log: VA-API version 1.17.0
0:00:00.068938351 64188 0x555a04f76530 INFO                   vaapi gstvaapiutils.c:95:gst_vaapi_log: User environment variable requested driver 'iHD'
0:00:00.068941562 64188 0x555a04f76530 INFO                   vaapi gstvaapiutils.c:95:gst_vaapi_log: Trying to open /opt/scorer/lib/dri/iHD_drv_video.so
0:00:00.068948481 64188 0x555a04f76530 INFO                   vaapi gstvaapiutils.c:95:gst_vaapi_log: Found init function __vaDriverInit_1_17
0:00:00.069632589 64188 0x555a04f76530 INFO                   vaapi gstvaapiutils.c:95:gst_vaapi_log: va_openDriver() returns 0
0:00:00.069640464 64188 0x555a04f76530 INFO                   vaapi gstvaapiutils.c:122:vaapi_initialize: VA-API version 1.17
0:00:00.070472574 64188 0x555a04f76530 INFO                   vaapi gstvaapiutils.c:95:gst_vaapi_log: VA-API version 1.17.0
0:00:00.070494801 64188 0x555a04f76530 INFO                   vaapi gstvaapiutils.c:95:gst_vaapi_log: User environment variable requested driver 'iHD'
0:00:00.070501725 64188 0x555a04f76530 INFO                   vaapi gstvaapiutils.c:95:gst_vaapi_log: Trying to open /opt/scorer/lib/dri/iHD_drv_video.so
0:00:00.070518359 64188 0x555a04f76530 INFO                   vaapi gstvaapiutils.c:95:gst_vaapi_log: Found init function __vaDriverInit_1_17
0:00:00.071415920 64188 0x555a04f76530 INFO                   vaapi gstvaapiutils.c:95:gst_vaapi_log: va_openDriver() returns 0
0:00:00.071428162 64188 0x555a04f76530 INFO                   vaapi gstvaapiutils.c:122:vaapi_initialize: VA-API version 1.17
0:00:00.071434121 64188 0x555a04f76530 INFO            vaapidisplay gstvaapidisplay.c:983:gst_vaapi_display_create:<vaapidisplaydrm0> new display addr=0x555a0525c0b0
0:00:00.071440932 64188 0x555a04f76530 INFO            vaapidisplay gstvaapidisplay.c:795:ensure_vendor_string:<vaapidisplaydrm0> vendor: Intel iHD driver for Intel(R) Gen Graphics - 23.3.0 (919d39804)
0:00:00.071448542 64188 0x555a04f76530 INFO            vaapidisplay gstvaapidisplay.c:834:set_driver_quirks:<vaapidisplaydrm0> Matched driver string "Intel iHD driver for Intel(R) Gen Graphics - 23.3.0 (919d39804)", setting quirks (0x
0:00:00.071661809 64188 0x555a04f76530 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.071671559 64188 0x555a04f76530 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.071680288 64188 0x555a04f76530 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.071688184 64188 0x555a04f76530 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.0716966
0:00:00.072512985 64188 0x555a04f76530 DEBUG                  vaapi gstvaapiutils.c:131:vaapi_check_status: vaCreateContext() [VPP]: resource allocation failed
0:00:00.072891576 64188 0x555a04f76530 DEBUG                  vaapi gstvaapiutils.c:131:vaapi_check_status: vaGetConfigAttributes(): invalid parameter
0:00:00.072898918 64188 0x555a04f76530 DEBUG                  vaapi gstvaapiutils.c:131:vaapi_check_status: vaGetConfigAttributes(): invalid parameter
0:00:00.072904844 64188 0x555a04f76530 DEBUG                  vaapi gstvaapiutils.c:131:vaapi_check_status: vaGetConfigAttributes(): invalid parameter
0:00:00.072909773 64188 0x555a04f76530 DEBUG                  vaapi gstvaapiutils.c:131:vaapi_check_status: vaGetConfigAttributes(): invalid parameter
0:00:00.072915038 64188 0x555a04f76530 DEBUG                  vaapi gstvaapiutils.c:131:vaapi_check_status: vaGetConfigAttributes(): invalid parameter
0:00:00.072919843 64188 0x555a04f76530 DEBUG                  vaapi gstvaapiutils.c:131:vaapi_check_status: vaGetConfigAttributes(): invalid parameter
0:00:00.072952751 64188 0x555a04f76530 DEBUG           vaapih264enc gstvaapiencode_h264.c:84:gst_vaapiencode_h264_register_type: H264 encode's sink caps video/x-raw(memory:VASurface), format=(string){ NV12, YV12, I420, YUY2, UYVY, Y444, VUYA }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string)progressive; video/x-raw(memory:DMABuf), format=(string){ NV12, YV12, I420, YUY2, UYVY, Y444, VUYA }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string)progressive; video/x-raw, format=(string){ NV12, YV12, I420, YUY2, UYVY, Y444, VUYA }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string)progressive
0:00:00.072968893 64188 0x555a04f76530 DEBUG           vaapih264enc gstvaapiencode_h264.c:84:gst_vaapiencode_h264_register_type: H264 encode's src caps video/x-h264, stream-format=(string){ avc, byte-stream }, alignment=(string)au, profile=(string){ main, high, constrained-baseline }
0:00:00.073192242 64188 0x555a04f76530 DEBUG                  vaapi gstvaapiutils.c:131:vaapi_check_status: vaGetConfigAttributes(): invalid parameter
0:00:00.073200134 64188 0x555a04f76530 DEBUG                  vaapi gstvaapiutils.c:131:vaapi_check_status: vaGetConfigAttributes(): invalid parameter
0:00:00.073232489 64188 0x555a04f76530 DEBUG           vaapijpegenc gstvaapiencode_jpeg.c:55:gst_vaapiencode_jpeg_register_type: JPEG encode's sink caps video/x-raw(memory:VASurface), format=(string){ NV12, YV12, I420, YUY2, UYVY, Y444, VUYA, GRAY8, BGRA }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string)progressive; video/x-raw(memory:DMABuf), format=(string){ NV12, YV12, I420, YUY2, UYVY, Y444, VUYA, GRAY8, BGRA }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string)progressive; video/x-raw, format=(string){ NV12, YV12, I420, YUY2, UYVY, Y444, VUYA, GRAY8, BGRA }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string)progressive
0:00:00.0732404
0:00:00.073463844 64188 0x555a04f76530 DEBUG           vaapih265enc gstvaapiencode_h265.c:58:gst_vaapiencode_h265_register_type: H265 encode's sink caps video/x-raw(memory:VASurface), format=(string){ NV12, YV12, I420, Y444, VUYA, P010_10LE, Y410 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string)progressive; video/x-raw(memory:DMABuf), format=(string){ NV12, YV12, I420, Y444, VUYA, P010_10LE, Y410 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string)progressive; video/x-raw, format=(string){ NV12, YV12, I420, Y444, VUYA, P010_10LE, Y410 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string)progressive
0:00:00.073481676 64188 0x555a04f76530 DEBUG           vaapih265enc gstvaapiencode_h265.c:58:gst_vaapiencode_h265_register_type: H265 encode's src caps video/x-h265, stream-format=(string){ hvc1, byte-stream }, alignment=(string)au, profile=(string){ main, main-10, main-444, main-444-10, screen-extended-main, screen-extended-main-10, screen-extended-main-444, screen-extended-main-444-10 }
0:00:00.073639541 64188 0x555a04f76530 DEBUG                  vaapi gstvaapiutils.c:131:vaapi_check_status: vaGetConfigAttributes(): invalid parameter
0:00:00.073645310 64188 0x555a04f76530 DEBUG                  vaapi gstvaapiutils.c:131:vaapi_check_status: vaGetConfigAttributes(): invalid parameter
0:00:00.073650324 64188 0x555a04f76530 DEBUG                  vaapi gstvaapiutils.c:131:vaapi_check_status: vaGetConfigAttributes(): invalid parameter
0:00:00.073654748 64188 0x555a04f76530 DEBUG                  vaapi gstvaapiutils.c:131:vaapi_check_status: vaGetConfigAttributes(): invalid parameter
0:00:00.073659889 64188 0x555a04f76530 DEBUG                  vaapi gstvaapiutils.c:131:vaapi_check_status: vaGetConfigAttributes(): invalid parameter
0:00:00.073664370 64188 0x555a04f76530 DEBUG                  vaapi gstvaapiutils.c:131:vaapi_check_status: vaGetConfigAttributes(): invalid parameter
0:00:00.073669133 64188 0x555a04f76530 DEBUG                  vaapi gstvaapiutils.c:131:vaapi_check_status: vaGetConfigAttributes(): invalid parameter
0:00:00.073673399 64188 0x555a04f76530 DEBUG                  vaapi gstvaapiutils.c:131:vaapi_check_status: vaGetConfigAttributes(): invalid parameter
0:00:00.073700924 64188 0x555a04f76530 DEBUG            vaapivp9enc gstvaapiencode_vp9.c:56:gst_vaapiencode_vp9_register_type: VP9 encode's sink caps video/x-raw(memory:VASurface), format=(string){ NV12, YV12, I420, Y444, VUYA, P010_10LE, Y410 }, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], interlace-mode=(string)progressive; video/x-raw(memory:DMABuf), format=(string){ NV12, YV12, I420, Y444, VU
0:00:00.364618948 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:353:_va_info:<vadisplaydrm4> VA info: User environment variable requested driver 'iHD'
0:00:00.364622551 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:353:_va_info:<vadisplaydrm4> VA info: Trying to open /opt/scorer/lib/dri/iHD_drv_video.so
0:00:00.364629472 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:353:_va_info:<vadisplaydrm4> VA info: Found init function __vaDriverInit_1_17
0:00:00.365354503 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:353:_va_info:<vadisplaydrm4> VA info: va_openDriver() returns 0
0:00:00.365361318 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:405:gst_va_display_initialize:<vadisplaydrm4> VA-API version 1.17
0:00:00.365364627 64188 0x555a04f76530 INFO               vadisplay gstvadisplay.c:176:_gst_va_display_filter_driver: VA-API driver vendor: Intel iHD driver for Intel(R) Gen Graphics - 23.3.0 (919d39804)

It looks like you driver or card has some issues. Perhaps updating the iHD driver?

I’ve tried updating to the latest iHD driver (versions 24.2.5) but it didn’t helped.

I also encountered the same problem, is there a solution?

0:00:00.637078509   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay_drm.c:155:gst_va_display_drm_create_va_display:<vadisplaydrm0> DRM render node with kernel driver i915
0:00:00.637130659   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm0> VA info: VA-API version 1.17.0
0:00:00.637145310   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm0> VA info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
0:00:00.638506260   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm0> VA info: Found init function __vaDriverInit_1_17
0:00:00.640971774   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm0> VA info: va_openDriver() returns 0
0:00:00.640985572   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:320:gst_va_display_initialize:<vadisplaydrm0> VA-API version 1.17
0:00:00.640990813   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:102:_gst_va_display_filter_driver: VA-API driver vendor: Intel iHD driver for Intel(R) Gen Graphics - 23.1.1 ()
0:00:00.851755481   276 0x55bf7e3dff90 LOG                       va gstvadevice.c:88:gst_va_device_find_devices: Ignoring card0 in /dev/dri/card0
0:00:00.851780497   276 0x55bf7e3dff90 LOG                       va gstvadevice.c:88:gst_va_device_find_devices: Ignoring card0-DP-1 in (null)
0:00:00.851797286   276 0x55bf7e3dff90 LOG                       va gstvadevice.c:88:gst_va_device_find_devices: Ignoring card0-HDMI-A-1 in (null)
0:00:00.851806190   276 0x55bf7e3dff90 LOG                       va gstvadevice.c:88:gst_va_device_find_devices: Ignoring card0-HDMI-A-2 in (null)
0:00:00.851877474   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay_drm.c:155:gst_va_display_drm_create_va_display:<vadisplaydrm1> DRM render node with kernel driver i915
0:00:00.851902967   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm1> VA info: VA-API version 1.17.0
0:00:00.851912832   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm1> VA info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
0:00:00.851945774   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm1> VA info: Found init function __vaDriverInit_1_17
0:00:00.853361919   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm1> VA info: va_openDriver() returns 0
0:00:00.853374219   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:320:gst_va_display_initialize:<vadisplaydrm1> VA-API version 1.17
0:00:00.853380412   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:102:_gst_va_display_filter_driver: VA-API driver vendor: Intel iHD driver for Intel(R) Gen Graphics - 23.1.1 ()
0:00:00.853386805   276 0x55bf7e3dff90 INFO                      va gstvadevice.c:95:gst_va_device_find_devices: Found VA-API device: /dev/dri/renderD128
0:00:00.853491584   276 0x55bf7e3dff90 LOG                       va plugin.c:97:plugin_register_decoders: 1 decoder codec: AV01
0:00:00.853502141   276 0x55bf7e3dff90 LOG                       va plugin.c:99:plugin_register_decoders: sink caps: video/x-av1, profile=(string)main, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ]
0:00:00.853511151   276 0x55bf7e3dff90 LOG                       va plugin.c:100:plugin_register_decoders: src caps: video/x-raw(memory:VAMemory), width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], format=(string){ NV12, P010_10LE }; video/x-raw(memory:DMABuf), width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], format=(string){ NV12, P010_10LE }; video/x-raw, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], format=(string){ NV12, P010_10LE }
0:00:00.854540177   276 0x55bf7e3dff90 LOG                       va plugin.c:97:plugin_register_decoders: 12 decoder codec: H265
0:00:00.854562067   276 0x55bf7e3dff90 LOG                       va plugin.c:99:plugin_register_decoders: sink caps: video/x-h265, profile=(string){ main, main-10, main-12, main-422-10, main-422-12, main-444, main-444-10, main-444-12, screen-extended-main, screen-extended-main-10, screen-extended-main-444, screen-extended-main-444-10 }, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ]
0:00:00.854574302   276 0x55bf7e3dff90 LOG                       va plugin.c:100:plugin_register_decoders: src caps: video/x-raw(memory:VAMemory), width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], format=(string){ P010_10LE, YUY2, Y210, Y212_LE, VUYA, Y410, P012_LE, Y412_LE, NV12 }; video/x-raw(memory:DMABuf), width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], format=(string){ P010_10LE, YUY2, Y210, Y212_LE, VUYA, Y410, P012_LE, Y412_LE, NV12 }; video/x-raw, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], format=(string){ P010_10LE, YUY2, Y210, Y212_LE, VUYA, Y410, P012_LE, Y412_LE, NV12 }
0:00:00.854812384   276 0x55bf7e3dff90 LOG                       va plugin.c:97:plugin_register_decoders: 4 decoder codec: VP90
0:00:00.854818727   276 0x55bf7e3dff90 LOG                       va plugin.c:99:plugin_register_decoders: sink caps: video/x-vp9, profile=(string){ 0, 1, 2, 3 }, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ]
0:00:00.854824702   276 0x55bf7e3dff90 LOG                       va plugin.c:100:plugin_register_decoders: src caps: video/x-raw(memory:VAMemory), width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], format=(string){ NV12, VUYA, P010_10LE, P012_LE, Y410, Y412_LE }; video/x-raw(memory:DMABuf), width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], format=(string){ NV12, VUYA, P010_10LE, P012_LE, Y410, Y412_LE }; video/x-raw, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], format=(string){ NV12, VUYA, P010_10LE, P012_LE, Y410, Y412_LE }
0:00:00.854899868   276 0x55bf7e3dff90 LOG                       va plugin.c:97:plugin_register_decoders: 2 decoder codec: MPEG
0:00:00.854905932   276 0x55bf7e3dff90 LOG                       va plugin.c:99:plugin_register_decoders: sink caps: video/mpeg, mpegversion=(int)2, profile=(string){ simple, main }, width=(int)[ 1, 1920 ], height=(int)[ 1, 1920 ]
0:00:00.854910828   276 0x55bf7e3dff90 LOG                       va plugin.c:100:plugin_register_decoders: src caps: video/x-raw(memory:VAMemory), width=(int)[ 1, 2048 ], height=(int)[ 1, 2048 ], format=(string)NV12; video/x-raw(memory:DMABuf), width=(int)[ 1, 2048 ], height=(int)[ 1, 2048 ], format=(string)NV12; video/x-raw, width=(int)[ 1, 2048 ], height=(int)[ 1, 2048 ], format=(string)NV12
0:00:00.854985351   276 0x55bf7e3dff90 LOG                       va plugin.c:97:plugin_register_decoders: 3 decoder codec: H264
0:00:00.854990428   276 0x55bf7e3dff90 LOG                       va plugin.c:99:plugin_register_decoders: sink caps: video/x-h264, profile=(string){ main, high, constrained-baseline }, width=(int)[ 1, 8192 ], height=(int)[ 1, 8192 ]
0:00:00.854996783   276 0x55bf7e3dff90 LOG                       va plugin.c:100:plugin_register_decoders: src caps: video/x-raw(memory:VAMemory), width=(int)[ 1, 4096 ], height=(int)[ 1, 4096 ], format=(string)NV12; video/x-raw(memory:DMABuf), width=(int)[ 1, 4096 ], height=(int)[ 1, 4096 ], format=(string)NV12; video/x-raw, width=(int)[ 1, 4096 ], height=(int)[ 1, 4096 ], format=(string)NV12
0:00:00.855093083   276 0x55bf7e3dff90 LOG                       va plugin.c:97:plugin_register_decoders: 1 decoder codec: JPEG
0:00:00.855099590   276 0x55bf7e3dff90 LOG                       va plugin.c:99:plugin_register_decoders: sink caps: image/jpeg, sof-marker=(int)0, colorspace=(string){ sYUV, GRAY, sRGB }, sampling=(string){ YCbCr-4:2:0, YCbCr-4:2:2, YCbCr-4:4:4, GRAYSCALE, RGB, BGR }, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ]
0:00:00.855106588   276 0x55bf7e3dff90 LOG                       va plugin.c:100:plugin_register_decoders: src caps: video/x-raw(memory:VAMemory), width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], format=(string){ NV12, GRAY8, Y42B, Y444, RGBP }; video/x-raw(memory:DMABuf), width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], format=(string){ NV12, GRAY8, Y42B, Y444, RGBP }; video/x-raw, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ], format=(string){ NV12, GRAY8, Y42B, Y444, RGBP }
0:00:00.855447652   276 0x55bf7e3dff90 LOG                       va plugin.c:185:plugin_register_encoders: 8 encoder low power codec: H265
0:00:00.855455389   276 0x55bf7e3dff90 LOG                       va plugin.c:188:plugin_register_encoders: sink caps: video/x-raw(memory:VAMemory), width=(int)[ 128, 16384 ], height=(int)[ 128, 12288 ], format=(string){ NV12, P010_10LE, VUYA, Y410 }; video/x-raw(memory:DMABuf), width=(int)[ 128, 16384 ], height=(int)[ 128, 12288 ], format=(string){ NV12, P010_10LE, VUYA, Y410 }; video/x-raw, width=(int)[ 128, 16384 ], height=(int)[ 128, 12288 ], format=(string){ NV12, P010_10LE, VUYA, Y410 }
0:00:00.855461395   276 0x55bf7e3dff90 LOG                       va plugin.c:189:plugin_register_encoders: src caps: video/x-h265, profile=(string){ main, main-10, main-444, main-444-10, screen-extended-main, screen-extended-main-10, screen-extended-main-444, screen-extended-main-444-10 }, width=(int)[ 1, 16384 ], height=(int)[ 1, 12288 ]
0:00:00.855542100   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay_drm.c:155:gst_va_display_drm_create_va_display:<vadisplaydrm2> DRM render node with kernel driver i915
0:00:00.855566868   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm2> VA info: VA-API version 1.17.0
0:00:00.855574470   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm2> VA info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
0:00:00.855617831   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm2> VA info: Found init function __vaDriverInit_1_17
0:00:00.937150568   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm2> VA info: va_openDriver() returns 0
0:00:00.937166584   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:320:gst_va_display_initialize:<vadisplaydrm2> VA-API version 1.17
0:00:00.937171284   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:102:_gst_va_display_filter_driver: VA-API driver vendor: Intel iHD driver for Intel(R) Gen Graphics - 23.1.1 ()
0:00:00.937696054   276 0x55bf7e3dff90 LOG                       va plugin.c:185:plugin_register_encoders: 4 encoder low power codec: VP90
0:00:00.937706588   276 0x55bf7e3dff90 LOG                       va plugin.c:188:plugin_register_encoders: sink caps: video/x-raw(memory:VAMemory), width=(int)[ 128, 8192 ], height=(int)[ 96, 8192 ], format=(string){ NV12, VUYA, P010_10LE, P012_LE, Y410, Y412_LE, ARGB, ABGR }; video/x-raw(memory:DMABuf), width=(int)[ 128, 8192 ], height=(int)[ 96, 8192 ], format=(string){ NV12, VUYA, P010_10LE, P012_LE, Y410, Y412_LE, ARGB, ABGR }; video/x-raw, width=(int)[ 128, 8192 ], height=(int)[ 96, 8192 ], format=(string){ NV12, VUYA, P010_10LE, P012_LE, Y410, Y412_LE, ARGB, ABGR }
0:00:00.937711685   276 0x55bf7e3dff90 LOG                       va plugin.c:189:plugin_register_encoders: src caps: video/x-vp9, profile=(string){ 0, 1, 2, 3 }, width=(int)[ 1, 8192 ], height=(int)[ 1, 8192 ]
0:00:00.937715400   276 0x55bf7e3dff90 DEBUG                     va plugin.c:207:plugin_register_encoders: No encoder implementation for VP90
0:00:00.937782460   276 0x55bf7e3dff90 LOG                       va plugin.c:185:plugin_register_encoders: 3 encoder low power codec: H264
0:00:00.937791575   276 0x55bf7e3dff90 LOG                       va plugin.c:188:plugin_register_encoders: sink caps: video/x-raw(memory:VAMemory), width=(int)[ 32, 4096 ], height=(int)[ 32, 4096 ], format=(string)NV12; video/x-raw(memory:DMABuf), width=(int)[ 32, 4096 ], height=(int)[ 32, 4096 ], format=(string)NV12; video/x-raw, width=(int)[ 32, 4096 ], height=(int)[ 32, 4096 ], format=(string)NV12
0:00:00.937799065   276 0x55bf7e3dff90 LOG                       va plugin.c:189:plugin_register_encoders: src caps: video/x-h264, profile=(string){ main, high, constrained-baseline }, width=(int)[ 1, 4096 ], height=(int)[ 1, 4096 ]
0:00:00.937904814   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay_drm.c:155:gst_va_display_drm_create_va_display:<vadisplaydrm3> DRM render node with kernel driver i915
0:00:00.937927557   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm3> VA info: VA-API version 1.17.0
0:00:00.937936401   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm3> VA info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
0:00:00.938008581   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm3> VA info: Found init function __vaDriverInit_1_17
0:00:00.938804613   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm3> VA info: va_openDriver() returns 0
0:00:00.938813212   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:320:gst_va_display_initialize:<vadisplaydrm3> VA-API version 1.17
0:00:00.938816810   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:102:_gst_va_display_filter_driver: VA-API driver vendor: Intel iHD driver for Intel(R) Gen Graphics - 23.1.1 ()
0:00:00.939077513   276 0x55bf7e3dff90 LOG                       va plugin.c:185:plugin_register_encoders: 1 encoder codec: JPEG
0:00:00.939085965   276 0x55bf7e3dff90 LOG                       va plugin.c:188:plugin_register_encoders: sink caps: video/x-raw(memory:VAMemory), width=(int)[ 16, 16384 ], height=(int)[ 16, 16384 ], format=(string){ NV12, YUY2, UYVY, GRAY8, ABGR }; video/x-raw(memory:DMABuf), width=(int)[ 16, 16384 ], height=(int)[ 16, 16384 ], format=(string){ NV12, YUY2, UYVY, GRAY8, ABGR }; video/x-raw, width=(int)[ 16, 16384 ], height=(int)[ 16, 16384 ], format=(string){ NV12, YUY2, UYVY, GRAY8, ABGR }
0:00:00.939094357   276 0x55bf7e3dff90 LOG                       va plugin.c:189:plugin_register_encoders: src caps: image/jpeg, sof-marker=(int)0, colorspace=(string){ sYUV, GRAY }, sampling=(string){ YCbCr-4:2:0, YCbCr-4:2:2, GRAYSCALE }, width=(int)[ 1, 16384 ], height=(int)[ 1, 16384 ]
0:00:00.939099321   276 0x55bf7e3dff90 DEBUG                     va plugin.c:207:plugin_register_encoders: No encoder implementation for JPEG
0:00:00.939136641   276 0x55bf7e3dff90 INFO               vadisplay gstvavideoformat.c:359:fix_map: GST_VIDEO_FORMAT_ARGB => { fourcc BGRA, LSB, bpp 32, depth 32, R 0x0000ff00, G 0x00ff0000, B 0xff000000, A 0x000000ff }
0:00:00.939143457   276 0x55bf7e3dff90 INFO               vadisplay gstvavideoformat.c:359:fix_map: GST_VIDEO_FORMAT_BGRA => { fourcc ARGB, LSB, bpp 32, depth 32, R 0x00ff0000, G 0x0000ff00, B 0x000000ff, A 0xff000000 }
0:00:00.939148809   276 0x55bf7e3dff90 INFO               vadisplay gstvavideoformat.c:359:fix_map: GST_VIDEO_FORMAT_ABGR => { fourcc RGBA, LSB, bpp 32, depth 32, R 0xff000000, G 0x00ff0000, B 0x0000ff00, A 0x000000ff }
0:00:00.939154190   276 0x55bf7e3dff90 INFO               vadisplay gstvavideoformat.c:359:fix_map: GST_VIDEO_FORMAT_RGBA => { fourcc ABGR, LSB, bpp 32, depth 32, R 0x000000ff, G 0x0000ff00, B 0x00ff0000, A 0xff000000 }
0:00:00.939160002   276 0x55bf7e3dff90 INFO               vadisplay gstvavideoformat.c:359:fix_map: GST_VIDEO_FORMAT_xRGB => { fourcc BGRX, LSB, bpp 32, depth 24, R 0x0000ff00, G 0x00ff0000, B 0xff000000, A 0000000000 }
0:00:00.939165915   276 0x55bf7e3dff90 INFO               vadisplay gstvavideoformat.c:359:fix_map: GST_VIDEO_FORMAT_BGRx => { fourcc XRGB, LSB, bpp 32, depth 24, R 0x00ff0000, G 0x0000ff00, B 0x000000ff, A 0000000000 }
0:00:00.939170074   276 0x55bf7e3dff90 INFO               vadisplay gstvavideoformat.c:359:fix_map: GST_VIDEO_FORMAT_xBGR => { fourcc RGBX, LSB, bpp 32, depth 24, R 0xff000000, G 0x00ff0000, B 0x0000ff00, A 0000000000 }
0:00:00.939173997   276 0x55bf7e3dff90 INFO               vadisplay gstvavideoformat.c:359:fix_map: GST_VIDEO_FORMAT_RGBx => { fourcc XBGR, LSB, bpp 32, depth 24, R 0x000000ff, G 0x0000ff00, B 0x00ff0000, A 0000000000 }
0:00:00.943716659   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay_drm.c:155:gst_va_display_drm_create_va_display:<vadisplaydrm4> DRM render node with kernel driver i915
0:00:00.943750769   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm4> VA info: VA-API version 1.17.0
0:00:00.943759707   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm4> VA info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
0:00:00.943875281   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm4> VA info: Found init function __vaDriverInit_1_17
0:00:00.944743055   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm4> VA info: va_openDriver() returns 0
0:00:00.944752777   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:320:gst_va_display_initialize:<vadisplaydrm4> VA-API version 1.17
0:00:00.944756910   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:102:_gst_va_display_filter_driver: VA-API driver vendor: Intel iHD driver for Intel(R) Gen Graphics - 23.1.1 ()
0:00:00.949646760   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay_drm.c:155:gst_va_display_drm_create_va_display:<vadisplaydrm5> DRM render node with kernel driver i915
0:00:00.949718561   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm5> VA info: VA-API version 1.17.0
0:00:00.949729445   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm5> VA info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
0:00:00.949991864   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm5> VA info: Found init function __vaDriverInit_1_17
0:00:00.950952408   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm5> VA info: va_openDriver() returns 0
0:00:00.950961900   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:320:gst_va_display_initialize:<vadisplaydrm5> VA-API version 1.17
0:00:00.950966651   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:102:_gst_va_display_filter_driver: VA-API driver vendor: Intel iHD driver for Intel(R) Gen Graphics - 23.1.1 ()
0:00:00.954205649   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay_drm.c:155:gst_va_display_drm_create_va_display:<vadisplaydrm6> DRM render node with kernel driver i915
0:00:00.954230665   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm6> VA info: VA-API version 1.17.0
0:00:00.954238342   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm6> VA info: Trying to open /usr/lib/x86_64-linux-gnu/dri/iHD_drv_video.so
0:00:00.954311287   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm6> VA info: Found init function __vaDriverInit_1_17
0:00:01.036654255   276 0x55bf7e3dff90 INFO               vadisplay gstvadisplay.c:268:_va_info:<vadisplaydrm6> VA info: va_openDriver() returns 0
0:00:01.036668772   276 0x55bf7e3dff90 INFO               vadisplay 
Plugin Details:
  Name                     va
  Description              VA-API codecs plugin
  Filename                 /lib/x86_64-linux-gnu/gstreamer-1.0/libgstva.so
  Version                  1.22.0
  License                  LGPL
  Source module            gst-plugins-bad
  Documentation            https://gstreamer.freedesktop.org/documentation/va/
  Source release date      2023-01-23
  Binary package           GStreamer Bad Plugins (Debian)
  Origin URL               https://tracker.debian.org/pkg/gst-plugins-bad1.0

  vaav1dec: VA-API AV1 Decoder
  vacompositor: VA-API Video Compositor
  vadeinterlace: VA-API Deinterlacer
  vah264dec: VA-API H.264 Decoder
  vah264lpenc: VA-API H.264 Low Power Encoder
  vah265dec: VA-API H.265 Decoder
  vah265lpenc: VA-API H.265 Low Power Encoder
  vajpegdec: VA-API JPEG Decoder
  vampeg2dec: VA-API Mpeg2 Decoder
  vapostproc: VA-API Video Postprocessor
  vavp9dec: VA-API VP9 Decoder

  11 features:
  +-- 11 elements

I guess you installed gstreamer in the default dirs with an old gstreamer version in place. These two versions are messed up. Better to install gstreamer under /opt and set proper plugin and lib paths for the installed one. In this way, two versions will not have conflicts.

If the driver is too old, it has to be built as well before the new gstreamer is built.

Please refer to this -