Hi all
In preparation for the forthcoming Xwayland 24.1.0 release, I've now
created the xwayland-24.1 branch:
https://gitlab.freedesktop.org/xorg/xserver/-/tree/xwayland-24.1
And there's also a milestone that can be used to tag issues and merge
requests targeting Xwayland 24.1.0:
Hi,
On Wed, Feb 7, 2024 at 11:47 AM Enrico Weigelt, metux IT consult <
i...@metux.net> wrote:
> On 07.02.24 00:59, Peter Hutterer wrote:
> >> Closes: xorg/xserver#1631
> >
> > It supports that too, but afaik the use of Fixes is more common in the
> > xorg repo. In (some?) gnome OTOH repos Closes
On Thu, Feb 1, 2024 at 4:09 PM Enrico Weigelt, metux IT consult <
i...@metux.net> wrote:
> have you checked whether it's already on gitlab.freedesktop.org ?
> In that case just make a PR there ?
>
Indeed, it's there: https://gitlab.freedesktop.org/xorg/lib/libxau
Cheers
Olivier
Hi Anuj,
On Mon, Aug 14, 2023 at 8:27 PM Anuj Phogat wrote:
> - I'm still getting the "_XSERVTransSocketUNIXAccept: accept() failed"
> error
> after launching ~ 256 instances of vkcube. I was able to find the root
> cause of error after patching libxtrans based on Adam's suggestion:
>
Hey Michel,
On Fri, Jul 7, 2023 at 5:16 PM Michel Dänzer wrote:
>
> Sounds great to me. Hopefully we can merge
> https://gitlab.freedesktop.org/xorg/xserver/-/merge_requests/1131 before
> cutting the branch, assuming no major issues with it come up in the meantime.
Yes, I have that one in
Hi all,
On Thu, Jun 15, 2023 at 11:01 AM Olivier Fourdan wrote:
>
> Hi all,
>
> There are changes in Xwayland that I would like to see landed as part
> of another Xwayland 23.2 release this year, as those could not make it
> on time for 23.1, namely libEI support (
Hi all,
There are changes in Xwayland that I would like to see landed as part
of another Xwayland 23.2 release this year, as those could not make it
on time for 23.1, namely libEI support (now that libEI 1.0 was
released), and possibly a few other changes:
- Add EI support
Hi
On Thu, May 18, 2023 at 10:45 AM Anuj Phogat wrote:
>
> On Sat, May 6, 2023 at 9:04 AM Alan Coopersmith
> wrote:
> >
> > On 5/5/23 16:07, Anuj Phogat wrote:
> > > Thanks for the quick response Adam. I've seen this behavior across
> > > multiple
> > > graphics applications
> > > and graphics
X.Org Security Advisory: March 29, 2023
X.Org Server Overlay Window Use-After-Free
==
This issue can lead to local privileges elevation on systems where the X
server is running privileged and remote code execution for ssh X forwarding
sessions.
Hi all,
On Tue, Feb 14, 2023 at 10:45 AM Olivier Fourdan wrote:
>
> I'm preparing the release of Xwayland 23.1 and for that purpose filed
> an issue in gitlab:
>
> https://gitlab.freedesktop.org/xorg/xserver/-/issues/1426
>
> I have also prepared the branch
Hi all,
I'm preparing the release of Xwayland 23.1 and for that purpose filed
an issue in gitlab:
https://gitlab.freedesktop.org/xorg/xserver/-/issues/1426
I have also prepared the branch and posted a draft MR (not to be merged!) here:
Hi Alan
On Wed, 3 Aug 2022 at 00:19, Alan Coopersmith
wrote:
> lib/libxcvt- I'm not quite sure how to add it here given
> the unusual CI template setup for this repo
> […]
>
It is just using ci-fairy, it's not that much different, just probably
Hi all,
It's been a month and half since Xwayland 22.1.0 was released.
Since then, we landed a few but interesting fixes, so I plan to
release Xwayland 22.1.1 tomorrow, unless someone disagrees.
Cheers
Olivier
Hi all,
It's been a year since we released Xwayland standalone and the
xwayland-21.1 branch.
Some new (and nice!) features found their way in the master branch of
the xserver since then and the time has come to consider a new
xwayland-22.1 branch and release, similar to what Michel did a year or
Hi Walter,
On Fri, Apr 16, 2021 at 12:32 PM Walter Harms wrote:
> i think it is a good idea.
> Can you give a hint how big that lib is ?
>
Right now, it's extremely tiny, the lib is mostly one function taken from
the xserver.
https://gitlab.freedesktop.org/ofourdan/libxcvt
Even when the idea
Hi all,
Currently. the Xorg Xserver has its own implementation of the VESA CVT
standard timing modelines generator in `hw/xfree86/modes/xf86cvt.c`.
That code is placed in its own source file alone because it is also being
used by the `cvt` utility.
Because it's part of the Xorg DDX, Xwayland,
Hi,
It actually renders the screen in two passes.
First pass from top to bottom, rendering only the opaque regions, while
adding up each opaque region to a global clipping region.
Second pass, from bottom to top, rendering only the translucent areas,
clipping out the opaque regions that it
Hi Michael,
On Thu, 2 Apr 2020 at 14:35, Michael Stapelberg <
michael+freedesk...@stapelberg.ch> wrote:
> Friendly ping? :)
>
Best is to submit your patches as a merge request in gitlab, see:
https://gitlab.freedesktop.org/xorg/xserver
HTH
Cheers
Olivier
Hi
On Mon, Apr 29, 2019 at 9:41 AM Ikshwaku Chauhan
wrote:
> Hello All,
>
>
> We are using Xorg version 1.14 and layermanger 1.1 with chromium browser
> on NXP i.MX6 platform.
> In one of our usecase chromium browser is crashing and we have found that,
> this happens after XMapWindow api is
Hi,
On Thu, Jan 17, 2019 at 9:23 AM Pekka Paalanen wrote:
>
> On Wed, 16 Jan 2019 14:05:01 -0500
> Adam Jackson wrote:
>
> > On Wed, 2019-01-16 at 11:52 +0200, Pekka Paalanen wrote:
> >
> > > What I think we would need is a way to launch Xwayland, but ensure it
> > > does not process the real
On Wed, Jan 16, 2019 at 9:56 AM Olivier Fourdan wrote:
> On Wed, Jan 16, 2019 at 9:55 AM Olivier Fourdan wrote:
> >
> > Hi
> >
> > On Wed, Jan 16, 2019 at 9:35 AM Pekka Paalanen wrote:
> > >
> > > On Tue, 15 Jan 2019 23:21:05 +0100
> > >
On Wed, Jan 16, 2019 at 9:55 AM Olivier Fourdan wrote:
>
> Hi
>
> On Wed, Jan 16, 2019 at 9:35 AM Pekka Paalanen wrote:
> >
> > On Tue, 15 Jan 2019 23:21:05 +0100
> > Carlos Garnacho wrote:
> >
> > > If Xwayland gets to realize a window mean
Hi
On Wed, Jan 16, 2019 at 9:35 AM Pekka Paalanen wrote:
>
> On Tue, 15 Jan 2019 23:21:05 +0100
> Carlos Garnacho wrote:
>
> > If Xwayland gets to realize a window meant for composition before the
> > compositor redirected windows (i.e. redirect mode is not RedirectDrawManual
> > yet), the
On Mon, 3 Dec 2018 at 11:13, Alan Hourihane wrote:
> No, didn't help I'm afraid.
I'm not surprised, the patch probably helps but its contribution is
negligible in regard to the huge delays being reported...
I'd say, considering the delay, strace as indicated in my previous
email would probably
On Fri, Nov 30, 2018 at 2:38 PM Alan Hourihane wrote:
> [...]
> Many thanks for following and providing a patch.
>
> Might take me till Monday, but running
>
> xmodmap -pke > /tmp/keydump
> xmodmap /tmp/keydump
>
> Where the last command invokes multi-second delays should be easy to test.
On Fri, Nov 30, 2018 at 1:06 PM Olivier Fourdan wrote:
>
> On Fri, Nov 30, 2018 at 12:27 PM Alan Hourihane wrote:
> > Running perf top while it's happening shows this
> >
> > 26.77% Xorg [.] ResourceClientBits
> > 15.09% Xorg [.] G
That saves running the same loop over and over.
Signed-off-by: Olivier Fourdan
---
dix/resource.c | 7 ++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/dix/resource.c b/dix/resource.c
index b6ef99f10..e39df7773 100644
--- a/dix/resource.c
+++ b/dix/resource.c
@@ -620,7
On Fri, Nov 30, 2018 at 12:27 PM Alan Hourihane wrote:
> Running perf top while it's happening shows this
>
> 26.77% Xorg [.] ResourceClientBits
> 15.09% Xorg [.] GrabMatchesSecond
> 12.62% Xorg [.] DetailSupersedesSecond.isra.1
> 12.55% Xorg
Hi,
On Mon, Oct 8, 2018 at 4:46 PM Olivier Fourdan wrote:
> I reckon https://bugs.freedesktop.org/show_bug.cgi?id=108249 ("[xwayland]
> Crash in Xpresent code on resume from suspend") is caused by the present
> code using a RRCrtcPtr previously freed by Xwayland.
>
> R
for all windows for the
given CRTC and abort those who match, so that we don't leave events
behind referring to a `RRCtrcPtr` pointing to freed memory.
Signed-off-by: Olivier Fourdan
Bugzilla: https://bugs.freedesktop.org/108249
---
present/present_screen.c | 32
1
ll pretty much
alien territory for me...
Cheers,
Olivier
Olivier Fourdan (2):
present: implement `present_event_abandon()`
xwayland: abandon present events when removing CRTC
hw/xwayland/xwayland-output.c | 3 ++-
present/present_screen.c | 32
2 files ch
we're about to destroy in `xwl_output_remove()`.
Signed-off-by: Olivier Fourdan
Bugzilla: https://bugs.freedesktop.org/108249
---
hw/xwayland/xwayland-output.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/hw/xwayland/xwayland-output.c b/hw/xwayland/xwayland-output.c
index
`xwl_present_timer_callback()` is initially marked a private and later
implemented as public.
Let's keep that private, shall we.
Signed-off-by: Olivier Fourdan
---
hw/xwayland/xwayland-present.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/hw/xwayland/xwayland-present.c
idered: if there is already a different child
> window doing flips on the new parent window the
> reparented child window must be instructed to stop its flips.
Whereas this would have been this patch 1/2 "present: cancel flip on
reparenting"
So do you mean we don't need this part and sho
cancel flip on the reparented window.
Signed-off-by: Olivier Fourdan
---
present/present_priv.h | 3 +++
present/present_scmd.c | 1 +
present/present_screen.c | 16
present/present_wnmd.c | 17 +
4 files changed, 37 insertions(+)
diff --git a/present
window.
Install new ReparentWindow hooks in Xwayland to handle those cases.
Signed-off-by: Olivier Fourdan
---
hw/xwayland/xwayland-present.c | 16
hw/xwayland/xwayland.c | 23 +++
hw/xwayland/xwayland.h | 2 ++
3 files changed, 41 insertions
ementing your suggestion,
but I am not familiar with Present so this is a bit of a shot in the dark
for me, also because that issue is quite difficult to reproduce.
Those patches have been barely tested, expect dragons!
Anyway, please let me know if that's what you had in mind...
Cheers,
Olivier
Olivie
So we do not lose subpixel precision in Xwayland.
Suggested-by: Peter Hutterer
Signed-off-by: Olivier Fourdan
Tested-by: Jean-Loup Tastet
Closes: https://gitlab.freedesktop.org/libinput/libinput/issues/138
---
MR: https://gitlab.freedesktop.org/xorg/xserver/merge_requests/21
hw/xwayland
`FALSE` because
`window->redirectDraw` was `RedirectDrawManual` and not the expected
`RedirectDrawNone`.
Signed-off-by: Olivier Fourdan
---
See: https://lists.x.org/archives/xorg-devel/2018-September/057566.html
hw/xwayland/xwayland-present.c | 3 +++
1 file changed, 3 insertions(+)
diff -
() retHi,
On Fri, Sep 7, 2018 at 1:16 PM Olivier Fourdan wrote:
>
> > > On 04/09/2018 16:27, Roman Gilg wrote:
> > >
> > > Ok, I just got a failing assert in xwl_present_flips_stop with the patch
> > > when opening a context menu in Steam.
> > >
mon/fourcc.h | 20 +
> 7 files changed, 193 insertions(+), 28 deletions(-)
>
> --
> 2.7.4
>
Nice! Tested with Xwayland using gstreamer, so:
Tested-by: Olivier Fourdan
Cheers,
Olivier
___
xorg-devel@lists.x.org: X.Org development
A
Hi,
On Wed, Sep 5, 2018 at 1:13 PM Olivier Fourdan wrote:
> Hi,
> On Tue, Sep 4, 2018 at 6:28 PM Lionel Landwerlin
> wrote:
> >
> > Oh well...
> > I'm sure you'll be able to fix it faster than me :)
> >
> > -
> > Lionel
> >
> >
> [...
AttribsARB()` as well.
Fixes: 99f0365b "Add a command line argument for disabling indirect GLX"
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=107508
Signed-off-by: Olivier Fourdan
---
glx/createcontext.c | 12
1 file changed, 12 insertions(+)
diff --git a/glx/c
https://patchwork.freedesktop.org/patch/247271/
** plus ** this patch below (just copied for testing purpose), does it
fix th your crash?
From 676597fcd6ee907f4d3f165dd0b5de746f7c8131 Mon Sep 17 00:00:00 2001
From: Olivier Fourdan
Date: Wed, 5 Sep 2018 13:08:03 +0200
Subject: [PATCH xserver] x
Hi,
On Wed, Sep 5, 2018 at 12:05 PM Lionel Landwerlin
wrote:
>
> On 05/09/2018 09:49, Olivier Fourdan wrote:
> > [...]
> > This is because `xwl_present_cleanup()` frees the memory but does not
> > remove it from the window's privates, and `xwl_present_abort_vblan
`xwl_present_window` from window's privates on cleanup so that no
other function can find and reuse that data once it's freed.
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1616269
Signed-off-by: Olivier Fourdan
---
v2: Remove leftovers from broken initial patch...
v3: Rephrase non-sensical explanation
`xwl_present_cleanup()` after `DestroyWindow()` so that
`xwl_present_abort_vblank()` can still access valid memory before it's
freed.
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1616269
Signed-off-by: Olivier Fourdan
---
v2: Remove leftovers from broken initial patch...
hw/xwayland/xwayland-present.c
`xwl_present_cleanup()` after `DestroyWindow()` so that
`xwl_present_abort_vblank()` can still access valid memory before it's
freed.
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1616269
Signed-off-by: Olivier Fourdan
---
hw/xwayland/xwayland-present.c | 5 +
hw/xwayland/xwayland.c | 10
On Wed, Sep 5, 2018 at 9:48 AM Olivier Fourdan wrote:
>
> Right now, `xwl_destroy_window()` invokes `xwl_present_cleanup()` before
> the common `DestroyWindow()`.
>
> But `DestroyWindow()` calls in `present_destroy_window()` which will
> then end up in `xwl_present_abort_vblank
(main.c:276)
by 0x75F611A: (below main) (libc-start.c:308)
Move `xwl_present_cleanup()` after `DestroyWindow()` so that
`xwl_present_abort_vblank()` can still access valid memory before it's
freed.
Bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1616269
Signed-off-by: Olivier Fourdan
Hi Keith,
On Mon, Aug 27, 2018 at 8:24 AM Keith Packard wrote:
>
>
> I'm doing a bit of work to help support applications that want to run at
> a small fixed size. The 'usual' way to make them visible on our modern
> desktops is to flip video modes, but that means everything runs at low
>
://bugs.freedesktop.org/show_bug.cgi?id=107287
Fixes: c8c276c956 ("glamor: Implement PixmapFromBuffers and BuffersFromPixmap")
Signed-off-by: Olivier Fourdan
Reviewed-by: Michel Dänzer
---
v2: Fix "Fixes" vs. "Bugzilla"
Add Michel's r-b
hw/xwayland/xwayland-gla
://bugs.freedesktop.org/show_bug.cgi?id=107287
Signed-off-by: Olivier Fourdan
---
hw/xwayland/xwayland-glamor.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/hw/xwayland/xwayland-glamor.c b/hw/xwayland/xwayland-glamor.c
index f17914344..7ea6def61 100644
--- a/hw/xwayland/xwayland-glamor.c
+++ b/hw
Hi,
On Mon, Jul 16, 2018 at 10:47 AM Simon Ser wrote:
>
> On July 16, 2018 8:50 AM, Olivier Fourdan wrote:
> > Hi,
> >
> > Thanks for your follow up on that!
> >
> > On Fri, Jul 13, 2018 at 9:51 PM Simon Ser wrote:
> > >
> > > Fr
Hi,
Thanks for your follow up on that!
On Fri, Jul 13, 2018 at 9:51 PM Simon Ser wrote:
>
> From: emersion
>
> The logical size is the size of the output in the global compositor
> space. The mode width/height should be scaled as in the logical
> size, but shouldn't be transformed. Thus we
Hi,
On Wed, Jul 11, 2018 at 9:22 AM Simon Ser wrote:
>
> From: emersion
>
> The logical size is the size of the output in the global compositor
> space. The mode width/height should be scaled as in the logical
> size, but shouldn't be transformed. Thus we need to rotate back
> the logical size
Hi,
On Tue, 10 Jul 2018 at 11:59, Simon Ser wrote:
> Yes, that's intentional. When the physical size isn't available (e.g. when
> using
> projectors or virtual outputs) we just send zero. Do you think this is
> harmful?
According to the xrandr protocol definition:
Hi,
On Mon, 9 Jul 2018 at 09:17, Simon Ser wrote:
>
> The logical size is the size of the output in the global compositor
> space. The mode width/height shouldn't be transformed and scaled.
>
> This fixes issues with pointer input on transformed outputs.
>
> Signed-Off-By: Simon Ser
> ---
>
On Fri, Jun 15, 2018 at 8:57 AM, Olivier Fourdan wrote:
> drmmode_shadow_allocate() still uses drmModeAddFB() which may fail if
> the format is not as expected, preventing from using a rotated output.
>
> Change it to use the new function drmmode_bo_import() which takes care
Hi,
On Fri, Jun 15, 2018 at 9:46 AM, Olivier Fourdan wrote:
> Hi Emil,
>
> On Thu, Jun 14, 2018 at 7:38 PM, Emil Velikov
> wrote:
>> What's the blocker of pushing these - short on commit access, other?
>> If the former, that should be addressed. You have done some ser
Hi Emil,
On Thu, Jun 14, 2018 at 7:38 PM, Emil Velikov wrote:
> What's the blocker of pushing these - short on commit access, other?
> If the former, that should be addressed. You have done some serious
> work on Xwayland.
I don't think I have commit access myself, never tried actually, never
/show_bug.cgi?id=106715
Signed-off-by: Olivier Fourdan
---
hw/xfree86/drivers/modesetting/drmmode_display.c | 7 ++-
1 file changed, 2 insertions(+), 5 deletions(-)
diff --git a/hw/xfree86/drivers/modesetting/drmmode_display.c
b/hw/xfree86/drivers/modesetting/drmmode_display.c
index 859a21a9d
On Mon, 11 Jun 2018 at 11:40, Peter Hutterer wrote:
> On Mon, Jun 11, 2018 at 11:21:25AM +0200, Olivier Fourdan wrote:
[...]
> > > -pad->xdevice = add_device(pad->seat, "xwayland-pad",
> > > +pad->xdevice = add_device(pad->seat, "xwayland
ablet” and the device type, I'd rather have that
consistent.
>xwl_tablet_pad_proc);
> pad->xdevice->public.devicePrivate = pad;
> ActivateDevice(pad->xdevice, TRUE);
> --
> 2.14.4
>
> ___
> wayland
to review/test.
Thanks!
Olivier
Olivier Fourdan (2):
xwayland: simplify xwl_glamor_pixmap_get_wl_buffer()
xwayland: mandatory EGL backend API
hw/xwayland/xwayland-glamor-eglstream.c | 2 --
hw/xwayland/xwayland-glamor-gbm.c | 4 ++--
hw/xwayland/xwayland-glamor.c | 14
The API init_wl_registry() and has_wl_interfaces() are marked as being
optional, but both GBM And EGLStream backends implement them so there is
point in keeping those optional.
Suggested-by: Emil Velikov
Signed-off-by: Olivier Fourdan
---
hw/xwayland/xwayland-glamor.c | 8 +---
hw/xwayland
the xwl_glamor_pixmap_get_wl_buffer() and EGL backends API by
removing the pixmap size, and use the drawable size instead.
Signed-off-by: Olivier Fourdan
---
hw/xwayland/xwayland-glamor-eglstream.c | 2 --
hw/xwayland/xwayland-glamor-gbm.c | 4 ++--
hw/xwayland/xwayland-glamor.c | 6 +-
hw/xwayland
continuous flickering.
Use the actual pixmap's drawable size instead of the present box to
create the buffer so that it's sized appropriately.
Bugzilla: https://bugs.freedesktop.org/106841
Signed-off-by: Olivier Fourdan
Reviewed-by: Michel Dänzer
---
v2: Remove present_box, unused (thanks Michel
continuous flickering.
Use the actual pixmap's drawable size instead of the present box to
create the buffer so that it's sized appropriately.
Bugzilla: https://bugs.freedesktop.org/106841
Signed-off-by: Olivier Fourdan
---
hw/xwayland/xwayland-present.c | 4 ++--
1 file changed, 2 insertions(+), 2
continuous flickering.
Check that the pixmap size and present box size match in
xwl_present_flip() and return FALSE otherwise, so that we skip the
pixmap with the wrong size.
Bugzilla: https://bugs.freedesktop.org/106841
Signed-off-by: Olivier Fourdan
---
hw/xwayland/xwayland-present.c | 5 +
1
Hi Vivek,
On Fri, 8 Jun 2018 at 09:23, Vivek Das Mohapatra wrote:
>
> In the #else path of the #ifdef GBM_BO_WITH_MODIFIERS in
> xwl_glamor_pixmap_get_wl_buffer there's a call to
> gbm_go_get_stride: This should be gbm_bo_get_stride.
>
> Typo introduced in
blank->pixmap->refcnt++;
> dixDestroyPixmap(old_pixmap, old_pixmap->drawable.id);
> --
> 2.17.1
>
> ___
> xorg-devel@lists.x.org: X.Org development
> Archives: http://lists.x.org/archives/xorg-devel
> Info: https://lists.x
Now that we have separate backends for EGLStream and GBM, we can
explicitly check for the EGLStream backend to disable present support
in that case.
Signed-off-by: Olivier Fourdan
---
hw/xwayland/xwayland-present.c | 5 ++---
1 file changed, 2 insertions(+), 3 deletions(-)
diff --git a/hw
xwl_glamor_eglstream_init_egl() uses "EGL_IMG_context_priority"
extension, make sure it's actually available before using it.
Suggested-by: Emil Velikov
Signed-off-by: Olivier Fourdan
---
hw/xwayland/xwayland-glamor-eglstream.c | 6 ++
1 file changed, 6 insertions(+)
diff
Introduces a new egl_backend function to let the EGL backend check for
the presence of the required Wayland interfaces.
Signed-off-by: Olivier Fourdan
---
hw/xwayland/xwayland-glamor-eglstream.c | 28 ++---
hw/xwayland/xwayland-glamor-gbm.c | 14 +
hw
extensions available are all
known to Xwayland.
Signed-off-by: Olivier Fourdan
---
hw/xwayland/xwayland-glamor-eglstream.c | 37 +-
hw/xwayland/xwayland-glamor-gbm.c | 43 +++
hw/xwayland/xwayland-glamor.c | 94 -
hw/xwayland/xwayland-present.c
Surely, we should fail to init GBM backend if "GL_OES_EGL_image" is
missing.
This seems to have been lost with commit 1545e2dba ("xwayland: Decouple
GBM from glamor").
Suggested-by: Emil Velikov
Signed-off-by: Olivier Fourdan
---
hw/xwayland/xwayland-glamor-gbm.c | 4 +++
Move EGL backends initialization to its own function in
xwayland-glamor.c
Signed-off-by: Olivier Fourdan
---
hw/xwayland/xwayland-glamor.c | 17 +
hw/xwayland/xwayland.c| 16 ++--
hw/xwayland/xwayland.h| 2 ++
3 files changed, 21 insertions(+), 14
Both xwl_glamor_init_wl_registry() and the Wayland global registry
handler use the interface id/name in that order, using name/id in the
egl_backend vfunc makes things confusing and error prone.
Signed-off-by: Olivier Fourdan
---
hw/xwayland/xwayland-glamor-eglstream.c | 4 ++--
hw/xwayland
-by: Olivier Fourdan
---
hw/xwayland/xwayland.h | 99 ++
1 file changed, 51 insertions(+), 48 deletions(-)
diff --git a/hw/xwayland/xwayland.h b/hw/xwayland/xwayland.h
index a32fcf6a5..6bbe72e46 100644
--- a/hw/xwayland/xwayland.h
+++ b/hw/xwayland/xwayland.h
ifdef XWL_HAS_GLAMOR" in xwayland.h
Signed-off-by: Olivier Fourdan
---
hw/xwayland/xwayland-glamor-eglstream.c | 79
hw/xwayland/xwayland-glamor.c | 80 -
hw/xwayland/xwayland.h | 24
3 files changed, 89 inserti
If using a render node, we can skip DRM authentication.
Suggested-by: Emil Velikov
Signed-off-by: Olivier Fourdan
---
hw/xwayland/xwayland-glamor-gbm.c | 6 ++
1 file changed, 6 insertions(+)
diff --git a/hw/xwayland/xwayland-glamor-gbm.c
b/hw/xwayland/xwayland-glamor-gbm.c
index
Make xwl_output_get_xdg_output() private, it doesn't need to be
available elsewhere.
Signed-off-by: Olivier Fourdan
Reviewed-by: Lyude Paul
Reviewed-by: Emil Velikov
---
hw/xwayland/xwayland-output.c | 4 +++-
hw/xwayland/xwayland.h| 1 -
2 files changed, 3 insertions(+), 2 deletions
they want to enable EGLStream on GPU which support
it.
Signed-off-by: Olivier Fourdan
Reviewed-by: Lyude Paul
Reviewed-by: Emil Velikov
---
hw/xwayland/xwayland.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/hw/xwayland/xwayland.c b/hw/xwayland/xwayland.c
index
Hi,
This is a follow-up on https://patchwork.freedesktop.org/series/44095/
after Lyude and Emil reviews.
Cheers,
Olivier
Olivier Fourdan (10):
xwayland: move glamor specific routines
xwayland: swap "name" and "id" in init_wl_registry()
xwayland: GBM should fail w/o
(EE) 25: libc.so.6 (__libc_start_main)
(EE) 26: Xwayland (_start)
(EE)
(EE)
Fatal server error:
(EE) Caught signal 6 (Aborted). Server aborting
(EE)
Aborted (core dumped)
Signed-off-by: Olivier Fourdan
Reviewed-by: Lyude Paul
Reviewed-by: Emil Velikov
---
hw/xwayland
rt() later in eglQueryDevicesEXT().
Signed-off-by: Olivier Fourdan
Reviewed-by: Lyude Paul
Reviewed-by: Emil Velikov
---
hw/xwayland/xwayland-glamor.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/hw/xwayland/xwayland-glamor.c b/hw/xwayland/xwayland-glamor.c
index cdca072ed..f543f321d 10064
ayland. Obviously, if Xwayland was built without
EGLStream support, this has no effect.
Signed-off-by: Olivier Fourdan
Reviewed-by: Lyude Paul
Reviewed-by: Emil Velikov
---
hw/xwayland/xwayland.c | 10 --
1 file changed, 4 insertions(+), 6 deletions(-)
diff --git a/hw/xwayland/xwayland.c
e the most accurate description :)
I rephrased the commit messages in 1/3 and in 5/5 as per your wording.
I also fixed a few typos in the commit messages and added the R-b from
both Lyude and yourself.
Cheers,
Olivier
Olivier Fourdan (5):
xwayland: allow "-eglstream" option
xwayland:
Hi Emil,
Many thanks for your detailed review!
On Tue, Jun 5, 2018 at 12:37 PM, Emil Velikov wrote:
> Hi Olivier,
>
> There's a handful of mostly trivial suggestions below. The idea itself seems
> reasonable IMHO. One gripe is that we're 'leaking' twice as much as before.
>
> Namely: even if
Hi Emil,
On 5 June 2018 at 12:41, Emil Velikov wrote:
> [...]
>
>> > +#else
> >> > +ErrorF("xwayland glamor: eglstream backend support not
> >> > enabled\n");
> >> Something is really weird here:
> >>
> >> On one hand '-eglstream' is recognised and used (by potential user) on
> >>
Hi
On 4 June 2018 at 16:24, Emil Velikov wrote:
> On 24 May 2018 at 15:10, Olivier Fourdan wrote:
> > The command line option "-eglstream" used to enable EGLi stream support
> > for NVidia GPU was made available only when Xwayland was built with EGL
> > stream s
-by: Olivier Fourdan
---
hw/xwayland/xwayland.h | 99 ++
1 file changed, 51 insertions(+), 48 deletions(-)
diff --git a/hw/xwayland/xwayland.h b/hw/xwayland/xwayland.h
index 0d4afdf8a..0d6a4c246 100644
--- a/hw/xwayland/xwayland.h
+++ b/hw/xwayland/xwayland.h
Move EGL backends initialization and choice to its own function in
xwayland-glamor.c
Signed-off-by: Olivier Fourdan
---
hw/xwayland/xwayland-glamor.c | 17 +
hw/xwayland/xwayland.c| 16 ++--
hw/xwayland/xwayland.h| 2 ++
3 files changed, 21
work.freedesktop.org/series/43783/
https://patchwork.freedesktop.org/series/43931/
Which will be marked as such in patchwork.
Cheers,
Olivier
Olivier Fourdan (5):
xwayland: Move glamor specific routines
xwayland: move egl_backend to its own struct
xwayland: Add Wayland interfaces ch
ifdef XWL_HAS_GLAMOR" in xwayland.h
Signed-off-by: Olivier Fourdan
---
hw/xwayland/xwayland-glamor-eglstream.c | 79
hw/xwayland/xwayland-glamor.c | 80 -
hw/xwayland/xwayland.h | 24
3 files changed, 89 inserti
extensions available are all
known to Xwayland.
Signed-off-by: Olivier Fourdan
---
hw/xwayland/xwayland-glamor-eglstream.c | 27 ++
hw/xwayland/xwayland-glamor-gbm.c | 38 ++
hw/xwayland/xwayland-glamor.c | 69 ++---
hw/xwayland/xwayland-present.c
Introduces a new egl_backend function to let the EGL backend check for
the presence of the required Wayland interfaces.
Signed-off-by: Olivier Fourdan
---
hw/xwayland/xwayland-glamor-eglstream.c | 20
hw/xwayland/xwayland-glamor-gbm.c | 14 ++
hw/xwayland
Hi Lyude,
On Wed, May 30, 2018 at 9:31 PM, Lyude Paul wrote:
> NAK. I'm starting to see the problems with this approach I originally hit now.
>
> So: there's some unexpected catches when it comes to EGL client extensions. On
> a system using glvnd with the nvidia driver, the EGL client extension
Use the newly added “has_wl_interface” hook to check availability of
“wl_eglstream_display” and “wl_eglstream_controller” interfaces prior to
enable glamor with EGL Streams backend.
Signed-off-by: Olivier Fourdan
---
hw/xwayland/xwayland-glamor-eglstream.c | 21 +
1 file
1 - 100 of 590 matches
Mail list logo