You are not logged in.

#1 2015-10-05 05:49:24

rassawyer
Member
From: Pennsylvania, USA
Registered: 2015-03-26
Posts: 23
Website

[Solved] pulseaudio/alsa

Hello. I am running Arch (4.2.1-1-ARCH) on a mid 2010 macbook. When I first got it setup, everything worked great, but then somewhere along the way, my audio stopped cooperating. I don't even remeber now what the original issue was (I was away from my laptop for almost 6 months, not by choice). Anyway, the current situation is this. Pulseaudio kept defaulting to the wrong audio card, which I don't even know how is possible, since I only have one card. When I booted, it would come up and work fine for 30 seconds to a minute, then it would switch cards, and I would get an error related to PCM whenever I tried anything like pulseaudio-ctl up, etc. I tried all manner of troubleshooting and suggestions from numerous wiki pages and forum pages, but had no success. My last attempt was to backup all the files related to ALSA and pulseaudio and remove them and reinstall. Great idea... Except that I backed them up by renaming them to .bak, and then when I deleted all the *pulse* files, it took out my backups as well. I got pulseaudio, ALSA, ALSA-plugins, ALSA-utils, etc all reinstalled, but now I get errors about missing .so files.specifically,

/usr/lib/chromium/chromium: error while loading shared libraries: libpulsecommon-7.0.so: cannot open shared object file: No such file or directory

Can anyone point me in the right direction to reconfigure this mess, or should I reinstall Arch? (I installed Arch to its own partition, so I can fairly easily reinstall it without losing personal files, etc.) Any logs, etc that will help, just ask. Thanks in advance!!

Last edited by rassawyer (2015-10-06 19:38:09)

Offline

#2 2015-10-05 06:13:15

rassawyer
Member
From: Pennsylvania, USA
Registered: 2015-03-26
Posts: 23
Website

Re: [Solved] pulseaudio/alsa

update. I got the missing .so(s) reinstalled, and I'm back to where I started. I have sound, but I still keep getting the PCM error, e.g.

[rassawyer@truegeekllc pulseaudio-ctl]$ amixer set PCM unmute
amixer: Unable to find simple control 'PCM',0

[rassawyer@truegeekllc pulseaudio-ctl]$ amixer set master unmute
amixer: Unable to find simple control 'master',0

Offline

#3 2015-10-05 06:39:18

rassawyer
Member
From: Pennsylvania, USA
Registered: 2015-03-26
Posts: 23
Website

Re: [Solved] pulseaudio/alsa

update #2. If I kill pulseaudio

pulseaudio -k

the sound card goes back to the proper assignment, and everything works great until pulseaudio respawns...

Offline

#4 2015-10-05 16:36:45

rlees85
Member
From: Daventry, UK
Registered: 2015-04-29
Posts: 96
Website

Re: [Solved] pulseaudio/alsa

This does not help you, but the update to PulseAudio 7 does seem like a huge pile. On one of my PCs everything seems ok (thankfully) but on my media center every time the PC rebooted everything was muted by default. I tried different settings in /etc/pulse/daemon.conf and tried deleting ~/.config/pulse for all users but nothing made it work right...

In the end, I binned Pulse and just used Alsa as it only runs one app (Kodi) anyway....

Does downgrading to Pulseaudio 6 help? I mean I cant be bothered to look into it myself as I am happy enough using Alsa (in movies the sound of the people speaking seem closer to the background stuff too, so I don't have to change volume so much between talking and action scenes), but I do think Pulse 7 is probably your issue too. It seems totally pants.

Offline

#5 2015-10-05 17:01:13

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,740

Re: [Solved] pulseaudio/alsa

To prevent pulse from spawning, as your user execute

systemctl --user mask pulseaudio.socket

In general you should provide some more info, namely the output of

aplay -l
pacmd list-sinks
pacmd list-cards
sudo fuser -v /dev/snd/*

and tell us which of those cards you want as default, you already went into e.g. pavucontrol and set your wanted card as default I hope? If you haven't go do so.

And what exactly did you try from the wiki, we don't have magic glassballs here

Last edited by V1del (2015-10-05 17:03:07)

Offline

#6 2015-10-05 20:38:11

rassawyer
Member
From: Pennsylvania, USA
Registered: 2015-03-26
Posts: 23
Website

Re: [Solved] pulseaudio/alsa

V1del wrote:

and tell us which of those cards you want as default, you already went into e.g. pavucontrol and set your wanted card as default I hope? If you haven't go do so.

aplay -l
pacmd list-sinks
pacmd list-cards
sudo fuser -v /dev/snd/*
 aplay -l 

gives me this

**** List of PLAYBACK Hardware Devices ****
card 0: NVidia [HDA NVidia], device 0: CS4206 Analog [CS4206 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 1: CS4206 Digital [CS4206 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 7: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: NVidia [HDA NVidia], device 8: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
pacmd

commands give me

No PulseAudio daemon running, or not running as session daemon.
pulseaudio --start

gives

E: [pulseaudio] main.c: Daemon startup failed.
V1del wrote:

And what exactly did you try from the wiki, we don't have magic glassballs here

Honestly I've tried so many different wiki pages that I lost track. I do know that I tried editing the default.pa file, I remove the asound.state file, I removed all the userspace .config files related to both pulse and ALSA, etc. I should have clarified, I'm certain if saying that it is trying to use the wrong card is really accurate. If I get pulseaudio to start, and open alsamixer, then hit F6 to select the sound card, I have - (default), which is what it is on, and the alsamixer panel has only one adjustment slider. If I select 0 HDA NVidia, which is what it used to use, and what I want it to use, I can adjust master, headphones, speakers, bass level, PCM etc all independently. I haven't figured out how to attach images, or I would have screenshots for some of this.

Screenshots are on my website:
alsa.jpg alsa1.jpg alsa2.jpg

Edit: attempting to downgrade to previous pulseaudio gives this

[rassawyer@truegeekllc pkg]$ sudo pacman -U pulseaudio-6.0-1-x86_64.pkg.tar.xz 
[sudo] password for root: 
loading packages...
warning: downgrading package pulseaudio (7.0-2 => 6.0-1)
resolving dependencies...
warning: cannot resolve "libpulse=6.0-1", a dependency of "pulseaudio"
:: The following package cannot be upgraded due to unresolvable dependencies:
      pulseaudio

:: Do you want to skip the above package for this upgrade? [y/N] y
looking for conflicting packages...
 there is nothing to do

Last edited by rassawyer (2015-10-11 10:23:07)

Offline

#7 2015-10-05 23:27:46

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,740

Re: [Solved] pulseaudio/alsa

Pulseaudio exposing only one mixer on ALSA's side is normal and expected behaviour, pulseaudio takes over the soundcard, if you intend to use it you should do most of the configuration via pulseaudio's tools. This is no indication of pulse using the wrong card.

What we now have to find out is why pulseaudio isn't starting occasionally which is what you want to fix and wherein your real problem lies. Assuming you haven't done the systemctl mask yet what is the output of

journalctl -u=pulseaudio.service
sudo fuser -v /dev/snd/* #You forgot that one and it happens to be one of the most important ones
pulseaudio -vvv #If you have done the mask already you should be able to start it manually like this and get some more verbose output

Contents of /etc/asound.conf and if you edited the /etc/pulse/default.pa post that as well to be sure


For completeness sake also post

pacman -Qs pulseaudio
pacman -Qs alsa-plugin

Leave the downgrading to the side for now, I don't think this is really the underlying issue here.

Offline

#8 2015-10-06 00:17:11

rassawyer
Member
From: Pennsylvania, USA
Registered: 2015-03-26
Posts: 23
Website

Re: [Solved] pulseaudio/alsa

[rassawyer@truegeekllc ~]$ journalctl -u=pulseaudio.service
-- No entries --
[rassawyer@truegeekllc ~]$ sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  rassawyer    391 F.... pulseaudio
[rassawyer@truegeekllc ~]$ pulseaudio -vvv
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
D: [pulseaudio] core-rtclock.c: Timer slack is set to 50 us.
D: [pulseaudio] core-util.c: RealtimeKit worked.
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 7.0
D: [pulseaudio] main.c: Compilation host: x86_64-unknown-linux-gnu
D: [pulseaudio] main.c: Compilation CFLAGS: -march=x86-64 -mtune=generic -O2 -pipe -fstack-protector-strong --param=ssp-buffer-size=4 -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
D: [pulseaudio] main.c: Running on host: Linux x86_64 4.2.1-1-ARCH #1 SMP PREEMPT Tue Sep 22 06:57:07 CEST 2015
D: [pulseaudio] main.c: Found 2 CPUs.
I: [pulseaudio] main.c: Page size is 4096 bytes
D: [pulseaudio] main.c: Compiled with Valgrind support: no
D: [pulseaudio] main.c: Running in valgrind mode: no
D: [pulseaudio] main.c: Running in VM: no
D: [pulseaudio] main.c: Optimized build: yes
D: [pulseaudio] main.c: FASTPATH defined, only fast path asserts disabled.
I: [pulseaudio] main.c: Machine ID is eca5b861dc024fb2b2ab8379dd124683.
I: [pulseaudio] main.c: Session ID is c1.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/rassawyer/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-7.0/modules.
I: [pulseaudio] main.c: Running in system mode: no
E: [pulseaudio] pid.c: Daemon already running.
E: [pulseaudio] main.c: pa_pid_file_create() failed.
[rassawyer@truegeekllc ~]$ pacman -Qs pulseaudio
local/lib32-libpulse 7.0-2
    A featureful, general-purpose sound server (32-bit client libraries)
local/libcanberra-pulse 0.30-5
    PulseAudio plugin for libcanberra
local/paprefs 0.9.10-4
    A simple GTK-based configuration dialog for PulseAudio
local/pavucontrol 3.0-1
    A GTK volume control for PulseAudio
local/pulseaudio 7.0-2
    A featureful, general-purpose sound server
local/pulseaudio-alsa 2-3
    ALSA Configuration for PulseAudio
local/pulseaudio-ctl 1.61-1
    Control pulseaudio volume from the shell or mapped to keyboard shortcuts.
local/pulseaudio-gconf 7.0-2
    GConf support for PulseAudio
[rassawyer@truegeekllc ~]$ pacman -Qs alsa-plugin
local/alsa-plugins 1.0.29-2
    Extra alsa plugins
local/lib32-alsa-plugins 1.0.29-2
    Extra alsa plugins (32-bit)

I'm pretty sure I put default.pa back to the way it was when it did not fix my issue, but here it is is just in case.

#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

# This startup script is used only if PulseAudio is started per-user
# (i.e. not in system mode)

.nofail

### Load something into the sample cache
#load-sample-lazy x11-bell /usr/share/sounds/freedesktop/stereo/bell.oga
#load-sample-lazy pulse-hotplug /usr/share/sounds/freedesktop/stereo/device-added.oga
#load-sample-lazy pulse-coldplug /usr/share/sounds/freedesktop/stereo/device-added.oga
#load-sample-lazy pulse-access /usr/share/sounds/freedesktop/stereo/message.oga

.fail

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore

### Automatically augment property information from .desktop files
### stored in /usr/share/application
load-module module-augment-properties

### Should be after module-*-restore but before module-*-detect
load-module module-switch-on-port-available

### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically)
load-module module-alsa-sink device=hw:0,0
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink

### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif

### Automatically connect sink and source if JACK server is present
.ifexists module-jackdbus-detect.so
.nofail
load-module module-jackdbus-detect channels=2
.fail
.endif

### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif

.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif

### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix

### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish

### Load the RTP receiver module (also configured via paprefs, see above)
#load-module module-rtp-recv

### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
#load-module module-rtp-send source=rtp.monitor

### Load additional modules from GConf settings. This can be configured with the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict with manually
### loaded modules.
.ifexists module-gconf.so
.nofail
load-module module-gconf
.fail
.endif

### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Honour intended role device property
load-module module-intended-roles

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
.ifexists module-console-kit.so
load-module module-console-kit
.endif
.ifexists module-systemd-login.so
load-module module-systemd-login
.endif

### Enable positioned event sounds
load-module module-position-event-sounds

### Cork music/video streams when a phone stream is active
load-module module-role-cork

### Modules to allow autoloading of filters (such as echo cancellation)
### on demand. module-filter-heuristics tries to determine what filters
### make sense, and module-filter-apply does the heavy-lifting of
### loading modules and rerouting streams.
load-module module-filter-heuristics
load-module module-filter-apply

# X11 modules should not be started from default.pa so that one daemon
# can be shared by multiple sessions.

### Load X11 bell module
#load-module module-x11-bell sample=x11-bell

### Register ourselves in the X11 session manager
#load-module module-x11-xsmp

### Publish connection data in the X11 root window
#.ifexists module-x11-publish.so
#.nofail
#load-module module-x11-publish
#.fail
#.endif

### Make some devices default
#set-default-sink 0
#set-default-source input

and asound.conf

# Use PulseAudio by default
pcm.!default {
  type pulse
  fallback "sysdefault"
  hint {
    show on
    description "Default ALSA Output (currently PulseAudio Sound Server)"
  }
}

ctl.!default {
  type pulse
  fallback "sysdefault"
}

# vim:set ft=alsaconf

Offline

#9 2015-10-06 00:18:40

rassawyer
Member
From: Pennsylvania, USA
Registered: 2015-03-26
Posts: 23
Website

Re: [Solved] pulseaudio/alsa

I see I forgot to say this earlier, thank you very much for your assistance!! I hate to be the newb needing help, but I'm very glad for folks like you who are willing to help!

Offline

#10 2015-10-06 00:19:52

rassawyer
Member
From: Pennsylvania, USA
Registered: 2015-03-26
Posts: 23
Website

Re: [Solved] pulseaudio/alsa

Addendum: Pulseaudio was running when I ran those commands. If you want to see what it gives with pulseaudio stopped, let me know. Meanwhile, since it is running, I'll run the pacmd commands and post what they return.

Offline

#11 2015-10-06 00:21:51

rassawyer
Member
From: Pennsylvania, USA
Registered: 2015-03-26
Posts: 23
Website

Re: [Solved] pulseaudio/alsa

[rassawyer@truegeekllc ~]$ pacmd list-sinks
2 sink(s) available.
    index: 0
	name: <alsa_output.hw_0_0>
	driver: <module-alsa-sink.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9950
	volume: front-left: 64984 /  99% / -0.22 dB,   front-right: 64984 /  99% / -0.22 dB
	        balance 0.00
	base volume: 65536 / 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 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 1999.82 ms
	module: 5
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "CS4206 Analog"
		alsa.id = "CS4206 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA NVidia"
		alsa.long_card_name = "HDA NVidia at 0xd3280000 irq 16"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:08.0"
		sysfs.path = "/devices/pci0000:00/0000:00:08.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "10de"
		device.vendor.name = "NVIDIA Corporation"
		device.product.id = "0d94"
		device.product.name = "MCP89 High Definition Audio"
		device.form_factor = "internal"
		device.string = "hw:0,0"
		device.buffering.buffer_size = "352768"
		device.buffering.fragment_size = "176384"
		device.access_mode = "mmap+timer"
		device.description = "Built-in Audio"
		device.icon_name = "audio-card-pci"
  * index: 1
	name: <alsa_output.pci-0000_00_08.0.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9959
	volume: front-left: 33482 /  51% / -17.50 dB,   front-right: 33482 /  51% / -17.50 dB
	        balance 0.00
	base volume: 52057 /  79% / -6.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 1
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 1999.82 ms
	card: 0 <alsa_card.pci-0000_00_08.0>
	module: 21
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "CS4206 Analog"
		alsa.id = "CS4206 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA NVidia"
		alsa.long_card_name = "HDA NVidia at 0xd3280000 irq 16"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:08.0"
		sysfs.path = "/devices/pci0000:00/0000:00:08.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "10de"
		device.vendor.name = "NVIDIA Corporation"
		device.product.id = "0d94"
		device.product.name = "MCP89 High Definition Audio"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "352768"
		device.buffering.fragment_size = "176384"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		alsa.mixer_name = "Nvidia MCP89 HDMI"
		alsa.components = "HDA:10134206,106b1f00,00100301 HDA:10de000c,10de0101,00100200"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-speaker>
[rassawyer@truegeekllc ~]$ pacmd list-cards
1 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_08.0>
	driver: <module-alsa-card.c>
	owner module: 21
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA NVidia"
		alsa.long_card_name = "HDA NVidia at 0xd3280000 irq 16"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:08.0"
		sysfs.path = "/devices/pci0000:00/0000:00:08.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "10de"
		device.vendor.name = "NVIDIA Corporation"
		device.product.id = "0d94"
		device.product.name = "MCP89 High Definition Audio"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
		output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
		output:analog-surround-21: Analog Surround 2.1 Output (priority 800, available: unknown)
		output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (priority 860, available: unknown)
		output:analog-surround-40: Analog Surround 4.0 Output (priority 700, available: unknown)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 760, available: unknown)
		output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
		output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5560, available: unknown)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown)
		output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5460, available: unknown)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: unknown)
		output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (priority 360, available: unknown)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: unknown)
		output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (priority 360, available: unknown)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: unknown)
		output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (priority 5260, available: unknown)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 100, available: unknown)
		output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 100, available: unknown)
		output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: unknown)
		output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (priority 5260, available: unknown)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 100, available: unknown)
		output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 100, available: unknown)
		output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (priority 160, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-stereo>
	sinks:
		alsa_output.pci-0000_00_08.0.analog-stereo/#1: Built-in Audio Analog Stereo
	sources:
		alsa_output.pci-0000_00_08.0.analog-stereo.monitor/#1: Monitor of Built-in Audio Analog Stereo
	ports:
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
		iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"

Offline

#12 2015-10-06 16:45:00

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,740

Re: [Solved] pulseaudio/alsa

Two things, you lack libpulse (however you managed to do that, it's a hard dep of many packages...) and in your default.pa one of the module-alsa loads is uncommented (line 46) comment that again. If, with these adjustments in place, it happens again that pulseaudio doesn't start/is killed, repost the output of

sudo fuser -v /dev/snd/*
pulseaudio -vvv

Mask and unmask the pulseaudio.socket as necessary (don't mask the socket if you intend to use pulseaudio normally, mask it if it crashes to get debug output from pulseaudio -vvv)

PS: Please refrain from quadruple posting, there's an edit button under each post,  use it to prepend additional information to your original post

Last edited by V1del (2015-10-06 16:49:34)

Offline

#13 2015-10-06 17:07:57

rassawyer
Member
From: Pennsylvania, USA
Registered: 2015-03-26
Posts: 23
Website

Re: [Solved] pulseaudio/alsa

I apologize for the quadruple post.

installin libpulse gives the following

[rassawyer@truegeekllc ~]$ sudo pacman -S libpulse
[sudo] password for root: 
warning: libpulse-7.0-2 is up to date -- reinstalling
resolving dependencies...
looking for conflicting packages...

Packages (1) libpulse-7.0-2

Total Installed Size:  1.37 MiB
Net Upgrade Size:      0.00 MiB

:: Proceed with installation? [Y/n] y
(1/1) checking keys in keyring                     [######################] 100%
(1/1) checking package integrity                   [######################] 100%
(1/1) loading package files                        [######################] 100%
(1/1) checking for file conflicts                  [######################] 100%
(1/1) checking available disk space                [######################] 100%
(1/1) reinstalling libpulse

pulseaudio is running, starting, and auto-spawning flawlessly now. I do however still have the "No simple control 'PCM' error".

Sound works, keyboard controls work. Thank you much for your assitence!!

Offline

#14 2015-10-06 18:59:09

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,740

Re: [Solved] pulseaudio/alsa

As said, this is normal. if you actually want to change your amixer PCM you have to invoke it with the device you are going to use e.g.

amixer -c0 set PCM unmute

however if you use pulseaudio you should use its tools to do that e.g. pavucontrol or

pacmd set-sink-volume

or pulseaudio-ctl (don't use it myself but it surely provides you with similar capabilities) they are going to be a more reliable way of handling your sound with pulseaudio.

However good to see that it is solved now, don't forget to prepend [SOLVED] to the title of your inital post by editing it.

Offline

Board footer

Powered by FluxBB