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

GStreamer (GNOME Bugzilla) bugzilla at gnome.org
Thu Jun 2 23:17:37 UTC 2016


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

--- Comment #10 from Egor Zaharov <nexfwall at gmail.com> ---
(In reply to Víctor Manuel Jáquez Leal from comment #8)
> Three hypothesis: 
> 
> 1\ mpv uses vdpau natively

Nope.

$ 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/r600_drv_video.so
libva info: Found init function __vaDriverInit_0_39
libva info: va_openDriver() returns 0
AO: [pulse] 44100Hz stereo 2ch float
Using hardware decoding (vaapi).
VO: [opengl] 1280x720 vaapi
AV: 00:00:39 / 00:00:51 (77%) A-V:  0.000
Track switched:
 (+) Video --vid=1 (*) (h264)
     Audio --aid=1 --alang=und (*) (aac)
V: 00:00:41 / 00:00:51 (80%)
Track switched:
 (+) Video --vid=1 (*) (h264)
 (+) Audio --aid=1 --alang=und (*) (aac)
AO: [pulse] 44100Hz stereo 2ch float
AV: 00:00:47 / 00:00:51 (93%) A-V:  0.000 ct:  0.080


Exiting... (Quit)

And the video plays fine. And based on that output, we can tell what it's uses
OpenGL to output video.

> > When patches for support of DRI3 at gallium video driver landed, someone
> > removed `return VA_STATUS_ERROR_UNIMPLEMENTED;` from Wayland case. [1]
> > 
> > But still, SurfaceBuffer for Wayland is UNIMPLEMENTED. And this is weird.
> 
> Perhaps gallium driver supports the "download to system memory buffers"
> use-case.
> 
> You can test it with
> 
> gst-play-1.0 Ad\ that\ make\ me\ mad.mp4  --videosink=waylandsink

This does not work.

$ 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: 'Failed to connect to the wayland display
'(default)''

-- 
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