pulseaudio: no sound, Fedora 12, what debugging/diagnostic info is needed to solve this problem?

Rick Sewill rsewill at gmail.com
Thu Mar 4 04:32:35 UTC 2010


I have found audio, in general, and pulseaudio, in particular, tricky.

I try to divide audio into parts, alsa is one part, pulseaudio another.

I believe many software programs use alsa.
I believe alsa, in turn, uses pulseaudio.

I must add a caveat.  I believe programs can be configured to use alsa.
I believe some programs can be configured to use pulseaudio, bypassing
alsa.  I believe some programs can be configured to bypass pulseaudio,
and go straight to the hardware device drivers.

Assuming your configuration uses alsa, which in turn goes to pulseaudio,
I believe you have to look at both alsa and pulseaudio.

For alsa, do you have alsa-utils installed?
For me, it is rpm -q -i alsa-utils:
rsewill at rsewill:~ <2:18> $ rpm -q -i alsa-utils
Name        : alsa-utils                   Relocations: (not
relocatable)
Version     : 1.0.22                            Vendor: Fedora Project
Release     : 1.fc12                        Build Date: Sat 02 Jan 2010
03:26:02
....

If you this installed, there is a program, amixer, please type
amixer

When I type amixer, I get the following:
rsewill at rsewill:~ <2:16> $ amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined penum
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65536
  Mono:
  Front Left: Playback 15601 [24%] [on]
  Front Right: Playback 15601 [24%] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch cswitch-joined penum
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 65536
  Front Left: Capture 32845 [50%] [on]
  Front Right: Capture 32845 [50%] [on]
"Master" seems to control output volume for me.
"Capture" seems to control input from my microphone.

For audio output, 
I want "Front Left" and "Front Right" of "Master"
to have a certain volume level, in my case 24%, and be on.
I actually control volume by adjusting the volume of "Master".
I leave pulseaudio alone once I have it set the way I want it.

For my microphone, I control the volume using "Capture".
I leave pulseaudio alone once I have it set the way I want it.

I believe this is only part of the picture.
Alsa, in turn goes to pulseaudio.

There is a pulseaudio volume control applet.
Do you have pavucontrol installed?
It is found in the rpm pavucontrol, for me
rpm -q -i pavucontrol yields
rsewill at rsewill:~ <2:21> $ rpm -q -i pavucontrol
Name        : pavucontrol                  Relocations: (not
relocatable)
Version     : 0.9.10                            Vendor: Fedora Project
Release     : 1.fc12                        Build Date: Wed 14 Oct 2009
03:11:07 PM CDT
....

When I run this applet, either from the command line, as pavucontrol,
or from the menu--it is found as
Applications->Sounds and Video-->Pulse Audio Volume Control

an applet pops up, with 5 tabs,
"Playback","Recording","Output Devices","Input Devices","Configuration"
Please look at the "Output Devices" tab, 
show "All Output Devices", 
Please make sure the device is not muted--if the device is muted
the "Front Left" and "Front Right" lines will be greyed out on a device.
Please adjust the volume of this device, as appropriate.
For me, I have the volume of my device adjusted to 24% for both
"Front Left" and "Front Right".

I have not found man pages for pavucontrol or amixer.
I can make educated guesses what the tabs for pavucontrol mean,
but I would be guessing.

You will have different hardware.  
You may get different devices to examine.
Hope you can adapt what I see on my system to what you have.

