Re: [PATCH weston 1/9] compositor-drm: drm_output_enable updates unused_crtcs/connectors

2018-02-12 Thread Daniel Stone
Hi Pekka, On 9 February 2018 at 13:07, Pekka Paalanen wrote: > Let drm_output_enable() remove the CRTC and the connector from the > unused id arrays. > > In the future when a list of drm_heads supersedes unused_connectors > array, the usedness of a connector will be

Re: [PATCH weston 0/5] desktop-shell fortification for clone mode

2018-02-12 Thread Daniel Stone
Hi Pekka, On 9 February 2018 at 13:50, Pekka Paalanen wrote: > this might be slightly premature, but I wanted to extract before-hand as > many patches from the clone mode series as I could because it will be a > very long series anyway. These patches prepare the

Re: [PATCH weston 7/9] compositor-drm: fix uninitialized bytes on modeinfo

2018-02-12 Thread Daniel Stone
Hi, On 12 February 2018 at 12:51, Pekka Paalanen wrote: > On Mon, 12 Feb 2018 12:28:55 + Daniel Stone wrote: >> Second and last nitpick: this is very clever, but should probably just >> use memset() like everywhere else. > > I hate memset. :-) Me

Re: [PATCH weston] gl-renderer: Fix crash in dmabuf format query for fallback formats

2018-02-12 Thread Daniel Stone
Hi Philipp, On 9 February 2018 at 20:59, Philipp Kerling wrote: > Since formats is an out parameter, we need to copy to the alloc'ed > memory and not over the pointer address. Oops, right you are. Reviewed and pushed, thanks! Cheers, Daniel

Re: [PATCH weston 1/9] compositor-drm: drm_output_enable updates unused_crtcs/connectors

2018-02-12 Thread Pekka Paalanen
On Mon, 12 Feb 2018 12:26:50 + Daniel Stone wrote: > Hi Pekka, > > On 9 February 2018 at 13:07, Pekka Paalanen wrote: > > Let drm_output_enable() remove the CRTC and the connector from the > > unused id arrays. > > > > In the future when a list of

Re: [PATCH weston 7/9] compositor-drm: fix uninitialized bytes on modeinfo

2018-02-12 Thread Daniel Stone
Hi, On 9 February 2018 at 13:07, Pekka Paalanen wrote: > index 1897f455..a975b379 100644 > --- a/libweston/compositor-drm.c > +++ b/libweston/compositor-drm.c > @@ -4347,6 +4347,8 @@ parse_modeline(const char *s, drmModeModeInfo *mode) > char vsync[16]; >

Re: Forwarding windows to another compositor via Weston

2018-02-12 Thread Pekka Paalanen
On Fri, 9 Feb 2018 18:30:13 -0500 Nicholas Bishop wrote: > Hi, > > Is there a way to run Weston as a nested compositor without the root > window? My use case is running a parent compositor that doesn't support > Xwayland, so I'd like to use Weston for X applications and

Re: [PATCH weston 3/9] compositor-drm: factor out drm_output_init_crtc()

2018-02-12 Thread Daniel Stone
Hi Pekka, On 9 February 2018 at 13:07, Pekka Paalanen wrote: > + i = find_crtc_for_connector(b, resources, connector); > + if (i < 0) { > + weston_log("No usable crtc/encoder pair for connector.\n"); > + return -1; > + } > + > +

Re: [PATCH weston 7/9] compositor-drm: fix uninitialized bytes on modeinfo

2018-02-12 Thread Pekka Paalanen
On Mon, 12 Feb 2018 12:28:55 + Daniel Stone wrote: > Hi, > > On 9 February 2018 at 13:07, Pekka Paalanen wrote: > > index 1897f455..a975b379 100644 > > --- a/libweston/compositor-drm.c > > +++ b/libweston/compositor-drm.c > > @@ -4347,6 +4347,8 @@

[PATCH wayland-protocols v2] unstable/drm-lease: DRM lease protocol support

2018-02-12 Thread Marius Vlad
Simple protocol extension to manage DRM lease. Based on the work by Keith Packard in [1], respectively [2]. [1] https://cgit.freedesktop.org/mesa/drm/commit/?id=c4171535389d72e9135c9615cecd07b346fd6d7e [2]

RE: [PATCH weston 0/3 v2] DRM lease support

