[PATCH weston.ini.man] Improvement of weston.ini.man. Add key:shell and remove tablet-shell.

2014-02-07 Thread Nobuhiko Tanibata
Add key:shell to CORE SECTION and move a example of desktop-shell from key:modules to key:shell. Add cms-colord.so to key:modules of CORE SECTION. Signed-off-by: Nobuhiko Tanibata --- 0001-Improvement-of-weston.ini.man.patch | 50 man/weston.ini.man

[PATCH 3/3] client: Queue display events on private queue and always dispatch

2014-02-07 Thread Kristian Høgsberg
The wl_display events (error and delete_id) need to be handled even if the default queue doesn't get dispatched for a while. For example, a busy EGL rendering loop hits wl_display.sync every eglSwapBuffers() and we need to process the delete_id events to maintain the object ID data structure. As

[PATCH 1/3] Make default log handler print to stderr

2014-02-07 Thread Kristian Høgsberg
On the client side we log fatal errors before we exit. If a client doesn't set a log handler, it's hard to figure out what goes wrong. --- src/wayland-util.c | 6 -- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/wayland-util.c b/src/wayland-util.c index 4fe9c81..b099882 10

[PATCH 2/3] client: Rename display->queue to default_queue

2014-02-07 Thread Kristian Høgsberg
We'll add a new queue next, so rename the default queue first. --- src/wayland-client.c | 17 + 1 file changed, 9 insertions(+), 8 deletions(-) diff --git a/src/wayland-client.c b/src/wayland-client.c index 0cc9a50..04b5115 100644 --- a/src/wayland-client.c +++ b/src/wayland-clien

Re: wl_surface_commit from different thread

2014-02-07 Thread Jason Ekstrand
On Fri, Feb 7, 2014 at 12:57 PM, Prabhu S wrote: > Please find my comments inline. > > > > > On Fri, Feb 7, 2014 at 8:18 AM, Jason Ekstrand wrote: > >> Hi Prabhu, >> Could you be a little more specific as to what you are doing. It sounds >> like you are either writing a client or trying to write

Re: Xserver errors

2014-02-07 Thread Bill Spitzak
Okay, recompiling the newest xserver and mesa, and removing the "gallium" driver from mesa, has helped a *little*. X windows now show their correct contents initially, and redraw immediately in response to events. However the graphics are still as screwed up as before, with all the window ed

Re: wl_surface_commit from different thread

2014-02-07 Thread Prabhu S
Please find my comments inline. On Fri, Feb 7, 2014 at 8:18 AM, Jason Ekstrand wrote: > Hi Prabhu, > Could you be a little more specific as to what you are doing. It sounds > like you are either writing a client or trying to write the client-side > wayland bits for a driver stack. However,

Re: Fwd: Re: Help compiling mesa/gallium from git!

2014-02-07 Thread Bill Spitzak
Okay, removing everything with "gallium" in it's name from the install worked. But "make install" in mesa puts it all back! Would "clean" fix this? What I am really interested in is the proper configure line for mesa. I am currently only interested in running wayland atop an Nvidia X server, a

Fwd: Re: Help compiling mesa/gallium from git!

2014-02-07 Thread Axel Davy
The new mesa you built has no egl_gallium.so (since you have --disable-gallium-egl), but you have not removed the old egl_gallium.so, and it tries to load it, since it is here. Axel Davy Le 07/02/2014 18:30, Bill Spitzak a écrit : In order to try to compile the new xserver for wayland, I updat

Help compiling mesa/gallium from git!

2014-02-07 Thread Bill Spitzak
In order to try to compile the new xserver for wayland, I updated mesa to the latest git version, and now wayland does not work at all! Considering it has worked for a long time I would like to try to fix this, it is really unfortunate. It does appear the problem is in egl gallium and it's sof

Re: wl_surface_commit from different thread

2014-02-07 Thread Jason Ekstrand
Hi Prabhu, Could you be a little more specific as to what you are doing. It sounds like you are either writing a client or trying to write the client-side wayland bits for a driver stack. However, it's kind of hard from you description to tell exactly what you're working on. Nevertheless, I will

wl_surface_commit from different thread

2014-02-07 Thread Prabhu S
Hello, eglSwapBuffers is a non blocking call. Normally, 3D GPU will be used both for content creation and composition, in that case everything will end up the GPU unit. So the end frame will be will be synchronized. (assuming 1 GPU unit). I have a scenario, where 3D GPU being used for creating con

Re: [PATCH libinput 0/6] Add dynamic devices to the path backend

2014-02-07 Thread Jonas Ådahl
On Fri, Feb 07, 2014 at 08:09:21AM +1000, Peter Hutterer wrote: > On Thu, Feb 06, 2014 at 10:23:57PM +0100, Jonas Ådahl wrote: > > On Thu, Feb 06, 2014 at 02:13:04PM +1000, Peter Hutterer wrote: > > > > > > This patchset revamps the path backend to allow for more than one > > > path-based > > > d

