Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 18 Apr 2015 10:46:07 +0200
From:      =?UTF-8?B?SmVhbi1Tw6liYXN0aWVuIFDDqWRyb24=?= <jean-sebastien.pedron@dumbbell.fr>
To:        freebsd-x11@freebsd.org
Cc:        Koop Mast <kwm@freebsd.org>
Subject:   Re: Wayland shm?
Message-ID:  <553219CF.7010901@dumbbell.fr>
In-Reply-To: <CAASDrVmNSSFM95Mtj6x5H-8qB0B=cLQ7woBV=VZxZkOkE0bk=w@mail.gmail.com>
References:  <CAASDrVmNSSFM95Mtj6x5H-8qB0B=cLQ7woBV=VZxZkOkE0bk=w@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--5GlAkRwaa2csBwp9tniQewuExgpbnN4QF
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

On 30.03.2015 23:42, Lundberg, Johannes wrote:
> Hi

Hi!

> I've seen on the graphics page that wayland port is done.
>=20
> I know that there are parts missing regarding hardware support for newe=
r
> cards but would it be possible to today run wayland shm (software
> rendering) if you have a compositor or could wayland be used today to
> develop a simple compositor? I'm ok without libinput or weston for now
> since I have my own input system.

Koop (CC'd) knows better about the status of the Wayland-related ports,
but I think you could do what you want.

What blocks us today with Wayland compositor is:
    o  libinput which we need to port
    o  improvements to the Mesa ports

The first item is not started yet, though there is much interest in it,
especially for GNOME. There is a completed GSoC about adding evdev to
FreeBSD which can help here. Otherwise, it should be doable to add
support for our input stack (though after discussing with upstream
developers, there is little chance it will be integrated upstream).

The second item is ready in the "mesa-10.5" branch on GitHub [1]. We
can't commit it right now because LLVM 3.5 is not available on FreeBSD
8.x. But in two months, 8.x is EOL'd and we will commit it.

> Would it work with older graphic cards which have hardware rendering
> working?

I think so.

> Which wayland rendering backends have been ported? egl? shm? Xwayland?

The egl "drm" platform is working in the mesa-10.5 branch: it was
successfully tested with the Glamor 2D acceleration backend in xserver 1.=
17.

libxshmfence is available as a port, though I don't know how stable it is=
=2E

Xwayland is part of xserver 1.16 or 1.17. Anyway, xserver 1.17 is ready
in our "xserver-next" branch on GitHub [1], but it requires Mesa 9.2+
which is not yet available on FreeBSD 9.x (everything is ready for this,
we just need time to move forward).

[1] https://github.com/freebsd/freebsd-ports-graphics

--=20
Jean-S=C3=A9bastien P=C3=A9dron


--5GlAkRwaa2csBwp9tniQewuExgpbnN4QF
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQJ8BAEBCgBmBQJVMhnXXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w
ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXQ2NzA4N0ZEMUFFQUUwRTEyREJDNkE2RjAz
OUU5OTc2MUE1RkQ5NENDAAoJEDnpl2Gl/ZTMdXgP/jhUCOJ9SVj6jZxtvGKdyrJf
bCMoaiq5mA7+hzpT4Knjc9ldrpRmDaLwUkpDliTUWzaH+IFv40/QWht9XKb7B55e
HM2nvnzdj/Gx9p4jQkSVv8Fg1HzslkYq2eA+QXOVArSzyTC5chvAXwor4sE/syAN
9kdEPQHeWv1X0bA1pquiXQVWLPqn32jYWRp82mcVPbqej6QpHd5szsy2eGQ0CuMd
2d79Xgx+oxkTRsWmapOmlOSgy+UHvVpQh3GyvYIDG6I2nzWCtEVsAXkqpY16jegl
L5iT6PlQmcU33ENBoaOS4PQUs0/K9svS0jslU68sH7u5Aouz23tzj4Jz5pBSP4Fs
J+zFXJIpXK/SNR+9BZTNsVnQ09v20Yr6+q+KWUAJA0ny1jCXZ5ITAWpNx1Zp8BdU
d1CwVoj1ZpbtX8FJlHQsNa0JUEyW2Gyj1ojR7sBE+0F+/1s0wj0puJf8HeNDa6xn
Bwf00OYpZJBlJ6QEG0vwMI9h1wj1g8uuC4vTylfbbwVYYtU3y9++aMJwQfmZ6+up
mPWzu4HHgsb6Gy7SO68VD+cT/xWSckF5X6kg1JDXfx6J8CO1zmawWGC4cdbjahN5
9RjI7moWWWUi3Pl77qOrDFkeeOpOE6QorEVv66II7JUKSFbRbkKl5iBEVFmyIv/6
97XkX0cV6amBLoVl9Wzv
=jSeP
-----END PGP SIGNATURE-----

--5GlAkRwaa2csBwp9tniQewuExgpbnN4QF--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?553219CF.7010901>