weston-1.4.0: rpi-backend is broken

Yann E. MORIN yann.morin.1998 at free.fr
Sun Jan 26 12:15:50 PST 2014


Pekka, All,

On 2014-01-26 21:51 +0200, Pekka Paalanen spake thusly:
> On Sun, 26 Jan 2014 19:08:47 +0100
> "Yann E. MORIN" <yann.morin.1998 at free.fr> wrote:
> > I'm trying to run wayland+weston 1.4.0 on the raspberry pi with
> > the rpi-backend.
> > 
> > Running weston freezes while still in the console, just after
> > displaying "Initializing Raspberry Pi backend".
> > 
> > Ctrl-C, Ctrl-Alt-Backspace don't do anything. The system is still
> > responsive via ssh.
> > 
> > I bisected it (bisect range: 1.3.0..1.4.0) to the first bad
> > commit: 17bccae... input: Handle unplugging the output for a
> > touchscreen
> > 
> > I tried applying 8fe412d:
> >     Revert part of 17bccae[...]
> > 
> > (17bccae is the failing cset), but this does not fix the breakage.
> > 
> > The RPi userland and firmware I use are the latest from their
> > repositories, namely:
> >   userland: cset 5cecd5a
> >   firmware: cset 940dc3b

> could you get the log.txt from 'weston-launch &> log.txt' while
> using weston master revision?
> The fbcon stops updating the moment the rpi gfx backend
> initializes (also in normal cases), but weston may still print
> useful stuff after that.

I'm not using weston-launch, but directly calling 'weston' from the
command line, as root.

Here's the complete log of 'weston >weston.log 2>&1' :

    ---8<---
    Date: 2014-01-26 UTC
    [20:03:09.606] weston 1.4.0
                   http://wayland.freedesktop.org/
                   Bug reports to:
    https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.4.0
                   Build:  
    [20:03:09.607] OS: Linux, 3.12.7, #1 PREEMPT Sat Jan 25 14:09:48 CET
    2014, armv6l
    [20:03:09.608] Starting with no config file.
    [20:03:09.611] Loading module '/usr/lib/weston/rpi-backend.so'
    [20:03:09.648] initializing Raspberry Pi backend
    [20:03:09.652] Dispmanx planes are double buffered.
    [20:03:09.656] launching '/usr/libexec/weston-keyboard'
    [20:03:09.909] input device HID 046a:0023, /dev/input/event0 is a
    keyboard
    Failed to process Wayland connection: Connection reset by peer
    failed to create display: Connection reset by peer
    Segmentation fault
    ---8<---

(Times are UTC)

> What distro, are you locally logged in as the user 'pi', are you
> using the real weston-launch binary (not script) which is
> setuid-root?

I'm using a custom-built system, built with Buildroot, and a custom
toolchain built with crosstool-NG.

I'm logged in as root, and directly calling weston, not weston-launch.
weston prior to 17bccae works just nicely in this same setup.

> When the screen hangs, and you get in via ssh, is weston or
> weston-launch still running? What about weston-desktop-shell?
> Are you then killing some processes and how?
> (Hint: do not use kill -9 especially on weston-launch)

Obvious with the segfault above, but I verified that none is still
running.

BTW, I'm y_morin on IRC, if you need quick answers to your questions.

Regards,
Yann E. MORIN.

-- 
.-----------------.--------------------.------------------.--------------------.
|  Yann E. MORIN  | Real-Time Embedded | /"\ ASCII RIBBON | Erics' conspiracy: |
| +33 662 376 056 | Software  Designer | \ / CAMPAIGN     |  ___               |
| +33 223 225 172 `------------.-------:  X  AGAINST      |  \e/  There is no  |
| http://ymorin.is-a-geek.org/ | _/*\_ | / \ HTML MAIL    |   v   conspiracy.  |
'------------------------------^-------^------------------^--------------------'


More information about the wayland-devel mailing list