Re: [PATCH weston v2 6/6] tests: Properly report skipped tests

2014-02-07 Thread Pekka Paalanen
On Fri, 7 Feb 2014 09:34:48 +0100 Emilio Pozuelo Monfort wrote: > From: Emilio Pozuelo Monfort > > We were calling exit(0) when tests were skipped, which counted > them as passed instead of skipped. Fix this by properly exiting > with 77 (which is what automake expects for skipped tests) from

[PATCH wayland] protocol: when buffer transform and scale change

2014-02-07 Thread ppaalanen
From: Pekka Paalanen Clarify when the pending and current buffer transform and scale values change, and what exactly happens on commit. This matches what Weston currently does. Signed-off-by: Pekka Paalanen --- protocol/wayland.xml | 9 + 1 file changed, 9 insertions(+) diff --git a/

Re: [RFC] libinput configuration interface

2014-02-07 Thread Jonas Ådahl
On Thu, Feb 06, 2014 at 11:28:49PM +0100, Eugen Friedrich wrote: > Hi together, > i would like to put some input from the embedded/ automotive perspective. > > you can think about huge amount of different configurations for different > device types. > A lot of configuration in the initial post dea

Re: [PATCH weston 3/6] noop-renderer: Read the shm buffer contents on attach

2014-02-07 Thread Emilio Pozuelo Monfort
On 06/02/14 14:45, Pekka Paalanen wrote: > On Thu, 6 Feb 2014 12:30:33 +0100 > Emilio Pozuelo Monfort wrote: > >> From: Emilio Pozuelo Monfort >> >> The noop-renderer doesn't read buffer contents, which means bad >> buffers go undetected. Thus, read the buffer contents just for >> the purpose o

Re: [PATCH weston 2/6] noop-renderer: Set the buffer size on attach requests

2014-02-07 Thread Emilio Pozuelo Monfort
On 06/02/14 14:37, Pekka Paalanen wrote: > On Thu, 6 Feb 2014 12:30:32 +0100 > Emilio Pozuelo Monfort wrote: > >> From: Emilio Pozuelo Monfort >> >> This lets the compositor know the size of the surface as calculated >> in weston_surface_set_size_from_buffer(), and fixes a couple of >> tests wh

[PATCH weston v2 5/6] tests: use the headless backend to run the test suite

2014-02-07 Thread Emilio Pozuelo Monfort
From: Emilio Pozuelo Monfort Other backends can be used by passing BACKEND=some-backend.so, e.g. $ make check BACKEND=x11-backend.so Signed-off-by: Emilio Pozuelo Monfort --- tests/weston-tests-env | 10 -- 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/tests/weston

[PATCH weston v2 4/6] tests: Skip buffer-count if EGL initialization fails

2014-02-07 Thread Emilio Pozuelo Monfort
From: Emilio Pozuelo Monfort That is the case when using the headless backend. In the future we may be able to use the mesa null egl platform but for now let's just skip it. Signed-off-by: Emilio Pozuelo Monfort --- tests/buffer-count-test.c | 29 +++-- 1 file changed,

[PATCH weston v2 1/6] compositor-headless: create input devices

2014-02-07 Thread Emilio Pozuelo Monfort
From: Emilio Pozuelo Monfort Fixes a segfault when using compositor-headless for the test suite as many tests assume there are input devices and try to use them through the wl_test interface. Signed-off-by: Emilio Pozuelo Monfort --- src/compositor-headless.c | 30 ++---

[PATCH weston v2 6/6] tests: Properly report skipped tests

2014-02-07 Thread Emilio Pozuelo Monfort
From: Emilio Pozuelo Monfort We were calling exit(0) when tests were skipped, which counted them as passed instead of skipped. Fix this by properly exiting with 77 (which is what automake expects for skipped tests) from the tests themselves, then returning 77 again from weston-test-runner if all

[PATCH weston v2 3/6] noop-renderer: Read the shm buffer contents on attach

2014-02-07 Thread Emilio Pozuelo Monfort
From: Emilio Pozuelo Monfort The noop-renderer doesn't read buffer contents, which means bad buffers go undetected. Thus, read the buffer contents just for the purpose of triggering SIGBUS (and having the client killed). Fixes the bad-buffer test when run against the headless backend. Signed-of

[PATCH weston v2 2/6] noop-renderer: Set the buffer size on attach requests

2014-02-07 Thread Emilio Pozuelo Monfort
From: Emilio Pozuelo Monfort This lets the compositor know the size of the surface as calculated in weston_surface_set_size_from_buffer(), and fixes a couple of tests when using the headless backend. Signed-off-by: Emilio Pozuelo Monfort --- src/noop-renderer.c | 15 +++ 1 file cha