You are not logged in.

#1 2020-03-29 11:32:32

KairiTech
Member
From: Toronto, Canada
Registered: 2011-06-04
Posts: 275

[SOLVED] Lost VLC sound after recent update

Synopsys: Set Tools > Preferences > [Audio] > Audio Output module: to "ALSA audio output" 

Currently I have pulseaudio 13.0-3 and pulseaudio-alsa 2-5 installed but ever since a recent update I've lost sound in parts of the system.

aplay and flite play sound as expected.

play, vlc, firefox and brave produce no sound and no errors.

I've been using the below config for some time without any problems so has anything changed in pulseaudio and/or pulseaudio-alsa that need me to modify my sound configs?

cat /proc/asound/cards

  0 [SB             ]: HDA-Intel - HDA ATI SB
                      HDA ATI SB at 0xfc100000 irq 16
 1 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xfe080000 irq 52
 2 [CX8801         ]: CX88x - Conexant CX8801
                      Conexant CX8801 at 0xfa000000

cat /etc/asound.conf

defaults.pcm.card 0
defaults.ctl.card 0

systemctl --user status pulseaudio.service

● pulseaudio.service - Sound Service
     Loaded: loaded (/usr/lib/systemd/user/pulseaudio.service; disabled; vendor preset: enabled)
     Active: active (running) since Sun 2020-03-29 06:58:21 EDT; 31min ago
TriggeredBy: ● pulseaudio.socket
   Main PID: 7557 (pulseaudio)
     CGroup: /user.slice/user-1000.slice/user@1000.service/pulseaudio.service
             ├─7557 /usr/bin/pulseaudio --daemonize=no
             └─7587 /usr/lib/pulse/gsettings-helper

Mar 29 06:58:19 64SSDx3 systemd[4299]: Starting Sound Service...
Mar 29 06:58:21 64SSDx3 systemd[4299]: Started Sound Service.

Last edited by KairiTech (2020-04-02 01:03:42)

Offline

#2 2020-03-29 11:42:37

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

Re: [SOLVED] Lost VLC sound after recent update

If that is your /etc/asound.conf then you're not using pulseaudio-alsa. Remove it and reinstall pulseaudio-alsa.

But that isn't sufficient to tell what "no sound, no errors" means exactly. Which of these three cards do you want sound from exactly? Post during a "not working" situation

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

Offline

#3 2020-03-29 12:07:21

KairiTech
Member
From: Toronto, Canada
Registered: 2011-06-04
Posts: 275

Re: [SOLVED] Lost VLC sound after recent update

V1del wrote:

If that is your /etc/asound.conf then you're not using pulseaudio-alsa. Remove it and reinstall pulseaudio-alsa.

But that isn't sufficient to tell what "no sound, no errors" means exactly. Which of these three cards do you want sound from exactly? Post during a "not working" situation

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

Prefrred card is HDA-Intel - HDA ATI SB

[EDIT]
Removing /etc/asound.conf and reinstalling pulseaudio-alsa leaves me with no sound at all.

                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  kairi      7557 F.... pulseaudio
