svn commit: r537582 - head/x11-servers/xwayland-devel

Emmanuel Vadot manu at bidouilliste.com
Tue Jun 2 21:44:54 UTC 2020


On Tue, 2 Jun 2020 21:37:36 +0000 (UTC)
Jan Beich <jbeich at 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 at bidouilliste.com> <manu at freebsd.org>


More information about the svn-ports-all mailing list