GTK+3 app gets dark playing a video on raspberrypi4-64

I was trying to deploy this app on an embedded system built over the yocto project (link).

The app works fine on desktop but on raspberrypi 4 mod B, once the video starts to be played the UI becomes black as in picture. The video is reproduced properly.

Embedded linux system build with yocto for raspberry pi 4 Mod B

I run the app from the serial console and I got these log:

root@bunch-raspberrypi4-64:~# open-pipe-media-player
Successfully created GTK GL Sink
Pipeline state changed from NULL to READY:

(open-pipe-media-player:498): Gdk-WARNING **: 20:33:58.936: eglMakeCurrent failed

(open-pipe-media-player:498): Gdk-WARNING **: 20:33:58.937: eglMakeCurrent failed

(open-pipe-media-player:498): Gdk-WARNING **: 20:33:58.981: eglMakeCurrent failed
[ 31.741110] vc4-drm gpu: swiotlb buffer is full (sz: 589824 bytes), total 32768 (slots), used 98 (slots)
[ 31.758252] vc4-drm gpu: swiotlb buffer is full (sz: 589824 bytes), total 32768 (slots), used 98 (slots)

(open-pipe-media-player:498): Gdk-WARNING **: 20:33:59.023: eglMakeCurrent failed

(open-pipe-medi[ 31.778541] vc4-drm gpu: swiotlb buffer is full (sz: 1966080 bytes), total 32768 (slots), used 4 (slots)
a-player:498): Gdk- 31.790062] vc4-drm gpu: swiotlb buffer is full (sz: 1966080 bytes), total 32768 (slots), used 4 (slots)
3mWARNING **: 20:33:59.028: eglMakeCurrent failed

(open-pipe-media-player:498): Gdk-WARNING **: 20:33:59.029: eglMakeCurrent failed
Received new pad 'src_0' from 'source':
Link succeeded (type 'video/x-raw').

.
.
.
.
.
.
(open-pipe-media-player:461): Gdk-WARNING **: 19:37:09.350: eglMakeCurrent failed

(open-pipe-media-player:461): Gdk-WARNING **: 19:37:09.351: eglMakeCurrent failed

(open-pipe-media-player:461): Gdk-WARNING **: 19:37:09.367: eglMakeCurrent failed

(open-pipe-media-player:461): Gdk-WARNING **: 19:37:09.367: eglMakeCurrent failed

(open-pipe-media-player:461): Gdk-WARNING **: 19:37:09.368: eglMakeCurrent failed
Position 0:00:05.108390023 / 0:09:56.473333333
(open-pipe-media-player:461): Gdk-WARNING **: 19:37:09.383: eglMakeCurrent failed

(open-pipe-media-player:461): Gdk-WARNING **: 19:37:09.383: eglMakeCurrent failed

(open-pipe-media-player:461): Gdk-WARNING **: 19:37:09.384: eglMakeCurrent failed

(open-pipe-media-player:461): Gdk-WARNING **: 19:37:09.401: eglMakeCurrent failed

(open-pipe-media-player:461): Gdk-WARNING **: 19:37:09.401: eglMakeCurrent failed

(open-pipe-media-player:461): Gdk-WARNING **: 19:37:09.402: eglMakeCurrent failed
Position 0:00:05.108390023 / 0:09:56.473333333
(open-pipe-media-player:461): [ 202.175988] audit: type=1701 audit(1722022631.113:27): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=461 comm="open-pipe-media" exe="/usr/bin/open-pipe-media-player" sig=6 res=1
Gdk-WARNING **: [ 202.195506] ------------[ cut here ]------------
19:37:11[ 202.200393] WARNING: CPU: 1 PID: 463 at /drivers/media/common/videobuf2/videobuf2-core.c:2024 __vb2_queue_cancel+0x220/0x2a0 [videobuf2_common]
.116[ 202.214135] Modules linked in: rfcomm cmac algif_hash aes_arm64 aes_generic algif_skcipher af_alg bnep brcmfmac_wcc brcmfmac brcmutil hci_uart btbcm bluetooth bcm2835_isp(C) bcm2835_v4l2(C) rpivid_hevc(C) bcm2835_codec(C) v4l2_mem2mem bcm2835_mmal_vchiq(C) cfg80211 videobuf2_vmalloc videobuf2_dma_contig v3d videobuf2_memops videobuf2_v4l2 ecdh_generic videodev gpu_sched ecc rfkill libaes videobuf2_common drm_shmem_helper vc_sm_cma(C) snd_bcm2835(C) mc raspberrypi_hwmon i2c_brcmstb raspberrypi_gpiomem uio_pdrv_genirq uio sch_fq_codel fuse nfnetlink ipv6
: eglMak[ 202.264429] CPU: 1 PID: 463 Comm: gmain Tainted: G WC 6.6.22-v8 #1
eCurrent[ 202.272712] Hardware name: Raspberry Pi 4 Model B Rev 1.4 (DT)
[ 202.279320] pstate: 80000005 (Nzcv daif -PAN -UAO -TCO -DIT -SSBS BTYPE=--)

