From owner-svn-ports-head@freebsd.org Tue Jun 2 21:44:54 2020 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 78D2B2FBAA7; Tue, 2 Jun 2020 21:44:54 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mx.blih.net (mx.blih.net [212.83.155.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "mx.blih.net", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 49c5DP50Lbz3d3t; Tue, 2 Jun 2020 21:44:53 +0000 (UTC) (envelope-from manu@bidouilliste.com) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bidouilliste.com; s=mx; t=1591134285; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=qx1+iUYEyxx/EbLEkyyq+drWUFLoweqHRkbyfgveypQ=; b=nI3wBTwHPehR4q4YHrOKHwxwVgQCLeLZBRlbxMnjCmqQqPzR8BCFulS+/4D0CN4cagxpqK Oj+Xrc7+urWE8W9spk7ECGvDReZq+CFdaD1phwaOjucGW3IHoD3MaxPthsNOhmm+agfwav nV48fIfDuIcP8oHHjaV7PewZf4k4WhU= Received: from skull.home.blih.net (lfbn-idf2-1-900-181.w86-238.abo.wanadoo.fr [86.238.131.181]) by mx.blih.net (OpenSMTPD) with ESMTPSA id 9ed84001 (TLSv1.3:TLS_AES_256_GCM_SHA384:256:NO); Tue, 2 Jun 2020 21:44:45 +0000 (UTC) Date: Tue, 2 Jun 2020 23:44:45 +0200 From: Emmanuel Vadot To: Jan Beich 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> X-Mailer: Sylpheed 3.7.0 (GTK+ 2.24.32; amd64-portbld-freebsd13.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 49c5DP50Lbz3d3t X-Spamd-Bar: ---- Authentication-Results: mx1.freebsd.org; none X-Spamd-Result: default: False [-4.00 / 15.00]; ASN(0.00)[asn:12876, ipnet:212.83.128.0/19, country:FR]; REPLY(-4.00)[] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 02 Jun 2020 21:44:54 -0000 On Tue, 2 Jun 2020 21:37:36 +0000 (UTC) Jan Beich 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