Please help me How to use waylandsink plugin is there any configuration need to be enabled in weston [closed]

asked 2015-06-17 10:58:09 -0500

pawan nandyala gravatar image

Hi all,

I compiled weston and gst-wayland sink plugin with i586 tool chain platform is Intel platform

there is DISTRO-FEATURE=X11 is not enabled

my weston backend is fbdevbackend.so

I launched weston

$ export XDG_RUNTIME_DIR=/tmp/${UID}-runtime-dir

$ mkdir "${XDG_RUNTIME_DIR}"

$chmod 700 "${XDG_RUNTIME_DIR}"

$ weston --tty=1 & (launced the weston console)

root@qemux86hyb:/# ls /tmp/0-runtime-dir/wayland-0

I compiled gstreamer1.0-plugins-bad_1.4.4.bb (Yocto)

after this i tried to use wayland sink plugin for sink i am getting this error

root@qemux86hyb:/# gst-launch-1.0 videotestsrc ! waylandsink Setting pipeline to PAUSED ... [15:23:48.135] libwayland: disconnect from client 0x8080180 0:00:00.014873017 1501 0x80feb80 WARN waylandsink gstwaylandsink.c:295:gst_wayland_sink_find_display:<waylandsink0> warning: Could not initialise Wayland output 0:00:00.014970650 1501 0x80feb80 WARN waylandsink gstwaylandsink.c:295:gst_wayland_sink_find_display:<waylandsink0> warning: Failed to create GstWlDisplay: 'Error communicating with the wayland display' ERROR: Pipeline doesn't want to pause. WARNING: from element /GstPipeline:pipeline0/GstWaylandSink:waylandsink0: Could not initialise Wayland output Additional debug info: gstwaylandsink.c(295): gst_wayland_sink_find_display (): /GstPipeline:pipeline0/GstWaylandSink:waylandsink0: Failed to create GstWlDisplay: 'Error communicating with the wayland display' Setting pipeline to NULL ... Freeing pipeline ...

I tried with fbdevsink

it is working(playing)

$ gst-launch-1.0 videotestsrc ! fbdevsink Setting pipeline to PAUSED ... Pipeline is PREROLLING ... 0:00:00.019386120 2112 0x8107cc0 FIXME default gstutils.c:3643:gst_pad_create_stream_id_internal:<videotestsrc0:src> Creating random stream-id, consider implementing a deterministic way of creating a stream-id Pipeline is PREROLLED ... Setting pipeline to PLAYING ... New clock: GstSystemClock

edit retag flag offensive reopen merge delete

Closed for the following reason question is off-topic or not relevant. Please see http://wiki.ros.org/Support for more details. by 130s
close date 2015-06-17 11:03:13.457430

Comments

I closed this since it doesn't seem relevant to ROS. Please add comment if you think I'm wrong @pawan nandyala

130s gravatar image 130s  ( 2015-06-17 11:04:37 -0500 )edit