[pulseaudio-discuss] PA 10 : paplay can't connect !

sean darcy seandarcy2 at gmail.com
Sun Jan 22 23:10:12 UTC 2017


On 01/22/2017 03:47 PM, sean darcy wrote:
> On 01/21/2017 04:21 PM, sean darcy wrote:
>> On 01/21/2017 04:18 PM, sean darcy wrote:
>>> On Fedora 25, running PA 10.0.
>>>
>>> [video at sixcore ~]$ ps aux |  grep pulse
>>> video     2319  0.0  0.0 433508 12212 ?        Ssl  15:51   0:00
>>> /usr/bin/pulseaudio --daemonize=no
>>> video     2358  0.0  0.0 130028  4892 ?        S    15:51   0:00
>>> /usr/libexec/pulse/gconf-helper
>>>
>>> [video at sixcore ~]$ pacmd stat
>>> Memory blocks currently allocated: 1, size: 63.9 KiB.
>>> Memory blocks allocated during the whole lifetime: 35, size: 1.9 MiB.
>>> Memory blocks imported from other processes: 0, size: 0 B.
>>> Memory blocks exported to other processes: 0, size: 0 B.
>>> Total sample cache size: 0 B.
>>> Default sample spec: s16le 2ch 44100Hz
>>> Default channel map: front-left,front-right
>>> Default sink name:
>>> alsa_output.usb-AudioQuest_inc._AudioQuest_DragonFly-00.analog-stereo
>>> .....................
>>>
>>> but
>>>
>>> [video at sixcore ~]$ paplay /home/video/Music/Route_66.wav
>>> Connection failure: Connection refused
>>> pa_context_connect() failed: Connection refused
>>>
>>> Thanks for any help.
>>> sean
>>>
>>
>> I should have noted, this is a headless server. No X.
>>
>> sean
>>
>
> Generated a log file:
>
> LANG=C pulseaudio -vvvv --log-time=1 > ./pulseverbose.log 2>&1
>
> pa seems to run fine:
>
> (   5.483|   0.000) D: [pulseaudio] module-udev-detect.c:
> /dev/snd/controlC1 is accessible: yes
> (   5.483|   0.000) D: [pulseaudio] module-udev-detect.c: Resuming all
> sinks and sources of card
> alsa_card.usb-AudioQuest_inc._AudioQuest_DragonFly-00.
> ( 120.406| 114.923) I: [pulseaudio] client.c: Created 2 "Login Session 6"
> ( 120.407|   0.000) D: [pulseaudio] module-systemd-login.c: Added new
> session 6
>
> that login was me. I then tried paplay, got the same error. But no entry
> in the log .
>
> ??

Tried memfd and shm. Same result.

[video at sixcore pulse]$ strace paplay ./2-15_Route_66.wav
......................
open("/dev/urandom", O_RDONLY|O_NOCTTY|O_CLOEXEC) = 7
fcntl(7, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
read(7, "\226NT1", 4)                   = 4
close(7)                                = 0
open("/dev/shm/pulse-shm-827608726", 
O_RDWR|O_CREAT|O_EXCL|O_NOFOLLOW|O_CLOEXEC, 0700) = 7
ftruncate(7, 67108904)                  = 0
mmap(NULL, 67112960, PROT_READ|PROT_WRITE, MAP_SHARED|MAP_NORESERVE, 7, 
0) = 0x7fd8a71f2000
close(7)                                = 0
futex(0x7ffc8841e3bc, FUTEX_UNLOCK_PI)  = -1 EPERM (Operation not permitted)
open("/etc/machine-id", O_RDONLY|O_CLOEXEC) = 7
fcntl(7, F_GETFD)                       = 0x1 (flags FD_CLOEXEC)
fstat(7, {st_mode=S_IFREG|0444, st_size=33, ...}) = 0
read(7, "ef65454e1a334e1e93f8ff6b0000000f"..., 4096) = 33
close(7)                                = 0
write(2, "Connection failure: Connection r"..., 39Connection failure: 
Connection refused
..................





More information about the pulseaudio-discuss mailing list