You are not logged in.

#1 2015-10-05 18:03:31

zabrielza
Member
Registered: 2015-03-02
Posts: 125

Problems with sound configuration after upgrade.

I had managed to configure sound the way I wanted. Alsa sends audio to pulse and pulse sends to jack. Everything was working great until I upgraded the system with pacman. Now I get an alsa-related error.

ALSA error: snd_mixer_find_selem failed.

ALSA error: snd_pcm_hw_params failed: Invalid argument

Also, I am not sure if pulseaudio is started correctly with system startup. Some times after reboot it crashes when jack is started in startup. All this only after upgrade. I am posting this topic in order to find out the reason this happens. Should we or not upgrade the system frequently?

Offline

#2 2015-10-05 18:10:30

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,424
Website

Re: Problems with sound configuration after upgrade.

zabrielza wrote:

Should we or not upgrade the system frequently?

If you don't want to upgrade frequently, you are using the wrong distro.

Work out what changed over the course of the upgrade: then you will have a much better idea of why your sound stopped working.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#3 2015-10-05 18:28:30

zabrielza
Member
Registered: 2015-03-02
Posts: 125

Re: Problems with sound configuration after upgrade.

jasonwryan wrote:
zabrielza wrote:

Should we or not upgrade the system frequently?

If you don't want to upgrade frequently, you are using the wrong distro.

Work out what changed over the course of the upgrade: then you will have a much better idea of why your sound stopped working.

Actually, I want to upgrade frequently. I just want to learn to maintain my system. Is there any way to see what changed over the course of the upgrade?

Offline

#4 2015-10-05 18:37:46

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: Problems with sound configuration after upgrade.

zabrielza wrote:

Is there any way to see what changed over the course of the upgrade?

check pacman log

Last edited by frank604 (2015-10-05 18:38:19)

Offline

#5 2015-10-05 18:44:49

zabrielza
Member
Registered: 2015-03-02
Posts: 125

Re: Problems with sound configuration after upgrade.

frank604 wrote:
zabrielza wrote:

Is there any way to see what changed over the course of the upgrade?

check pacman log

Thanks! This is the only related line with audio.

[2015-10-03 01:14] [ALPM] upgraded alsa-utils (1.0.29-1 -> 1.0.29-2)

Last edited by zabrielza (2015-10-05 18:45:02)

Offline

#6 2015-10-05 18:56:20

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: Problems with sound configuration after upgrade.

Have you rechecked your alsa configuration in case they were overwritten?

Offline

#7 2015-10-05 18:59:24

zabrielza
Member
Registered: 2015-03-02
Posts: 125

Re: Problems with sound configuration after upgrade.

frank604 wrote:

Have you rechecked your alsa configuration in case they were overwritten?

Yes! These are the conf files:

zab ~ $ cat /etc/modprobe.d/alsa-base.conf
###
###
###
###
#######################################################
# This file controls which soundcard will be default. #
# Please do not edit if you are not sure what you are #
# doing                                               #
#######################################################
# Usb-Soundcard as default card
options snd slots=snd-usb-audio nrpacks=1
# options snd-usb-audio index=0 nrpacks=1
# HD audio as second card
options snd-hda-intel index=1,-2,3 model=auto vid=1002,1002,1002 pid=4383,aa30,970f
# HD audio No2 as third card
#options snd-hda-intel index=-2 model=auto vid=1002 pid=970f
zab ~ $ cat /etc/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

#8 2015-10-05 19:47:40

lucke
Member
From: Poland
Registered: 2004-11-30
Posts: 4,018

Re: Problems with sound configuration after upgrade.

https://projects.archlinux.org/svntogit … alsa-utils says it was just a ncurses rebuild, not likely to cause any problems.

pulseaudio was updated to 7.0 11 days ago, maybe that is what broke things for you.

Maybe something made those parameters you pass to snd_hda_intel not work.

Offline

#9 2015-10-12 18:04:10

