LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer
User Name
Password
Linux - Embedded & Single-board computer This forum is for the discussion of Linux on both embedded devices and single-board computers (such as the Raspberry Pi, BeagleBoard and PandaBoard). Discussions involving Arduino, plug computers and other micro-controller like devices are also welcome.

Notices


Reply
  Search this Thread
Old 08-13-2017, 09:29 AM   #1
freeindy
Member
 
Registered: Nov 2002
Posts: 206

Rep: Reputation: 32
Transmitting audio over RTP/Multicastin with pulseaudio issue (Linux mint -> RaspberryPi)


Hi,

I have a raspberry pi 2 with Raspbian installed that I want to use as a server for audio output. On the client side I have Linux Mint 18.2 where I have installed paprefs to enable RTP/Multicast. However, I don't see any device on my Client and not sure is the server is setup properly.

Anyone know how to trouble shoot this issue? I have been following this guide:
https://raspberrypi.stackexchange.co...c-to-my-stereo

Any help would be appreciated.

Thanks,
Indy

The output from server (Raspberry pi):
Code:
I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] main.c: setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
I: [pulseaudio] core-util.c: Failed to acquire high-priority scheduling: Permission denied
I: [pulseaudio] main.c: This is PulseAudio 5.0
I: [pulseaudio] main.c: Page size is 4096 bytes
I: [pulseaudio] main.c: Machine ID is 805bc5ddf105455c82971daa070150be.
I: [pulseaudio] main.c: Session ID is c2.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/pi/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-5.0/modules.
I: [pulseaudio] main.c: Running in system mode: no
I: [pulseaudio] main.c: Fresh high-resolution timers available! Bon appetit!
I: [pulseaudio] cpu-arm.c: CPU flags: V6 V7 VFP EDSP 
I: [pulseaudio] svolume_arm.c: Initialising ARM optimized volume functions.
I: [pulseaudio] module-device-restore.c: Successfully opened database file '/home/pi/.config/pulse/805bc5ddf105455c82971daa070150be-device-volumes'.
I: [pulseaudio] module.c: Loaded "module-device-restore" (index: #0; argument: "").
I: [pulseaudio] module-stream-restore.c: Successfully opened database file '/home/pi/.config/pulse/805bc5ddf105455c82971daa070150be-stream-volumes'.
I: [pulseaudio] module.c: Loaded "module-stream-restore" (index: #1; argument: "").
I: [pulseaudio] module-card-restore.c: Successfully opened database file '/home/pi/.config/pulse/805bc5ddf105455c82971daa070150be-card-database'.
I: [pulseaudio] module.c: Loaded "module-card-restore" (index: #2; argument: "").
I: [pulseaudio] module.c: Loaded "module-augment-properties" (index: #3; argument: "").
I: [pulseaudio] module.c: Loaded "module-switch-on-port-available" (index: #4; argument: "").
I: [pulseaudio] (alsa-lib)utils.c: could not open configuration file /usr/share/alsa/ucm/bcm2835 ALSA/bcm2835 ALSA.conf
I: [pulseaudio] (alsa-lib)parser.c: error: could not parse configuration for card bcm2835 ALSA
I: [pulseaudio] (alsa-lib)main.c: error: failed to import bcm2835 ALSA use case configuration -2
I: [pulseaudio] alsa-ucm.c: UCM not available for card bcm2835 ALSA
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D0c' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device hw:0: No such file or directory
I: [pulseaudio] (alsa-lib)conf.c: Unknown parameters 0
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM front:0
I: [pulseaudio] alsa-util.c: Error opening PCM device front:0: Invalid argument
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D0c' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device hw:0: No such file or directory
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D0c' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device hw:0: No such file or directory
I: [pulseaudio] (alsa-lib)conf.c: Unknown parameters 0
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM iec958:0
I: [pulseaudio] alsa-util.c: Error opening PCM device iec958:0: Invalid argument
I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:0'
I: [pulseaudio] (alsa-lib)conf.c: Unknown parameters 0
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM front:0
I: [pulseaudio] alsa-util.c: Error opening PCM device front:0: Invalid argument
I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:0'
I: [pulseaudio] (alsa-lib)conf.c: Unknown parameters 0
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM surround40:0
I: [pulseaudio] alsa-util.c: Error opening PCM device surround40:0: Invalid argument
I: [pulseaudio] (alsa-lib)conf.c: Unknown parameters 0
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM surround41:0
I: [pulseaudio] alsa-util.c: Error opening PCM device surround41:0: Invalid argument
I: [pulseaudio] (alsa-lib)conf.c: Unknown parameters 0
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM surround50:0
I: [pulseaudio] alsa-util.c: Error opening PCM device surround50:0: Invalid argument
I: [pulseaudio] (alsa-lib)conf.c: Unknown parameters 0
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM surround51:0
I: [pulseaudio] alsa-util.c: Error opening PCM device surround51:0: Invalid argument
I: [pulseaudio] (alsa-lib)conf.c: Unknown parameters 0
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM surround71:0
I: [pulseaudio] alsa-util.c: Error opening PCM device surround71:0: Invalid argument
I: [pulseaudio] (alsa-lib)conf.c: Unknown parameters 0
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM iec958:0
I: [pulseaudio] alsa-util.c: Error opening PCM device iec958:0: Invalid argument
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM a52:0
I: [pulseaudio] alsa-util.c: Error opening PCM device a52:0: No such file or directory
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM a52:0
I: [pulseaudio] alsa-util.c: Error opening PCM device a52:0: No such file or directory
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM dca:0
I: [pulseaudio] alsa-util.c: Error opening PCM device dca:0: No such file or directory
I: [pulseaudio] (alsa-lib)conf.c: Unknown parameters 0
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM hdmi:0
I: [pulseaudio] alsa-util.c: Error opening PCM device hdmi:0: Invalid argument
I: [pulseaudio] module-card-restore.c: Restoring port latency offsets for card alsa_card.platform-soc_audio.
I: [pulseaudio] card.c: Created 0 "alsa_card.platform-soc_audio"
I: [pulseaudio] (alsa-lib)conf.c: Unknown parameters 0
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM front:0
I: [pulseaudio] alsa-util.c: Error opening PCM device front:0: Invalid argument
I: [pulseaudio] alsa-util.c: cannot disable ALSA period wakeups
I: [pulseaudio] alsa-util.c: ALSA period wakeups were not disabled
I: [pulseaudio] alsa-sink.c: Successfully opened device hw:0.
I: [pulseaudio] alsa-sink.c: Selected mapping 'Analog Stereo' (analog-stereo).
I: [pulseaudio] alsa-sink.c: Successfully enabled mmap() mode.
I: [pulseaudio] alsa-sink.c: Successfully enabled timer-based scheduling mode.
I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:0'
I: [pulseaudio] sink.c: Created sink 0 "alsa_output.platform-soc_audio.analog-stereo" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink.c:     alsa.resolution_bits = "16"
I: [pulseaudio] sink.c:     device.api = "alsa"
I: [pulseaudio] sink.c:     device.class = "sound"
I: [pulseaudio] sink.c:     alsa.class = "generic"
I: [pulseaudio] sink.c:     alsa.subclass = "generic-mix"
I: [pulseaudio] sink.c:     alsa.name = "bcm2835 ALSA"
I: [pulseaudio] sink.c:     alsa.id = "bcm2835 ALSA"
I: [pulseaudio] sink.c:     alsa.subdevice = "0"
I: [pulseaudio] sink.c:     alsa.subdevice_name = "subdevice #0"
I: [pulseaudio] sink.c:     alsa.device = "0"
I: [pulseaudio] sink.c:     alsa.card = "0"
I: [pulseaudio] sink.c:     alsa.card_name = "bcm2835 ALSA"
I: [pulseaudio] sink.c:     alsa.long_card_name = "bcm2835 ALSA"
I: [pulseaudio] sink.c:     alsa.driver_name = "snd_bcm2835"
I: [pulseaudio] sink.c:     device.bus_path = "platform-soc:audio"
I: [pulseaudio] sink.c:     sysfs.path = "/devices/platform/soc/soc:audio/sound/card0"
I: [pulseaudio] sink.c:     device.string = "hw:0"
I: [pulseaudio] sink.c:     device.buffering.buffer_size = "131072"
I: [pulseaudio] sink.c:     device.buffering.fragment_size = "131072"
I: [pulseaudio] sink.c:     device.access_mode = "mmap+timer"
I: [pulseaudio] sink.c:     device.profile.name = "analog-stereo"
I: [pulseaudio] sink.c:     device.profile.description = "Analog Stereo"
I: [pulseaudio] sink.c:     device.description = "bcm2835 ALSA Analog Stereo"
I: [pulseaudio] sink.c:     alsa.mixer_name = "Broadcom Mixer"
I: [pulseaudio] sink.c:     module-udev-detect.discovered = "1"
I: [pulseaudio] sink.c:     device.icon_name = "audio-card"
I: [pulseaudio] source.c: Created source 0 "alsa_output.platform-soc_audio.analog-stereo.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] source.c:     device.description = "Monitor of bcm2835 ALSA Analog Stereo"
I: [pulseaudio] source.c:     device.class = "monitor"
I: [pulseaudio] source.c:     alsa.card = "0"
I: [pulseaudio] source.c:     alsa.card_name = "bcm2835 ALSA"
I: [pulseaudio] source.c:     alsa.long_card_name = "bcm2835 ALSA"
I: [pulseaudio] source.c:     alsa.driver_name = "snd_bcm2835"
I: [pulseaudio] source.c:     device.bus_path = "platform-soc:audio"
I: [pulseaudio] source.c:     sysfs.path = "/devices/platform/soc/soc:audio/sound/card0"
I: [pulseaudio] source.c:     device.string = "0"
I: [pulseaudio] source.c:     module-udev-detect.discovered = "1"
I: [pulseaudio] source.c:     device.icon_name = "audio-card"
I: [pulseaudio] alsa-sink.c: Using 1.0 fragments of size 131072 bytes (743.04ms), buffer size is 131072 bytes (743.04ms)
I: [pulseaudio] alsa-sink.c: Time scheduling watermark is 20.00ms
I: [pulseaudio] alsa-sink.c: Successfully enabled deferred volume.
I: [pulseaudio] alsa-sink.c: Hardware volume ranges from -99999.99 dB to 4.00 dB.
I: [pulseaudio] alsa-sink.c: Fixing base volume to -4.00 dB
I: [pulseaudio] alsa-sink.c: Using hardware volume control. Hardware dB scale supported.
I: [pulseaudio] alsa-sink.c: Using hardware mute control.
I: [alsa-sink-bcm2835 ALSA] core-util.c: Clamping rlimit-rttime to 200000 for RealtimeKit
I: [alsa-sink-bcm2835 ALSA] core-util.c: Failed to acquire real-time scheduling: Permission denied
I: [alsa-sink-bcm2835 ALSA] alsa-sink.c: Starting playback.
I: [pulseaudio] module.c: Loaded "module-alsa-card" (index: #6; argument: "device_id="0" name="platform-soc_audio" card_name="alsa_card.platform-soc_audio" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"").
I: [pulseaudio] module-udev-detect.c: Card /devices/platform/soc/soc:audio/sound/card0 (alsa_card.platform-soc_audio) module loaded.
I: [pulseaudio] module-udev-detect.c: Found 1 cards.
I: [pulseaudio] module.c: Loaded "module-udev-detect" (index: #5; argument: "").
I: [pulseaudio] module.c: Loaded "module-native-protocol-unix" (index: #7; argument: "").
I: [pulseaudio] module.c: Loaded "module-rtp-recv" (index: #8; argument: "").
I: [pulseaudio] module-default-device-restore.c: Restored default sink 'alsa_output.platform-soc_audio.analog-stereo'.
I: [pulseaudio] module-default-device-restore.c: Restored default source 'alsa_output.platform-soc_audio.analog-stereo.monitor'.
I: [pulseaudio] module.c: Loaded "module-default-device-restore" (index: #9; argument: "").
I: [pulseaudio] module.c: Loaded "module-rescue-streams" (index: #10; argument: "").
I: [pulseaudio] module.c: Loaded "module-always-sink" (index: #11; argument: "").
I: [pulseaudio] module.c: Loaded "module-intended-roles" (index: #12; argument: "").
I: [pulseaudio] module.c: Loaded "module-suspend-on-idle" (index: #13; argument: "").
I: [pulseaudio] module.c: Loaded "module-console-kit" (index: #14; argument: "").
I: [pulseaudio] client.c: Created 0 "Login Session c2"
I: [pulseaudio] module.c: Loaded "module-systemd-login" (index: #15; argument: "").
I: [pulseaudio] module.c: Loaded "module-position-event-sounds" (index: #16; argument: "").
I: [pulseaudio] module.c: Loaded "module-role-cork" (index: #17; argument: "").
I: [pulseaudio] module.c: Loaded "module-filter-heuristics" (index: #18; argument: "").
I: [pulseaudio] module.c: Loaded "module-filter-apply" (index: #19; argument: "").
W: [pulseaudio] server-lookup.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
W: [pulseaudio] main.c: Unable to contact D-Bus: org.freedesktop.DBus.Error.NotSupported: Unable to autolaunch a dbus-daemon without a $DISPLAY for X11
I: [pulseaudio] main.c: Daemon startup complete.
I: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.platform-soc_audio.analog-stereo idle for too long, suspending ...
I: [alsa-sink-bcm2835 ALSA] alsa-sink.c: Device suspended...
 
Old 08-14-2017, 02:23 AM   #2
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 6,997
Blog Entries: 4

Rep: Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683Reputation: 1683
Quote:
Originally Posted by freeindy View Post
I have a raspberry pi 2 with Raspbian installed that I want to use as a server for audio output. On the client side I have Linux Mint 18.2 where I have installed paprefs to enable RTP/Multicast. However, I don't see any device on my Client and not sure is the server is setup properly.

Anyone know how to trouble shoot this issue? I have been following this guide:
https://raspberrypi.stackexchange.co...c-to-my-stereo
the article describes the opposite situation: streaming audio from the desktop pc to the pi.
over wifi.

so, you need to clarify to yourself and us what you really want to achieve.

then you need to provide much more detail about the steps you took.
if it doesn't work, you need to troubleshoot every single step.
if you need help, you need to not only provide output but also tell us where it comes from in what context.
 
Old 08-14-2017, 09:18 AM   #3
onebuck
Moderator
 
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: SlackwareŽ
Posts: 12,899
Blog Entries: 27

Rep: Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186Reputation: 2186
Moderator response

Moved: This thread is more suitable in <Linux - Embedded & Single-board computer> and has been moved accordingly to help your thread/question get the exposure it deserves.
 
  


Reply

Tags
pulseaudio rtp multicast


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Audio Issue!!ASUS K42F, linux mint 10 KDE Fritzeeker Linux - Newbie 1 07-14-2011 05:50 AM
permissions issue in audio/alsa/pulseaudio kev000 Linux - Mobile 2 10-27-2009 10:39 PM
How to use PulseAudio for audio application in Linux bapigoo9 Programming 2 08-25-2008 12:33 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware > Linux - Embedded & Single-board computer

All times are GMT -5. The time now is 02:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration