Re: Migrating x.org wiki to GitLab

2018-11-14 Thread Eric Anholt
Zach  writes:

> Hello X.Org Developers,
>
> I have been working on migrating the x.org/wiki/ to GitLab pages. The
> tracking issue is at
> https://gitlab.freedesktop.org/freedesktop/freedesktop/issues/80 and
> the current development branch is at
> https://gitlab.freedesktop.org/zachr/xorg-wiki/tree/hugo. You can see
> the pages rendered from ToT at
> https://zachr.pages.freedesktop.org/xorg-wiki/.
>
> As part of the migration process, I have converted the markdown flavor
> from ikiwiki to hugo using a custom script. Not everything in the old
> flavor can be replicated practically in the new flavor, so there will
> be junk in the converted pages, unfortunately. As we identify which of
> the approximately 1000 converted pages is actually seen by human eyes,
> we will fix the glitches.
>
> Additionally, I have designed a new theme which is aiming for
> accessibility and clarity. What you see on there isn't final, but is
> hopefully good enough.
>
> When the migration is done, the primary advantage will be much more
> streamlined edits by the community. Thanks to the hugo static site
> generator, editors will be able to render locally in under 1 second to
> verify that their change renders nicely. Getting their change
> published is a simple merge request, and then the site automatically
> gets rebuilt and published by GitLab. If all goes well, the entire
> process can be done in 5 minutes.
>
> Please let me know if you have any objections or questions about the 
> migration.

I'd love to see ikiwiki go away and have people be able to edit the wiki
inside gitlab (as well as work from a local clone).  Does your
conversion let people do things from a web ui, or do they have to do
offline generation to test things?


signature.asc
Description: PGP signature
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

System hangs when using VirtualBox with VMgfx emulation and 3D pass-through

2018-11-14 Thread Michael Thayer
Hello,

Posting this here in the hope of getting the attention of someone who
could help me debug it.  When I try to start a VirtualBox virtual
machine with VMgfx emulation and 3D pass-through enabled on my Ubuntu
18.10 system I quickly get a system hang with OOM killer messages in the
system log.  Killed processes have included the VM process and Xwayland,
but in both cases the memory usage reported in the log did not look
critical.  Reproducible with a pure X session and GNOME Shell/Wayland
(noting that VirtualBox is using the X protocol).  The system is a
Thinkpad T470 with HD Graphics 620.  Some of the stack traces in the log
have i915_gem functions in them.

If anyone has time and knowledge to help me with debugging or to give me
some pointers I would greatly appreciate it of course.  On-list or
off-list, though not sure if everyone reading the list is interested in
following this.

Regards
Michael
-- 
Michael Thayer | VirtualBox engineer
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | D-71384 Weinstadt

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstraße 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Nederland, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher


pEpkey.asc
Description: application/pgp-keys
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel

Re: Patch for glibc 2.25+ in xserver config/udev.c

2018-11-14 Thread Manoj Gupta
Thanks,

updated the patch to modify dix-config.h.in.

[PATCH] Include header  to use major/minor.

glibc 2.25 has dropped sys/sysmacros.h from sys/types.h, so add
it explicitly in config/udev.c.

This is similar to the commit 84e3b96b531363e47f6789aacfcae4aa60135e2e

Signed-off-by: Manoj Gupta 
---
 config/udev.c   | 4 
 include/dix-config.h.in | 3 +++
 2 files changed, 7 insertions(+)

diff --git a/config/udev.c b/config/udev.c
index 8c6c4b666..314acba6c 100644
--- a/config/udev.c
+++ b/config/udev.c
@@ -39,6 +39,10 @@
 #include "globals.h"
 #include "systemd-logind.h"

+#ifdef HAVE_SYS_SYSMACROS_H
+#include 
+#endif
+
 #define UDEV_XKB_PROP_KEY "xkb"

 #define LOG_PROPERTY(path, prop, val)   \
diff --git a/include/dix-config.h.in b/include/dix-config.h.in
index 3bd22b8bb..855b3d50c 100644
--- a/include/dix-config.h.in
+++ b/include/dix-config.h.in
@@ -506,4 +506,7 @@
 /* Have epoll_create1() */
 #undef HAVE_EPOLL_CREATE1

+/* Have  header */
+#undef HAVE_SYS_SYSMACROS_H
+
 #endif /* _DIX_CONFIG_H_ */
-- 
On Tue, Nov 13, 2018 at 8:14 AM Adam Jackson  wrote:
>
> On Mon, 2018-11-12 at 13:48 -0800, Manoj Gupta wrote:
>
> > Is this the right mailing list for this patch? If not, please advise.
>
> This is the right list, although we're generally moving to gitlab for
> patch submission:
>
> https://gitlab.freedesktop.org/xorg/xserver/
>
> > diff --git a/config/udev.c b/config/udev.c
> > index 8c6c4b666..c5edc9932 100644
> > --- a/config/udev.c
> > +++ b/config/udev.c
> > @@ -38,6 +38,11 @@
> >  #include "os.h"
> >  #include "globals.h"
> >  #include "systemd-logind.h"
> > +#include "xorg-config.h"
>
> This is incorrect, though an understandable mistake to make. xorg-
> config.h should ideally only be included from files under hw/xfree86/,
> outside of that the code is potentially built into multiple servers so
> it should use dix-config.h instead.
>
> This file already includes dix-config.h, so instead we should change
> include/dix-config.h.in to also have a #undef HAVE_SYS_SYSMACROS_H so
> that...
>
> > +#ifdef HAVE_SYS_SYSMACROS_H
> > +#include 
> > +#endif
>
> ... the above will see the macrod as defined.
>
> - ajax
>
___
xorg-devel@lists.x.org: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: https://lists.x.org/mailman/listinfo/xorg-devel