Xserver errors

2014-02-05 Thread Bill Spitzak
I was wondering if my problem is not something anybody else is seeing. I have Wayland X11 compositor running. This is on an Nvidia card with Nvidia drivers and therefore only SHM clients work. All other Wayland apps either work correctly or they fail immediately because they require EGL.

Re: Xserver errors

2014-02-05 Thread Jasper St. Pierre
What compositor are you using, and how did you build Xwayland? Did you build xf86-video-wayland as well? On Wed, Feb 5, 2014 at 12:18 PM, Bill Spitzak spit...@gmail.com wrote: I was wondering if my problem is not something anybody else is seeing. I have Wayland X11 compositor running. This

Re: Xserver errors

2014-02-05 Thread Bill Spitzak
On 02/05/2014 09:21 AM, Jasper St. Pierre wrote: What compositor are you using The X11 compositor you get when you run wayland under X. My X system is stock Ubuntu running Unity, though I suspect that has little to do with it. and how did you build Xwayland? There is xwayland inside

Re: Xserver errors

2014-02-05 Thread Jasper St. Pierre
You want to be using the xwayland branch of Xorg, not xwayland-1.12. That explains why everything was showing up black: xwayland-1.12 is almost a year old, and Weston doesn't work with it anymore. Make sure to build xf86-video-wayland, and uninstall xf86-video-wlshm. wlshm is old. You should just

Re: Xserver errors

2014-02-05 Thread Axel Davy
Your bug is likely to be coming from the combination old XWayland/ recent Weston. Try with main xwayland branch and xf86-video-wayland (forget about the outdated things you built) Xwayland is divided in two parts: the Xwayland window manager (weston) and ... Xwayland (in the Xserver) Axel

[PATCH v2 libinput 2/4] Move opening and closing the device fd into evdev.c

2014-02-05 Thread Peter Hutterer
evdev_device_remove() already calls close(device-fd). Move the close_restricted call there to avoid one privileged call in the backend and one in the device. And move the open_restricted() into the evdev device too to reduce the duplicated code in the two backends. Update to one of the tests:

[PATCH] input: Send leave and enter pair when the surface moves under the cursor

2014-02-05 Thread Kristian Høgsberg
The client needs to know that the pointer is at a different position in its surface. We can't send motion as that corresponds to the pointer actually moving. Leaving the surface and entering at the new position is a better semantic match and doesn't correspond to pointer motion or user input.

Re: [PATCH] README: Fix typo; add link to testing docs

2014-02-05 Thread Kristian Høgsberg
On Mon, Feb 03, 2014 at 09:37:06PM +, Bryce W. Harrington wrote: Signed-off-by: Bryce Harrington b.harring...@samsung.com Thanks Bryce, committed. Kristian --- README |5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/README b/README index b3be4c9..3821e5d

Re: [PATCH] Don't deref the sample pointer in the wl_container_of macro

2014-02-05 Thread Kristian Høgsberg
On Tue, Feb 04, 2014 at 02:21:48PM +, Neil Roberts wrote: The previous implementation of the wl_container_of macro was dereferencing the sample pointer in order to get an address of the member to calculate the offset. Ideally this shouldn't cause any problems because the dereference

Re: [PATCH weston] compositor-rpi: Fix input initialization

2014-02-05 Thread Kristian Høgsberg
On Mon, Feb 03, 2014 at 04:57:27PM +0100, poch...@gmail.com wrote: From: Emilio Pozuelo Monfort emilio.pozu...@collabora.co.uk The input initialization code assumes the outputs have already been initialized; thus create the outputs first. This fixes a segfault upon startup. It is also what

Re: [PATCH weston v2] dim-layer: fix dimming for unfocused surfaces

