Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jul 2023 02:37:43 GMT
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 4964754e0887 - main - x11-wm/sway: suggest mac_priority(4) after b22b6eeffd22
Message-ID:  <202307130237.36D2bhwK036181@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by jbeich:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4964754e0887621cd09afff61ee86c6c4c7d783b

commit 4964754e0887621cd09afff61ee86c6c4c7d783b
Author:     Jan Beich <jbeich@FreeBSD.org>
AuthorDate: 2023-07-13 00:54:48 +0000
Commit:     Jan Beich <jbeich@FreeBSD.org>
CommitDate: 2023-07-13 02:36:20 +0000

    x11-wm/sway: suggest mac_priority(4) after b22b6eeffd22
    
    FreeBSD lacks setcap(8) + CAP_SYS_NICE, so permissions to set realtime
    priorities like SCHED_RR are group-wide and disabled by default.
    
    $ sway
    [...]
    00:00:00.024 [INFO] [sway/realtime.c:35] Failed to set scheduling priority to 0
    [...]
    
    https://github.com/swaywm/sway/commit/a3a82efbf6b5
---
 x11-wm/sway-devel/pkg-message | 3 +++
 x11-wm/sway/pkg-message       | 3 +++
 2 files changed, 6 insertions(+)

diff --git a/x11-wm/sway-devel/pkg-message b/x11-wm/sway-devel/pkg-message
index 9017b1d5a888..c0888f1f4cb7 100644
--- a/x11-wm/sway-devel/pkg-message
+++ b/x11-wm/sway-devel/pkg-message
@@ -1,6 +1,9 @@
 [
 { type: install
   message: <<EOM
+Notes:
+- sway(1) can use mac_priority(4) to avoid stutter during high load
+
 Experimental features:
 - HiDPI support for X11 applications. For instructions see
   https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/2064#note_1139855
diff --git a/x11-wm/sway/pkg-message b/x11-wm/sway/pkg-message
index 9017b1d5a888..c0888f1f4cb7 100644
--- a/x11-wm/sway/pkg-message
+++ b/x11-wm/sway/pkg-message
@@ -1,6 +1,9 @@
 [
 { type: install
   message: <<EOM
+Notes:
+- sway(1) can use mac_priority(4) to avoid stutter during high load
+
 Experimental features:
 - HiDPI support for X11 applications. For instructions see
   https://gitlab.freedesktop.org/wlroots/wlroots/-/merge_requests/2064#note_1139855



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