Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 2 Jun 2020 21:40:08 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-branches@freebsd.org
Subject:   svn commit: r537584 - branches/2020Q2/x11-servers/xwayland-devel
Message-ID:  <202006022140.052Le8J0087470@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Tue Jun  2 21:40:08 2020
New Revision: 537584
URL: https://svnweb.freebsd.org/changeset/ports/537584

Log:
  MFH: r537582
  
  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.
  
  Approved by:	ports-secteam blanket (runtime fix, no content changes)

Added:
  branches/2020Q2/x11-servers/xwayland-devel/pkg-message
     - copied unchanged from r537582, head/x11-servers/xwayland-devel/pkg-message
Modified:
Directory Properties:
  branches/2020Q2/   (props changed)

Copied: branches/2020Q2/x11-servers/xwayland-devel/pkg-message (from r537582, head/x11-servers/xwayland-devel/pkg-message)
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ branches/2020Q2/x11-servers/xwayland-devel/pkg-message	Tue Jun  2 21:40:08 2020	(r537584, copy of r537582, head/x11-servers/xwayland-devel/pkg-message)
@@ -0,0 +1,10 @@
+Known issues:
+- When /dev/dri/card0 and /dev/dri/renderD128 have different major(3)
+  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`



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