zabrielza
Member
Registered: 2015-03-02
Posts: 125

Re: Problems with sound configuration after upgrade.

After some time I reply to this topic again. I would like to be sure what my configuration did before upgrade. I mean, alsa to pulseaudio to jack means that if i open some tune with a music player with alsa output it will send it to pulse and then to jack right? I think this was before i upgraded. Now, when i open a tune with audacious lwith alsa output , the error mentioned above occurs. So, it has something to do with the upgrade right? Or alsa output does not work with this configuration? I hope this is not confusing to read.

Offline

#10 2015-10-12 18:38:41

frank604
Member
From: BC, Canada
Registered: 2011-04-20
Posts: 1,212

Re: Problems with sound configuration after upgrade.

Can you change alsa-base.conf to alsa-base.conf.old and reboot?  Sometimes newer versions of packages may update their parameters/options.  The best way to troubleshoot imo, is to strip the sound settings bare.  Get it to work on alsa, then pulse, then with jack (if you need it).  Regardless of any changes, this will find where the barrier is.  I'm not really knowledgeable about sound so this is the best idea I can offer.  Good luck!

Offline

#11 2015-10-12 19:02:52

zabrielza
Member
Registered: 2015-03-02
Posts: 125

Re: Problems with sound configuration after upgrade.

frank604 wrote:

Can you change alsa-base.conf to alsa-base.conf.old and reboot?  Sometimes newer versions of packages may update their parameters/options.  The best way to troubleshoot imo, is to strip the sound settings bare.  Get it to work on alsa, then pulse, then with jack (if you need it).  Regardless of any changes, this will find where the barrier is.  I'm not really knowledgeable about sound so this is the best idea I can offer.  Good luck!

Thanks for reply, I'll try and post results.

Offline

#12 2015-10-12 19:21:49

zabrielza
Member
Registered: 2015-03-02
Posts: 125

Re: Problems with sound configuration after upgrade.

I get this error again

ALSA error: snd_pcm_hw_params failed: Invalid argument.

I have not a alsa-base.conf file now. But error exists.Does this mean it is pulseaudio related?

EDIT: Actually, I had .asoundrc, I deleted it and now i get this error:

ALSA error: snd_pcm_open failed: Device or resource busy.

Last edited by zabrielza (2015-10-12 19:25:46)

Offline

#13 2015-10-12 19:36:25

zabrielza
Member
Registered: 2015-03-02
Posts: 125

Re: Problems with sound configuration after upgrade.

Okay, Now the error is not there, with the same alsa-base.conf file as before. So the problem was at first .asoundrc. After that the second error I think was due to the fact that pulseaudio grabbed the default alsa card. So, I am going to check which card pulseaudio grabs.

Now I reinstalled pulseaudio-alsa and this error occurs again

ALSA error: snd_mixer_find_selem failed.

ALSA error: snd_pcm_hw_params_set_format failed: Invalid argument.

Last edited by zabrielza (2015-10-12 19:45:09)

Offline

#14 2015-10-12 23:33:15

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

Re: Problems with sound configuration after upgrade.

Tell us more about your setup, what changes have you done to the pulse configuration files, how are you login in, do you use one of the big DEs or simply startx or similar? Pulseaudio now uses DBus for activation and if the necessary credentials aren't passed around correctly it will throw a fit. Output of

