You are not logged in.

#1 2020-06-04 17:49:35

FlixTheThirt
Member
Registered: 2020-06-04
Posts: 4

No sound, pulseaudio show dummy output

Hello everyone,

I've installed Arch (5.6.15-arch1-1) on my Acer Chromebook 14 CB3-431 (Edgar).

I have no sound over speaker and headphone jack. Pulseaudio is only showing "Dummy Output". Sound over HDMI is working.
I googled for a while now and tried different solutions, none helped.

Here is some data:

Pulseaudio only detects HDMI sound card.

pacmd list-cards

1 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_1b.0>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "1"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xd1314000 irq 315"
		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 = "2284"
		device.product.name = "Atom/Celeron/Pentium Processor x5-E8000/J3xxx/N3xxx Series 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: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)
		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"

But Kernel detects second sound card.

cat /proc/asound/cards

 0 [chtrt5650      ]: chtrt5650 - chtrt5650
                      GOOGLE-Edgar-1.0
 1 [PCH            ]: HDA-Intel - HDA Intel PCH
                      HDA Intel PCH at 0xd1314000 irq 315

Running

dmesg

I get this same error message a lot:

Audio Port: ASoC: no backend DAIs enabled for Audio Port

Running

pulseaudio -vv

I get following output.

...
I: [pulseaudio] alsa-util.c: snd_pcm_hw_params_set_buffer_size_near() failed: Invalid argument
I: [pulseaudio] alsa-util.c: snd_pcm_hw_params_set_buffer_size_near() failed: Invalid argument
D: [pulseaudio] alsa-util.c: Set neither period nor buffer size.
I: [pulseaudio] alsa-util.c: snd_pcm_hw_params failed: Invalid argument
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:hw:0: Invalid argument
D: [pulseaudio] alsa-mixer.c: Caching failure to open output:multichannel-output
D: [pulseaudio] alsa-mixer.c: Skipping profile output:multichannel-output+input:analog-stereo - will not be able to open output:multichannel-output
D: [pulseaudio] alsa-mixer.c: Skipping profile output:multichannel-output+input:iec958-stereo - will not be able to open output:multichannel-output
D: [pulseaudio] alsa-mixer.c: Skipping profile output:stereo-fallback+input:stereo-fallback - will not be able to open output:stereo-fallback
D: [pulseaudio] alsa-mixer.c: Skipping profile output:stereo-fallback+input:mono-fallback - will not be able to open output:stereo-fallback
D: [pulseaudio] alsa-mixer.c: Skipping profile output:stereo-fallback+input:multichannel-input - will not be able to open output:stereo-fallback
D: [pulseaudio] alsa-mixer.c: Skipping profile output:mono-fallback+input:stereo-fallback - will not be able to open output:mono-fallback
D: [pulseaudio] alsa-mixer.c: Skipping profile output:mono-fallback+input:mono-fallback - will not be able to open output:mono-fallback
D: [pulseaudio] alsa-mixer.c: Skipping profile output:mono-fallback+input:multichannel-input - will not be able to open output:mono-fallback
D: [pulseaudio] alsa-mixer.c: Skipping profile output:multichannel-output+input:stereo-fallback - will not be able to open output:multichannel-output
D: [pulseaudio] alsa-mixer.c: Skipping profile output:multichannel-output+input:mono-fallback - will not be able to open output:multichannel-output
D: [pulseaudio] alsa-mixer.c: Skipping profile output:multichannel-output+input:multichannel-input - will not be able to open output:multichannel-output
D: [pulseaudio] alsa-mixer.c: Profile set 0x55614122de50, auto_profiles=yes, probed=yes, n_mappings=0, n_profiles=0, n_decibel_fixes=0
E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="0" name="platform-cht-bsw-rt5645" card_name="alsa_card.platform-cht-bsw-rt5645" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.
I: [pulseaudio] module-udev-detect.c: Card /devices/pci0000:00/808622A8:00/cht-bsw-rt5645/sound/card0 (alsa_card.platform-cht-bsw-rt5645) failed to load module.
...

So card is detected by the kernel, but Pulseaudio can't load the card.


Hopefully someone can help me.
Let me know if you need any more information.


Flix

Offline

#2 2020-06-09 01:57:10

ectospasm
Member
Registered: 2015-08-28
Posts: 273

Re: No sound, pulseaudio show dummy output

I get a similar symptom, Dummy output in pulseaudio/pavucontrol.  I've tracked it down to no analog device detected.  If I run aplay -l, I get the following output:

**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 9: HDMI 3 [HDMI 3]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 10: HDMI 4 [HDMI 4]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

