Wayland Weston blank screen with drm-backend

2018-04-10 Thread John Frankish
Using mesa-18.0.0, Wayland-1.14 and Weston 3.0.0 I get a blank screen on a machine with intel hd4400 graphics when staring with: WAYLAND_DEBUG=1 EGL_LOG_LEVEL=debug XDG_RUNTIME_DIR=/run/user/$(id -u) weston-launch >weston.log 2>&1 X works fine and, a couple of mesa upgrades ago, Weston worked

Re: [PATCH weston v2] ivi-shell: Damage view below after unmapping

2018-04-10 Thread zou lan
Hi Emre I ask why calling it? which scenario could reproduce the issue you said "keep visible after set layer/surface invisible "? Thank you. Best Regards Nancy 2018-04-10 22:19 GMT+08:00 Ucan, Emre (ADITG/ESB) : > Hi, > > > > Are you asking if it is possible to move

[PATCHv3] Add name event to xdg-output

2018-04-10 Thread Drew DeVault
Signed-off-by: Drew DeVault Reviewed-by: Simon Ser --- This version clarifies the uniqueness constraint, mapping of names to wl_outputs, and persistence between sessions. .../xdg-output/xdg-output-unstable-v1.xml | 19 ++- 1 file

Re: [PATCH weston 21/25] protocol: add weston_touch_calibration

2018-04-10 Thread Peter Hutterer
On Tue, Apr 10, 2018 at 02:01:10PM +0300, Pekka Paalanen wrote: > On Mon, 9 Apr 2018 12:54:43 +1000 > Peter Hutterer wrote: > > > On Fri, Mar 23, 2018 at 02:01:01PM +0200, Pekka Paalanen wrote: > > > From: Pekka Paalanen > > > > > >

[PATCH] xwayland/selection: do not remove NULL property_source

2018-04-10 Thread Greg V
Happened mostly with neovim's xclip usage. --- This fixes the most frequent source of crashes for me. xwayland/selection.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/xwayland/selection.c b/xwayland/selection.c index f145089f..b0bccc0d 100644 --- a/xwayland/selection.c

Re: [PATCHv2] Add name event to xdg-output

2018-04-10 Thread Drew DeVault
On 2018-04-10 5:09 PM, Pekka Paalanen wrote: > How do you define "one wl_output"? > > Do you mean it is the wl_output as identified by its global name (int), > and gets destroyed when the wl_registry sends the remove event? Yes, I mean one wl_output as in one global on the registry. >

RE: [PATCH weston v2] ivi-shell: Damage view below after unmapping

2018-04-10 Thread Ucan, Emre (ADITG/ESB)
Hi, Are you asking if it is possible to move weston_view_damage_below() to commit_screen_list ? or are you asking why we are calling it ? Best regards Emre Ucan Engineering Software Base (ADITG/ESB) Tel. +49 5121 49 6937 From: zou lan [mailto:nancy.lan@gmail.com] Sent: Dienstag, 10. April

RE: Same ilm surface on multiple layer support

2018-04-10 Thread Ucan, Emre (ADITG/ESB)
Hi Vikas, This patch “5e8d55da698e58” enabled the feature. It is part of weston 1.12 release. Best regards Emre Ucan Engineering Software Base (ADITG/ESB) Tel. +49 5121 49 6937 From: wayland-devel [mailto:wayland-devel-boun...@lists.freedesktop.org] On Behalf Of Vikas Patil Sent: Dienstag,

Re: [PATCHv2] Add name event to xdg-output

2018-04-10 Thread Pekka Paalanen
On Tue, 10 Apr 2018 08:30:28 -0400 Drew DeVault wrote: > On 2018-04-10 12:20 PM, Pekka Paalanen wrote: > > Oh yes, that's a good point. This is actually a good reason to repeat > > the question: > > > > Does the name identify the connector or the monitor? > > I suppose I

Re: EXT: [PATCH weston v6 00/73] Head-based output configuration API a.k.a clone mode infrastructure

2018-04-10 Thread Derek Foreman
On 2018-04-10 08:12 AM, Pekka Paalanen wrote: > On Sat, 24 Mar 2018 10:16:12 + > "Ray, Ian (GE Healthcare)" wrote: > >>> On 23 Mar 2018, at 19.16, Ray, Ian (GE Healthcare) wrote: >>> >>> On 23 Mar 2018, at 15.12, Ray, Ian (GE Healthcare)

Re: EXT: [PATCH weston v6 00/73] Head-based output configuration API a.k.a clone mode infrastructure

2018-04-10 Thread Pekka Paalanen
On Sat, 24 Mar 2018 10:16:12 + "Ray, Ian (GE Healthcare)" wrote: > > On 23 Mar 2018, at 19.16, Ray, Ian (GE Healthcare) wrote: > > > > > >> On 23 Mar 2018, at 15.12, Ray, Ian (GE Healthcare) wrote: > >> > >> > >>> On 16 Feb 2018, at

[PATCH] xdg-shell: add enums for tiled window state to toplevel configure

2018-04-10 Thread Mike Blumenkrantz
this adds implementation from a related discussion long ago in which it was decided that it would be useful for clients to know if/where their windows were tiled so that various behaviors and visuals could be modified to improve UX a window which is e.g., tiled on the right side of the screen

Same ilm surface on multiple layer support

2018-04-10 Thread Vikas Patil
+Subject Dear All, We are facing issue when we are trying to add same surface to multiple layers. When we try to attach surface to another layer, it is getting detached from the earlier layer. We are using wayland/weston/wayland-ivi-extension 1.11.0 with drm-backend on TI's Soc. Could anyone

Re: [PATCHv2] Add name event to xdg-output

2018-04-10 Thread Drew DeVault
On 2018-04-10 12:20 PM, Pekka Paalanen wrote: > Oh yes, that's a good point. This is actually a good reason to repeat > the question: > > Does the name identify the connector or the monitor? I suppose I should repeat the answer, too: one xdg_output maps to one wl_output and has a unique name.

ikshwaku.ec2...@gmail.com

2018-04-10 Thread Vikas Patil
Dear All, We are facing issue when we are trying to add same surface to multiple layers. When we try to attach surface to another layer, it is getting detached from the earlier layer. We are using wayland/weston/wayland-ivi-extension 1.11.0 with drm-backend on TI's Soc. Could anyone know if

Re: [PATCH weston 21/25] protocol: add weston_touch_calibration

2018-04-10 Thread Pekka Paalanen
On Mon, 9 Apr 2018 12:54:43 +1000 Peter Hutterer wrote: > On Fri, Mar 23, 2018 at 02:01:01PM +0200, Pekka Paalanen wrote: > > From: Pekka Paalanen > > > > This is a Wayland protocol extension to allow the calibration of > > touchscreens

Re: [PATCH weston 16/25] libweston: introduce notify_touch_cal() and doc

2018-04-10 Thread Pekka Paalanen
On Mon, 9 Apr 2018 12:12:49 +1000 Peter Hutterer wrote: > On Fri, Mar 23, 2018 at 02:00:56PM +0200, Pekka Paalanen wrote: > > From: Pekka Paalanen > > > > notify_touch_cal() is an extended form of notify_touch(), adding > > normalized

Re: [PATCH weston 12/25] input: introduce weston_touch_device

2018-04-10 Thread Pekka Paalanen
On Mon, 9 Apr 2018 11:55:51 +1000 Peter Hutterer wrote: > On Fri, Mar 23, 2018 at 02:00:52PM +0200, Pekka Paalanen wrote: > > From: Louis-Francis Ratté-Boulianne > > > > Introduce weston_touch_device for libweston core to track individual > >

Re: [PATCHv2] Add name event to xdg-output

2018-04-10 Thread Pekka Paalanen
On Mon, 09 Apr 2018 16:00:35 +0200 Philipp Kerling wrote: > Hey, > > I'll just reiterate one point from the prior discussion. > > > On Mon, 9 Apr 2018 08:13:15 -0400 > > Drew DeVault wrote: > > > > > Good feedback. > > > > > > On 2018-04-09 11:09 AM,

[PATCH weston v3 06/15] ivi-layout: introduced surface create and configure

2018-04-10 Thread Michael Teyfel
Introduced surface create and configure function for xdg-apps. Signed-off-by: Michael Teyfel --- ivi-shell/ivi-layout-shell.h | 8 + ivi-shell/ivi-layout.c | 74 ++-- 2 files changed, 59 insertions(+), 23 deletions(-)

[PATCH weston v3 07/15] ivi-shell: linked libweston-desktop and added structs

2018-04-10 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- Makefile.am| 1 + ivi-shell/ivi-layout-private.h | 2 ++ ivi-shell/ivi-shell.c | 4 +++- ivi-shell/ivi-shell.h | 2 ++ 4 files changed, 8 insertions(+), 1 deletion(-) diff --git a/Makefile.am

[PATCH weston v3 05/15] ivi-layout: introduced configure_desktop_changed

2018-04-10 Thread Michael Teyfel
Introduced signal configure_desktop_changed with interface. This signal should be sent, when a desktop-surface is configured. Signed-off-by: Michael Teyfel --- ivi-shell/ivi-layout-export.h | 10 ++ ivi-shell/ivi-layout-private.h | 1 + ivi-shell/ivi-layout.c

[PATCH weston v3 15/15] window client: remove ivi-application support

