GDP with Linux kernel 4.4 on Raspberry Pi 2

Ivan Sobol isobol at ics.com
Fri May 13 08:32:47 EDT 2016


I used 4.1.10 and 4.1.18 kernels with the same result. Here is output with
4.1.10
drm-backend:

root at raspberrypi2:~# weston --backend=drm-backend.so --tty=3
Date: 2016-05-13 UTC
[12:29:36.529] weston 1.9.0
               http://wayland.freedesktop.org
               Bug reports to:
https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.9.0
               Build: 1.8.93-2-gb05cdb8 configure.ac: bump to version 1.9.0
for the official release (2015-09-21 18:11:26 -0700)
[12:29:36.529] OS: Linux, 4.1.10, #1 SMP PREEMPT Thu May 12 22:29:48 MSK
2016, armv7l
[12:29:36.530] Using config file '/etc/xdg/weston/weston.ini'
[12:29:36.532] Loading module '/usr/lib/weston/drm-backend.so'
[12:29:36.595] Output repaint window is 7 ms maximum.
[12:29:36.595] initializing drm backend
[12:29:36.597] logind: failed to get session seat
[12:29:36.597] logind: cannot setup systemd-logind helper (-2), using
legacy fallback
[12:29:36.605] no drm device found
[12:29:36.605] fatal: failed to create compositor backend

fbdev-backend:

root at raspberrypi2:/# weston --backend=fbdev-backend.so --tty=3
Date: 2016-05-13 UTC
[12:19:40.327] weston 1.9.0
               http://wayland.freedesktop.org
               Bug reports to:
https://bugs.freedesktop.org/enter_bug.cgi?product=Wayland&component=weston&version=1.9.0
               Build: 1.8.93-2-gb05cdb8 configure.ac: bump to version 1.9.0
for the official release (2015-09-21 18:11:26 -0700)
[12:19:40.328] OS: Linux, 4.1.10, #1 SMP PREEMPT Thu May 12 22:29:48 MSK
2016, armv7l
[12:19:40.329] Using config file '/etc/xdg/weston/weston.ini'
[12:19:40.330] Loading module '/usr/lib/weston/fbdev-backend.so'
[12:19:40.340] Output repaint window is 7 ms maximum.
[12:19:40.340] initializing fbdev backend
[12:19:40.341] logind: failed to get session seat
[12:19:40.341] logind: cannot setup systemd-logind helper (-2), using
legacy fallback
[12:19:40.342] Creating fbdev output.
[12:19:40.342] Opening fbdev frame buffer.
[12:19:40.342] Calculating pixman format from:
                - type: 0 (aux: 0)
                - visual: 2
                - bpp: 16 (grayscale: 0)
                - red: offset: 11, length: 5, MSB: 0
                - green: offset: 5, length: 6, MSB: 0
                - blue: offset: 0, length: 5, MSB: 0
                - transp: offset: 16, length: 0, MSB: 0
[12:19:40.342] Mapping fbdev frame buffer.
[12:19:40.343] fbdev output 800×480 px
               guessing 60 Hz and 96 dpi
[12:19:40.347] input device 'USB USB Keyboard', /dev/input/event0 is tagged
by udev as: Keyboard
[12:19:40.347] input device 'USB USB Keyboard', /dev/input/event0 is a
keyboard
[12:19:40.349] input device 'USB USB Keyboard', /dev/input/event1 is tagged
by udev as: Keyboard
[12:19:40.350] input device 'USB USB Keyboard', /dev/input/event1 is a
keyboard
[12:19:40.458] Compositor capabilities:
               arbitrary surface rotation: yes
               screen capture uses y-flip: yes
               presentation clock: CLOCK_MONOTONIC_RAW, id 4
[12:19:40.460] Loading module '/usr/lib/weston/ivi-shell.so'
[12:19:40.464] launching '/usr/lib/weston/weston-keyboard'
[12:19:40.470] Loading module '/usr/lib/weston/ivi-controller.so'
[12:19:40.475] Loading module '/usr/lib/weston/ivi-input-controller.so'
[12:19:40.476] ivi-input-controller module loaded successfully!
[12:19:44.206] ivi-shell: source rectangle is not yet set by
ivi_layout_surface_set_source_rectangle
[12:19:45.206] ivi-shell: source rectangle is not yet set by
ivi_layout_surface_set_source_rectangle
[12:19:45.716] ivi-shell: source rectangle is not yet set by
ivi_layout_surface_set_source_rectangle

2016-05-13 14:58 GMT+03:00 Leon Anavi <leon.anavi at konsulko.com>:

> Hi Ivan,
>
> On 13.05.2016 14:50, Ivan Sobol wrote:
>
>> Leon, Changhyeok
>> Hello!
>> I've been looking at problem of official 7" RPi touchsreen and here is
>> what i've found so far.
>>
>> It looks like the problem is not only in kernel. There is issue with
>> loading rpi-ft5406 module in kernel version 4.1.0, but even though, with
>> pure Yocto OE layer touchscreen can work without touch input (just a
>> screen). I tried different builds outside of GDP with 4.1.10 and 4.1.18
>> kernels and had Weston running with fbdev-backend and touchscreen worked
>> perfectly.
>>
>
> Yes, several weeks ago I also got the touchscreen working with Poky and
> meta-erborpi following this tutorial: http://blog.unixshell.se/?p=27
>
> But under GDP i have only black screen. Something inside of
>> meta-genivi-demo layer breaks touchscreen.
>>
>> Not much of information, but still might be useful at some point.
>>
>
> Which Linux kernel version did you use with GDP in this particular case?
> Can you please share Weston logs?
>
> Thanks, Leon
>
>
>> --
>> Ivan Sobol
>>
>
> --
> Leon Anavi
> Software Engineer
> konsulko.com
>
>


-- 
Ivan Sobol
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.genivi.org/pipermail/genivi-projects_lists.genivi.org/attachments/20160513/053e1b67/attachment.html>


More information about the genivi-projects mailing list