2014-02-05 Thread Kristian Høgsberg
On Thu, Jan 30, 2014 at 01:49:39PM +0100, poch...@gmail.com wrote: From: Emilio Pozuelo Monfort emilio.pozu...@collabora.co.uk Unfocusing a surface should dim it when dim-layer is enabled, but this got broken in commit 83ffd9. Fix committed, thanks. Kristian --- desktop-shell/shell.c |

Re: [PATCH weston 3/4] compositor: Add a visibility switch to weston_layers

2014-02-05 Thread Kristian Høgsberg
On Wed, Jan 29, 2014 at 06:47:53PM +0200, Ander Conselvan de Oliveira wrote: Different parts of the shell, such as the workspace implementation, rely on making layers invisible to hide surfaces without discarding the order in which they appear. However, the layers are made invisible by

[PATCH] nested-client: Fix build error

2014-02-05 Thread Jason Ekstrand
--- Makefile.am | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile.am b/Makefile.am index 21b2b17..5e8556b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -485,6 +485,7 @@ weston_nested_CFLAGS = $(CLIENT_CFLAGS) weston_nested_client_SOURCES = clients/nested-client.c

[PATCH libinput 3/6] path: add libinput_path_add_device() and libinput_path_remove_device()

2014-02-05 Thread Peter Hutterer
This allows multiple devices to share a single libinput context. The new function returns the newly added device immediately. Unlike the udev seat where devices may or may not be added - over the lifetime of the seat - a path-based backend knows immediately if device exists or doesn't exist.

[PATCH libinput 6/6] test: Add tests for adding/removing devices

2014-02-05 Thread Peter Hutterer
Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- test/path.c | 317 1 file changed, 317 insertions(+) diff --git a/test/path.c b/test/path.c index 3aade76..59d3e5f 100644 --- a/test/path.c +++ b/test/path.c @@ -252,6 +252,25

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

2014-02-05 Thread Peter Hutterer
This patchset revamps the path backend to allow for more than one path-based device per context. I thought the initial approach of having one context per device is sufficient but there are a few use-cases that can really only be solved by having libinput control all devices. A common example is

[PATCH libinput 1/6] Store the backend type in the interface

2014-02-05 Thread Peter Hutterer
This enables us to prevent callers from calling backend-specific functions on mismatching backends. Signed-off-by: Peter Hutterer peter.hutte...@who-t.net --- src/libinput-private.h | 6 ++ src/path.c | 1 + src/udev-seat.c| 1 + 3 files changed, 8 insertions(+) diff

[PATCH libinput 2/6] path: modify backend to allow for more than one device

2014-02-05 Thread Peter Hutterer
The previous path backend created a libinput context attached to a single device. This is insufficient when we need to use cross-device functionality. One example of this cross-device functionality include disabling a touchpad while the trackstick is in use (Lenovo T440 and related models). This

Re: [PATCH] nested-client: Fix build error

2014-02-05 Thread Kristian Høgsberg
On Wed, Feb 05, 2014 at 09:38:27PM -0600, Jason Ekstrand wrote: --- Makefile.am | 1 + 1 file changed, 1 insertion(+) Thanks... I hope that's the last of it... Kristian diff --git a/Makefile.am b/Makefile.am index 21b2b17..5e8556b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -485,6

Re: [PATCH wayland 3/3] Add a debug handler and use it to print out protocol debug messages

2014-02-05 Thread Kristian Høgsberg
On Wed, Dec 18, 2013 at 08:56:20PM -0600, Jason Ekstrand wrote: In order to keep from overloading the debug handler, we first squash the entire message into a string and call wl_debug once. Signed-off-by: Jason Ekstrand ja...@jlekstrand.net --- src/connection.c | 54

Re: Xserver errors

2014-02-05 Thread Bill Spitzak
Not having any luck getting the new xserver compiled. It seems to require a newer mesa (due to missing symbols like __DRI_ATTRIB_FLOAT) but I can't get that to compile. Mesa configure fails with this: ./autogen.sh --prefix=$WLD --enable-gles2 --disable-gallium-egl