2018-04-10 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- Makefile.am | 2 -- clients/window.c | 44 +--- 2 files changed, 1 insertion(+), 45 deletions(-) diff --git a/Makefile.am b/Makefile.am index 099b3c3..87a380c 100644 --- a/Makefile.am +++

[PATCH weston v3 14/15] simple-shm: remove ivi-application support

2018-04-10 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- Makefile.am | 4 +--- clients/simple-shm.c | 40 2 files changed, 1 insertion(+), 43 deletions(-) diff --git a/Makefile.am b/Makefile.am index 2279d6a..099b3c3 100644 --- a/Makefile.am

[PATCH weston v3 13/15] simple-egl: remove ivi-application support

2018-04-10 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- Makefile.am | 4 +-- clients/simple-egl.c | 86 2 files changed, 13 insertions(+), 77 deletions(-) diff --git a/Makefile.am b/Makefile.am index 75bd02c..2279d6a 100644 ---

[PATCH weston v3 03/15] ivi-shell: introduction of IVI_INVALID_ID

2018-04-10 Thread Michael Teyfel
Introduction of IVI_INVALID_ID for xdg-shell applications. Signed-off-by: Michael Teyfel --- ivi-shell/ivi-layout-export.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ivi-shell/ivi-layout-export.h b/ivi-shell/ivi-layout-export.h index 016d8b5..02bfb2c 100644

[PATCH weston v3 01/15] ivi-shell: rework goto labels to avoid memory leaks

2018-04-10 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- ivi-shell/ivi-shell.c | 18 +++--- 1 file changed, 11 insertions(+), 7 deletions(-) diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c index 51e13a0..6497376 100644 --- a/ivi-shell/ivi-shell.c +++

[PATCH weston v3 04/15] layout-interface: added interface to change surface id

2018-04-10 Thread Michael Teyfel
This interface enables an id-agent to change the surface ids of an ivi-layout-surface once. Signed-off-by: Michael Teyfel --- ivi-shell/ivi-layout-export.h | 6 ++ ivi-shell/ivi-layout.c| 39 +++ 2 files changed, 45

[PATCH weston v3 00/15] Desktop Protocol Support for IVI-Shell (Weston 4.0)

2018-04-10 Thread Michael Teyfel
Hi all, Since some time I’m working on ivi-shell to add xdg-protocol support by means of libweston-desktop. Due to my changes both xdg-protocol applications and ivi-shell / ivi-application-protocol applications are supported within ivi-shell now. The known functionality is preserved and just

[PATCH weston v3 02/15] ivi-shell: removed assert

2018-04-10 Thread Michael Teyfel
Removed assert, that checks if ivi-surface is not available, since this can now happen with xdg-shell support. Signed-off-by: Michael Teyfel --- ivi-shell/ivi-shell.c | 1 - 1 file changed, 1 deletion(-) diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c index

[PATCH weston v3 12/15] hmi-controller: register for desktop_surface_configured

2018-04-10 Thread Michael Teyfel
Since ivi-shell now supports xdg-protocol, the surface_created listener can be removed and the desktop_surface_configured listener is needed. ivi-layout: libweston-desktop api is used to send configure event to application. Signed-off-by: Michael Teyfel ---

[PATCH weston v3 10/15] ivi-shell: remove surface_destroy_listener

2018-04-10 Thread Michael Teyfel
Since the surface_destroy_listener is only registered for ivi-shell applications, it should only be removed for ivi-shell applications. Signed-off-by: Michael Teyfel --- ivi-shell/ivi-shell.c | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git

[PATCH weston v3 09/15] ivi-shell: added libweston-desktop-api implementation

2018-04-10 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- ivi-shell/ivi-shell.c | 156 ++ 1 file changed, 156 insertions(+) diff --git a/ivi-shell/ivi-shell.c b/ivi-shell/ivi-shell.c index 173bc91..5c011d9 100644 --- a/ivi-shell/ivi-shell.c +++

[PATCH weston v3 08/15] ivi-layout: use libweston-desktop api for views

2018-04-10 Thread Michael Teyfel
Signed-off-by: Michael Teyfel --- ivi-shell/ivi-layout.c | 13 +++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/ivi-shell/ivi-layout.c b/ivi-shell/ivi-layout.c index d8fb42e..b06bf30 100644 --- a/ivi-shell/ivi-layout.c +++

Re: [PATCH weston v2] ivi-shell: Damage view below after unmapping

2018-04-10 Thread zou lan
Hi Emre I have a question about this change: Is the commit_screen_list function not enough to handle the layer/surface's visibility? Why need to handle visibility in commit_changes? They are called ivi_layout_commit_changes together. Best Regards Nancy 2017-02-07 21:04 GMT+08:00 Pekka