open-pi[ 202.287072] pc : __vb2_queue_cancel+0x220/0x2a0 [videobuf2_common]
pe-media[ 202.294033] lr : __vb2_queue_cancel+0x38/0x2a0 [videobuf2_common]
-player:[ 202.300908] sp : ffffffc081bbba70
/usr/sr[ 202.304963] x29: ffffffc081bbba70 x28: ffffff8048cfa6b8 x27: 0000000000000009
c/debug/[ 202.312892] x26: 0000000000000001 x25: 0000007fb8c196b0 x24: ffffff8048cfa4c0
libepoxy[ 202.320821] x23: ffffff8040cea160 x22: ffffff8043b2a028 x21: ffffff80433c8568
/1.5.10/[ 202.328751] x20: ffffff8043b2a0d0 x19: ffffff8043b2a028 x18: 0000000000000003
src/disp[ 202.336681] x17: 856cc7b93ab2a8c0 x16: ffffffefad7fc480 x15: ffffffc081bbb520
atch_com[ 202.344611] x14: 0000000000000004 x13: ffffff8048040028 x12: 0000000000000000
mon.c:87[ 202.352540] x11: ffffff8053d30548 x10: ffffff8053d30490 x9 : ffffffef998b31c0
2: epoxy[ 202.360470] x8 : ffffff8053d304b8 x7 : 0000000000000000 x6 : 0000000000000228
_get_pro[ 202.368400] x5 : ffffff804635801c x4 : 0000000000000000 x3 : 0000000000000000
c_addres[ 202.376329] x2 : ffffff8048cf9ec0 x1 : 0000000000000000 x0 : 0000000000000006
s: Asser[ 202.384260] Call trace:
tion `0 [ 202.387435] __vb2_queue_cancel+0x220/0x2a0 [videobuf2_common]
&& "Coul[ 202.394043] vb2_core_queue_release+0x2c/0x60 [videobuf2_common]
dn't fin[ 202.400829] vb2_queue_release+0x18/0x30 [videobuf2_v4l2]
d curren[ 202.406998] v4l2_m2m_ctx_release+0x28/0x50 [v4l2_mem2mem]
t GLX or[ 202.413254] bcm2835_codec_release+0x64/0x110 [bcm2835_codec]
EGL con[ 202.419775] v4l2_release+0xec/0x100 [videodev]
text.n"[ 202.425062] __fput+0xbc/0x288
' failed[ 202.428852] ____fput+0x18/0x30
.
[ 202.432731] task_work_run+0x80/0xe0
[ 202.436609] do_exit+0x30c/0x988
[ 202.439884] do_group_exit+0x3c/0xa0
[ 202.443509] get_signal+0x980/0x998
[ 202.447049] do_notify_resume+0x164/0x12f0
[ 202.451204] el0_svc+0xd4/0xe8
[ 202.454304] el0t_64_sync_handler+0x120/0x130
[ 202.458724] el0t_64_sync+0x190/0x198
[ 202.462438] ---[ end trace 0000000000000000 ]---
[ 202.467321] videobuf2_common: driver bug: stop_streaming operation is leaving buf 0000000019740767 in active state
[ 202.477916] videobuf2_common: driver bug: stop_streaming operation is leaving buf 0000000064e77bdf in active state
[ 202.488480] videobuf2_common: driver bug: stop_streaming operation is leaving buf 0000000097d2a35f in active state
[ 202.499246] videobuf2_common: driver bug: stop_streaming operation is leaving buf 00000000cf527889 in active state
[ 202.509794] videobuf2_common: driver bug: stop_streaming operation is leaving buf 00000000a7d49110 in active state
[ 202.520316] videobuf2_common: driver bug: stop_streaming operation is leaving buf 00000000baefdfb6 in active state
Aborted (core dumped)

New contributor

Wael Karman is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật