wayland/weston 1.9.0 and glimagesingk gstreamer wayland sink query with i.MX6
Vikas Patil
vikasmpatil at gmail.com
Mon Mar 6 15:18:00 UTC 2017
Hi Pekka,
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.
Thanks a lot for your comments.
Thanks & Regards,
Vikash
On Mar 6, 2017 2:18 PM, "Pekka Paalanen" <ppaalanen at gmail.com> wrote:
On Wed, 8 Feb 2017 19:28:10 +0530
Vikas Patil <vikasmpatil at gmail.com> wrote:
> Dear All,
>
>
>
> When I run simple video application (which pause and play gstreamer
> pipeline continuously) based on following pipeline [1] with weston
1.9.0 and
> glimagesink (part of gstreamer1.0-plugins-bad 1.6.0 package) on i.MX6
based
> platform and Linux 4.1 without exporting (export
> XDG_RUNTIME_DIR=/var/run/root/1000) then it works fine and runs as long as
> I want.
You should not be able to run weston at all without XDG_RUNTIME_DIR
properly set up.
> However when I export (export XDG_RUNTIME_DIR=/var/run/root/1000) and run
> the test application after some loopback it gives segmentation fault in
GPU
> driver. I would like to know what difference does it make if I export
> XDG_RUNTIME_DIR or not? Why the different behavior?
XDG_RUNTIME_DIR is where the Wayland socket will be, so if the
compositor and the client have different runtime dirs, the client
should usually fail to connect.
Is it possible that you get a fallback to X11 via Xwayland?
Are you sure you don't mean /run/user/1000?
XDG_RUNTIME_DIR may also be used for allocating wl_shm buffers - are
you running out of disk space there? (The space will hopefully get
freed as soon as the client reserving it dies.)
Thanks,
pq
> [1] gst-launch-1.0 filesrc location=/home/root/VIDEO.MP4 typefind=true !
> video/quicktime ! aiurdemux ! queue max-size-time=0 ! vpudec frame-plus=1
> frame-drop=false ! glimagesink
>
>
>
> Regards,
>
> Vikash
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20170306/5d041fc2/attachment.html>
More information about the wayland-devel
mailing list