sudo fuser -v /dev/snd/*

will probably come far as well. What you may also try as a  solution is masking the pulseaudio socket

systemctl --user mask pulseaudio.socket

provided you have other means in  place to start it

Last edited by V1del (2015-10-12 23:36:19)

Offline

#15 2015-10-13 05:34:47

zabrielza
Member
Registered: 2015-03-02
Posts: 125

Re: Problems with sound configuration after upgrade.

V1del wrote:

Tell us more about your setup, what changes have you done to the pulse configuration files, how are you login in, do you use one of the big DEs or simply startx or similar? Pulseaudio now uses DBus for activation and if the necessary credentials aren't passed around correctly it will throw a fit. Output of

sudo fuser -v /dev/snd/*

will probably come far as well. What you may also try as a  solution is masking the pulseaudio socket

systemctl --user mask pulseaudio.socket

provided you have other means in  place to start it

I use now ( just to try) KDE5 DE and it starts with sddm display manager.

sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  zab         770 F.... pulseaudio
/dev/snd/controlC1:  zab         770 F.... pulseaudio
/dev/snd/controlC2:  zab         770 F.... pulseaudio
/dev/snd/controlC3:  zab         770 F.... pulseaudio
/dev/snd/pcmC1D0p:   zab         770 F...m pulseaudio

Right now pulseaudio is in default state. Configuration files are not changed. The only thing I have installed is pulseaudio-alsa that means it creates

zab ~ $ cat /etc/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:
#!/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=dmix
#load-module module-alsa-source device=dsnoop
#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 output
#set-default-source input

Here is alsa configuration file

zab ~ $ cat /etc/modprobe.d/alsa-base.conf
###
###
###
###
#######################################################
# This file controls which soundcard will be default. #
# Please do not edit if you are not sure what you are #
# doing                                               #
#######################################################
# Usb-Soundcard as default card
options snd slots=snd-usb-audio nrpacks=1
# options snd-usb-audio index=0 nrpacks=1
# HD audio as second card
options snd-hda-intel index=1,-2,3 model=auto vid=1002,1002,1002 pid=4383,aa30,970f
# HD audio No2 as third card
#options snd-hda-intel index=-2 model=auto vid=1002 pid=970f

For now, I haven't routed pulse to jack. So, alsa to pulse only. When I try to play a music file with alsa output it throws the error mentioned above. When i try to play a music file with pulseaudio output i think pulse grabs wrong device for output. Also, I tried passing alsa to jack only, with loopback device but I have crackling audio. I am not sure what configuration I need, If pulseaudio is needed or If alsa does the trick alone with jack. But now l want to try alsa-pulse-jack method.

What exactly does masking the pulseaudio socket?

Offline

#16 2015-10-17 07:48:50

zabrielza
Member
Registered: 2015-03-02
Posts: 125

Re: Problems with sound configuration after upgrade.

This situation is extremely frustrating. I have tried everything. I cannot route alsa to poulse. Can anybody help me? This whole thing started after upgrading system. I have no sound for days now.

Offline

#17 2015-10-18 20:52:38

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

Re: Problems with sound configuration after upgrade.

What are you using to test/verify that you don't have sound? do pure pulseaudio using applications also exhibit problems? can you switch streams to the correct card in pavucontrol or similar? Give the output of

aplay -l
pacmd list-cards
pacmd list-sinks

EDIT:

I think I've read somewhere that nrpacks has been deprecated recently, remove that (I'm also quite dubious if you would actually be able to pass the parameter as part of the slot definition)

EDIT2:
Masking the pulseaudio socket makes it not activated by Dbus so the old methods of starting pulseaudio can be used again, including stuff like autospawn=no.

Last edited by V1del (2015-10-18 21:45:32)

Offline

#18 2015-10-18 23:48:00

firekage
Member
From: Eastern Europe, Poland
Registered: 2013-06-30
Posts: 617

Re: Problems with sound configuration after upgrade.

Sorry for "spamming" in your topics but i found it interesting. Could you exmplain this to me:

# HD audio as second card
options snd-hda-intel index=1,-2,3 model=auto vid=1002,1002,1002 pid=4383,aa30,970f

I was told that passing vid/pid options to alsa-base.conf is only proper when it is being added to USB sound device, not normal sound device. Also, what does mean your index=1, -2,3. First card should be called 0, second one should be called 1, and this is in your config, but why there are also -2 and 3? -2 in options, according to ArchWiki (from ubuntu topics as i recall) means that it should not be used at all, so, why after it 3?

Thanks and sorry.


BTW - after updating earlier version of alsa i had no sound also, alsa was leaving my sounds card indexes [just like you, i have few: xfi gamer (was replaced with xonar dgx); nvidia sound chip from GTX970; integrated sound controller from my motherboard, Realtek 1150 and 88x) and i had random lacks of sound. Switched to pulseaudio and have alsa only for skype.

Last edited by firekage (2015-10-18 23:50:27)

Offline

#19 2015-10-23 18:41:26

zabrielza
Member
Registered: 2015-03-02
Posts: 125

Re: Problems with sound configuration after upgrade.

So...., I re-installed arch linux. Now on my fresh system I have again the same alsa error. And when I play some music with audacious it does not throw an error but i think it plays in the wrong device.

Offline

#20 2015-10-23 18:49:22

zabrielza
Member
Registered: 2015-03-02
Posts: 125

Re: Problems with sound configuration after upgrade.

zab ~ $ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: CODEC [USB Audio CODEC], device 0: USB Audio [USB Audio]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 0: ALC889A Analog [ALC889A Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 1: SB [HDA ATI SB], device 1: ALC889A Digital [ALC889A Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 2: HDMI [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 3: HDMI_1 [HDA ATI HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
zab ~ $ pacmd list-cards
4 card(s) available.
    index: 0
        name: <alsa_card.pci-0000_01_05.1>
        driver: <module-alsa-card.c>
        owner module: 6
        properties:
                alsa.card = "2"
                alsa.card_name = "HDA ATI HDMI"
                alsa.long_card_name = "HDA ATI HDMI at 0xfdafc000 irq 19"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:01:05.1"
                sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:05.1/sound/card2"
                device.bus = "pci"
                device.vendor.id = "1002"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
                device.product.id = "970f"
                device.product.name = "RS880 HDMI Audio [Radeon HD 4200 Series]"
                device.string = "2"
                device.description = "RS880 HDMI Audio [Radeon HD 4200 Series]"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: unknown)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: unknown)
                off: Off (priority 0, available: unknown)
        active profile: <output:hdmi-stereo>
        sinks:
                alsa_output.pci-0000_01_05.1.hdmi-stereo/#0: RS880 HDMI Audio [Radeon HD 4200 Series] Digital Stereo (HDMI)
        sources:
                alsa_output.pci-0000_01_05.1.hdmi-stereo.monitor/#0: Monitor of RS880 HDMI Audio [Radeon HD 4200 Series] Digital Stereo (HDMI)
        ports:
                hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
    index: 1
        name: <alsa_card.pci-0000_02_00.1>
        driver: <module-alsa-card.c>
        owner module: 7
        properties:
                alsa.card = "3"
                alsa.card_name = "HDA ATI HDMI"
                alsa.long_card_name = "HDA ATI HDMI at 0xfdffc000 irq 27"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:02:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:02.0/0000:02:00.1/sound/card3"
                device.bus = "pci"
                device.vendor.id = "1002"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
                device.product.id = "aa30"
                device.product.name = "RV770 HDMI Audio [Radeon HD 4850/4870] (Radeon HD 4850 512MB GDDR3 PCI-E Dual Slot Fansink)"
                device.string = "3"
                device.description = "RV770 HDMI Audio [Radeon HD 4850/4870] (Radeon HD 4850 512MB GDDR3 PCI-E Dual Slot Fansink)"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        profiles:
                output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown)
                output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: unknown)
                output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: unknown)
                off: Off (priority 0, available: unknown)
        active profile: <output:hdmi-stereo>
        sinks:
                alsa_output.pci-0000_02_00.1.hdmi-stereo/#1: RV770 HDMI Audio [Radeon HD 4850/4870] (Radeon HD 4850 512MB GDDR3 PCI-E Dual Slot Fansink) Digital Stereo (HDMI)
        sources:
                alsa_output.pci-0000_02_00.1.hdmi-stereo.monitor/#1: Monitor of RV770 HDMI Audio [Radeon HD 4850/4870] (Radeon HD 4850 512MB GDDR3 PCI-E Dual Slot Fansink) Digital Stereo (HDMI)
        ports:
                hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
    index: 2
        name: <alsa_card.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00>
        driver: <module-alsa-card.c>
        owner module: 8
        properties:
                alsa.card = "0"
                alsa.card_name = "USB Audio CODEC"
                alsa.long_card_name = "Burr-Brown from TI USB Audio CODEC at usb-0000:00:12.1-2, full speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:12.1-usb-0:2:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:12.1/usb4/4-2/4-2:1.0/sound/card0"
                udev.id = "usb-Burr-Brown_from_TI_USB_Audio_CODEC-00"
                device.bus = "usb"
                device.vendor.id = "08bb"
                device.vendor.name = "Texas Instruments"
                device.product.id = "2902"
                device.product.name = "PCM2902 Audio Codec"
                device.serial = "Burr-Brown_from_TI_USB_Audio_CODEC"
                device.string = "0"
                device.description = "PCM2902 Audio Codec"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-usb"
        profiles:
                input:analog-mono: Analog Mono Input (priority 2, available: unknown)
                input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
                input:iec958-stereo: Digital Stereo (IEC958) Input (priority 55, available: unknown)
                output:analog-mono: Analog Mono Output (priority 200, available: unknown)
                output:analog-mono+input:analog-mono: Analog Mono Duplex (priority 202, available: unknown)
                output:analog-mono+input:analog-stereo: Analog Mono Output + Analog Stereo Input (priority 260, available: unknown)
                output:analog-mono+input:iec958-stereo: Analog Mono Output + Digital Stereo (IEC958) Input (priority 255, available: unknown)
                output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
                output:analog-stereo+input:analog-mono: Analog Stereo Output + Analog Mono Input (priority 6002, available: unknown)
                output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
                output:analog-stereo+input:iec958-stereo: Analog Stereo Output + Digital Stereo (IEC958) Input (priority 6055, available: unknown)
                output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)
                output:iec958-stereo+input:analog-mono: Digital Stereo (IEC958) Output + Analog Mono Input (priority 5502, available: unknown)
                output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5560, available: unknown)
                output:iec958-stereo+input:iec958-stereo: Digital Stereo Duplex (IEC958) (priority 5555, available: unknown)
                off: Off (priority 0, available: unknown)
        active profile: <output:analog-stereo+input:analog-stereo>
        sinks:
                alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo/#2: PCM2902 Audio Codec Analog Stereo
        sources:
                alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo.monitor/#2: Monitor of PCM2902 Audio Codec Analog Stereo
                alsa_input.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo/#3: PCM2902 Audio Codec Analog Stereo
        ports:
                analog-input: Analog Input (priority 10000, latency offset 0 usec, available: unknown)
                        properties:

                iec958-stereo-input: Digital Input (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
                        properties:

                analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
                        properties:

                iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
                        properties:

    index: 3
        name: <alsa_card.pci-0000_00_14.2>
        driver: <module-alsa-card.c>
        owner module: 9
        properties:
                alsa.card = "1"
                alsa.card_name = "HDA ATI SB"
                alsa.long_card_name = "HDA ATI SB at 0xfe024000 irq 16"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:14.2"
                sysfs.path = "/devices/pci0000:00/0000:00:14.2/sound/card1"
                device.bus = "pci"
                device.vendor.id = "1002"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
                device.product.id = "4383"
                device.product.name = "SBx00 Azalia (Intel HDA)"
                device.form_factor = "internal"
                device.string = "1"
                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)
                input:iec958-stereo: Digital Stereo (IEC958) Input (priority 55, 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-stereo+input:iec958-stereo: Analog Stereo Output + Digital Stereo (IEC958) Input (priority 6055, 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-21+input:iec958-stereo: Analog Surround 2.1 Output + Digital Stereo (IEC958) Input (priority 855, 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:analog-surround-40+input:iec958-stereo: Analog Surround 4.0 Output + Digital Stereo (IEC958) Input (priority 755, available: unknown)
                output:analog-surround-41: Analog Surround 4.1 Output (priority 800, available: unknown)
                output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 860, available: unknown)
                output:analog-surround-41+input:iec958-stereo: Analog Surround 4.1 Output + Digital Stereo (IEC958) Input (priority 855, available: unknown)
                output:analog-surround-50: Analog Surround 5.0 Output (priority 700, available: unknown)
                output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 760, available: unknown)
                output:analog-surround-50+input:iec958-stereo: Analog Surround 5.0 Output + Digital Stereo (IEC958) Input (priority 755, available: unknown)
                output:analog-surround-51: Analog Surround 5.1 Output (priority 800, available: unknown)
                output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 860, available: unknown)
                output:analog-surround-51+input:iec958-stereo: Analog Surround 5.1 Output + Digital Stereo (IEC958) Input (priority 855, available: unknown)
                output:analog-surround-71: Analog Surround 7.1 Output (priority 700, available: unknown)
                output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (priority 760, available: unknown)
                output:analog-surround-71+input:iec958-stereo: Analog Surround 7.1 Output + Digital Stereo (IEC958) Input (priority 755, 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:iec958-stereo+input:iec958-stereo: Digital Stereo Duplex (IEC958) (priority 5555, available: unknown)
                off: Off (priority 0, available: unknown)
        active profile: <output:analog-stereo+input:analog-stereo>
        sinks:
                alsa_output.pci-0000_00_14.2.analog-stereo/#3: Built-in Audio Analog Stereo
        sources:
                alsa_output.pci-0000_00_14.2.analog-stereo.monitor/#4: Monitor of Built-in Audio Analog Stereo
                alsa_input.pci-0000_00_14.2.analog-stereo/#5: Built-in Audio Analog Stereo
        ports:
                analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-input-microphone"
                analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
                        properties:

                iec958-stereo-input: Digital Input (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
                        properties:

                analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: no)
                        properties:

                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:
zab ~ $ pacmd list-sinks
4 sink(s) available.
    index: 0
        name: <alsa_output.pci-0000_01_05.1.hdmi-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE 
        priority: 9050
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 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 8.00 .. 1999.82 ms
        card: 0 <alsa_card.pci-0000_01_05.1>
        module: 6
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "HDMI 0"
                alsa.id = "HDMI 0"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "3"
                alsa.card = "2"
                alsa.card_name = "HDA ATI HDMI"
                alsa.long_card_name = "HDA ATI HDMI at 0xfdafc000 irq 19"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:01:05.1"
                sysfs.path = "/devices/pci0000:00/0000:00:01.0/0000:01:05.1/sound/card2"
                device.bus = "pci"
                device.vendor.id = "1002"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
                device.product.id = "970f"
                device.product.name = "RS880 HDMI Audio [Radeon HD 4200 Series]"
                device.string = "hdmi:2"
                device.buffering.buffer_size = "352768"
                device.buffering.fragment_size = "176384"
                device.access_mode = "mmap+timer"
                device.profile.name = "hdmi-stereo"
                device.profile.description = "Digital Stereo (HDMI)"
                device.description = "RS880 HDMI Audio [Radeon HD 4200 Series] Digital Stereo (HDMI)"
                alsa.mixer_name = "ATI RS690/780 HDMI"
                alsa.components = "HDA:1002791a,00791a00,00100000"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
        active port: <hdmi-output-0>
    index: 1
        name: <alsa_output.pci-0000_02_00.1.hdmi-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: SUSPENDED
        suspend cause: IDLE 
        priority: 9050
        volume: front-left: 65534 / 100% / -0.00 dB,   front-right: 65534 / 100% / -0.00 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: 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 26.00 .. 1999.82 ms
        card: 1 <alsa_card.pci-0000_02_00.1>
        module: 7
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "HDMI 0"
                alsa.id = "HDMI 0"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "3"
                alsa.card = "3"
                alsa.card_name = "HDA ATI HDMI"
                alsa.long_card_name = "HDA ATI HDMI at 0xfdffc000 irq 27"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:02:00.1"
                sysfs.path = "/devices/pci0000:00/0000:00:02.0/0000:02:00.1/sound/card3"
                device.bus = "pci"
                device.vendor.id = "1002"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
                device.product.id = "aa30"
                device.product.name = "RV770 HDMI Audio [Radeon HD 4850/4870] (Radeon HD 4850 512MB GDDR3 PCI-E Dual Slot Fansink)"
                device.string = "hdmi:3"
                device.buffering.buffer_size = "352768"
                device.buffering.fragment_size = "176384"
                device.access_mode = "mmap+timer"
                device.profile.name = "hdmi-stereo"
                device.profile.description = "Digital Stereo (HDMI)"
                device.description = "RV770 HDMI Audio [Radeon HD 4850/4870] (Radeon HD 4850 512MB GDDR3 PCI-E Dual Slot Fansink) Digital Stereo (HDMI)"
                alsa.mixer_name = "ATI R6xx HDMI"
                alsa.components = "HDA:1002aa01,00aa0100,00100100"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "video-display"
        active port: <hdmi-output-0>
  * index: 2
        name: <alsa_output.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
        state: SUSPENDED
        suspend cause: IDLE 
        priority: 9049
        volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 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: 2
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 0
        linked by: 0
        fixed latency: 99.95 ms
        card: 2 <alsa_card.usb-Burr-Brown_from_TI_USB_Audio_CODEC-00>
        module: 8
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "USB Audio"
                alsa.id = "USB Audio"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "0"
                alsa.card_name = "USB Audio CODEC"
                alsa.long_card_name = "Burr-Brown from TI USB Audio CODEC at usb-0000:00:12.1-2, full speed"
                alsa.driver_name = "snd_usb_audio"
                device.bus_path = "pci-0000:00:12.1-usb-0:2:1.0"
                sysfs.path = "/devices/pci0000:00/0000:00:12.1/usb4/4-2/4-2:1.0/sound/card0"
                udev.id = "usb-Burr-Brown_from_TI_USB_Audio_CODEC-00"
                device.bus = "usb"
                device.vendor.id = "08bb"
                device.vendor.name = "Texas Instruments"
                device.product.id = "2902"
                device.product.name = "PCM2902 Audio Codec"
                device.serial = "Burr-Brown_from_TI_USB_Audio_CODEC"
                device.string = "front:0"
                device.buffering.buffer_size = "17632"
                device.buffering.fragment_size = "4408"
                device.access_mode = "mmap"
                device.profile.name = "analog-stereo"
                device.profile.description = "Analog Stereo"
                device.description = "PCM2902 Audio Codec Analog Stereo"
                alsa.mixer_name = "USB Mixer"
                alsa.components = "USB08bb:2902"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-usb"
        ports:
                analog-output: Analog Output (priority 9900, latency offset 0 usec, available: unknown)
                        properties:

        active port: <analog-output>
    index: 3
        name: <alsa_output.pci-0000_00_14.2.analog-stereo>
        driver: <module-alsa-card.c>
        flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
        state: RUNNING
        suspend cause: 
        priority: 9959
        volume: front-left: 5621 /   9% / -64.00 dB,   front-right: 5621 /   9% / -64.00 dB
                balance 0.00
        base volume: 65536 / 100% / 0.00 dB
        volume steps: 65537
        muted: yes
        current latency: 354.92 ms
        max request: 79 KiB
        max rewind: 344 KiB
        monitor source: 4
        sample spec: s16le 2ch 44100Hz
        channel map: front-left,front-right
                     Stereo
        used by: 1
        linked by: 1
        configured latency: 458.87 ms; range is 0.50 .. 1999.82 ms
        card: 3 <alsa_card.pci-0000_00_14.2>
        module: 9
        properties:
                alsa.resolution_bits = "16"
                device.api = "alsa"
                device.class = "sound"
                alsa.class = "generic"
                alsa.subclass = "generic-mix"
                alsa.name = "ALC889A Analog"
                alsa.id = "ALC889A Analog"
                alsa.subdevice = "0"
                alsa.subdevice_name = "subdevice #0"
                alsa.device = "0"
                alsa.card = "1"
                alsa.card_name = "HDA ATI SB"
                alsa.long_card_name = "HDA ATI SB at 0xfe024000 irq 16"
                alsa.driver_name = "snd_hda_intel"
                device.bus_path = "pci-0000:00:14.2"
                sysfs.path = "/devices/pci0000:00/0000:00:14.2/sound/card1"
                device.bus = "pci"
                device.vendor.id = "1002"
                device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
                device.product.id = "4383"
                device.product.name = "SBx00 Azalia (Intel HDA)"
                device.form_factor = "internal"
                device.string = "front:1"
                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 = "Realtek ALC889A"
                alsa.components = "HDA:10ec0885,1458a102,00100101"
                module-udev-detect.discovered = "1"
                device.icon_name = "audio-card-pci"
        ports:
                analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: no)
                        properties:

                analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
                        properties:
                                device.icon_name = "audio-headphones"
        active port: <analog-output-lineout>

Offline

#21 2015-10-23 19:25:17

zabrielza
Member
Registered: 2015-03-02
Posts: 125

Re: Problems with sound configuration after upgrade.

Also,

zab ~ $ sudo systemctl --user mask pulseaudio.socket
[sudo] password for zab: 
Failed to connect to bus: No such file or directory

Offline

#22 2015-10-24 13:10:34

loqs
Member
Registered: 2014-03-06
Posts: 17,450

Re: Problems with sound configuration after upgrade.

Which device are you currently trying to output from the device alsa has as card 0 or the device pulse has as card 0?  If its the former you may just need to change pulse's default sink.

Offline

#23 2015-10-24 16:02:35

zabrielza
Member
Registered: 2015-03-02
Posts: 125

Re: Problems with sound configuration after upgrade.

loqs wrote:

Which device are you currently trying to output from the device alsa has as card 0 or the device pulse has as card 0?  If its the former you may just need to change pulse's default sink.

Same cards as before. Device 0 of alsa, USB CODEC. I folloed instructions from here to route alsa to pulseaudio. Does this pulse's default sink  works well with alsa?

Offline

#24 2015-10-24 16:39:20

loqs
Member
Registered: 2014-03-06
Posts: 17,450

Re: Problems with sound configuration after upgrade.

Did setting the default sink to the device you wanted output from (for instance using pacmd set-default-sink index where index is the index of the sink from pacmd list-sinks) instead of the "HDA ATI HDMI" sink not produce output?
Edit:
removed extraneous word 'pulse'

Last edited by loqs (2015-10-24 16:40:37)

Offline

#25 2015-10-24 17:24:10

zabrielza
Member
Registered: 2015-03-02
Posts: 125

Re: Problems with sound configuration after upgrade.

loqs wrote:

Did setting the default sink to the device you wanted output from (for instance using pacmd set-default-sink index where index is the index of the sink from pacmd list-sinks) instead of the "HDA ATI HDMI" sink not produce output?
Edit:
removed extraneous word 'pulse'

I ran,

pacmd set-default-sink 2

before and after log out nothing changed.

Still, default sink index 0 is hdmi.

Last edited by zabrielza (2015-10-24 17:24:30)

Offline

Board footer

Powered by FluxBB