<div dir="auto"><div>Hi Pekka,</div><div dir="auto"><br></div><div dir="auto">Thanks for comments. I forgot to update this thread. With I.mx6 platform when I do not set XDG_RUNTIME_DIR, glimagesink uses framebuffer interface and do not use Wayland and this is why it works.</div><div dir="auto"><br></div><div dir="auto">Thanks a lot for your comments.</div><div dir="auto"><br></div><div dir="auto">Thanks & Regards,</div><div dir="auto">Vikash<br><div class="gmail_extra" dir="auto"><br><div class="gmail_quote">On Mar 6, 2017 2:18 PM, "Pekka Paalanen" <<a href="mailto:ppaalanen@gmail.com">ppaalanen@gmail.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="quoted-text">On Wed, 8 Feb 2017 19:28:10 +0530<br>
Vikas Patil <<a href="mailto:vikasmpatil@gmail.com">vikasmpatil@gmail.com</a>> wrote:<br>
<br>
> Dear All,<br>
><br>
><br>
><br>
> When I run simple video application (which pause and play gstreamer<br>
> pipeline continuously) based on following pipeline [1] with  weston 1.9.0  and<br>
> glimagesink (part of gstreamer1.0-plugins-bad 1.6.0 package) on i.MX6 based<br>
> platform and Linux 4.1 without exporting (export<br>
> XDG_RUNTIME_DIR=/var/run/root/<wbr>1000) then it works fine and runs as long as<br>
> I want.<br>
<br>
</div>You should not be able to run weston at all without XDG_RUNTIME_DIR<br>
properly set up.<br>
<div class="quoted-text"><br>
> However when I export (export XDG_RUNTIME_DIR=/var/run/root/<wbr>1000) and run<br>
> the test application after some loopback it gives segmentation fault in GPU<br>
> driver. I would like to know what difference does it make if I export<br>
> XDG_RUNTIME_DIR or not? Why the different behavior?<br>
<br>
</div>XDG_RUNTIME_DIR is where the Wayland socket will be, so if the<br>
compositor and the client have different runtime dirs, the client<br>
should usually fail to connect.<br>
<br>
Is it possible that you get a fallback to X11 via Xwayland?<br>
<br>
Are you sure you don't mean /run/user/1000?<br>
<br>
XDG_RUNTIME_DIR may also be used for allocating wl_shm buffers - are<br>
you running out of disk space there? (The space will hopefully get<br>
freed as soon as the client reserving it dies.)<br>
<br>
<br>
Thanks,<br>
pq<br>
<div class="elided-text"><br>
> [1] gst-launch-1.0 filesrc location=/home/root/VIDEO.MP4 typefind=true !<br>
> video/quicktime ! aiurdemux ! queue max-size-time=0 ! vpudec frame-plus=1<br>
> frame-drop=false ! glimagesink<br>
><br>
><br>
><br>
> Regards,<br>
><br>
> Vikash<br>
<br>
</div></blockquote></div><br></div></div></div>