wayland - weston - and framebuffer

Thilo Cestonaro thilo at cestona.ro
Thu Mar 12 07:15:36 PDT 2015


Hey!

I'm totaly new to wayland and weston, so please forgive me if I ask 
silly questions!

I want to run the wayland compositor "weston" on a TI AM335x with no 
graphic acceleration.
So framebuffer only, no opengl or something like that.

I succeeded in compiling libwayland and weston with FBDEV as compositor 
and the weston-tablet-shell.

Now when I try to start weston via UART connection and the command:

openvt -c 7 -w -v -- weston --tty=/dev/tty7 --device=/dev/fb0 
--log=/home/root/weston.log

I get the following logging output:

----------
Date: 2015-03-12 CET
[15:01:48.092] weston 1.3.1
                http://wayland.freedesktop.org/
                Bug reports to: 
https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.3.1
                Build:
[15:01:48.094] OS: Linux, 3.14.10, #1 SMP Wed Mar 11 10:26:14 CET 2015, 
armv7l
[15:01:48.100] Using config file '/home/root/.config/weston.ini'
[15:01:48.105] Loading module '/usr/lib/weston/fbdev-backend.so'
[15:01:48.137] initializing fbdev backend
[15:01:48.143] Creating fbdev output.
[15:01:48.144] Opening fbdev frame buffer.
[15:01:48.144] Calculating pixman format from:
                 - type: 0 (aux: 0)
                 - visual: 2
                 - bpp: 24 (grayscale: 0)
                 - red: offset: 0, length: 8, MSB: 0
                 - green: offset: 8, length: 8, MSB: 0
                 - blue: offset: 16, length: 8, MSB: 0
                 - transp: offset: 0, length: 0, MSB: 0
[15:01:48.144] Mapping fbdev frame buffer.
[15:01:48.145] fbdev output 480×272 px
                guessing 60 Hz and 96 dpi
[15:01:48.151] launching '/usr/libexec/weston-keyboard'
[15:01:48.154] input device Atmel maXTouch Touchscreen, 
/dev/input/event1 is a touch device
[15:01:48.161] compositor: executing '/usr/libexec/weston-keyboard' 
failed: No such file or directory
[15:01:48.252] input device HID 1267:0103, /dev/input/event2 is a 
keyboard
[15:01:48.254] input device HID 1267:0103, /dev/input/event3 is a 
keyboard
[15:01:48.254] input device d3355_pwrbtn_input, /dev/input/event0 is a 
keyboard
[15:01:48.258] Loading module '/usr/lib/weston/tablet-shell.so'
[15:01:48.259] launching '/usr/lib/weston/weston-tablet-shell'
[15:01:48.261] switching to state STARTING (from STARTING)
[15:01:48.261] Compositor capabilities:
                arbitrary surface rotation: yes
                screen capture uses y-flip: yes
[15:01:48.262] libwayland: using socket /run/user/0/wayland-0
[15:01:48.262] INFO: befor wl_display_run
[15:01:48.263] caught signal: 11
[15:01:48.281] 0: weston (on_caught_signal+0x18) [0xf2ec]
[15:01:48.284] 1: /lib/libc.so.6 (__default_rt_sa_restorer_v2+0x0) 
[0xb6d4a998]
[15:01:48.292] unw_get_proc_info: -10
----------------

For me everything looks fine! (The INFO output was added by me to look 
if weston runs till this point)
But why does weston then end with the SIGSEGV? Doesn't it have anything 
to do?
I thought the weston-tablet-shell should be the session executable, 
right?

Any hints how I can debug further or what I do wrong?

I appended the weston.ini which is placed in /home/root/.config/

Any help is appreciated!

Regards!

Thilo
-------------- next part --------------
[core]
shell=tablet-shell.so

[shell]
background-image=/usr/share/backgrounds/gnome/Aqua.jpg
background-color=0xff002244
background-type=tile
panel-color=0x90ff0000
locking=true
animation=zoom
startup-animation=fade
#binding-modifier=ctrl
#num-workspaces=6
#cursor-theme=whiteglass
#cursor-size=24

#lockscreen-icon=/usr/share/icons/gnome/256x256/actions/lock.png
#lockscreen=/usr/share/backgrounds/gnome/Garden.jpg
#homescreen=/usr/share/backgrounds/gnome/Blinds.jpg
#animation=fade

[launcher]
icon=/usr/share/icons/gnome/24x24/apps/utilities-terminal.png
path=/usr/bin/gnome-terminal

[launcher]
icon=/usr/share/icons/gnome/24x24/apps/utilities-terminal.png
path=/usr/bin/weston-terminal

[launcher]
icon=/usr/share/icons/hicolor/24x24/apps/google-chrome.png
path=/usr/bin/google-chrome

[launcher]
icon=/usr/share/icons/gnome/24x24/apps/arts.png
path=./clients/weston-flower

[screensaver]
# Uncomment path to disable screensaver
path=/usr/libexec/weston-screensaver
duration=600

[input-method]
path=/usr/libexec/weston-keyboard

#[output]
#name=LVDS1
#mode=1680x1050
#transform=90
#icc_profile=/usr/share/color/icc/colord/Bluish.icc

#[output]
#name=VGA1
#mode=173.00  1920 2048 2248 2576  1080 1083 1088 1120 -hsync +vsync
#transform=flipped

#[output]
#name=X1
#mode=1024x768
#transform=flipped-270

#[touchpad]
#constant_accel_factor = 50
#min_accel_factor = 0.16
#max_accel_factor = 1.0


More information about the wayland-devel mailing list