Date: Tue, 2 Jun 2020 23:44:45 +0200 From: Emmanuel Vadot <manu@bidouilliste.com> To: Jan Beich <jbeich@FreeBSD.org> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r537582 - head/x11-servers/xwayland-devel Message-ID: <20200602234445.56357ba093c2bdf3fcf188ac@bidouilliste.com> In-Reply-To: <202006022137.052LbaQ8087044@repo.freebsd.org> References: <202006022137.052LbaQ8087044@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 2 Jun 2020 21:37:36 +0000 (UTC) Jan Beich <jbeich@FreeBSD.org> wrote: > Author: jbeich > Date: Tue Jun 2 21:37:36 2020 > New Revision: 537582 > URL: https://svnweb.freebsd.org/changeset/ports/537582 > > Log: > x11-servers/xwayland-devel: document DRI3 quirk > > Wayland clients (unlike server/compositor) are not supposed to require > special privileges. Something in drm-kmod fails to authorize access to > /dev/dri/* even if user is under "video" group. > > Not a port option because Xwayland doesn't know how to drop priveleges. > > Added: > head/x11-servers/xwayland-devel/pkg-message (contents, props changed) > > Added: head/x11-servers/xwayland-devel/pkg-message > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/x11-servers/xwayland-devel/pkg-message Tue Jun 2 21:37:36 2020 (r537582) > @@ -0,0 +1,10 @@ > +Known issues: > +- When /dev/dri/card0 and /dev/dri/renderD128 have different major(3) Are you sure that it's related to major ? I don't how it can be. Did that work with libdrm 2.4.99 before I updated it ? > + DRI3 may fail e.g., on i915kms in I915_GETPARAM with EACCESS. > + Without DRI3 for glamor Xwayland falls back to swrast (llvmpipe). > + If OpenGL applications appear slow check with glxinfo then try > + enabling setuid bit e.g., > + > + $ glxinfo | fgrep Device: > + Device: llvmpipe (LLVM 8.0, 256 bits) (0xffffffff) > + $ chmod u+s `which Xwayland` -- Emmanuel Vadot <manu@bidouilliste.com> <manu@freebsd.org>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20200602234445.56357ba093c2bdf3fcf188ac>