Robotics StackExchange | Archived questions

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

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 XDGRUNTIMEDIR=/tmp/${UID}-runtime-dir

$ mkdir "${XDGRUNTIMEDIR}"

$chmod 700 "${XDGRUNTIMEDIR}"

$ 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:gstwaylandsinkfinddisplay: warning: Could not initialise Wayland output 0:00:00.014970650 1501 0x80feb80 WARN waylandsink gstwaylandsink.c:295:gstwaylandsinkfinddisplay: 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): gstwaylandsinkfinddisplay (): /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:gstpadcreatestreamid_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

Asked by pawan nandyala on 2015-06-17 10:58:09 UTC

Comments

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

Asked by 130s on 2015-06-17 11:04:37 UTC

Answers