On 05/17/2016 04:26 PM, Michael Sullivan wrote:
> OK. So I've got sound in mplayer (which is a start), but nowhere else.
> My dmesg reports:
>
> caitlyn linux # dmesg | grep -i audio
> [ 0.291819] hdaudio hdaudioC0D0: Unable to bind the codec
> [ 1.056699] usb 2-1.2: Product: USB AUDIO
> [ 1.057688] input: USB AUDIO as
> /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.2/0003:1130:1620.0001/input/input6
>
> [ 1.107813] hid-generic 0003:1130:1620.0001: input,hidraw0: USB HID
> v1.10 Device [USB AUDIO ] on usb-0000:00:1d.0-1.2/input2
> [ 5.669395] usbcore: registered new interface driver snd-usb-audio
> [ 9876.373384] mpg123[26767]: segfault at 0 ip 00007f7b3de060d2 sp
> 00007fffb2ad8ec8 error 6 in output_portaudio.so[7f7b3de06000+2000]
> [220655.422694] mpg123[15566]: segfault at 0 ip 00007f423252d0d2 sp
> 00007ffd41dae568 error 6 in output_portaudio.so[7f423252d000+2000]
> [220848.935994] mpg123[15879]: segfault at 0 ip 00007fb24c4860d2 sp
> 00007ffee57a2048 error 6 in output_portaudio.so[7fb24c486000+2000]
>
> I have no idea even where to begin how to fix this problem. My mpg123
> program reports:
>
> michael@caitlyn mp3 $ mpg123 09\ -\ Doc\ Brown\ vs\ Doctor\ Who.mp3
> [/var/tmp/portage/media-sound/mpg123-1.22.4/work/mpg123-1.22.4/src/output/pulse.c:84]
> error: Failed to open pulse audio output: Connection refused
> ALSA lib
> /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-1.0.29/src/pcm/pcm_dsnoop.c:614:(snd_pcm_dsnoop_open)
> unable to open slave
> ALSA lib
> /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-1.0.29/src/pcm/pcm_dmix.c:1024:(snd_pcm_dmix_open)
> unable to open slave
> ALSA lib
> /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-1.0.29/src/pcm/pcm.c:2267:(snd_pcm_open_noupdate)
> Unknown PCM cards.pcm.rear
> ALSA lib
> /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-1.0.29/src/pcm/pcm.c:2267:(snd_pcm_open_noupdate)
> Unknown PCM cards.pcm.center_lfe
> ALSA lib
> /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-1.0.29/src/pcm/pcm.c:2267:(snd_pcm_open_noupdate)
> Unknown PCM cards.pcm.side
> ALSA lib
> /var/tmp/portage/media-plugins/alsa-plugins-1.0.29/work/alsa-plugins-1.0.29/pulse/pulse.c:243:(pulse_connect)
> PulseAudio: Unable to connect: Connection refused
>
> ALSA lib
> /var/tmp/portage/media-plugins/alsa-plugins-1.0.29/work/alsa-plugins-1.0.29/pulse/pulse.c:243:(pulse_connect)
> PulseAudio: Unable to connect: Connection refused
>
> ALSA lib
> /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-1.0.29/src/pcm/pcm_dsnoop.c:614:(snd_pcm_dsnoop_open)
> unable to open slave
> ALSA lib
> /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-1.0.29/src/pcm/pcm_dmix.c:1024:(snd_pcm_dmix_open)
> unable to open slave
> ALSA lib
> /var/tmp/portage/media-libs/alsa-lib-1.0.29/work/alsa-lib-1.0.29/src/pcm/pcm_dmix.c:1024:(snd_pcm_dmix_open)
> unable to open slave
> High Performance MPEG 1.0/2.0/2.5 Audio Player for Layers 1, 2 and 3
> version 1.22.4; written and copyright by Michael Hipp and others
> free software (LGPL) without any warranty but with best wishes
>
> Playing MPEG stream 1 of 1: 09 - Doc Brown vs Doctor Who.mp3 ...
> Expression 'paInvalidSampleRate' failed in
> '/var/tmp/portage/media-libs/portaudio-19_pre20140130/work/portaudio/src/hostapi/alsa/pa_linux_alsa.c',
> line: 2043
> Expression 'PaAlsaStreamComponent_InitialConfigure( &self->playback,
> outParams, self->primeBuffers, hwParamsPlayback, &realSr )' failed in
> '/var/tmp/portage/media-libs/portaudio-19_pre20140130/work/portaudio/src/hostapi/alsa/pa_linux_alsa.c',
> line: 2717
> Expression 'PaAlsaStream_Configure( stream, inputParameters,
> outputParameters, sampleRate, framesPerBuffer, &inputLatency,
> &outputLatency, &hostBufferSizeMode )' failed in
> '/var/tmp/portage/media-libs/portaudio-19_pre20140130/work/portaudio/src/hostapi/alsa/pa_linux_alsa.c',
> line: 2838
>
> [/var/tmp/portage/media-sound/mpg123-1.22.4/work/mpg123-1.22.4/src/output/portaudio.c:91]
> error: Failed to open PortAudio default stream: Invalid sample rate
>
> [/var/tmp/portage/media-sound/mpg123-1.22.4/work/mpg123-1.22.4/src/audio.c:645]
> error: failed to open audio device
>
> [/var/tmp/portage/media-sound/mpg123-1.22.4/work/mpg123-1.22.4/src/mpg123.c:547]
> error: failed to reset audio device: Success
> michael@caitlyn mp3 $ cat ~/integris
> $Integris2016
> michael@caitlyn mp3 $ pulseaudio --start
> D: [pulseaudio] conf-parser.c: Parsing configuration file
> '/etc/pulse/client.conf'
> E: [pulseaudio] main.c: Daemon startup failed.
> michael@caitlyn mp3 $ aplay -l
> **** List of PLAYBACK Hardware Devices ****
> card 1: AUDIO [USB AUDIO], device 0: USB Audio [USB Audio]
> Subdevices: 1/1
> Subdevice #0: subdevice #0
>
>
> I have no /etc/init.d/pulseaudio service to start. It complains when I
> try to start it as root, and when I try to start it as a normal user:
> michael@caitlyn mp3 $ pulseaudio --start
> D: [pulseaudio] conf-parser.c: Parsing configuration file
> '/etc/pulse/client.conf'
> E: [pulseaudio] main.c: Daemon startup failed.
> michael@caitlyn mp3 $
>
>
> What am I missing here? On my previous PC I couldn't get pulseaudio to
> work right, so I disabled it (USE="-pulseaudio"), but on caitlyn when I
> do that I lose sound in mplayer, so I guess it's not an option.
> Pulseaudio is TRYING to start (I can tell by the 1248 lines in
> /var/log/messages that I grepped for pulseaudio and today's date.)
> What's my next step?
I've got fresh logs for pulseaudio from today:
caitlyn linux # grep pulseaudio /var/log/messages | grep 'May 18'
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] main.c:
setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] main.c:
setrlimit(RLIMIT_RTPRIO, (9, 9)) failed: Operation not permitted
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] core-rtclock.c:
Timer slack is set to 50 us.
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] core-util.c:
Failed to acquire high-priority scheduling: No such file or directory
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] main.c: This is
PulseAudio 8.0
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] main.c:
Compilation host: x86_64-pc-linux-gnu
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] main.c:
Compilation CFLAGS: -O2 -pipe -Wall -W -Wextra -Wno-long-long
-Wno-overlength-strings -Wunsafe-loop-optimizations -Wundef -Wformat=2
-Wlogical-op -Wsign-compare -Wformat-security -Wmissing-include-dirs
-Wformat-nonliteral -Wpointer-arith -Winit-self
-Wdeclaration-after-statement -Wfloat-equal -Wmissing-prototypes
-Wredundant-decls -Wmissing-declarations -Wmissing-noreturn -Wshadow
-Wendif-labels -Wcast-align -Wstrict-aliasing -Wwrite-strings
-Wno-unused-parameter -ffast-math -fno-common -fdiagnostics-show-option
-fdiagnostics-color=auto
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] main.c: Running
on host: Linux x86_64 4.4.6-gentoo #4 SMP Sat May 14 17:42:48 CDT 2016
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] main.c: Found 2
CPUs.
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] main.c: Page
size is 4096 bytes
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] main.c: Compiled
with Valgrind support: no
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] main.c: Running
in valgrind mode: no
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] main.c: Running
in VM: no
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] main.c:
Optimized build: yes
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] main.c: FASTPATH
defined, only fast path asserts disabled.
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] main.c: Machine
ID is 39ff9e21fee1a44c7d73e0fe572fabb8.
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] main.c: Using
runtime directory
/home/michael/.config/pulse/39ff9e21fee1a44c7d73e0fe572fabb8-runtime.
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] main.c: Using
state directory /home/michael/.config/pulse.
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] main.c: Using
modules directory /usr/lib64/pulse-8.0/modules.
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] main.c: Running
in system mode: no
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] main.c: System
supports high resolution timers
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] memblock.c:
Using shared memory pool with 1024 slots of size 64.0 KiB each, total
size is 64.0 MiB, maximum usable slot size is 65472
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] memblock.c:
Using shared memory pool with 1024 slots of size 64.0 KiB each, total
size is 64.0 MiB, maximum usable slot size is 65472
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] cpu-x86.c: CPU
flags: CMOV MMX SSE SSE2 SSE3 SSSE3 SSE4_1 SSE4_2
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] svolume_mmx.c:
Initialising MMX optimized volume functions.
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] remap_mmx.c:
Initialising MMX optimized remappers.
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] svolume_sse.c:
Initialising SSE2 optimized volume functions.
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] remap_sse.c:
Initialising SSE2 optimized remappers.
May 18 09:45:45 caitlyn pulseaudio[28804]: [pulseaudio] sconv_sse.c:
Initialising SSE2 optimized conversions.
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] svolume_orc.c:
Initialising ORC optimized volume functions.
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] database-gdbm.c:
Opened GDBM database
'/home/michael/.config/pulse/39ff9e21fee1a44c7d73e0fe572fabb8-device-volumes.x86_64-pc-linux-gnu.gdbm'
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio]
module-device-restore.c: Successfully opened database file
'/home/michael/.config/pulse/39ff9e21fee1a44c7d73e0fe572fabb8-device-volumes'.
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] module.c: Loaded
"module-device-restore" (index: #0; argument: "").
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] database-gdbm.c:
Opened GDBM database
'/home/michael/.config/pulse/39ff9e21fee1a44c7d73e0fe572fabb8-stream-volumes.x86_64-pc-linux-gnu.gdbm'
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio]
module-stream-restore.c: Successfully opened database file
'/home/michael/.config/pulse/39ff9e21fee1a44c7d73e0fe572fabb8-stream-volumes'.
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] protocol-dbus.c:
Interface org.PulseAudio.Ext.StreamRestore1 added for object
/org/pulseaudio/stream_restore1
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] module.c: Loaded
"module-stream-restore" (index: #1; argument: "").
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] database-gdbm.c:
Opened GDBM database
'/home/michael/.config/pulse/39ff9e21fee1a44c7d73e0fe572fabb8-card-database.x86_64-pc-linux-gnu.gdbm'
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio]
module-card-restore.c: Successfully opened database file
'/home/michael/.config/pulse/39ff9e21fee1a44c7d73e0fe572fabb8-card-database'.
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] module.c: Loaded
"module-card-restore" (index: #2; argument: "").
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] module.c: Loaded
"module-augment-properties" (index: #3; argument: "").
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] module.c: Loaded
"module-switch-on-port-available" (index: #4; argument: "").
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] alsa-util.c:
Trying hw:0,0 with SND_PCM_NO_AUTO_FORMAT ...
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] pcm_hw.c: open
'/dev/snd/pcmC0D0p' failed (-2)
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] alsa-util.c:
Error opening PCM device hw:0,0: No such file or directory
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] module.c: Failed
to load module "module-alsa-sink" (argument: "device=hw:0,0"):
initialization failed.
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] main.c: Module
load failed.
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] main.c: Failed
to initialize daemon.
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] module.c:
Unloading "module-switch-on-port-available" (index: #4).
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] module.c:
Unloaded "module-switch-on-port-available" (index: #4).
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio]
core-subscribe.c: Dropped redundant event due to remove event.
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] module.c:
Unloading "module-augment-properties" (index: #3).
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] module.c:
Unloaded "module-augment-properties" (index: #3).
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio]
core-subscribe.c: Dropped redundant event due to remove event.
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] module.c:
Unloading "module-card-restore" (index: #2).
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] module.c:
Unloaded "module-card-restore" (index: #2).
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio]
core-subscribe.c: Dropped redundant event due to remove event.
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] module.c:
Unloading "module-stream-restore" (index: #1).
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] protocol-dbus.c:
Interface org.PulseAudio.Ext.StreamRestore1 removed from object
/org/pulseaudio/stream_restore1
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] module.c:
Unloaded "module-stream-restore" (index: #1).
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio]
core-subscribe.c: Dropped redundant event due to remove event.
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] module.c:
Unloading "module-device-restore" (index: #0).
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] module.c:
Unloaded "module-device-restore" (index: #0).
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio]
core-subscribe.c: Dropped redundant event due to remove event.
May 18 09:45:46 caitlyn pulseaudio[28804]: [pulseaudio] main.c: Daemon
terminated.
caitlyn linux #
To unsubscribe from this list, please email LINUX_Newbies-unsubscribe@yahoogroups.com & you will be removed.