Unimplemented status from vaGetSurfaceBufferWl?
System information
System: Host: labs-NUCX-SNA Kernel: 5.4.2-1138-amd+ x86_64 bits: 64 gcc: 7.3.0 Desktop: N/A dm: N/A
Distro: Ubuntu 18.04.1 LTS
CPU: Quad core AMD Ryzen Embedded V1807B with Radeon Vega Gfx (-MT-MCP-) arch: Zen rev.0 cache: 2048 KB
flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 sse4a ssse3 svm) bmips: 26752
clock speeds: min/max: 1600/3350 MHz 1: 1414 MHz 2: 1366 MHz 3: 1559 MHz 4: 1435 MHz 5: 1367 MHz
6: 1367 MHz 7: 1380 MHz 8: 1392 MHz
Graphics: Card: Advanced Micro Devices [AMD/ATI] Vega [Radeon Vega 8 Mobile] bus-ID: 04:00.0 chip-ID: 1002:15dd
Display Server: wayland (N/A ) driver: amdgpu tty size: 209x47
OpenGL: renderer: N/A version: N/A Direct Render: N/A
Describe the issue
My gstreamer pipeline fails when running in weston:
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 VA_STATUS_ERROR_UNIMPLEMENTED
vaapi gstvaapiwindow_wayland.c:149:gst_vaapi_window_wayland_show: unimplemented GstVaapiWindowWayland::show()
Any extra information would be greatly appreciated
vainfo output:
labs@labs-NUCX-SNA:~/traces$ vainfo
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)