Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Register
  • Sign in
  • gstreamer-vaapi gstreamer-vaapi
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 124
    • Issues 124
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 6
    • Merge requests 6
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Artifacts
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
    • Model experiments
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar

Admin message

Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.

  • GStreamerGStreamer
  • gstreamer-vaapigstreamer-vaapi
  • Issues
  • #137

Applications depend on Gstreamer fails to decode video when gstreamer1-vaapi is install on wayland

Hardware

  • GPU: amdgpu
  • OS: Fedora 29
  • DESKTOP Environtment: Gnome
  • Session: Wayland

VAINFO

libva info: VA-API version 1.4.0
libva info: va_getDriverName() returns 0
libva info: User requested driver 'radeonsi'
libva info: Trying to open /usr/lib64/dri/radeonsi_drv_video.so
libva info: Found init function __vaDriverInit_1_3
libva info: va_openDriver() returns 0
vainfo: VA-API version: 1.4 (libva 2.4.0)
vainfo: Driver version: Mesa Gallium driver 18.2.8 for AMD STONEY (DRM 3.27.0, 4.20.8-200.fc29.x86_64, LLVM 7.0.0)
vainfo: Supported profile and entrypoints
      VAProfileMPEG2Simple            :	VAEntrypointVLD
      VAProfileMPEG2Main              :	VAEntrypointVLD
      VAProfileVC1Simple              :	VAEntrypointVLD
      VAProfileVC1Main                :	VAEntrypointVLD
      VAProfileVC1Advanced            :	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointVLD
      VAProfileH264ConstrainedBaseline:	VAEntrypointEncSlice
      VAProfileH264Main               :	VAEntrypointVLD
      VAProfileH264Main               :	VAEntrypointEncSlice
      VAProfileH264High               :	VAEntrypointVLD
      VAProfileH264High               :	VAEntrypointEncSlice
      VAProfileHEVCMain               :	VAEntrypointVLD
      VAProfileHEVCMain10             :	VAEntrypointVLD
      VAProfileJPEGBaseline           :	VAEntrypointVLD
      VAProfileNone                   :	VAEntrypointVideoProc

Steps to reproduce

Play any video on totem with gstreamer vaapi installed.

Expected result

Totem should play as non gstreamer applications plays/decodes using vaapi.

Actual Result

It shows a black window, and frozen.

gst-launch1 playbin plays just fine.

gst-launch1 logs

gst-launch-log.log <- this log is wrong, look for the other log in this issue.

Update

The issue is due to mesa-vaapi+wayland+GST_CAPS_FEATURE_META_GST_VIDEO_GL_TEXTURE_UPLOAD_META gstreamer-vaapi uses eglExportDRMImageMESA and mesa-vaapi does not support creating a surface from a gem buffer. But mesa-vaapi supports creating a surface from dmabuf so we need to make gstreamer-vaapi to use eglExportDMABUFImageMESA when gem is not supported.

Edited Jul 09, 2019 by Julien Isorce
Assignee
Assign to
Time tracking