[Bug 766954] General stream error or black screen on Wayland

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Fri Jun 3 00:54:36 UTC 2016


https://bugzilla.gnome.org/show_bug.cgi?id=766954

--- Comment #12 from Egor Zaharov <nexfwall at gmail.com> ---
Oh, I made a mistake in comment 10. I forgot what I had switched back to X
temporarily. So, the output of programs is all wrong.

I did it again under Wayland, and here is the real output:

$ mpv --hwdec=vaapi Ad\ that\ make\ me\ mad.mp4
Playing: Ad that make me mad.mp4
 (+) Video --vid=1 (*) (h264)
 (+) Audio --aid=1 --alang=und (*) (aac)
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/gallium_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[vo/opengl/vaapi-egl] vaDeriveImage(): invalid VASurfaceID
[vo/opengl/vaapi-egl] mapping VAAPI EGL image failed
libva info: VA-API version 0.39.0
libva info: va_getDriverName() returns 0
libva info: Trying to open /usr/lib64/dri/gallium_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
[vo/opengl/vaapi-egl] vaDeriveImage(): invalid VASurfaceID
[vo/opengl/vaapi-egl] mapping VAAPI EGL image failed
VO does not support requested hardware decoder, or loading it failed.
AO: [pulse] 44100Hz stereo 2ch float
Using software decoding.
VO: [opengl] 1280x720 yuv420p
AV: 00:00:51 / 00:00:51 (99%) A-V:  0.000 Dropped: 5


Exiting... (End of file)

So, VAAPI does not work at all in Wayland. I had decided what this is working,
because I had used gnome-mpv. And I did'nt saw this output at all in terminal.

But gstreamer1(or at least totem) does not want to fall back to other ways of
playing this video so easily. And then vaapisink fails to play this video, this
is fatal.

I don't know is this behaviour is bad, but at least it's strange. So, if VAAPI
does not work at the moment, you can't play videos at all. Or need to know how
these debug ENV variables work, to force gstreamer to use working sink.

But still, gst-play-1.0 can't do this in Wayland.

$ gst-play-1.0 Ad\ that\ make\ me\ mad.mp4  --videosink=waylandsink
Press 'k' to see a list of keyboard shortcuts.
Now playing /home/nexfwall/Downloads/Ad that make me mad.mp4
WARNING Could not initialise Wayland output
WARNING debug information: gstwaylandsink.c(289): gst_wayland_sink_find_display
(): /GstWaylandSink:waylandsink0:
Failed to create GstWlDisplay: 'Could not bind to wl_scaler. Either it is not
implemented in the compositor, or the implemented version doesn't match'

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.


More information about the gstreamer-bugs mailing list