I've tried removing the PCI device from /sys/buc/pci/devices, unloading all the sound related kernel modules, and then reloading the modules and rescanning the PCI bus (see this post).  Sometimes that works, but tonight I've been unable to resurrect the analog device.

I don't have anything to plug the HDMI output to, so I haven't tested the HDMI output.  I assume there's a conflict between the analog device (which should be "device 0"), and the HDMI subsystem.  I saw on another thread with my exact sound card, to try passing intel_iommu=off to my kernel cmdline, but that didn't seem to change the behavior.

Offline

#3 2020-06-09 15:46:19

FlixTheThirt
Member
Registered: 2020-06-04
Posts: 4

Re: No sound, pulseaudio show dummy output

Thanks for your reply.

Unfortunately this is not working for me.

aplay -l shows shows two cards for me:

 aplay -l

**** List of PLAYBACK Hardware Devices ****
card 0: chtrt5650 [chtrt5650], device 0: Audio (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: chtrt5650 [chtrt5650], device 1: Deep-Buffer Audio (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 7: HDMI 1 [HDMI 1]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 8: HDMI 2 [HDMI 2]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
 

Offline

#4 2020-06-09 16:34:18

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

Re: No sound, pulseaudio show dummy output

These kinds of cards are always a pain. FWIW there is betterment in sight for the next round of alsa-lib/pulseaudio releases,  in the meantime something ugly you can try is

ln -s /usr/share/alsa/ucm2 /usr/share/alsa/ucm

and ensure alsa-ucm-conf is installed. That way you link the old ucm configuration location to the newer API, which while technically incompatible might lead to the card being able to be initialized properly.

Last edited by V1del (2020-06-09 16:36:03)

Offline

#5 2020-06-10 14:24:05

FlixTheThirt
Member
Registered: 2020-06-04
Posts: 4

Re: No sound, pulseaudio show dummy output

Unfortunally this didn't solve the problem. I installed alsa-ucm-conf and ran above command. Did I miss something?

Meanwhile, running just pulseaudio (whithou -vv) gives a more detailed error description.

pulseaudio

E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="0" name="platform-cht-bsw-rt5645" card_name="alsa_card.platform-cht-bsw-rt5645" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.
E: [pulseaudio] socket-server.c: bind(): Address already in use
E: [pulseaudio] module.c: Failed to load module "module-native-protocol-unix" (argument: ""): initialization failed.
E: [pulseaudio] main.c: Sink alsa_output.platform-cht-bsw-rt5645.HiFi__hw_chtrt5650__sink does not exist.
E: [pulseaudio] main.c: No sink found by this name or index.
E: [pulseaudio] main.c: Source alsa_input.platform-cht-bsw-rt5645.HiFi__hw_chtrt5650__source does not exist.
E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="0" name="platform-cht-bsw-rt5645" card_name="alsa_card.platform-cht-bsw-rt5645" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.
E: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.systemd1.NoSuchUnit: Unit dbus-org.bluez.service not found.
E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="0" name="platform-cht-bsw-rt5645" card_name="alsa_card.platform-cht-bsw-rt5645" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.
E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="0" name="platform-cht-bsw-rt5645" card_name="alsa_card.platform-cht-bsw-rt5645" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.
E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="0" name="platform-cht-bsw-rt5645" card_name="alsa_card.platform-cht-bsw-rt5645" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.
E: [pulseaudio] module-alsa-card.c: Failed to find a working profile.
E: [pulseaudio] module.c: Failed to load module "module-alsa-card" (argument: "device_id="0" name="platform-cht-bsw-rt5645" card_name="alsa_card.platform-cht-bsw-rt5645" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes avoid_resampling=no card_properties="module-udev-detect.discovered=1""): initialization failed.
W: [pulseaudio] module-udev-detect.c: Tried to configure /devices/pci0000:00/808622A8:00/cht-bsw-rt5645/sound/card0 (alsa_card.platform-cht-bsw-rt5645) more often than 5 times in 10s

Offline

#6 2020-06-10 14:40:43

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

Re: No sound, pulseaudio show dummy output

It did in fact change things, it does now try to parse the ucm configuration but fails to do so (which was somewhat expected as the two UCM configuration versions should be incompatible, but there have been devices where this works).

You could also give pulseaudio-git a shot, as it should properly pick up on ucm2 configuration files that way.

Offline

#7 2020-06-14 12:32:33

FlixTheThirt
Member
Registered: 2020-06-04
Posts: 4

Re: No sound, pulseaudio show dummy output

Sorry for the late response I was on vacation.

I installed pulseaudio-git. When running pulseaudio I get the same output as above.

Offline

Board footer

Powered by FluxBB