You are not logged in.

#1 2017-07-02 11:54:53

Biboozz
Member
Registered: 2016-10-18
Posts: 64

[SOLVED] Pulseaudio/Alsa no sound output on Analog Stereo Output

Hello,

I'm in trouble since a few months now, when I run pavucontrol I can clearly see the sound waves on my apps (Firefox, aplay, or VLC) and the soundwaves in my output device (Stereo Analog Output). I have pulseaudio-alsa installed to simplify my outputs.

Here is the output of amixer :

$ amixer
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65536
  Mono:
  Front Left: Playback 65536 [100%] [on]
  Front Right: Playback 65536 [100%] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 65536
  Front Left: Capture 65536 [100%] [on]
  Front Right: Capture 65536 [100%] [on]

I've disabled the Auto-Mute option in alsamixer.

Last edited by Biboozz (2017-07-28 22:31:22)

Offline

#2 2017-07-02 13:29:20

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

Re: [SOLVED] Pulseaudio/Alsa no sound output on Analog Stereo Output

always post the output of amixer with a supplied -c option where the number after -c corresponds to your card's index as given by aplay -l otherwise you will just get the pulse dummy pcm which is literally useless in debugging in most cases.

That said try to play something, then post

sudo fuser -v /dev/snd/*
pacmd list-cards
pacmd list-sinks
pacmd list-sink-inputs

Offline

#3 2017-07-02 15:01:08

Biboozz
Member
Registered: 2016-10-18
Posts: 64

Re: [SOLVED] Pulseaudio/Alsa no sound output on Analog Stereo Output

Here you go with a lot of logs :

$ aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC892 Analog [ALC892 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 1: ALC892 Digital [ALC892 Digital]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
$ amixer -c 0
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',4
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
$ amixer -c 1
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 0 [0%] [-64.00dB] [off]
  Front Right: Playback 0 [0%] [-64.00dB] [off]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Bass Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 28 [61%] [12.00dB] [on]
  Front Right: Capture 28 [61%] [12.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
$ sudo fuser -v /dev/snd/*
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  thor        729 F.... pulseaudio
/dev/snd/controlC1:  thor        729 F.... pulseaudio
/dev/snd/pcmC1D1p:   thor        729 F...m pulseaudio
$ pacmd list-cards
2 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_03.0>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel HDMI"
		alsa.long_card_name = "HDA Intel HDMI at 0xf7c14000 irq 37"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:03.0"
		sysfs.path = "/devices/pci0000:00/0000:00:03.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "0c0c"
		device.product.name = "Xeon E3-1200 v3/4th Gen Core Processor HD Audio Controller"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: no)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: no)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: no)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: no)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 100, available: no)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 100, available: no)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: no)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 100, available: no)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 100, available: no)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5200, available: no)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 100, available: no)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 100, available: no)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5200, available: no)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 100, available: no)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 100, available: no)
		off: Off (priority 0, available: unknown)
	active profile: <off>
	ports:
		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"
		hdmi-output-3: HDMI / DisplayPort 4 (priority 5600, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-4: HDMI / DisplayPort 5 (priority 5500, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
    index: 1
	name: <alsa_card.pci-0000_00_1b.0>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7c10000 irq 33"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "8c20"
		device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "1"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-stereo>
	sinks:
		alsa_output.pci-0000_00_1b.0.analog-stereo/#0: Built-in Audio Analog Stereo
	sources:
		alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#0: Monitor of Built-in Audio Analog Stereo
	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
$ pacmd list-sinks
1 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_1b.0.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: 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: yes
	current latency: 24.64 ms
	max request: 4 KiB
	max rewind: 344 KiB
	monitor source: 0
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	configured latency: 25.00 ms; range is 0.50 .. 1837.50 ms
	card: 1 <alsa_card.pci-0000_00_1b.0>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC892 Digital"
		alsa.id = "ALC892 Digital"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "1"
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7c10000 irq 33"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "8c20"
		device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "hw:1"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		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 ALC892"
		alsa.components = "HDA:10ec0892,1462114a,00100302"
		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
$ pacmd list-sink-inputs 
1 sink input(s) available.
    index: 3
	driver: <protocol-native.c>
	flags: START_CORKED 
	state: RUNNING
	sink: 0 <alsa_output.pci-0000_00_1b.0.analog-stereo>
	volume: front-left: 59219 /  90% / -2.64 dB,   front-right: 59219 /  90% / -2.64 dB
	        balance 0.00
	muted: no
	current latency: 75.00 ms
	requested latency: 25.00 ms
	sample spec: float32le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	resample method: copy
	module: 9
	client: 41 <Firefox>
	properties:
		media.name = "AudioStream"
		application.name = "Firefox"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "32"
		application.process.id = "1591"
		application.process.user = "thor"
		application.process.host = "Asgard"
		application.process.binary = "firefox"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "55a5306619f9433e9f772a1215090789"
		application.process.session_id = "c1"
		application.icon_name = "firefox"
		module-stream-restore.id = "sink-input-by-application-name:Firefox"

After all these i fear that amixer is not configured for the right sound card.

Last edited by Biboozz (2017-07-02 15:08:49)

Offline

#4 2017-07-02 15:14:50

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

Re: [SOLVED] Pulseaudio/Alsa no sound output on Analog Stereo Output

amixer doesn't configure anything persistently, and pulseaudio doesn't really care for your ALSA index configuration and will usually do the correct thing. The problem here is

* index: 0
	name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
       ....
	muted: yes

on your analog card, so look at pavucontrol closely again, or run

pacmd set-sink-mute alsa_output.pci-0000_00_1b.0.analog-stereo off

Last edited by V1del (2017-07-02 15:16:37)

Offline

#5 2017-07-02 15:28:27

Biboozz
Member
Registered: 2016-10-18
Posts: 64

Re: [SOLVED] Pulseaudio/Alsa no sound output on Analog Stereo Output

I did as you said but there si still no sound output. I checked what was done by pavucontrol and me device was already unmuted

Here is the new output :

pacmd list-sinks
1 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_1b.0.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: 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: 24.60 ms
	max request: 4 KiB
	max rewind: 344 KiB
	monitor source: 0
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 3
	configured latency: 25.00 ms; range is 0.50 .. 1837.50 ms
	card: 1 <alsa_card.pci-0000_00_1b.0>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC892 Digital"
		alsa.id = "ALC892 Digital"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "1"
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xf7c10000 irq 33"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card1"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "8c20"
		device.product.name = "8 Series/C220 Series Chipset High Definition Audio Controller"
		device.form_factor = "internal"
		device.string = "hw:1"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		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 ALC892"
		alsa.components = "HDA:10ec0892,1462114a,00100302"
		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>

Offline

#6 2017-07-02 19:06:47

skeevy420
Member
Registered: 2017-03-13
Posts: 35

Re: [SOLVED] Pulseaudio/Alsa no sound output on Analog Stereo Output

Analog-output-speaker is messed up somehow, see the available: unknown part.  On my system, everything with "available: unknown" is what I've disabled under PulseAudio Volume Control's Configuration Tab or is a port that physically doesn't exist (like HDMI output 1 through 5, 0 is my only actual HDMI port).


	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"

Out of curiosity, is ALSA necessary for you?  Anecdotal, but over the years almost every audio issue I've had was from running both ALSA and Pulse.

Personally, I'd remove alsa, backup then delete my pulse configs, get pulse working properly all by itself, then install alsa and go from there.  That really isn't a solution to your problem, but starting from the bare minimum, getting that working, and going from there will either give you the proper auto-configs and a working system OR you'll at least figure out where the break occurs.


Saw this right before I clicked submit.....

There's something wrong with your available sinks.  Looking at the last log from "pacmd list-sinks" I see

		alsa.name = "ALC892 Digital"
		alsa.id = "ALC892 Digital"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "1"

which would be

		alsa.name = "ALC892 Analog"
		alsa.id = "ALC892 Analog"
		alsa.subdevice = "1"
		alsa.subdevice_name = "subdevice #1"
		alsa.device = "1"

if you were using the correct sink.  You should have 2 sinks available from that 1 device, one for Analog and one for Digital.  Only Digital is available for you to use.  I don't know why.

Offline

#7 2017-07-02 19:11:46

Biboozz
Member
Registered: 2016-10-18
Posts: 64

Re: [SOLVED] Pulseaudio/Alsa no sound output on Analog Stereo Output

Well actually alsa permit me to use scriptshell for my laptop's shortcuts. Lime Mute/Unmute, volume down/up. The think I don't don't understand is that it worked fine before but not anymore.

EDIT: And it look like i can't remove alsa

EDIT2: And i forgot to give my asoundrc file :

$ cat ~/.asoundrc 
defaults.pcm.card 1
defaults.pcm.device 1
defaults.ctl.card 1

Last edited by Biboozz (2017-07-02 19:19:43)

Offline

#8 2017-07-02 19:22:23

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

Re: [SOLVED] Pulseaudio/Alsa no sound output on Analog Stereo Output

He shouldn't have separate sinks, but separate profiles for the two cards and available "unknown" is usually the default state that shouldn't be it either, you should elaborate on the ALSA part, what have you configured to create those scripts and have you ever created any ALSA configs in /etc/asound.conf or ~/.asoundrc or similar?

Edit: Yeah there we have something. Can you remove that and install pulseaudio-alsa instead? have you ran the fuser command as root (as I hinted at with me using "sudo")?

Last edited by V1del (2017-07-02 19:23:53)

Offline

#9 2017-07-02 20:07:05

skeevy420
Member
Registered: 2017-03-13
Posts: 35

Re: [SOLVED] Pulseaudio/Alsa no sound output on Analog Stereo Output

If V1del's pulseaudio-alsa idea doesn't work you could try adding

defaults.pcm.subdevice 1

to ~/.asoundrc.  You're gonna have to log out and back in, reboot, or source that file from a console for it to take effect.  Personally, I prefer rebooting.

The problem, from what I can see, is your system is using 'subdevice 0' when it needs to be 'subdevice 1'.

Offline

#10 2017-07-02 20:30:41

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

Re: [SOLVED] Pulseaudio/Alsa no sound output on Analog Stereo Output

playing around with alsa configs is not going to make the sink properly appear on pulse's side,  there are two things I see right now

  1. that fuser invocation wasn't actually a root executed call, and something is still blocking the interface, or:

  2. Something I notice now which might have an impact, can you set the IEC958 Default PCM control to off in alsamixer?

Offline

#11 2017-07-02 21:38:26

skeevy420
Member
Registered: 2017-03-13
Posts: 35

Re: [SOLVED] Pulseaudio/Alsa no sound output on Analog Stereo Output

The sink is there but it's using the wrong subdevice of card 1, which is why I suggested setting ALSA to use that specific subdevice in asoundrc (though I did have reservations about it working from the $HOME asoundrc and that the relevant ALSA configs under /etc or the ALSA modules themselves might need to be setup to use subdevice 1).  I was thinking that combined with this troubleshooting suggestion might work.

I only suggested that asoundrc tweak because I had to do that with a Creative USB card on Ubuntu many, many years ago (10 or 11) because it had SPDIF, RCA, and a headphone jack.  My system would default to RCA and I'd manually have to select the headphone jack every boot.  Setting the specific subdevice fixed it for me back then and I was hoping it might help here too.  Granted, I was only using ALSA then.

2....you just reminded me that 2 was really close to how I "fixed" an ALSA issue with Debian...12 or 13 years ago...if SPDIF was unmuted, everything else was muted and vice-a-versa.

Off topic, but posting those dates made me realize that I've used some form of Linux as my primary OS for more than half of my life now.  Windows has 10 years (4-14), Linux has all the rest (15-33).  I only started dual booting last year because the last PC I bought (used) had a Windows 7 COA sticker and I used that key to install 10.  I only use 10 for games that don't work in Wine or have a native Linux version. 

I should have joined the Arch community so many years ago it isn't funny....that Ubuntu comment is the when I made the permanent switch to Arch (and Arch based distros when I'm bored).  I installed Arch at a house with no internet and all the repos on an external hard drive....try reading and using the Arch Wiki from a Motorola RAZR (the 2003 flip version, not the Android one).

Offline

#12 2017-07-13 15:43:13

Biboozz
Member
Registered: 2016-10-18
Posts: 64

Re: [SOLVED] Pulseaudio/Alsa no sound output on Analog Stereo Output

Hi back, sorry for the late, i went on weekend and i totally forgot this topic !
So here i'm back, i did what you said Skeevy so here is the new asoundrc :

cat .asoundrc 
defaults.pcm.card 1
defaults.pcm.device 1
defaults.ctl.card 1
defaults.pcm.subdevice 1

And what do you mean by fuser command (sorry i'mù a kind of newbie) ?

Offline

#13 2017-07-13 16:22:07

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

Re: [SOLVED] Pulseaudio/Alsa no sound output on Analog Stereo Output

Can you try turning the  IEC958 Default PCM to off? Or did you try that yet? What I mean by the fuser call is that it isn't entirely clear to me if it was really ran with elevated privileges/as root or with sudo since that is important to figure out if some other application is blocking your device.

Offline

#14 2017-07-15 14:42:32

Biboozz
Member
Registered: 2016-10-18
Posts: 64

Re: [SOLVED] Pulseaudio/Alsa no sound output on Analog Stereo Output

I don't know if it's what you meant by turning off IEC958 but I muted all HDMI channels and there is still no outputs. Here are the new settings :

$ amixer -c 0               
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',3
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',4
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
$ amixer -c 1
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 64
  Mono: Playback 44 [69%] [-20.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Bass Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 46
  Front Left: Capture 28 [61%] [12.00dB] [on]
  Front Right: Capture 28 [61%] [12.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
$ amixer     
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch pswitch-joined
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 65536
  Mono:
  Front Left: Playback 65536 [100%] [on]
  Front Right: Playback 65536 [100%] [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch cswitch-joined
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 65536
  Front Left: Capture 65536 [100%] [on]
  Front Right: Capture 65536 [100%] [on]

EDIT: I noticed that my Master device set himself to 69% by default after each reboot, i think it is related.

Last edited by Biboozz (2017-07-15 17:37:39)

Offline

#15 2017-07-28 22:30:48

Biboozz
Member
Registered: 2016-10-18
Posts: 64

Re: [SOLVED] Pulseaudio/Alsa no sound output on Analog Stereo Output

Here i finally foudn the probleme it came from my .asoundrc, i think it come from a conflict with pavucontrol-alsa

Offline

#16 2017-07-30 13:03:51

mrunion
Member
From: Jonesborough, TN
Registered: 2007-01-26
Posts: 1,938
Website

Re: [SOLVED] Pulseaudio/Alsa no sound output on Analog Stereo Output

Arch help is a two-way street. Kindly let us know what issue you had to correct so this thread can be helpful to others that may have this issue.


Matt

"It is very difficult to educate the educated."

Offline

#17 2017-07-30 14:25:49

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

Re: [SOLVED] Pulseaudio/Alsa no sound output on Analog Stereo Output

He probably had some form of an .asoundrc he now deleted - to begin with, which is really discouraged to have if you intend to work properly with pulseaudio.

Offline

Board footer

Powered by FluxBB