You are not logged in.

#1 2024-08-14 10:36:52

telis80
Member
Registered: 2015-03-26
Posts: 100

Weird pulseaudio bug?

Hi, i have an hp laptop and i am facing an issue for a couple of months now. I didnt notice if it happened after a specific update. But the laptop appeared to not have any sound. Opening pulseaudio, going to output devices and muting and unmuting the speaker makes it work. I dunno where the issue could be, everything is updated. If you have any ideas on something to try please let me know! Thanks for any help!

Last edited by telis80 (2024-08-16 13:23:23)


I live at the Internet
-Edward Snowden

Offline

#2 2024-08-14 10:53:24

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,447

Re: Weird pulseaudio bug?

Output, in code tags, of

sudo fuser -v /dev/snd/*
sudo dmesg | grep -E 'snd|sof'
systemctl --user status pipewire{,-pulse} wireplumber pulseaudio
pactl list cards
pactl list sinks

Offline

#3 2024-08-14 15:47:52

telis80
Member
Registered: 2015-03-26
Posts: 100

Re: Weird pulseaudio bug?

                      USER        PID ACCESS COMMAND
/dev/snd/controlC0:  arch       2662 F.... pipewire
                     arch       2663 F.... wireplumber
/dev/snd/controlC1:  arch       2662 F.... pipewire
                     arch       2663 F.... wireplumber
/dev/snd/controlC2:  arch       2662 F.... pipewire
                     arch       2663 F.... wireplumber
/dev/snd/pcmC1D0c:   arch       2662 F...m pipewire
/dev/snd/pcmC1D0p:   arch       2662 F...m pipewire
/dev/snd/pcmC2D0c:   arch       2662 F...m pipewire
/dev/snd/seq:        arch       2662 F.... pipewire
 
 sudo dmesg | grep -E 'snd|sof'
[    0.033728] software IO TLB: area num 16.
[    0.455424] PCI-DMA: Using software bounce buffering for IO (SWIOTLB)
[    0.455427] software IO TLB: mapped [mem 0x00000000a85fd000-0x00000000ac5fd000] (64MB)
[    0.717998] integrity: Loaded X.509 cert 'Microsoft Windows Production PCA 2011: a92902398e16c49778cd90f99e4f9ae17c55af53'
[    0.718011] integrity: Loaded X.509 cert 'Microsoft Corporation UEFI CA 2011: 13adbf4309bd82709c8cd54f316ed522988a1bd4'
[    4.724321] snd_rn_pci_acp3x 0000:03:00.5: enabling device (0000 -> 0002)
[    4.894516] snd_hda_intel 0000:03:00.1: enabling device (0000 -> 0002)
[    4.894664] snd_hda_intel 0000:03:00.1: Handle vga_switcheroo audio client
[    4.894716] snd_hda_intel 0000:03:00.6: enabling device (0000 -> 0002)
[    4.907011] snd_hda_intel 0000:03:00.1: bound 0000:03:00.0 (ops amdgpu_dm_audio_component_bind_ops [amdgpu])
[    4.932399] snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALC236: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    4.932404] snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    4.932407] snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    4.932408] snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
[    4.932410] snd_hda_codec_realtek hdaudioC1D0:    inputs:
[    4.932411] snd_hda_codec_realtek hdaudioC1D0:      Mic=0x19
 
Unit pulseaudio.service could not be found.
● pipewire.service - PipeWire Multimedia Service
     Loaded: loaded (/usr/lib/systemd/user/pipewire.service; disabled; preset: enabled)
     Active: active (running) since Wed 2024-08-14 12:33:44 CEST; 5h 12min ago
 Invocation: 8c9342892a564de38030fa411a2e5325
TriggeredBy: ● pipewire.socket
   Main PID: 2662 (pipewire)
      Tasks: 3 (limit: 18347)
     Memory: 7.7M (peak: 11.8M)
        CPU: 3min 8.000s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire.service
             └─2662 /usr/bin/pipewire

Aug 14 12:33:44 arch systemd[2104]: Started PipeWire Multimedia Service.

● pipewire-pulse.service - PipeWire PulseAudio
     Loaded: loaded (/usr/lib/systemd/user/pipewire-pulse.service; disabled; preset: enabled)
     Active: active (running) since Wed 2024-08-14 12:33:44 CEST; 5h 12min ago
 Invocation: 1bb77a9426b440bc8e2612c3c12b6f56
TriggeredBy: ● pipewire-pulse.socket
   Main PID: 2664 (pipewire-pulse)
      Tasks: 3 (limit: 18347)
     Memory: 30.1M (peak: 37.8M)
        CPU: 6min 56.173s
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/pipewire-pulse.service
             └─2664 /usr/bin/pipewire-pulse

Aug 14 12:33:44 arch systemd[2104]: Started PipeWire PulseAudio.

● wireplumber.service - Multimedia Service Session Manager
     Loaded: loaded (/usr/lib/systemd/user/wireplumber.service; enabled; preset: enabled)
     Active: active (running) since Wed 2024-08-14 12:33:44 CEST; 5h 12min ago
 Invocation: 81d0bef2a5164498845c62b510555bd7
   Main PID: 2663 (wireplumber)
      Tasks: 7 (limit: 18347)
     Memory: 6.1M (peak: 8M)
        CPU: 860ms
     CGroup: /user.slice/user-1000.slice/user@1000.service/session.slice/wireplumber.service
             └─2663 /usr/bin/wireplumber

Aug 14 12:33:44 arch systemd[2104]: Started Multimedia Service Session Manager.
Aug 14 12:33:44 arch wireplumber[2663]: wp-device: SPA handle 'api.alsa.acp.device' could not be loaded; is it installed?
Aug 14 12:33:44 arch wireplumber[2663]: s-monitors: Failed to create 'api.alsa.acp.device' device
Aug 14 12:33:44 arch wireplumber[2663]: spa.alsa: Path Mic ACP LED is not a volume or mute control
Aug 14 12:33:44 arch wireplumber[2663]: spa.bluez5: BlueZ system service is not available
Aug 14 12:33:44 arch wireplumber[2663]: [0:00:12.931223890] [2663] ERROR IPAModule ipa_module.cpp:172 Symbol ipaModuleInfo not found
Aug 14 12:33:44 arch wireplumber[2663]: [0:00:12.931236604] [2663] ERROR IPAModule ipa_module.cpp:292 v4l2-compat.so: IPA module has no valid info
Aug 14 12:33:44 arch wireplumber[2663]: [0:00:12.931264146] [2663]  INFO Camera camera_manager.cpp:313 libcamera v0.3.1
 
pactl list cards
Card #50
	Name: alsa_card.pci-0000_03_00.1
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.alsa.card = "0"
		api.alsa.card.longname = "HD-Audio Generic at 0xfcdc8000 irq 81"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.path = "hw:0"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio0"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:03:00.1"
		device.description = "Renoir Radeon High Definition Audio Controller"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_03_00.1"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "4910160"
		device.product.id = "0x1637"
		device.product.name = "Renoir Radeon High Definition Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:03:00.1/sound/card0"
		device.vendor.id = "0x1002"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD/ATI]"
		media.class = "Audio/Device"
		factory.id = "15"
		client.id = "48"
		object.id = "50"
		object.serial = "50"
		object.path = "alsa:acp:Generic"
		alsa.card = "0"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xfcdc8000 irq 81"
		alsa.driver_name = "snd_hda_intel"
		alsa.mixer_name = "ATI R6xx HDMI"
		alsa.components = "HDA:1002aa01,00aa0100,00100700"
		alsa.id = "Generic"
		device.string = "0"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		HiFi: Play HiFi quality Music (sinks: 1, sources: 0, priority: 9100, available: no)
		pro-audio: Pro Audio (sinks: 1, sources: 0, priority: 1, available: yes)
	Active Profile: off
	Ports:
		[Out] HDMI1: HDMI / DisplayPort 1 Output (type: HDMI, priority: 1100, latency offset: 0 usec, availability group: HDMI/DP,pcm=3, not available)
			Properties:
				port.type = "hdmi"
				port.availability-group = "HDMI/DP,pcm=3"
				device.icon_name = "video-display"
				card.profile.port = "0"
			Part of profile(s): HiFi

Card #51
	Name: alsa_card.pci-0000_03_00.6
	Driver: alsa
	Owner Module: n/a
	Properties:
		api.acp.auto-port = "false"
		api.alsa.card = "1"
		api.alsa.card.longname = "HD-Audio Generic at 0xfcdc0000 irq 82"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.path = "hw:1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.api = "alsa"
		device.bus = "pci"
		device.bus_path = "pci-0000:03:00.6"
		device.description = "Family 17h/19h HD Audio Controller"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_03_00.6"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "4974506"
		device.product.id = "0x15e3"
		device.product.name = "Family 17h/19h HD Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card1"
		device.vendor.id = "0x1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		media.class = "Audio/Device"
		factory.id = "15"
		client.id = "48"
		object.id = "51"
		object.serial = "51"
		object.path = "alsa:acp:Generic_1"
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.long_card_name = "HD-Audio Generic at 0xfcdc0000 irq 82"
		alsa.driver_name = "snd_hda_intel"
		alsa.mixer_name = "Realtek ALC236"
		alsa.components = "HDA:10ec0236,103c89fc,00100002"
		alsa.id = "Generic_1"
		device.string = "1"
	Profiles:
		off: Off (sinks: 0, sources: 0, priority: 0, available: yes)
		HiFi (Headphones, Mic1, Mic2): Play HiFi quality Music (Headphones, Mic1, Mic2) (sinks: 1, sources: 2, priority: 8500, available: no)
		HiFi (Mic1, Mic2, Speaker): Play HiFi quality Music (Mic1, Mic2, Speaker) (sinks: 1, sources: 2, priority: 8400, available: yes)
		pro-audio: Pro Audio (sinks: 1, sources: 1, priority: 1, available: yes)
	Active Profile: HiFi (Mic1, Mic2, Speaker)
	Ports:
		[Out] Speaker: Speaker (type: Speaker, priority: 100, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "speaker"
				device.icon_name = "audio-speakers"
				card.profile.port = "0"
			Part of profile(s): HiFi (Mic1, Mic2, Speaker)
		[In] Mic2: Headphones Stereo Microphone (type: Mic, priority: 200, latency offset: 0 usec, availability group: Mic, not available)
			Properties:
				port.type = "mic"
				port.availability-group = "Mic"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "1"
			Part of profile(s): HiFi (Mic1, Mic2, Speaker), HiFi (Headphones, Mic1, Mic2)
		[In] Mic1: Digital Microphone (type: Mic, priority: 100, latency offset: 0 usec, availability unknown)
			Properties:
				port.type = "mic"
				device.icon_name = "audio-input-microphone"
				card.profile.port = "2"
			Part of profile(s): HiFi (Mic1, Mic2, Speaker), HiFi (Headphones, Mic1, Mic2)
		[Out] Headphones: Headphones (type: Headphones, priority: 200, latency offset: 0 usec, availability group: Headphone, not available)
			Properties:
				port.type = "headphones"
				port.availability-group = "Headphone"
				device.icon_name = "audio-headphones"
				card.profile.port = "3"
			Part of profile(s): HiFi (Headphones, Mic1, Mic2)
 
 pactl list sinks
Sink #53
	State: IDLE
	Name: alsa_output.pci-0000_03_00.6.HiFi__Speaker__sink
	Description: Family 17h/19h HD Audio Controller Speaker
	Driver: PipeWire
	Sample Specification: s32le 2ch 48000Hz
	Channel Map: front-left,front-right
	Owner Module: 4294967295
	Mute: no
	Volume: front-left: 24679 /  38% / -25.45 dB,   front-right: 24679 /  38% / -25.45 dB
	        balance 0.00
	Base Volume: 65536 / 100% / 0.00 dB
	Monitor Source: alsa_output.pci-0000_03_00.6.HiFi__Speaker__sink.monitor
	Latency: 0 usec, configured 0 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.card = "1"
		alsa.card_name = "HD-Audio Generic"
		alsa.class = "generic"
		alsa.components = "HDA:10ec0236,103c89fc,00100002"
		alsa.device = "0"
		alsa.driver_name = "snd_hda_intel"
		alsa.id = "Generic_1"
		alsa.long_card_name = "HD-Audio Generic at 0xfcdc0000 irq 82"
		alsa.mixer_device = "_ucm0003.hw:Generic_1"
		alsa.mixer_name = "Realtek ALC236"
		alsa.name = "ALC236 Analog"
		alsa.resolution_bits = "16"
		alsa.subclass = "generic-mix"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.sync.id = "00000000:00000000:00000000:00000000"
		api.alsa.card.longname = "HD-Audio Generic at 0xfcdc0000 irq 82"
		api.alsa.card.name = "HD-Audio Generic"
		api.alsa.open.ucm = "true"
		api.alsa.path = "hw:Generic_1"
		api.alsa.pcm.card = "1"
		api.alsa.pcm.stream = "playback"
		audio.channels = "2"
		audio.position = "FL,FR"
		card.profile.device = "0"
		device.api = "alsa"
		device.class = "sound"
		device.id = "51"
		device.profile.description = "Speaker"
		device.profile.name = "HiFi: Speaker: sink"
		device.routes = "1"
		factory.name = "api.alsa.pcm.sink"
		media.class = "Audio/Sink"
		device.description = "Family 17h/19h HD Audio Controller"
		node.name = "alsa_output.pci-0000_03_00.6.HiFi__Speaker__sink"
		node.nick = "ALC236 Analog"
		node.pause-on-idle = "false"
		object.path = "alsa:acp:Generic_1:0:playback"
		port.group = "playback"
		priority.driver = "1000"
		priority.session = "1000"
		factory.id = "19"
		clock.quantum-limit = "8192"
		client.id = "48"
		node.driver = "true"
		node.loop.name = "data-loop.0"
		library.name = "audioconvert/libspa-audioconvert"
		object.id = "53"
		object.serial = "53"
		node.max-latency = "16384/48000"
		api.alsa.period-size = "1024"
		api.alsa.period-num = "32"
		api.alsa.headroom = "0"
		api.acp.auto-port = "false"
		api.alsa.card = "1"
		api.alsa.use-acp = "true"
		api.dbus.ReserveDevice1 = "Audio1"
		api.dbus.ReserveDevice1.Priority = "-20"
		device.bus = "pci"
		device.bus_path = "pci-0000:03:00.6"
		device.enum.api = "udev"
		device.icon_name = "audio-card-analog-pci"
		device.name = "alsa_card.pci-0000_03_00.6"
		device.nick = "HD-Audio Generic"
		device.plugged.usec = "4974506"
		device.product.id = "0x15e3"
		device.product.name = "Family 17h/19h HD Audio Controller"
		device.subsystem = "sound"
		sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:03:00.6/sound/card1"
		device.vendor.id = "0x1022"
		device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"
		device.string = "1"
	Ports:
		[Out] Speaker: Speaker (type: Speaker, priority: 100, availability unknown)
	Active Port: [Out] Speaker
	Formats:
		pcm

I live at the Internet
-Edward Snowden

Offline

#4 2024-08-14 19:47:31

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 23,447

Re: Weird pulseaudio bug?

So you're not actually using pulseaudio, this "used to be" somewhat of a bug in pipewire 1.2 should afaik be more or less mitigated by now. Can you try removing ~/.local/state/wireplumber and rebooting?

Offline

#5 2024-08-14 19:59:20

telis80
Member
Registered: 2015-03-26
Posts: 100

Re: Weird pulseaudio bug?

Yeah i guess it was using pipewire all along. I am not that familiar with these. This worked indeed thanks for the help smile


I live at the Internet
-Edward Snowden

Offline

#6 2024-08-16 13:23:00

telis80
Member
Registered: 2015-03-26
Posts: 100

Re: Weird pulseaudio bug?

Update, i guess that was a temporary fix. After rebooting today again the problem persists


I live at the Internet
-Edward Snowden

Offline

#7 2024-08-17 09:24:38

superjcvd
Member
Registered: 2019-09-16
Posts: 8

Re: Weird pulseaudio bug?

Hello there.

I have the exact same problem smile
I searched other the forum without any success.
I even reinstalled completly my laptop and still the same issue.

If anybody has any clue this would be great.

(it appeared a few months ago after an update)

Offline

#8 2024-09-26 08:37:04

Paharet
Member
Registered: 2024-09-18
Posts: 9

Re: Weird pulseaudio bug?

It's known bug of Pipewire. There was a commit made yesterday to fix the issue so update on it's way...

https://gitlab.freedesktop.org/pipewire … ssues/4084

Offline

Board footer

Powered by FluxBB