Re: [PULL] branch for 1.19.7

2018-02-13 Thread Timo Aaltonen
Adam Jackson kirjoitti 13.02.2018 klo 22:55: > On Tue, 2018-02-13 at 17:44 +0200, Timo Aaltonen wrote: >> Hi >> >> So here's a branch with the OutputClass commits backported, plus one animcur >> commit which was missing from the others that already got cherry-picked? >> (and I got asked to

[PATCH 1/3] meson: Make DPMS extension optional

2018-02-13 Thread Laurent Carlier
Just mimic autoconf file, DPMS is disabled with Xquartz Signed-off-by: Laurent Carlier --- include/meson.build | 2 +- meson.build | 6 +- meson_options.txt | 2 ++ 3 files changed, 8 insertions(+), 2 deletions(-) diff --git a/include/meson.build

[PATCH 2/3] meson: Make more extensions optional

2018-02-13 Thread Laurent Carlier
Just mimic autoconf file for xf86bigfont, screensaver, xres, xace and xinerama extensions Signed-off-by: Laurent Carlier --- include/meson.build | 2 +- meson.build | 11 ++- meson_options.txt | 10 ++ 3 files changed, 17 insertions(+), 6

[PATCH 3/3] meson: Make Security extension optional

2018-02-13 Thread Laurent Carlier
Just mimic autoconf file, Security extension needs X-ACE extension Signed-off-by: Laurent Carlier --- meson.build | 8 +++- meson_options.txt | 2 ++ 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 59a0c59..52aaac5

Re: [PULL] branch for 1.19.7

2018-02-13 Thread Adam Jackson
On Tue, 2018-02-13 at 17:44 +0200, Timo Aaltonen wrote: > Hi > > So here's a branch with the OutputClass commits backported, plus one animcur > commit which was missing from the others that already got cherry-picked? > (and I got asked to backport for Ubuntu..) Yeah, I'd skipped that one

Re: All-black X windows with etnaviv/xwayland/glamor

2018-02-13 Thread Lukas F. Hartmann
Michel Dänzer writes: > On 2018-02-13 04:23 PM, Lukas F. Hartmann wrote: >> >> - Xwayland/glamor registers its gbm buffer with wl_drm_create_prime_buffer >> (passing a fd) which ends up in drm_create_prime_buffer on the server side. >> I might have made mistakes, but when

[RFC xserver 2/2] xfree86: weston-launch protocol support

2018-02-13 Thread Alex Suykov
Like systemd-logind, weston-launch allows a non-privileged client to access dri and input devices. Unlike logind, it does not need dbus for communication with the client. Instead it uses a simple socketpair passed as an open fd to the client (Xorg) from the parent process. The way weston-launch

[RFC xserver 1/2] xfree86: move systemd-logind ifdefs to call sites

2018-02-13 Thread Alex Suykov
The original implementation had systemd_logind*() declared either as prototypes or as inline stubs in the header depending on whether SYSTEMD_LOGIND was defined. At the call sites, there were no explicit #ifdefs. This approach does not work well if there is any other option for accessing devices

[RFC xserver 0/2] weston-launch protocol

2018-02-13 Thread Alex Suykov
This set adds a simple non-dbus alternative for systemd-logind device access protocol to the X server. The support was implemented to allow running Xorg under a lightweight logind replacement I'm working on, which happens to use this protocol because it is generic enough. It could also allow

[PULL] branch for 1.19.7

2018-02-13 Thread Timo Aaltonen
Hi So here's a branch with the OutputClass commits backported, plus one animcur commit which was missing from the others that already got cherry-picked? (and I got asked to backport for Ubuntu..) The following changes since commit 56547b196660e246e37132960723819972b99c8c: glx: Only

Re: All-black X windows with etnaviv/xwayland/glamor

2018-02-13 Thread Michel Dänzer
On 2018-02-13 04:23 PM, Lukas F. Hartmann wrote: > > - I can map and dump the gbm_bo that xwayland/glamor renders into, in > xwl_window_post_damage. X applications are rendered correctly into this > buffer (I dumped a screenshot of xclock and Chromium), so glamor/gles2 mostly > works on

All-black X windows with etnaviv/xwayland/glamor

2018-02-13 Thread Lukas F. Hartmann
Hi, I first posted this message to the etnaviv list today, and I hope it's OK to cross-post here. I don't intend to spam, I'm just not 100% sure if the problem is in Xwayland, glamor or in etnaviv. Any input is appreciated. My system is a i.MX6QP board (with 1.2GHz, but identical problem with

[PATCH] glx: Do not call into Composite if it is disabled.

2018-02-13 Thread Michal Srb
Otherwise X server crashes if GLX is enabled and Composite disabled. For example the compIsAlternateVisual function will try to lookup CompScreenPtr using the CompScreenPrivateKey, but that was never initialized if Composite is disabled. Fixes: f84e59a4f4. ("glx: Duplicate relevant fbconfigs for