On Wed, 2010-03-03 at 17:21 -0800, Kenneth Wolcott wrote: 
> Hi;
> 
>   Can someone assist me with the interpretation of the provided data
> and how to proceed with getting pulseaudio working?
> 
> Thanks,
> Ken Wolcott
> 
> On Tue, Mar 2, 2010 at 22:17, Kenneth Wolcott <kennethwolcott at gmail.com> wrote:
> > Hi Don;
> >
> >> Here's what I used to find my problem, in addition to making sure I
> >> found the correct hardware and software versions:
> >>
> >> lsmod | grep snd
> >> lspci | grep Audio
> >> cat /proc/asound/cards
> >> aplay -L
> >> pulseaudio --dump-config
> >>
> >> Bugzilla (in particular, https://bugzilla.redhat.com/show_bug.cgi?id=544654)
> >>
> >>  -Don
> >
> > Thanks for your reply.
> >
> > How do I interpret the following information divulged by the commands
> > you suggested that I run?
> >
> > #!/bin/bash -xv
> >
> > lsmod | grep snd
> > + lsmod
> > + grep snd
> > snd_hda_codec_realtek   199204  1
> > snd_hda_codec_intelhdmi    12468  1
> > snd_hda_intel          25096  4
> > snd_hda_codec          60584  3
> > snd_hda_codec_realtek,snd_hda_codec_intelhdmi,snd_hda_intel
> > snd_hwdep               6900  1 snd_hda_codec
> > snd_seq                46960  0
> > snd_seq_device          6232  1 snd_seq
> > snd_pcm                64772  3 snd_hda_intel,snd_hda_codec
> > snd_timer              17992  2 snd_seq,snd_pcm
> > snd                    50908  16
> > snd_hda_codec_realtek,snd_hda_codec_intelhdmi,snd_hda_intel,snd_hda_codec,snd_hwdep,snd_seq,snd_seq_device,snd_pcm,snd_timer
> > soundcore               5672  1 snd
> > snd_page_alloc          7832  2 snd_hda_intel,snd_pcm
> >
> > lspci | grep Audio
> > + lspci
> > + grep Audio
> > 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High
> > Definition Audio Controller (rev 01)
> >
> > cat /proc/asound/cards
> > + cat /proc/asound/cards
> >  0 [Intel          ]: HDA-Intel - HDA Intel
> >                      HDA Intel at 0xf2500000 irq 16
> >
> > aplay -L
> > + aplay -L
> > default
> >    Default
> > front:CARD=Intel,DEV=0
> >    HDA Intel, ALC887 Analog
> >    Front speakers
> > surround40:CARD=Intel,DEV=0
> >    HDA Intel, ALC887 Analog
> >    4.0 Surround output to Front and Rear speakers
> > surround41:CARD=Intel,DEV=0
> >    HDA Intel, ALC887 Analog
> >    4.1 Surround output to Front, Rear and Subwoofer speakers
> > surround50:CARD=Intel,DEV=0
> >    HDA Intel, ALC887 Analog
> >    5.0 Surround output to Front, Center and Rear speakers
> > surround51:CARD=Intel,DEV=0
> >    HDA Intel, ALC887 Analog
> >    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
> > surround71:CARD=Intel,DEV=0
> >    HDA Intel, ALC887 Analog
> >    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
> > iec958:CARD=Intel,DEV=0
> >    HDA Intel, ALC887 Digital
> >    IEC958 (S/PDIF) Digital Audio Output
> > hdmi:CARD=Intel,DEV=0
> >    HDA Intel, INTEL HDMI
> >    HDMI Audio Output
> >
> > pulseaudio --dump-conf
> > + pulseaudio --dump-conf
> > ### Read from configuration file: /etc/pulse/daemon.conf ###
> > daemonize = no
> > fail = yes
> > high-priority = yes
> > nice-level = -11
> > realtime-scheduling = yes
> > realtime-priority = 5
> > allow-module-loading = yes
> > allow-exit = yes
> > use-pid-file = yes
> > system-instance = no
> > cpu-limit = no
> > enable-shm = yes
> > flat-volumes = yes
> > lock-memory = no
> > exit-idle-time = 20
> > scache-idle-time = 20
> > dl-search-path = /usr/lib/pulse-0.9.21/modules
> > default-script-file = /etc/pulse/default.pa
> > load-default-script-file = yes
> > log-target = auto
> > log-level = notice
> > resample-method = auto
> > enable-remixing = yes
> > enable-lfe-remixing = no
> > default-sample-format = s16le
> > default-sample-rate = 44100
> > default-sample-channels = 2
> > default-channel-map = front-left,front-right
> > default-fragments = 4
> > default-fragment-size-msec = 25
> > shm-size-bytes = 0
> > log-meta = no
> > log-time = no
> > log-backtrace = 0
> > rlimit-fsize = -1
> > rlimit-data = -1
> > rlimit-stack = -1
> > rlimit-core = -1
> > rlimit-rss = -1
> > rlimit-as = -1
> > rlimit-nproc = -1
> > rlimit-nofile = 256
> > rlimit-memlock = -1
> > rlimit-locks = -1
> > rlimit-sigpending = -1
> > rlimit-msgqueue = -1
> > rlimit-nice = 31
> > rlimit-rtprio = 9
> > rlimit-rttime = 1000000
> >
> > Thanks,
> > Ken Wolcott
> >




More information about the users mailing list