Bug 257083

Summary: [GStreamer][GTK] WebProcess sometimes hangs because of gstva
Product: WebKit Reporter: Kdwk <kdwkleung>
Component: WebKitGTKAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: bugs-noreply, philn, vjaquez
Priority: P2    
Version: WebKit Nightly Build   
Hardware: PC   
OS: Linux   

Description Kdwk 2023-05-20 03:46:50 PDT
This is a non-reproducible error that sometimes appears and makes the site hang:


** (MiniBrowser:17): WARNING **: 03:10:00.418: webkit_settings_get_load_icons_ignoring_image_load_setting is deprecated and always returns FALSE.
**
ERROR:../sys/va/gstvabasedec.c:1070:gst_va_base_dec_process_output: assertion failed: (GST_VIDEO_INFO_WIDTH (&input_state->info) == GST_VIDEO_INFO_WIDTH (&base->input_state->info) && GST_VIDEO_INFO_HEIGHT (&input_state->info) == GST_VIDEO_INFO_HEIGHT (&input_state->info))
Bail out! ERROR:../sys/va/gstvabasedec.c:1070:gst_va_base_dec_process_output: assertion failed: (GST_VIDEO_INFO_WIDTH (&input_state->info) == GST_VIDEO_INFO_WIDTH (&base->input_state->info) && GST_VIDEO_INFO_HEIGHT (&input_state->info) == GST_VIDEO_INFO_HEIGHT (&input_state->info))

All affected sites have videos.
Comment 1 Kdwk 2023-05-20 05:13:58 PDT
I have max-ranked gstva plugins (but no other environment variables). I am using MiniBrowser with WebKit main.
Comment 2 Víctor M. Jáquez L. 2023-05-20 22:46:46 PDT
Hi,

Thanks for report this issue. What version of GStreamer do you use? Could you upload a log? 

Export GST_DEBUG=va*:8

And the output of `vainfo`
Comment 3 Kdwk 2023-05-21 06:16:43 PDT
I'm using GStreamer 1.22.0. Logs might be tricky to get because the issue is not reproducible, but I'll try
Comment 4 Philippe Normand 2024-01-20 04:48:03 PST
Ping?
Comment 5 Kdwk 2024-01-20 04:49:12 PST
Unfortunately I do not have hardware with VAAPI support anymore
Comment 6 Víctor M. Jáquez L. 2024-01-20 05:07:07 PST
This issue was fixed in master https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5237