ximagesink: abort with some xcb error
Below is the error log
weston@imx8mpevk:~$ gst-launch-1.0 playbin uri="file:///mnt/streams/ttVector/SHAVectors/H264Dec/Conformance/BP/H264_BP51_720x480_30_3700_AAC_44_1312_2_ray.mp4" video-sink="ximagesink display=:0 sync=false"
Setting pipeline to PAUSED ...
0:00:00.085581625 132886 0xaaaad54bab60 DEBUG ximagesink ximagesink.c:903:gst_x_image_sink_xcontext_get:<ximagesink0> X reports 1920x1080 pixels and 508 mm x 286 mm
0:00:00.085638500 132886 0xaaaad54bab60 DEBUG ximagesink ximagesink.c:830:gst_x_image_sink_calculate_pixel_aspect_ratio: calculated pixel aspect ratio: 0.999126
0:00:00.085677375 132886 0xaaaad54bab60 DEBUG ximagesink ximagesink.c:845:gst_x_image_sink_calculate_pixel_aspect_ratio: Decided on index 0 (1/1)
0:00:00.085704250 132886 0xaaaad54bab60 DEBUG ximagesink ximagesink.c:852:gst_x_image_sink_calculate_pixel_aspect_ratio: set xcontext PAR to 1/1
0:00:00.086277875 132886 0xaaaad54bab60 DEBUG ximagesink ximagesink.c:937:gst_x_image_sink_xcontext_get: ximagesink is using XShm extension
0:00:00.086323500 132886 0xaaaad54bab60 DEBUG ximagesink ximagesink.c:946:gst_x_image_sink_xcontext_get: ximagesink is using Xkb extension
0:00:00.086369500 132886 0xaaaad54bab60 DEBUG ximagesink ximagesink.c:972:gst_x_image_sink_xcontext_get:<ximagesink0> set calculated PAR on object's PAR
0:00:00.086444625 132886 0xaaaad54bab60 DEBUG ximagesink ximagesink.c:1294:gst_x_image_sink_change_state:<ximagesink0> XSynchronize called with FALSE
0:00:00.086472625 132886 0xaaaad54bab60 DEBUG ximagesink ximagesink.c:774:gst_x_image_sink_manage_event_thread:<ximagesink0> run xevent thread, expose 1, events 1
Pipeline is PREROLLING ...
====== AIUR: 4.6.5 build on Mar 24 2022 07:33:13. ======
Core: MPEG4PARSER_06.20.04 build on Mar 9 2022 08:56:33
file: /usr/lib/imx-mm/parser/lib_mp4_parser_arm_elinux.so.3.2
------------------------
Track 00 [video_0] Enabled
Duration: 0:10:19.066666000
Language: und
Mime:
video/x-h264, parsed=(boolean)true, alignment=(string)au, stream-format=(string)avc, width=(int)720, height=(int)480, framerate=(fraction)30/1, codec_data=(buffer)0142c033ffe100166742c033ab405a1ed080000003008000001e478c195001000468ce3c80
------------------------
------------------------
Track 01 [audio_0] Enabled
Duration: 0:10:18.520975000
Language: und
Mime:
audio/mpeg, mpegversion=(int)4, channels=(int)2, rate=(int)44100, bitrate=(int)0, stream-format=(string)raw, codec_data=(buffer)1210
------------------------
====== BEEP: 4.6.5 build on Mar 24 2022 07:33:14. ======
Core: DSP decoder Wrapper build on Feb 11 2022 08:21:49
file: /usr/lib/imx-mm/audio-codec/wrap/lib_dsp_wrap_arm_elinux.so.1
Error: Permission denied
remote proc is not ready
====== BEEP: 4.6.5 build on Mar 24 2022 07:33:14. ======
Core: AAC-Plus decoder Wrapper build on Jul 28 2020 10:45:35
file: /usr/lib/imx-mm/audio-codec/wrap/lib_aacplusd_wrap_arm_elinux.so.3
CODEC: BLN_MAD-MMCODECS_AACD_ARM_03.09.00_ARMV8 build on Sep 20 2017 15:02:50.
BLN_MAD-MMCODECS_AACPD_ARM_03.08.00_ARMV8 build on Mar 23 2017 09:50:19.
====== V4L2DEC: 1.20.0 build on Mar 24 2022 07:01:01. ======
0:00:01.367827375 132886 0xffffa4028c00 DEBUG ximagesink ximagesink.c:1172:gst_x_image_sink_setcaps:<ximagesink0> sinkconnect possible caps video/x-raw, format=(string)BGRx, width=(int)[ 1, 2147483647 ], height=(int)[ 1, 2147483647 ], framerate=(fraction)[ 0/1, 2147483647/1 ], pixel-aspect-ratio=(fraction)1/1 with given caps video/x-raw, width=(int)720, height=(int)480, interlace-mode=(string)progressive, multiview-mode=(string)mono, multiview-flags=(GstVideoMultiviewFlagsSet)0:ffffffff:/right-view-first/left-flipped/left-flopped/right-flipped/right-flopped/half-aspect/mixed-mono, pixel-aspect-ratio=(fraction)1/1, framerate=(fraction)30/1, format=(string)BGRx
Redistribute latency...
===!!! Current pulsesink device is alsa_output.platform-sound-wm8960.stereo-fallback !!!===
Redistribute latency...
Redistribute latency...
0:00:01.393847875 132886 0xffffa4028c00 DEBUG ximagesink ximagesink.c:1479:gst_x_image_sink_event:<ximagesink0> got tags, title='H264_BP51_720x480_30_3700_AAC_44_1312_2_ray.mp4'
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
gst-launch-1.0: ../../libX11-1.7.3.1/src/xcb_io.c:171: dequeue_pending_request: Assertion `!xcb_xlib_unknown_req_in_deq' failed.
Aborted