Vaapisink display=wayland results in Internal error: could not render surface (unimplemented?)
Ubuntu 18.04.1 running weston. Gstreamer 1.14.5.
Pipeline fails:
gst-launch-1.0 filesrc location=/home/labs/Videos/bbb_sunflower_2160p_30fps_normal.mp4 ! qtdemux ! h264parse ! vaapih264dec ! vaapisink display=wayland
vaapisink gstvaapisink.c:1482:gst_vaapisink_show_frame_unlocked:<vaapisink0> error: Internal error: could not render surface
It seems like it might be coming from a call to vaGetSurfaceBufferWl which returns a VAStatus corresponding to Unimplemented, though I'm raising this ticket just in case.
My vainfo output is:
libva info: VA-API version 1.1.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /opt/amdgpu-emb/lib/x86_64-linux-gnu/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_1
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.1 (libva 2.1.0)
vainfo: Driver version: Mesa Gallium driver 20.1.0-devel for AMD Ryzen Embedded V1807B with Radeon Vega Gfx (RAVEN, DRM 3.35.0, 5.4.2-1138-amd+, LLVM 9.0.0)
If the cause is indeed the unimplemented vaGetSurfaceBufferWl
status in gstvaapiwindow_wayland.c
, will be impossible for me to use the vaapisink with a wayland display, with my radeonsi driver?