Dual GPU (AMD + Intel) fails to initialize Intel drivers
On system with dual GPU (AMD + Intel), gstreamer-vaapi fails to initialize i965 or iHD drivers.
$ sudo cat /sys/kernel/debug/dri/128/name
i915 dev=0000:00:02.0 unique=0000:00:02.0
$ sudo cat /sys/kernel/debug/dri/129/name
amdgpu dev=0000:01:00.0 unique=0000:01:00.0
i965 Driver:
$ rm -rf ~/.cache/gstreamer-1.0/
$ GST_DEBUG=vaapi:6 LIBVA_DRIVER_NAME=i965 gst-launch-1.0 videotestsrc num-buffers=10\
! vaapih264enc ! h264parse ! filesink location=output.h264
0:00:00.030601161 1359 0x123ca70 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: VA-API version 1.4.0
0:00:00.030623834 1359 0x123ca70 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: va_getDriverName() returns 0
0:00:00.030628904 1359 0x123ca70 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: User requested driver 'i965'
0:00:00.030633563 1359 0x123ca70 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: Trying to open /home/media/sandbox/media/install/lib/dri/i965_drv_video.so
0:00:00.030971889 1359 0x123ca70 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: Found init function __vaDriverInit_1_4
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [2]
param: 4, val: 0
gst-plugin-scanner: intel_memman.c:38: intel_memman_init: Assertion `intel->bufmgr' failed.
0:00:00.004488173 1362 0x224fd00 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: VA-API version 1.4.0
0:00:00.004512170 1362 0x224fd00 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: va_getDriverName() returns 0
0:00:00.004538045 1362 0x224fd00 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: User requested driver 'i965'
0:00:00.004545052 1362 0x224fd00 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: Trying to open /home/media/sandbox/media/install/lib/dri/i965_drv_video.so
0:00:00.004734163 1362 0x224fd00 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: Found init function __vaDriverInit_1_4
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [2]
param: 4, val: 0
gst-plugin-scanner: intel_memman.c:38: intel_memman_init: Assertion `intel->bufmgr' failed.
WARNING: erroneous pipeline: no element "vaapih264enc"
iHD Driver:
$ rm -rf ~/.cache/gstreamer-1.0/
$ GST_DEBUG=vaapi:6 GST_VAAPI_ALL_DRIVERS=1 LIBVA_DRIVER_NAME=iHD gst-launch-1.0 \
videotestsrc num-buffers=10 ! vaapih264enc ! h264parse ! filesink location=output.h264
0:00:00.029958081 1498 0xec7a70 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: VA-API version 1.4.0
0:00:00.029981271 1498 0xec7a70 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: va_getDriverName() returns 0
0:00:00.029987231 1498 0xec7a70 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: User requested driver 'iHD'
0:00:00.029992847 1498 0xec7a70 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: Trying to open /home/media/sandbox/media/install/lib/dri/iHD_drv_video.so
0:00:00.031238920 1498 0xec7a70 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: Found init function __vaDriverInit_1_4
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [2]
param: 4, val: 0
0:00:00.031490911 1498 0xec7a70 WARN vaapi gstvaapiutils.c:77:gst_vaapi_warning: /home/media/sandbox/media/install/lib/dri/iHD_drv_video.so init failed
0:00:00.031511678 1498 0xec7a70 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: va_openDriver() returns 1
0:00:00.031515730 1498 0xec7a70 DEBUG vaapi gstvaapiutils.c:130:vaapi_check_status: vaInitialize(): operation failed
0:00:00.032316585 1498 0xec7a70 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: VA-API version 1.4.0
0:00:00.032345677 1498 0xec7a70 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: va_getDriverName() returns 0
0:00:00.032351291 1498 0xec7a70 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: User requested driver 'iHD'
0:00:00.032374754 1498 0xec7a70 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: Trying to open /home/media/sandbox/media/install/lib/dri/iHD_drv_video.so
0:00:00.032410866 1498 0xec7a70 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: Found init function __vaDriverInit_1_4
0:00:00.033017467 1498 0xec7a70 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: va_openDriver() returns 0
0:00:00.033046537 1498 0xec7a70 INFO vaapi gstvaapiutils.c:121:vaapi_initialize: VA-API version 1.4
0:00:00.033292560 1498 0xec7a70 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: VA-API version 1.4.0
0:00:00.033320711 1498 0xec7a70 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: va_getDriverName() returns 0
0:00:00.033324652 1498 0xec7a70 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: User requested driver 'iHD'
0:00:00.033350400 1498 0xec7a70 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: Trying to open /home/media/sandbox/media/install/lib/dri/iHD_drv_video.so
0:00:00.033364744 1498 0xec7a70 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: Found init function __vaDriverInit_1_4
0:00:00.033716501 1498 0xec7a70 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: va_openDriver() returns 0
0:00:00.033723221 1498 0xec7a70 INFO vaapi gstvaapiutils.c:121:vaapi_initialize: VA-API version 1.4
0:00:00.231236924 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: VA-API version 1.4.0
0:00:00.231275044 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: va_getDriverName() returns 0
0:00:00.231281547 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: User requested driver 'iHD'
0:00:00.231287700 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: Trying to open /home/media/sandbox/media/install/lib/dri/iHD_drv_video.so
0:00:00.232548780 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: Found init function __vaDriverInit_1_4
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [2]
param: 4, val: 0
0:00:00.232756021 1497 0x149d090 WARN vaapi gstvaapiutils.c:77:gst_vaapi_warning: /home/media/sandbox/media/install/lib/dri/iHD_drv_video.so init failed
0:00:00.232761358 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: va_openDriver() returns 1
0:00:00.232783303 1497 0x149d090 DEBUG vaapi gstvaapiutils.c:130:vaapi_check_status: vaInitialize(): operation failed
0:00:00.234666207 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: VA-API version 1.4.0
0:00:00.234678270 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: va_getDriverName() returns 0
0:00:00.234682720 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: User requested driver 'iHD'
0:00:00.234687149 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: Trying to open /home/media/sandbox/media/install/lib/dri/iHD_drv_video.so
0:00:00.234696042 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: Found init function __vaDriverInit_1_4
0:00:00.235231687 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: va_openDriver() returns 0
0:00:00.235240030 1497 0x149d090 INFO vaapi gstvaapiutils.c:121:vaapi_initialize: VA-API version 1.4
0:00:00.235354650 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: VA-API version 1.4.0
0:00:00.235362708 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: va_getDriverName() returns 0
0:00:00.235367208 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: User requested driver 'iHD'
0:00:00.235371802 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: Trying to open /home/media/sandbox/media/install/lib/dri/iHD_drv_video.so
0:00:00.235379681 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: Found init function __vaDriverInit_1_4
0:00:00.235755459 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: va_openDriver() returns 0
0:00:00.235762877 1497 0x149d090 INFO vaapi gstvaapiutils.c:121:vaapi_initialize: VA-API version 1.4
Setting pipeline to PAUSED ...
0:00:00.237397827 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: VA-API version 1.4.0
0:00:00.237409536 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: va_getDriverName() returns 0
0:00:00.237433115 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: User requested driver 'iHD'
0:00:00.237438530 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: Trying to open /home/media/sandbox/media/install/lib/dri/iHD_drv_video.so
0:00:00.237459659 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: Found init function __vaDriverInit_1_4
DRM_IOCTL_I915_GEM_APERTURE failed: Invalid argument
Assuming 131072kB available aperture size.
May lead to reduced performance or incorrect rendering.
get chip id failed: -1 [2]
param: 4, val: 0
0:00:00.237572641 1497 0x149d090 WARN vaapi gstvaapiutils.c:77:gst_vaapi_warning: /home/media/sandbox/media/install/lib/dri/iHD_drv_video.so init failed
0:00:00.237577966 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: va_openDriver() returns 1
0:00:00.237582652 1497 0x149d090 DEBUG vaapi gstvaapiutils.c:130:vaapi_check_status: vaInitialize(): operation failed
0:00:00.251398236 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: VA-API version 1.4.0
0:00:00.251417831 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: va_getDriverName() returns 0
0:00:00.251422352 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: User requested driver 'iHD'
0:00:00.251426997 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: Trying to open /home/media/sandbox/media/install/lib/dri/iHD_drv_video.so
0:00:00.251453131 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: Found init function __vaDriverInit_1_4
0:00:00.251953808 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: va_openDriver() returns 0
0:00:00.251962758 1497 0x149d090 INFO vaapi gstvaapiutils.c:121:vaapi_initialize: VA-API version 1.4
0:00:00.252086188 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: VA-API version 1.4.0
0:00:00.252094799 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: va_getDriverName() returns 0
0:00:00.252098770 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: User requested driver 'iHD'
0:00:00.252102884 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: Trying to open /home/media/sandbox/media/install/lib/dri/iHD_drv_video.so
0:00:00.252111236 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: Found init function __vaDriverInit_1_4
0:00:00.252468677 1497 0x149d090 INFO vaapi gstvaapiutils.c:94:gst_vaapi_log: va_openDriver() returns 0
0:00:00.252477260 1497 0x149d090 INFO vaapi gstvaapiutils.c:121:vaapi_initialize: VA-API version 1.4
0:00:00.252821606 1497 0x149d090 DEBUG vaapi gstvaapiutils.c:130:vaapi_check_status: vaGetConfigAttributes(): invalid parameter
0:00:00.252833241 1497 0x149d090 DEBUG vaapi gstvaapiutils.c:130:vaapi_check_status: vaGetConfigAttributes(): invalid parameter
Pipeline is PREROLLING ...
Got context from element 'vaapiencodeh264-0': gst.vaapi.Display=context, gst.vaapi.Display=(GstVaapiDisplay)"\(GstVaapiDisplayDRM\)\ vaapidisplaydrm1";
0:00:00.253202064 1497 0x13b0400 DEBUG vaapi gstvaapicontext.c:100:context_destroy: context 0xffffffff
0:00:00.253215537 1497 0x13b0400 DEBUG vaapi gstvaapicontext.c:100:context_destroy: context 0xffffffff
0:00:00.253221898 1497 0x13b0400 DEBUG vaapi gstvaapicontext.c:100:context_destroy: context 0xffffffff
0:00:00.253226334 1497 0x13b0400 DEBUG vaapi gstvaapicontext.c:100:context_destroy: context 0xffffffff
0:00:00.253230375 1497 0x13b0400 DEBUG vaapi gstvaapicontext.c:100:context_destroy: context 0xffffffff
0:00:00.253234209 1497 0x13b0400 DEBUG vaapi gstvaapicontext.c:100:context_destroy: context 0xffffffff
0:00:00.253238429 1497 0x13b0400 DEBUG vaapi gstvaapicontext.c:100:context_destroy: context 0xffffffff
0:00:00.253242797 1497 0x13b0400 DEBUG vaapi gstvaapicontext.c:100:context_destroy: context 0xffffffff
0:00:00.253248524 1497 0x13b0400 DEBUG vaapi gstvaapicontext.c:100:context_destroy: context 0xffffffff
0:00:00.253444319 1497 0x13b0400 DEBUG vaapi gstvaapiencoder_h264.c:3339:gst_vaapi_encoder_h264_reconfigure: resolution: 320x240
0:00:00.253473283 1497 0x13b0400 DEBUG vaapi gstvaapiutils_h264.c:240:gst_vaapi_utils_h264_get_profile_idc: unsupported GstVaapiProfile value
0:00:00.253476601 1497 0x13b0400 DEBUG vaapi gstvaapiutils_h264.c:240:gst_vaapi_utils_h264_get_profile_idc: unsupported GstVaapiProfile value
0:00:00.253479343 1497 0x13b0400 DEBUG vaapi gstvaapiutils_h264.c:240:gst_vaapi_utils_h264_get_profile_idc: unsupported GstVaapiProfile value
0:00:00.253497967 1497 0x13b0400 DEBUG vaapi gstvaapiutils_h264.c:240:gst_vaapi_utils_h264_get_profile_idc: unsupported GstVaapiProfile value
0:00:00.253500499 1497 0x13b0400 DEBUG vaapi gstvaapiutils_h264.c:240:gst_vaapi_utils_h264_get_profile_idc: unsupported GstVaapiProfile value
0:00:00.253502986 1497 0x13b0400 DEBUG vaapi gstvaapiutils_h264.c:240:gst_vaapi_utils_h264_get_profile_idc: unsupported GstVaapiProfile value
0:00:00.253505811 1497 0x13b0400 DEBUG vaapi gstvaapiutils_h264.c:240:gst_vaapi_utils_h264_get_profile_idc: unsupported GstVaapiProfile value
0:00:00.253510307 1497 0x13b0400 DEBUG vaapi gstvaapiencoder_h264.c:2733:ensure_profile_and_level: selected high profile at level 1.3
0:00:00.253516564 1497 0x13b0400 INFO vaapi gstvaapiencoder.c:789:get_packed_headers: supported packed headers: 0x0000001f
0:00:00.253520160 1497 0x13b0400 INFO vaapi gstvaapiencoder.c:828:get_roi_capability: Support for ROI - number of regions supported: 8
0:00:00.253533121 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.253554354 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface (nil)
0:00:00.253561129 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.253603137 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x1
0:00:00.253608277 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.253635486 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x2
0:00:00.253640489 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.253651951 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x3
0:00:00.253656536 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.253667772 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x4
0:00:00.253672263 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.253684603 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x5
0:00:00.253689175 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.253700427 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x6
0:00:00.253704832 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.253715792 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x7
0:00:00.253976286 1497 0x13b0400 DEBUG vaapi gstvaapiutils.c:130:vaapi_check_status: vaCreateContext(): resource allocation failed
0:00:00.253983098 1497 0x13b0400 DEBUG vaapi gstvaapicontext.c:100:context_destroy: context 0xffffffff
0:00:00.253988291 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface (nil)
0:00:00.253996302 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x1
0:00:00.254001768 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x2
0:00:00.254027950 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x3
0:00:00.254033125 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x4
0:00:00.254038827 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x5
0:00:00.254043848 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x6
0:00:00.254049049 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x7
0:00:00.254055123 1497 0x13b0400 ERROR vaapi gstvaapiencoder.c:1050:gst_vaapi_encoder_reconfigure_internal: failed to update VA context
0:00:00.254156711 1497 0x13b0400 INFO vaapi gstvaapiencoder.c:828:get_roi_capability: Support for ROI - number of regions supported: 8
0:00:00.254167031 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.254182635 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x7
0:00:00.254188125 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.254198492 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x6
0:00:00.254203159 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.254213449 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x5
0:00:00.254218054 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.254227929 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x4
0:00:00.254232449 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.254241912 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x3
0:00:00.254246282 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.254255973 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x2
0:00:00.254260495 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.254269937 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x1
0:00:00.254274378 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.254283964 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface (nil)
0:00:00.254565483 1497 0x13b0400 DEBUG vaapi gstvaapiutils.c:130:vaapi_check_status: vaCreateContext(): resource allocation failed
0:00:00.254572348 1497 0x13b0400 DEBUG vaapi gstvaapicontext.c:100:context_destroy: context 0xffffffff
0:00:00.254577232 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x7
0:00:00.254584259 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x6
0:00:00.254589677 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x5
0:00:00.254594700 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x4
0:00:00.254599839 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x3
0:00:00.254604952 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x2
0:00:00.254631010 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x1
0:00:00.254637585 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface (nil)
0:00:00.254643819 1497 0x13b0400 ERROR vaapi gstvaapiencoder.c:1050:gst_vaapi_encoder_reconfigure_internal: failed to update VA context
0:00:00.255954681 1497 0x13b0400 INFO vaapi gstvaapiencoder.c:828:get_roi_capability: Support for ROI - number of regions supported: 8
0:00:00.255987119 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.256006897 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface (nil)
0:00:00.256027986 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.256037879 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x1
0:00:00.256041972 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.256050950 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x2
0:00:00.256055763 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.256085192 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x3
0:00:00.256089688 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.256111927 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x4
0:00:00.256115674 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.256124717 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x5
0:00:00.256128411 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.256137327 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x6
0:00:00.256141068 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.256149894 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x7
0:00:00.257027096 1497 0x13b0400 DEBUG vaapi gstvaapiutils.c:130:vaapi_check_status: vaCreateContext(): resource allocation failed
0:00:00.257034632 1497 0x13b0400 DEBUG vaapi gstvaapicontext.c:100:context_destroy: context 0xffffffff
0:00:00.257039336 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface (nil)
0:00:00.257046263 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x1
0:00:00.257051114 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x2
0:00:00.257055631 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x3
0:00:00.257060182 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x4
0:00:00.257064731 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x5
0:00:00.257070109 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x6
0:00:00.257075529 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x7
0:00:00.257081070 1497 0x13b0400 ERROR vaapi gstvaapiencoder.c:1050:gst_vaapi_encoder_reconfigure_internal: failed to update VA context
0:00:00.257200536 1497 0x13b0400 INFO vaapi gstvaapiencoder.c:828:get_roi_capability: Support for ROI - number of regions supported: 8
0:00:00.257210773 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.257226413 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x7
0:00:00.257230920 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.257240623 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x6
0:00:00.257245362 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.257255489 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x5
0:00:00.257260119 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.257270098 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x4
0:00:00.257274601 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.257284450 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x3
0:00:00.257289010 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.257298700 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x2
0:00:00.257303156 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.257312860 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x1
0:00:00.257317326 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.257326998 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface (nil)
0:00:00.257913464 1497 0x13b0400 DEBUG vaapi gstvaapiutils.c:130:vaapi_check_status: vaCreateContext(): resource allocation failed
0:00:00.257920652 1497 0x13b0400 DEBUG vaapi gstvaapicontext.c:100:context_destroy: context 0xffffffff
0:00:00.257925799 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x7
0:00:00.257932958 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x6
0:00:00.257938270 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x5
0:00:00.257943416 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x4
0:00:00.257948586 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x3
0:00:00.257953761 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x2
0:00:00.257958742 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x1
0:00:00.257963996 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface (nil)
0:00:00.257969986 1497 0x13b0400 ERROR vaapi gstvaapiencoder.c:1050:gst_vaapi_encoder_reconfigure_internal: failed to update VA context
ERROR: from element /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0: Internal data stream error.
Additional debug info:
gstbasesrc.c(3064): gst_base_src_loop (): /GstPipeline:pipeline0/GstVideoTestSrc:videotestsrc0:
streaming stopped, reason not-negotiated (-4)
ERROR: pipeline doesn't want to preroll.
Setting pipeline to NULL ...
0:00:00.258100752 1497 0x13b0400 INFO vaapi gstvaapiencoder.c:828:get_roi_capability: Support for ROI - number of regions supported: 8
0:00:00.258111880 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.258140532 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface (nil)
0:00:00.258144982 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.258168483 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x1
0:00:00.258175820 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.258218987 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x2
0:00:00.258223267 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.258233813 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x3
0:00:00.258238401 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.258260149 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x4
0:00:00.258263931 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.258291256 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x5
0:00:00.258296058 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.258306732 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x6
0:00:00.258311296 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:374:gst_vaapi_surface_new: size 320x240, chroma type 0x1
0:00:00.258321328 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:212:gst_vaapi_surface_create_full: surface 0x7
0:00:00.258636272 1497 0x13b0400 DEBUG vaapi gstvaapiutils.c:130:vaapi_check_status: vaCreateContext(): resource allocation failed
0:00:00.258643322 1497 0x13b0400 DEBUG vaapi gstvaapicontext.c:100:context_destroy: context 0xffffffff
0:00:00.258648502 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface (nil)
0:00:00.258656190 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x1
0:00:00.258661937 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x2
0:00:00.258667335 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x3
0:00:00.258672720 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x4
0:00:00.258677985 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x5
0:00:00.258683310 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x6
0:00:00.258688574 1497 0x13b0400 DEBUG vaapi gstvaapisurface.c:78:gst_vaapi_surface_destroy: surface 0x7
0:00:00.258694562 1497 0x13b0400 ERROR vaapi gstvaapiencoder.c:1050:gst_vaapi_encoder_reconfigure_internal: failed to update VA context
Freeing pipeline ...