Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • gstreamer-vaapi gstreamer-vaapi
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 143
    • Issues 143
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 11
    • Merge requests 11
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • GStreamer
  • gstreamer-vaapigstreamer-vaapi
  • Issues
  • #248

Closed
Open
Created Apr 16, 2020 by Ollie Reynolds@OllieReynolds

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?

Edited Apr 16, 2020 by Ollie Reynolds
Assignee
Assign to
Time tracking