[crux-commits] ports/contrib (3.6): pipewire: added optional dependency: rtkit; added rtkit to README

crux at crux.nu crux at crux.nu
Sun Feb 21 22:25:16 UTC 2021


commit 4fc5efa71d941d5bb3570302163916e017199c66
Author: Tim Biermann <tbier at posteo.de>
Date:   Sun Feb 21 22:25:08 2021 +0000

    pipewire: added optional dependency: rtkit; added rtkit to README

diff --git a/pipewire/.signature b/pipewire/.signature
index 2a439198b..2f3a30ced 100644
--- a/pipewire/.signature
+++ b/pipewire/.signature
@@ -1,5 +1,5 @@
 untrusted comment: verify with /etc/ports/contrib.pub
-RWSagIOpLGJF38k2F9E2wrdxdTcKERCMA0eN390WIYqaXseWjqqGjv+HePvjlujaSd0D2lvivf5+DUphI20Cc/6H3GJAQDOqSQ0=
-SHA256 (Pkgfile) = e90ceba4565434dc812c1c86ba6deb186a0703821f368e7befb15c7be540a735
+RWSagIOpLGJF3zFvJnOx+DSIkcgFnodQvQKaKlYXKQTNHLXPggtoiBWNl5DyLRLJSqhFs1obobsMcdwDAfDxP6QVP1xb5fyjJQ8=
+SHA256 (Pkgfile) = e24865d9a3b4dcd43202b976c573c7144b6c74c0d038d115c05f0682f2a0aec3
 SHA256 (.footprint) = 7e74c211d0bec1a4c4157a1e1b0ea8d1ef37a17ed4c00eaebd01114c9bff6800
 SHA256 (pipewire-0.3.22.tar.gz) = 5db2caf41af79cd9e343d07a3804c63b8b243c1d74e926181058e29771d4b691
diff --git a/pipewire/Pkgfile b/pipewire/Pkgfile
index 73729b12f..d1ad4c748 100644
--- a/pipewire/Pkgfile
+++ b/pipewire/Pkgfile
@@ -2,7 +2,7 @@
 # URL: https://pipewire.org
 # Maintainer: Tim Biermann, tbier at posteo dot de
 # Depends on: alsa-utils dbus fdk-aac ffmpeg glib gnutls lame libva libvpx libwebp x264 x265
-# Optional: alsa-ucm-conf bluez gst-plugins-base jack pulseaudio libldac libopenaptx v4l2 vulkan-loader
+# Optional: alsa-ucm-conf bluez gst-plugins-base jack libldac libopenaptx pulseaudio rtkit v4l2 vulkan-loader
 
 name=pipewire
 version=0.3.22
diff --git a/pipewire/README b/pipewire/README
index 375e901cf..6daa9c232 100644
--- a/pipewire/README
+++ b/pipewire/README
@@ -16,14 +16,19 @@ Getting `pipewire` to run is relatively easy on `CRUX`. This is a simple guide a
 This might also be considered a WIP entry. You can help by sharing your experiences and thoughts.
 
 # Prerequisites
- - working kernel with alsa audio
- - `opt/alsa-utils` will be installed by default as a dependency and needs to be configured by the user
- - currently, pipewires default config makes use of `opt/alsa-ucm-conf`, consider installing that alongside the default dependency `opt/alsa-utils`
+  - working kernel with alsa audio
+  - `opt/alsa-utils` will be installed by default as a dependency and needs to be configured by the user
+  - currently, pipewires default config makes use of `opt/alsa-ucm-conf`, consider installing that alongside the default dependency `opt/alsa-utils`
 
 ## Optional prerequisites
- - pipewire needs pulseaudio to be built with xorg-libxtst around to have the pulseaudio portal available
-   - `prt-get depinst xorg-libxtst && prt-get update -fr pulseaudio`
- - please look at `contrib/pipewire/Pkgfile` for further optional dependencies listed and rebuild the package after installing new optional dependencies
+  - pipewire needs pulseaudio to be built with xorg-libxtst around to have the pulseaudio portal available
+    - `prt-get depinst xorg-libxtst && prt-get update -fr pulseaudio`
+  - `contrib/rtkit` and a realtime compatible kernel to help with latency, add your user to `rtkit group` to be able to make use of it
+    - [an stackoverflow question on the topic](https://stackoverflow.com/questions/817059/what-is-preemption-what-is-a-preemtible-kernel-what-is-it-good-for)
+    - [Real-Time Linux collaborative project](https://wiki.linuxfoundation.org/realtime/start)
+    - [Arch wiki](https://wiki.archlinux.org/index.php/Realtime_kernel_patchset)
+    - [linuxaudio.org wiki](https://wiki.linuxaudio.org/wiki/system_configuration#the_kernel)
+  - please look at `contrib/pipewire/Pkgfile` for further optional dependencies listed and rebuild the package after installing new optional dependencies
 
 # Running pipewire
 `pipewire` will always leverage `alsa`, so you should configure that first. Use `alsactl store` to store those settings, and configure `/etc/rc.conf` to start `/etc/rc.d/alsa` by default. While you are in `rc.conf`, make sure you start `/etc/rc.d/dbus` too, if you haven't already.


More information about the crux-commits mailing list