2018-02-12 Thread Ucan, Emre (ADITG/ESB)
Hi, Is it possible to only lease an overlay plane, so that lessor and lessee share the same connector ? Best regards Emre Ucan Engineering Software Base (ADITG/ESB) Tel. +49 5121 49 6937 > -Original Message- > From: wayland-devel [mailto:wayland-devel- >

[PATCH weston 0/3 v2] DRM lease support

2018-02-12 Thread Marius Vlad
Patch series that adds support for DRM leases. DRM leases is a method developed by Keith Packard to allow other application manage the output of a display/VR, while a DRM master is already owning the outputs resources. A more thorough explanation and terminology can be found at [1]. libdrm [2]

Re: Forwarding windows to another compositor via Weston

2018-02-12 Thread Nicholas Bishop
On Mon, Feb 12, 2018 at 5:48 AM, Pekka Paalanen wrote: > > On Fri, 9 Feb 2018 18:30:13 -0500 > Nicholas Bishop wrote: > > > Hi, > > > > Is there a way to run Weston as a nested compositor without the root > > window? My use case is running a parent

Re: [PATCH weston 7/9] compositor-drm: fix uninitialized bytes on modeinfo

2018-02-12 Thread Pekka Paalanen
On Mon, 12 Feb 2018 13:15:45 + Daniel Stone wrote: > Hi Pekka, > > On 12 February 2018 at 13:11, Pekka Paalanen wrote: > > On Mon, 12 Feb 2018 12:59:22 + Daniel Stone > > wrote: > >> On 12 February 2018 at 12:51,

Wayland 1.15/Weston 4.0 Release schedule

2018-02-12 Thread Derek Foreman
Hello, It looks like most of what's been proposed as "high priority" for this release has landed and we're in a good place for another wayland/weston release. The tentative schedule is: February 26th - Alpha March 19th - Beta April 2nd - RC1 With our first potential release date being April

Re: [PATCH weston 7/9] compositor-drm: fix uninitialized bytes on modeinfo

2018-02-12 Thread Pekka Paalanen
On Mon, 12 Feb 2018 12:59:22 + Daniel Stone wrote: > Hi, > > On 12 February 2018 at 12:51, Pekka Paalanen wrote: > > On Mon, 12 Feb 2018 12:28:55 + Daniel Stone > > wrote: > >> Second and last nitpick: this is very

Re: [PATCH weston 0/5] desktop-shell fortification for clone mode

2018-02-12 Thread Pekka Paalanen
On Mon, 12 Feb 2018 12:43:08 + Daniel Stone wrote: > Hi Pekka, > > On 9 February 2018 at 13:50, Pekka Paalanen wrote: > > this might be slightly premature, but I wanted to extract before-hand as > > many patches from the clone mode series as I

Re: Forwarding windows to another compositor via Weston

2018-02-12 Thread Pekka Paalanen
On Mon, 12 Feb 2018 10:18:32 -0500 Nicholas Bishop wrote: > Thanks for the insight, that's very helpful. If I go down the route of > trying to add Xwayland support to the parent compositor, do you have > any recommended resources such as documentation or a simple

Re: [PATCH weston 7/9] compositor-drm: fix uninitialized bytes on modeinfo

2018-02-12 Thread Daniel Stone
Hi Pekka, On 12 February 2018 at 13:11, Pekka Paalanen wrote: > On Mon, 12 Feb 2018 12:59:22 + Daniel Stone wrote: >> On 12 February 2018 at 12:51, Pekka Paalanen wrote: >> > I believe nothing is depending on the values of

[PATCH weston 3/3 v2] clients/simple-egl-lease: A demo client for DRM leases

2018-02-12 Thread Marius Vlad
Heavily inspired by kmscube and simple-egl. Uses legacy page-flipping and triangle shaders from simple-egl. Signed-off-by: Marius Vlad --- Makefile.am| 11 + clients/simple-egl-lease.c | 880 +

[PATCH weston 1/3 v2] compositor-drm: Add support for drm-lease.

2018-02-12 Thread Marius Vlad
The patch relies on previous drm-lease-unstable-v1 extension protocol posted previously [1]. Changes since v2: - accommodate changes due to protocol changes - use enable/disabled for the output instead of destroy/update_outputs (Daniel Stone) - split into a series, added a client example -

[PATCH weston 2/3 v2] compositor-drm: Do not perform a modeset when the output has been leased

2018-02-12 Thread Marius Vlad
This removes the blanking period until the client takes "control" of the output, resulting in a smoother transition between weston and lease client. Signed-off-by: Marius Vlad --- libweston/compositor-drm.c | 6 -- 1 file changed, 4 insertions(+), 2

Re: [PATCH weston 1/9] compositor-drm: drm_output_enable updates unused_crtcs/connectors

2018-02-12 Thread Pekka Paalanen
On Mon, 12 Feb 2018 12:26:50 + Daniel Stone wrote: > Hi Pekka, > > On 9 February 2018 at 13:07, Pekka Paalanen wrote: > > Let drm_output_enable() remove the CRTC and the connector from the > > unused id arrays. > > > > In the future when a list of

Re: [PATCH libinput] evdev: fail before open_restricted if the devnode doesn't exist

2018-02-12 Thread Peter Hutterer
On Fri, Feb 09, 2018 at 12:00:47PM -0600, Jeffrey Smith wrote: > > + if (!devnode) { > > + log_info(libinput, "%s: no device node associated\n", > > sysname); > > + return NULL; > > + } > > + > > if (udev_device_should_be_ignored(udev_device)) { > >

Re: [PATCH libinput] evdev: fail before open_restricted if the devnode doesn't exist

2018-02-12 Thread Peter Hutterer
Checking these bugs before I was about to push: On Fri, Feb 09, 2018 at 07:59:08PM +1000, Peter Hutterer wrote: > https://bugzilla.redhat.com/show_bug.cgi?id=1536633 > https://bugzilla.redhat.com/show_bug.cgi?id=1539046 > https://bugzilla.redhat.com/show_bug.cgi?id=1539783 >

Re: [PATCH libinput] evdev: fail before open_restricted if the devnode doesn't exist

2018-02-12 Thread Peter Hutterer
On Tue, Feb 13, 2018 at 01:43:27PM +1000, Peter Hutterer wrote: > Checking these bugs before I was about to push: > > On Fri, Feb 09, 2018 at 07:59:08PM +1000, Peter Hutterer wrote: > > https://bugzilla.redhat.com/show_bug.cgi?id=1536633 > > https://bugzilla.redhat.com/show_bug.cgi?id=1539046 > >

[ANNOUNCE] libinput 1.10.0

2018-02-12 Thread Peter Hutterer
libinput 1.10 is now available. Only one real change since the rc2: the fix for Bug 104939 that caused a segfault on the first event from some tablet tools (Aiptek, in this case). To fill the vast voids in this email, here's the list of changes to the 1.9.x branch (copied from the rc1