Re: [PATCH weston] Revert "compositor-drm: disable hardware cursors"

2015-09-08 Thread Pekka Paalanen
On Tue, 8 Sep 2015 22:52:51 -0700 Bryce Harrington wrote: > On Mon, Sep 07, 2015 at 04:42:16PM +0300, Pekka Paalanen wrote: > > On Mon, 7 Sep 2015 15:36:35 +0200 > > Giulio Camuffo wrote: > > > > > 2015-09-07 16:27 GMT+03:00 Pekka Paalanen : > > > > From: Pekka Paalanen > > > > > > > > This re

Re: [PATCH weston] Revert "compositor-drm: disable hardware cursors"

2015-09-08 Thread Bryce Harrington
On Mon, Sep 07, 2015 at 04:42:16PM +0300, Pekka Paalanen wrote: > On Mon, 7 Sep 2015 15:36:35 +0200 > Giulio Camuffo wrote: > > > 2015-09-07 16:27 GMT+03:00 Pekka Paalanen : > > > From: Pekka Paalanen > > > > > > This reverts commit 6858383d51b12632481370fdc7d886a1e6bb4ebd. > > > > > > The main

Re: [PATCH weston] tests: Convert 'xalloc's to 'zalloc's

2015-09-08 Thread Bryce Harrington
On Mon, Sep 07, 2015 at 04:46:40PM +0300, Pekka Paalanen wrote: > On Fri, 4 Sep 2015 23:47:09 +0530 > Seedo Eldho Paul wrote: > > > xalloc terminates the program abruptly if the requested amount of > > memory couldn't be allocated. To insure that the errors are handled > > cleanly, use zalloc in

Re: [PATCH weston] tests: Convert 'xalloc's to 'zalloc's

2015-09-08 Thread Bryce Harrington
On Sat, Sep 05, 2015 at 09:43:27AM +1000, Peter Hutterer wrote: > On Fri, Sep 04, 2015 at 11:47:09PM +0530, Seedo Eldho Paul wrote: > > xalloc terminates the program abruptly if the requested amount of > > memory couldn't be allocated. To insure that the errors are handled > > cleanly, use zalloc i

[PATCH] clients: Fix height typo in clamp_view()

2015-09-08 Thread Bryce Harrington
We should be checking our scaled image height against the allocation height rather than the allocation width. Signed-off-by: Bryce Harrington --- clients/image.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/clients/image.c b/clients/image.c index d28f221..4126305 100644 --

I2C multi-touch calibration issue on a goodix touchscreen

2015-09-08 Thread Kaloyan Dimitrov
Hi guys, I am using libinput-0.7, Wayland-1.6.0 and Weston-1.6.0 on an arm based imx6 board and I am trying to calibrate correctly my I2C goodix touchscreen. I have the multi-touch events generated from the kernel device and event driver( evtest-ed ) but weston-calibrator is not successful in cali

Re: [PATCH weston 4/4] rpi: prevent Weston segfaulting on shut-down due to NULL `backend`

2015-09-08 Thread Pekka Paalanen
On Sat, 5 Sep 2015 15:01:40 +0100 John Sadler wrote: > When running with the RPi backend, Weston sefaults during shutdown. This is > due to the fact that `compositor->backend` is never initialised, and there > is no NULL check prior to calling `destroy()`. > > This commit fixes the issue by mak

Re: [PATCH weston 3/4] rpi: avoid segfault in `rpir_view_compute_rects()` when EGL client destroys buffer

2015-09-08 Thread Pekka Paalanen
On Sat, 5 Sep 2015 15:01:39 +0100 John Sadler wrote: > This commit works-around a serious issue when running with the RPi backend. > When an EGL client shuts down and destroys it's EGL window, Weston dies with > a segmentation fault in the above function (because `buffer` is now NULL). > > The

[PATCH weston] rpi: fix segfault at startup in rpi_flippipe_init() v2

2015-09-08 Thread Pekka Paalanen
From: John Sadler When running with the RPi backend, Weston now segfaults at startup on the line: flippipe->clk_id = output->base.compositor->presentation_clock; in `rpi_flippipe_init()`. This is because `output->base.compositor` is NULL. This problem did not exist on 1.8.0, and it looks l

Re: [PATCH weston] Revert "compositor-drm: disable hardware cursors"

2015-09-08 Thread Daniel Vetter
On Mon, Sep 07, 2015 at 04:27:56PM +0300, Pekka Paalanen wrote: > From: Pekka Paalanen > > This reverts commit 6858383d51b12632481370fdc7d886a1e6bb4ebd. > > The main reason for the original patch was a regression on the Intel > drivers causing compositor framerate to drop to half during cursor >