[pulseaudio-discuss] Unable to make pulseaudio work on a Slackware based distribution (Kongoni)
Robert Gabriel
robert at linux-source.org
Thu Dec 9 09:09:30 PST 2010
OK, here it is:
pacmd list: http://pastebin.com/raw.php?i=Kn7tZBH4
>>> [kongoni at kongoni ~]$ ck-list-sessions
Session1:
unix-user = '1000'
realname = 'Kongoni'
seat = 'Seat1'
session-type = ''
active = TRUE
x11-display = ':0'
x11-display-device = '/dev/tty7'
display-device = ''
remote-host-name = ''
is-local = TRUE
on-since = '2010-12-09T17:02:12.843441Z'
login-session-id = ''
[kongoni at kongoni ~]$ getfacl /dev/snd/*
getfacl: Removing leading '/' from absolute path names
# file: dev/snd/by-path
# owner: root
# group: root
user::rwx
group::r-x
other::r-x
# file: dev/snd/controlC0
# owner: root
# group: audio
user::rw-
user:kongoni:rw-
group::rw-
mask::rw-
other::---
# file: dev/snd/pcmC0D0c
# owner: root
# group: audio
user::rw-
user:kongoni:rw-
group::rw-
mask::rw-
other::---
# file: dev/snd/pcmC0D0p
# owner: root
# group: audio
user::rw-
user:kongoni:rw-
group::rw-
mask::rw-
other::---
# file: dev/snd/pcmC0D1c
# owner: root
# group: audio
user::rw-
user:kongoni:rw-
group::rw-
mask::rw-
other::---
# file: dev/snd/timer
# owner: root
# group: audio
user::rw-
user:kongoni:rw-
group::rw-
mask::rw-
other::---
[kongoni at kongoni ~]$ sudo lsof |grep /dev/snd
kmix 1114 kongoni 12u CHR 116,6 0t0
2372 /dev/snd/controlC0
pulseaudi 1121 kongoni 21u CHR 116,6 0t0
2372 /dev/snd/controlC0
pulseaudi 1121 kongoni 28u CHR 116,6 0t0
2372 /dev/snd/controlC0
PULSE_LOG=99 paplay -vvvvv /path/to/a/wav.wav - running the sound work properly!
But even if the sound work properly when loggin into KDE the error is
still there and the login "sound" didn't work,
but now KDE didn't throw an error and Falling back to . "The pop-up
error from the KDE notifier or whatever is called."
On Thu, Dec 9, 2010 at 16:51, Colin Guthrie <gmane at colin.guthr.ie> wrote:
> Apologies, but your HTML formatting makes this reply hard to read.
>
> As you had the manually added sinks, they actually technically
> conflicted with the built in (i.e. udev detected) sinks.
>
> They both referred to the same alsa device, and thus during our probing
> phase, we were unable to open the alsa devices (as we were essentially
> conflicting with ourselves).
>
> See annotation below.
>
> 'Twas brillig, and Robert Gabriel at 09/12/10 11:57 did gyre and gimble:
>> 2 sink(s) available.
>> * index: 0
>> name: <alsa_output.hw_0>
>> driver: <module-alsa-sink.c>
>> flags: HARDWARE DECIBEL_VOLUME LATENCY
>> state: SUSPENDED
>> suspend cause: IDLE
>> priority: 9950
>> volume: 0: 100% 1: 100%
>> 0: 0.00 dB 1: 0.00 dB
>> balance 0.00
>> base volume: 100%
>> 0.00 dB
>> volume steps: 65537
>> muted: no
>> current latency: 0.00 ms
>> max request: 0 KiB
>> max rewind: 0 KiB
>> monitor source: 0
>> sample spec: s16le 2ch 48000Hz
>> channel map: front-left,front-right
>> Stereo
>> used by: 0
>> linked by: 0
>> fixed latency: 80.00 ms
>> module: 4
>> properties:
>> alsa.resolution_bits = "16"
>> device.api = "alsa"
>> device.class = "sound"
>> alsa.class = "generic"
>> alsa.subclass = "generic-mix"
>> alsa.name <http://alsa.name> = "Intel 82801AA-ICH"
>> alsa.id <http://alsa.id> = "Intel ICH"
>> alsa.subdevice = "0"
>> alsa.subdevice_name = "subdevice #0"
>> alsa.device = "0"
>> alsa.card = "0"
>> alsa.card_name = "Intel 82801AA-ICH"
>> alsa.long_card_name = "Intel 82801AA-ICH with STAC9700,83,84 at irq 21"
>> alsa.driver_name = "snd_intel8x0"
>> device.bus_path = "pci-0000:00:05.0"
>> sysfs.path = "/devices/pci0000:00/0000:00:05.0/sound/card0"
>> device.bus = "pci"
>> device.vendor.id <http://device.vendor.id> = "8086"
>> device.vendor.name <http://device.vendor.name> = "Intel Corporation"
>> device.product.id <http://device.product.id> = "2415"
>> device.product.name <http://device.product.name> = "82801AA AC'97 Audio
>> Controller"
>> device.form_factor = "internal"
>> device.string = "hw:0"
>> device.buffering.buffer_size = "15360"
>> device.buffering.fragment_size = "1920"
>> device.access_mode = "mmap"
>> device.description = "Internal Audio"
>> device.icon_name = "audio-card-pci"
>
> The above is from your manually added sink. I'd remove it from your
> default.pa and retart PA.
>
>
>> index: 1
>> name: <alsa_output.pci-0000_00_05.0.analog-stereo>
>> driver: <module-alsa-card.c>
>> flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
>> state: SUSPENDED
>> suspend cause: IDLE
>> priority: 9959
>> volume: 0: 28% 1: 28%
>> 0: -33.00 dB 1: -33.00 dB
>> balance 0.00
>> base volume: 63%
>> -12.00 dB
>> volume steps: 65537
>> muted: no
>> current latency: 0.00 ms
>> max request: 0 KiB
>> max rewind: 0 KiB
>> monitor source: 2
>> sample spec: s16le 2ch 48000Hz
>> channel map: front-left,front-right
>> Stereo
>> used by: 0
>> linked by: 0
>> fixed latency: 80.00 ms
>> card: 0 <alsa_card.pci-0000_00_05.0>
>> module: 18
>> properties:
>> alsa.resolution_bits = "16"
>> device.api = "alsa"
>> device.class = "sound"
>> alsa.class = "generic"
>> alsa.subclass = "generic-mix"
>> alsa.name <http://alsa.name> = "Intel 82801AA-ICH"
>> alsa.id <http://alsa.id> = "Intel ICH"
>> alsa.subdevice = "0"
>> alsa.subdevice_name = "subdevice #0"
>> alsa.device = "0"
>> alsa.card = "0"
>> alsa.card_name = "Intel 82801AA-ICH"
>> alsa.long_card_name = "Intel 82801AA-ICH with STAC9700,83,84 at irq 21"
>> alsa.driver_name = "snd_intel8x0"
>> device.bus_path = "pci-0000:00:05.0"
>> sysfs.path = "/devices/pci0000:00/0000:00:05.0/sound/card0"
>> device.bus = "pci"
>> device.vendor.id <http://device.vendor.id> = "8086"
>> device.vendor.name <http://device.vendor.name> = "Intel Corporation"
>> device.product.id <http://device.product.id> = "2415"
>> device.product.name <http://device.product.name> = "82801AA AC'97 Audio
>> Controller"
>> device.form_factor = "internal"
>> device.string = "front:0"
>> device.buffering.buffer_size = "15360"
>> device.buffering.fragment_size = "1920"
>> device.access_mode = "mmap"
>> device.profile.name <http://device.profile.name> = "analog-stereo"
>> device.profile.description = "Analog Stereo"
>> device.description = "Internal Audio Analog Stereo"
>> alsa.mixer_name = "SigmaTel STAC9700,83,84"
>> alsa.components = "AC97a:83847600"
>> module-udev-detect.discovered = "1"
>> device.icon_name = "audio-card-pci"
>> ports:
>> analog-output;output-amplifier-on: Analog Output / Amplifier (priority 9910)
>> analog-output;output-amplifier-off: Analog Output / No Amplifier
>> (priority 9900)
>> analog-output-mono;output-amplifier-on: Analog Mono Output / Amplifier
>> (priority 5010)
>> analog-output-mono;output-amplifier-off: Analog Mono Output / No
>> Amplifier (priority 5000)
>> analog-output-lfe-on-mono;output-amplifier-on: Analog Output (LFE) /
>> Amplifier (priority 4010)
>> analog-output-lfe-on-mono;output-amplifier-off: Analog Output (LFE) / No
>> Amplifier (priority 4000)
>> active port: <analog-output;output-amplifier-on>
>
>
> This is the interesting bit.
>
> You'll see that you have various potential ports available to use. The
> active port is actually the one with highest priority, so it's likely
> the best choice, but just to be sure, you can try other ports (see the
> Output Devices tab in pavucontrol)
>
> If possible please try playing some sound and then while the sound is
> playing, run "pacmd list" and put that file in a pastebin somewhere
> (it's likely too large to attach here).
>
> The volume you have selected here is quite low, you may want to try
> cranking it up a bit (again pavucontrol is your friend).
>
> Col
>
> --
>
> Colin Guthrie
> gmane(at)colin.guthr.ie
> http://colin.guthr.ie/
>
> Day Job:
> Tribalogic Limited [http://www.tribalogic.net/]
> Open Source:
> Mageia Contributor [http://www.mageia.org/]
> PulseAudio Hacker [http://www.pulseaudio.org/]
> Trac Hacker [http://trac.edgewall.org/]
>
> _______________________________________________
> pulseaudio-discuss mailing list
> pulseaudio-discuss at mail.0pointer.de
> https://tango.0pointer.de/mailman/listinfo/pulseaudio-discuss
>
More information about the pulseaudio-discuss
mailing list