<div dir="ltr">Thanks for the info Pekka,<div><br></div><div>Attached are weston-launch and xserver log files. df -h tells me /run/shm has 75MB of free space. The crash is almost inmediate, I would think xf-86-video-wayland delegates control at this point:</div>
<div><br></div><div><a href="http://cgit.freedesktop.org/xorg/driver/xf86-video-wayland/tree/src/wayland.c#n497">http://cgit.freedesktop.org/xorg/driver/xf86-video-wayland/tree/src/wayland.c#n497</a><br></div><div><br></div>
<div>And this is how I autogen the xserver - wayland branch:<br></div><div><br></div><div><div>./autogen.sh --disable-glx --disable-dri</div><div>           '--disable-dri2 --disable-dri3 --disable-libunwind</div><div>
           '--disable-devel-docs --disable-docs --disable-dependency-tracking</div><div>           '--disable-glx --disable-xinerama --disable-composite --disable-record</div><div>           '--disable-present --disable-screensaver --prefix=$WLD</div>
</div><div><br></div><div>Thanks</div><div>Albert</div><div><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">2014/1/14 Pekka Paalanen <span dir="ltr"><<a href="mailto:ppaalanen@gmail.com" target="_blank">ppaalanen@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Tue, 14 Jan 2014 09:07:31 +0100<br>
albert <<a href="mailto:skarbat@gmail.com">skarbat@gmail.com</a>> wrote:<br>
<br>
> Greetings all,<br>
><br>
> I am trying to make XWayland run on a Raspberry PI, so I am building<br>
> wayland/weston and the xserver xwayland branch from here:<br>
><br>
>   git://<a href="http://anongit.freedesktop.org/xorg/xserver" target="_blank">anongit.freedesktop.org/xorg/xserver</a><br>
><br>
> As well as the wlshm (now moved as wayland) driver: git://<br>
> <a href="http://anongit.freedesktop.org/xorg/driver/xf86-video-wayland" target="_blank">anongit.freedesktop.org/xorg/driver/xf86-video-wayland</a><br>
><br>
> When attempting to start a x11 app, the xserver effectively is<br>
> started, the wayland x driver loads successfully but when attempting<br>
> to "subload" the framebuffer driver, it segfaults. This fb driver has<br>
> been built as part of this same xserver.<br>
><br>
> [  1056.806] (II) Loading sub module "fb"<br>
> [  1056.806] (II) LoadModule: "fb"<br>
> [  1056.808] (II) Loading /root/weston-bin/lib/xorg/modules/libfb.so<br>
> [  1056.811] (II) Module fb: vendor="X.Org Foundation"<br>
> [  1056.811]    compiled for 1.15.0, module version = 1.0.0<br>
> [  1056.812]    ABI class: X.Org ANSI C Emulation, version 0.4<br>
> [  1056.812] (==) Depth 24 pixmap format is 32 bpp<br>
> [  1056.813] (==) wayland(0): Backing store disabled<br>
> [  1056.813] (==) wayland(0): Silken mouse enabled<br>
> [  1056.815] (EE)<br>
> [  1056.815] (EE) Backtrace:<br>
> [  1056.815] (EE)<br>
> [  1056.816] (EE) Segmentation fault at address 0xe7933016<br>
> [  1056.816] (EE)<br>
> Fatal server error:<br>
> [  1056.816] (EE) Caught signal 11 (Segmentation fault). Server<br>
> aborting<br>
><br>
> The contents of the xorg.conf file looks like so:<br>
><br>
> Section "Device"<br>
>         Identifier "Device"<br>
>         Driver "wayland"<br>
> EndSection<br>
><br>
> Any hints on what I might be missing would be greatly appreciated, or<br>
> even hints on how to debug this fault, as there is no timeframe to<br>
> gdb attach against the xserver before it dies.<br>
<br>
</div></div>Hi Albert,<br>
<br>
that does not ring any bells for me. Could you attach the output of<br>
weston-launch (both stdout and stderr together), and the whole X log.<br>
Also check the free space in your XDG_RUNTIME_DIR, though I'd assume<br>
running out of space would cause SIGBUS rather than SEGV.<br>
<br>
I don't recall off-hand how to run the xwayland xserver under gdb,<br>
maybe someone else does? Might involve a bit of hacking.<br>
<br>
<br>
Thanks,<br>
pq<br>
</blockquote></div><br></div>