From nobody Wed Jul 31 07:27:00 2024 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4WYkF11CVWz5RNFS; Wed, 31 Jul 2024 07:27:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (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 (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R11" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4WYkF10fm3z4mcs; Wed, 31 Jul 2024 07:27:01 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722410821; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yXXvtovsFe3mtu0MmaqSrL786fD6VS1O5DChn/o5Fxs=; b=F9pCRsMq09rUGYMPnWvUeYvNdgpyvlk+K7mYeJEJKKfeSbcTzo45wyvyILrY4/TiNb2YC8 upM+5mWJ0LZb68+p5BFlyDx5dxFvvoku2rPDWX3MgHG5Y7A/JpbJImzvRUYTygntrn/j4B H/UE9jqITIAKy4cKnq3yi9eZKL5bgxMchDhPRKodOzn8HKRV6CmvKuZbq2y/zVvYQO5hom 8f9Co1BeDRfKj3Q3l/daBpwsv3qMPCNDbcRmi/NT4ryFcpMfz6GEg6qjtlpeSTsCA6u353 qvwvDj1jKoJj9XACIfd7+irPiy91cCTRqawh0pGvzybuVtofBVM0qTnrn5ls0Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1722410821; a=rsa-sha256; cv=none; b=h4MWcjQNF+/Qhc7hFYzJvPwIV1c2oBRaudtBD6PTZXnuSyh1sUNy0Cd8/uGGeukWHXqX1O iZcvBAygz4F3bvGvoIFqOangWEZMBhq2eY2pZbOxblb5+hHsElLW3tKAp+gA387H3RODi5 Qj8NGSwclGsx4eWb5nxJ+7pEIs4SsWiSmjBAVDsaXWFRuzPekd4UzXbnJGKqTN0wjXoT9e BjURwcRdPO22pk0l8wh8gE3alq2eCY1eNYso7IzRGYR/DKsD9/A3oMHgvJED7uRk4XqL93 +/vmVclJWsdoPsleYdFWDVwLho+rEbq5Tm/QP+6AsnGCyioSlXgWCHDvlNLDXw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1722410821; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=yXXvtovsFe3mtu0MmaqSrL786fD6VS1O5DChn/o5Fxs=; b=dNRUZK0KHeYZFSxfX5P+vFXWBzKkDk+m4kiWj1VBkHXZKHARPaY+tkwmpIr8ZG0BLq/3MH cCp/Okelj0690XU5NA2WADrtuvEpdSTrAxp99UNKyR9Ry5V6wHUt+Zsg9GwTHzcmE4p1fA 5OGQ/JE3FC2pHg2vSvDDBe+JKY/zrgYkGb4pF81FGwUEDWOvM7WrRQACAQ4Jqp+ZE6Jxxs kfIdVZNxZVADF7eymHKMw8hibyYV5N+E5mTc19LJnMTHY5HvT/huqlZ0lDiBe8Cio42pLe 3G283zAuzPdk1Bhy7mu99dTCvEwZu61xsDKp0xWP5ES+ZAfFG1xbd69kWFYOWA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4WYkF10GMYzrcC; Wed, 31 Jul 2024 07:27:01 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.18.1/8.18.1) with ESMTP id 46V7R02F056384; Wed, 31 Jul 2024 07:27:00 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.18.1/8.18.1/Submit) id 46V7R0v1056381; Wed, 31 Jul 2024 07:27:00 GMT (envelope-from git) Date: Wed, 31 Jul 2024 07:27:00 GMT Message-Id: <202407310727.46V7R0v1056381@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Koichiro Iwao Subject: git: f5ff94e931d1 - main - x11-drivers/xorgxrdp{,-devel}: Refine glamor instructions List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-ports-main@freebsd.org Sender: owner-dev-commits-ports-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: meta X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: f5ff94e931d1036686651c3390e86510ca2f356f Auto-Submitted: auto-generated The branch main has been updated by meta: URL: https://cgit.FreeBSD.org/ports/commit/?id=f5ff94e931d1036686651c3390e86510ca2f356f commit f5ff94e931d1036686651c3390e86510ca2f356f Author: Koichiro Iwao AuthorDate: 2024-07-31 07:19:19 +0000 Commit: Koichiro Iwao CommitDate: 2024-07-31 07:25:18 +0000 x11-drivers/xorgxrdp{,-devel}: Refine glamor instructions Sponsored by: Cybertrust Japan --- x11-drivers/xorgxrdp-devel/files/pkg-message.in | 19 +++++++++---------- x11-drivers/xorgxrdp/files/pkg-message.in | 19 +++++++++---------- 2 files changed, 18 insertions(+), 20 deletions(-) diff --git a/x11-drivers/xorgxrdp-devel/files/pkg-message.in b/x11-drivers/xorgxrdp-devel/files/pkg-message.in index cd504164f64a..85259667ce1f 100644 --- a/x11-drivers/xorgxrdp-devel/files/pkg-message.in +++ b/x11-drivers/xorgxrdp-devel/files/pkg-message.in @@ -9,12 +9,12 @@ To configure hardware acceleration, follow the following steps. # pkg install drm-kmod 2. Configure to load kernel module (either one of the following) - # sysrc kld_list+="/boot/modules/i915kms.ko" - # sysrc kld_list+="/boot/modules/amdgpu.ko" - # sysrc kld_list+="/boot/modules/radeonkms.ko" + # sysrc kld_list+="i915kms" + # sysrc kld_list+="amdgpu" + # sysrc kld_list+="radeonkms" 3. Ensure users who login via xrdp are members of the "video" group - # pw groupmod video -m username|| pw groupmod wheel -m username + # pw groupmod video -m username || pw groupmod wheel -m username 4. Edit /etc/X11/xrdp/xorg.conf to fit your environment "/dev/dri/renderD128" might be different depending on your environment. @@ -22,21 +22,20 @@ To configure hardware acceleration, follow the following steps. Find the following line and change it to the actual path. Option "DRMDevice" "/dev/dri/renderD128" - Change "0" to "1" of the following line. + Change "0" to "1" of the following line (defaults to 1 now). Option "DRI3" "0" 5. Restart your system and login via xrdp -See also the Wiki page for detailed instructions: - https://wiki.freebsd.org/Graphics#Hardware_Support +See also handbook for detailed instructions: + https://docs.freebsd.org/en/books/handbook/x11/ If hardware acceleration is properly configured, you will see logs like both -of the following in ~/.local/share/xorg/Xorg.10.log. 10 can be replaced with -display number. +of the following in ~/.local/share/xorg/xorgxrdp.10.log. 10 will be replaced +with display number. "glamor X acceleration enabled on Mesa DRI Intel(R) Ivybridge Desktop" - "rdpScreenInit: rdpDri3Init ok" EOM } diff --git a/x11-drivers/xorgxrdp/files/pkg-message.in b/x11-drivers/xorgxrdp/files/pkg-message.in index cd504164f64a..85259667ce1f 100644 --- a/x11-drivers/xorgxrdp/files/pkg-message.in +++ b/x11-drivers/xorgxrdp/files/pkg-message.in @@ -9,12 +9,12 @@ To configure hardware acceleration, follow the following steps. # pkg install drm-kmod 2. Configure to load kernel module (either one of the following) - # sysrc kld_list+="/boot/modules/i915kms.ko" - # sysrc kld_list+="/boot/modules/amdgpu.ko" - # sysrc kld_list+="/boot/modules/radeonkms.ko" + # sysrc kld_list+="i915kms" + # sysrc kld_list+="amdgpu" + # sysrc kld_list+="radeonkms" 3. Ensure users who login via xrdp are members of the "video" group - # pw groupmod video -m username|| pw groupmod wheel -m username + # pw groupmod video -m username || pw groupmod wheel -m username 4. Edit /etc/X11/xrdp/xorg.conf to fit your environment "/dev/dri/renderD128" might be different depending on your environment. @@ -22,21 +22,20 @@ To configure hardware acceleration, follow the following steps. Find the following line and change it to the actual path. Option "DRMDevice" "/dev/dri/renderD128" - Change "0" to "1" of the following line. + Change "0" to "1" of the following line (defaults to 1 now). Option "DRI3" "0" 5. Restart your system and login via xrdp -See also the Wiki page for detailed instructions: - https://wiki.freebsd.org/Graphics#Hardware_Support +See also handbook for detailed instructions: + https://docs.freebsd.org/en/books/handbook/x11/ If hardware acceleration is properly configured, you will see logs like both -of the following in ~/.local/share/xorg/Xorg.10.log. 10 can be replaced with -display number. +of the following in ~/.local/share/xorg/xorgxrdp.10.log. 10 will be replaced +with display number. "glamor X acceleration enabled on Mesa DRI Intel(R) Ivybridge Desktop" - "rdpScreenInit: rdpDri3Init ok" EOM }