/dev/snd/controlC1:  kairi      7557 F.... pulseaudio
/dev/snd/controlC2:  kairi      7557 F.... pulseaudio
3 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_01_00.1>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "1"
		alsa.card_name = "HDA NVidia"
		alsa.long_card_name = "HDA NVidia at 0xfe080000 irq 52"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:01:00.1"
		sysfs.path = "/devices/pci0000:00/0000:00:02.0/0000:01:00.1/sound/card1"
		device.bus = "pci"
		device.vendor.id = "10de"
		device.vendor.name = "NVIDIA Corporation"
		device.product.id = "0fbc"
		device.product.name = "GM107 High Definition Audio Controller [GeForce 940MX]"
		device.string = "1"
		device.description = "GM107 High Definition Audio Controller [GeForce 940MX]"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5900, available: no)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 800, available: no)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 800, available: no)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5700, available: no)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 600, available: no)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 600, available: no)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5700, available: no)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 600, available: no)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 600, available: no)
		output:hdmi-stereo-extra3: Digital Stereo (HDMI 4) Output (priority 5700, available: no)
		output:hdmi-surround-extra3: Digital Surround 5.1 (HDMI 4) Output (priority 600, available: no)
		output:hdmi-surround71-extra3: Digital Surround 7.1 (HDMI 4) Output (priority 600, available: no)
		output:hdmi-stereo-extra4: Digital Stereo (HDMI 5) Output (priority 5700, available: no)
		output:hdmi-surround-extra4: Digital Surround 5.1 (HDMI 5) Output (priority 600, available: no)
		output:hdmi-surround71-extra4: Digital Surround 7.1 (HDMI 5) Output (priority 600, available: no)
		output:hdmi-stereo-extra5: Digital Stereo (HDMI 6) Output (priority 5700, available: no)
		output:hdmi-surround-extra5: Digital Surround 5.1 (HDMI 6) Output (priority 600, available: no)
		output:hdmi-surround71-extra5: Digital Surround 7.1 (HDMI 6) Output (priority 600, 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"
		hdmi-output-5: HDMI / DisplayPort 6 (priority 5400, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
    index: 1
	name: <alsa_card.pci-0000_00_14.2>
	driver: <module-alsa-card.c>
	owner module: 7
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA ATI SB"
		alsa.long_card_name = "HDA ATI SB at 0xfc100000 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/card0"
		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) (M4A89GTD PRO/USB3 Motherboard)"
		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 65, available: unknown)
		output:analog-stereo: Analog Stereo Output (priority 6500, available: no)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: no)
		output:analog-surround-21: Analog Surround 2.1 Output (priority 1300, available: no)
		output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (priority 1365, available: no)
		output:analog-surround-40: Analog Surround 4.0 Output (priority 1200, available: no)
		output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 1265, available: no)
		output:analog-surround-41: Analog Surround 4.1 Output (priority 1300, available: no)
		output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 1365, available: no)
		output:analog-surround-50: Analog Surround 5.0 Output (priority 1200, available: no)
		output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 1265, available: no)
		output:analog-surround-51: Analog Surround 5.1 Output (priority 1300, available: no)
		output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 1365, available: no)
		output:analog-surround-71: Analog Surround 7.1 Output (priority 1200, available: no)
		output:analog-surround-71+input:analog-stereo: Analog Surround 7.1 Output + Analog Stereo Input (priority 1265, available: no)
		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 5565, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:iec958-stereo+input:analog-stereo>
	sinks:
		alsa_output.pci-0000_00_14.2.iec958-stereo/#0: Built-in Audio Digital Stereo (IEC958)
	sources:
		alsa_output.pci-0000_00_14.2.iec958-stereo.monitor/#0: Monitor of Built-in Audio Digital Stereo (IEC958)
		alsa_input.pci-0000_00_14.2.analog-stereo/#1: 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: yes)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)
			properties:
				
		analog-output-lineout: Line Out (priority 9000, latency offset 0 usec, available: no)
			properties:
				
		analog-output-headphones: Headphones (priority 9900, 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:
				
    index: 2
	name: <alsa_card.pci-0000_08_05.1>
	driver: <module-alsa-card.c>
	owner module: 8
	properties:
		alsa.card = "2"
		alsa.card_name = "Conexant CX8801"
		alsa.long_card_name = "Conexant CX8801 at 0xfa000000"
		alsa.driver_name = "cx88_alsa"
		device.bus_path = "pci-0000:08:05.1"
		sysfs.path = "/devices/pci0000:00/0000:00:14.4/0000:08:05.1/sound/card2"
		device.bus = "pci"
		device.vendor.id = "14f1"
		device.vendor.name = "Conexant Systems, Inc."
		device.product.id = "8801"
		device.product.name = "CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (pcHDTV HD-5500)"
		device.string = "2"
		device.description = "CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (pcHDTV HD-5500)"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:stereo-fallback: Stereo Input (priority 51, available: unknown)
		input:multichannel-input: Multichannel Input (priority 1, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <input:stereo-fallback>
	sources:
		alsa_input.pci-0000_08_05.1.stereo-fallback/#2: CX23880/1/2/3 PCI Video and Audio Decoder [Audio Port] (pcHDTV HD-5500) Stereo
	ports:
		analog-input: Analog Input (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				
		multichannel-input: Multichannel Input (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
1 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_14.2.iec958-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE
	priority: 9038
	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 0.50 .. 1999.82 ms
	card: 1 <alsa_card.pci-0000_00_14.2>
	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 = "0"
		alsa.card_name = "HDA ATI SB"
		alsa.long_card_name = "HDA ATI SB at 0xfc100000 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/card0"
		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) (M4A89GTD PRO/USB3 Motherboard)"
		device.form_factor = "internal"
		device.string = "iec958:0"
		device.buffering.buffer_size = "352768"
		device.buffering.fragment_size = "176384"
		device.access_mode = "mmap+timer"
		device.profile.name = "iec958-stereo"
		device.profile.description = "Digital Stereo (IEC958)"
		device.description = "Built-in Audio Digital Stereo (IEC958)"
		alsa.mixer_name = "Realtek ALC892"
		alsa.components = "HDA:10ec0892,10438410,00100302"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)
			properties:
				
	active port: <iec958-stereo-output>
0 sink input(s) available.

Last edited by KairiTech (2020-03-29 12:14:15)

Offline

#4 2020-03-29 12:23:11

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

Re: [SOLVED] Lost VLC sound after recent update

You aren't playing anything, repost them while playing something back.

But what we do see here is that pulse thinks your jacks aren't available, so post

dmesg | grep snd
aplay -l
#Does direct ALSA playback work?
aplay -Dhw:0 -c2
amixer -c0
#As a test, that should force pulse to try and play to analog despite receiving wrong information.
pacmd set-card-profile alsa_card.pci-0000_00_14.2 output:analog-stereo+input:analog-stereo

this does sound more like a kernel regression to me than anything in pulse specifically. From which kernel did you upgrade when the problems started? Check /var/log/pacman.log

Last edited by V1del (2020-03-29 21:52:17)

Offline

#5 2020-04-02 01:07:43

KairiTech
Member
From: Toronto, Canada
Registered: 2011-06-04
Posts: 275

Re: [SOLVED] Lost VLC sound after recent update

If I set Tools > Preferences [Audio] > Output module: to "ALSA audio output" I get sound from vlc.

The "Automatic" setting no longer works in Arch but it does work in other distributions I have tried.

Still trying to figure out the no sound issue in browsers.  Will update this post when I discover a solution.

Offline

#6 2020-04-02 08:22:26

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

Re: [SOLVED] Lost VLC sound after recent update

You are just bypassing pulse that way. If you are happy with that as a solution you could just remove pulseaudio. But it'd be better to know what makes pulse break.

Offline

Board footer

Powered by FluxBB