From 5aa3dc66520e73f5fa1a1431c8bb5cb96d5a8d8b Mon Sep 17 00:00:00 2001 From: netblue Date: Fri, 9 Oct 2015 14:51:06 -0400 Subject: pulseaudio problem description --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 62ec486e3..9dd121eb5 100644 --- a/README.md +++ b/README.md @@ -38,13 +38,13 @@ FAQ: https://l3net.wordpress.com/projects/firejail/firejail-faq/ ### PulseAudio 7.0 -The srbchannel IPC mechanism introduced in PulseAudio 6.0, was enabled by default in release 7.0. +The srbchannel IPC mechanism, introduced in PulseAudio 6.0, was enabled by default in release 7.0. Arch Linux users are reporting sound problems when running applications in Firejail sandbox. A preliminary fix was introduced on master branch. The fix disables PulseAudio shared memory functionality -in the sandbox. If you are seeing any problems, +inside the sandbox. If you are seeing any problems, please let us know here: https://github.com/netblue30/firejail/issues/69 -If you are unable to update your Firejail install to the latest development version, there are two workarounds: +If you are unable to update Firejail, or if you want to continue using the lates released version, these are some workarounds: * Running ALSA @@ -52,13 +52,16 @@ If you are unable to update your Firejail install to the latest development vers Also by default, ALSA comes with the sound volume down. You would need to install *alsamixer* (*alsa-utils* package) or *gnome-alsamixer*, run it, and crank up the volume (both Master and PCM). -* Disable srbchannel mechanism in PulseAudio +* Disable shm functionality in PulseAudio ````` $ mkdir -p ~/.config/pulse $ cd ~/.config/pulse $ cp /etc/pulse/client.conf . $ echo "enable-shm = no" >> client.conf ````` +* Disable srbchannel IPC mechanism in version 7.0 + Edit /etc/pulse/default.pa – change the line "load-module module-native-protocol-unix" + to "load-module module-native-protocol-unix srbchannel=no" and restart PulseAudio daemon. -- cgit v1.2.3-70-g09d2