[pulseaudio-tickets] [Bug 93515] New: Native TCP Audio garbled when daemon runs as root on Raspberry Pi. Works as non root (Pulse 7.1)
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Dec 27 01:56:49 PST 2015
https://bugs.freedesktop.org/show_bug.cgi?id=93515
Bug ID: 93515
Summary: Native TCP Audio garbled when daemon runs as root on
Raspberry Pi. Works as non root (Pulse 7.1)
Product: PulseAudio
Version: unspecified
Hardware: ARM
OS: Linux (All)
Status: NEW
Severity: normal
Priority: medium
Component: daemon
Assignee: pulseaudio-bugs at lists.freedesktop.org
Reporter: jessy.diamondman at gmail.com
QA Contact: pulseaudio-bugs at lists.freedesktop.org
CC: lennart at poettering.net
Created attachment 120708
--> https://bugs.freedesktop.org/attachment.cgi?id=120708&action=edit
Audio samples played through both servers, config files, and logs.
On a fresh install of raspbian lite (no X) running on a new Raspberry Pi 2B
(happened on an Pi 1B too, but data here is for 2B), the pulseaudio daemon
garbles data via the native TCP plugin. This issue has been happening to me
since version 6.x.
Repeat steps:
* Get Pi 2B (maybe other models too).
* Attach speakers and ethernet to the Pi.
* Install Raspbian lite.
* Install prerequisites for pulse (my configure log is in the attached
archive).
* make && sudo make install
* Add the following to /usr/local/etc/pulse/default.pa :
load-module module-native-protocol-tcp auth-ip-acl=127.0.0.1;{your subnets
address}/24 auth-anonymous=1
load-module module-zeroconf-publish
* Edit /usr/local/etc/pulse/daemon.conf to set:
exit-idle-time = -1
* Run:
export LD_LIBRARY_PATH=/usr/local/lib
Or set the variable for every pulseaudio call, or put the export in bashrc.
* As the 'pi' user, run:
pulseaudio -vvvvvvvvvvv
(pulseaudio should start fine, speakers should hiss for a few seconds, then
fall quiet)
* Optionally test that loading the sine module produces a tone.
* On your computer (or the pi if you want), run:
paplay --server={Pi's IP} {Some wav file, ideally a song}
(Assuming your network is fast enough the audio should start up, and play fine.
Listen to pa_test_good.mp3).
* Kill the pulse server.
* As the 'pi' user, run:
sudo pulseaudio -vvvvvvvvvvv
(pulseaudio should start fine, speakers should hiss for a few seconds, then
fall quiet)
* Optionally test that loading the sine module produces a tone.
* On your computer (or the pi if you want), run:
paplay --server={Pi's IP} {Some wav file, ideally a song}
(Everything is awful. Listen to pa_test_broke.mp3).
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20151227/72d34697/attachment.html>
More information about the pulseaudio-bugs
mailing list