You are not logged in.
This is a problem I've faced for a long time
When it first started, I was unable to get sound to play from my speakers. Then, the problem only occurred when my computer went to sleep or I closed the lid. I was able to solve this by quickly putting my computer into hibernate, then booting it back up—an inconvenience for sure, but doable (this reinforces my belief that the issue is related to hardware not being powered on somehow. If anyone knows of a way to power-cycle the speakers of a via the command line, please chime in!).
After an update a few days ago, I'm back to having no sound what so ever. I suspect that the problem hasn't changed. The thread I made previously came to somewhat of a dead-end, so I'm posting a new one in hopes of being able to fix my sound problem. As quiet as it's kept, sound is really nice to have Here's some relevant info:
sudo fuser -v /dev/snd/*
USER PID ACCESS COMMAND
/dev/snd/controlC0: user 735 F.... wireplumber
/dev/snd/controlC1: user 735 F.... wireplumber
/dev/snd/seq: user 733 F.... pipewire
amixer -c0
Simple mixer control 'Master',0
Capabilities: pvolume pvolume-joined pswitch pswitch-joined
Playback channels: Mono
Limits: Playback 0 - 87
Mono: Playback 82 [94%] [-3.75dB] [on]
Simple mixer control 'Headphone',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 0 [0%] [-65.25dB] [off]
Front Right: Playback 0 [0%] [-65.25dB] [off]
Simple mixer control 'Speaker',0
Capabilities: pvolume pswitch
Playback channels: Front Left - Front Right
Limits: Playback 0 - 87
Mono:
Front Left: Playback 87 [100%] [0.00dB] [on]
Front Right: Playback 87 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
Capabilities: pvolume
Playback channels: Front Left - Front Right
Limits: Playback 0 - 255
Mono:
Front Left: Playback 253 [99%] [-0.40dB]
Front Right: Playback 253 [99%] [-0.40dB]
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',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]
Simple mixer control 'IEC958',5
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',6
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',7
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',8
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',9
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',10
Capabilities: pswitch pswitch-joined
Playback channels: Mono
Mono: Playback [on]
Simple mixer control 'IEC958',11
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 - 63
Front Left: Capture 63 [100%] [30.00dB] [on]
Front Right: Capture 63 [100%] [30.00dB] [on]
Simple mixer control 'Auto-Mute Mode',0
Capabilities: enum
Items: 'Disabled' 'Enabled'
Item0: 'Disabled'
Simple mixer control 'Digital',0
Capabilities: cvolume
Capture channels: Front Left - Front Right
Limits: Capture 0 - 120
Front Left: Capture 60 [50%] [0.00dB]
Front Right: Capture 60 [50%] [0.00dB]
Simple mixer control 'Internal Mic Boost',0
Capabilities: volume
Playback channels: Front Left - Front Right
Capture channels: Front Left - Front Right
Limits: 0 - 3
Front Left: 3 [100%] [30.00dB]
Front Right: 3 [100%] [30.00dB]
pactl list sinks
Sink #47
State: SUSPENDED
Name: alsa_output.pci-0000_00_1f.3.analog-stereo
Description: Built-in Audio Analog Stereo
Driver: PipeWire
Sample Specification: s32le 2ch 48000Hz
Channel Map: front-left,front-right
Owner Module: 4294967295
Mute: no
Volume: front-left: 55706 / 85% / -4.23 dB, front-right: 55706 / 85% / -4.23 dB
balance 0.00
Base Volume: 65536 / 100% / 0.00 dB
Monitor Source: alsa_output.pci-0000_00_1f.3.analog-stereo.monitor
Latency: 0 usec, configured 0 usec
Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY
Properties:
alsa.card = "0"
alsa.card_name = "HDA Intel PCH"
alsa.class = "generic"
alsa.device = "0"
alsa.driver_name = "snd_hda_intel"
alsa.id = "ALC287 Analog"
alsa.long_card_name = "HDA Intel PCH at 0x642d1b8000 irq 232"
alsa.name = "ALC287 Analog"
alsa.resolution_bits = "16"
alsa.subclass = "generic-mix"
alsa.subdevice = "0"
alsa.subdevice_name = "subdevice #0"
api.alsa.card.longname = "HDA Intel PCH at 0x642d1b8000 irq 232"
api.alsa.card.name = "HDA Intel PCH"
api.alsa.path = "front:0"
api.alsa.pcm.card = "0"
api.alsa.pcm.stream = "playback"
audio.channels = "2"
audio.position = "FL,FR"
card.profile.device = "15"
device.api = "alsa"
device.class = "sound"
device.id = "41"
device.profile.description = "Analog Stereo"
device.profile.name = "analog-stereo"
device.routes = "2"
factory.name = "api.alsa.pcm.sink"
media.class = "Audio/Sink"
device.description = "Built-in Audio"
node.name = "alsa_output.pci-0000_00_1f.3.analog-stereo"
node.nick = "ALC287 Analog"
node.pause-on-idle = "false"
object.path = "alsa:pcm:0:front:0:playback"
priority.driver = "1009"
priority.session = "1009"
factory.id = "18"
clock.quantum-limit = "8192"
client.id = "34"
node.driver = "true"
factory.mode = "merge"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
object.id = "46"
object.serial = "47"
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.acp.auto-profile = "false"
api.alsa.card = "0"
api.alsa.use-acp = "true"
api.dbus.ReserveDevice1 = "Audio0"
device.bus = "pci"
device.bus_path = "pci-0000:00:1f.3"
device.enum.api = "udev"
device.form_factor = "internal"
device.icon_name = "audio-card-analog-pci"
device.name = "alsa_card.pci-0000_00_1f.3"
device.nick = "HDA Intel PCH"
device.plugged.usec = "5472302"
device.product.id = "0x43c8"
device.product.name = "Tiger Lake-H HD Audio Controller"
device.subsystem = "sound"
sysfs.path = "/sys/devices/pci0000:00/0000:00:1f.3/sound/card0"
device.vendor.id = "0x8086"
device.vendor.name = "Intel Corporation"
device.string = "0"
Ports:
analog-output-speaker: Speakers (type: Speaker, priority: 10000, availability group: Legacy 3, availability unknown)
analog-output-headphones: Headphones (type: Headphones, priority: 9900, availability group: Legacy 4, not available)
Active Port: analog-output-speaker
Formats:
pcm
pactl list sink-inputs
Sink Input #302
Driver: PipeWire
Owner Module: n/a
Client: 71
Sink: 47
Sample Specification: float32le 2ch 48000Hz
Channel Map: front-left,front-right
Format: pcm, format.sample_format = "\"float32le\"" format.rate = "48000" format.channels = "2" format.channel_map = "\"front-left,front-right\""
Corked: yes
Mute: no
Volume: front-left: 65536 / 100% / 0.00 dB, front-right: 65536 / 100% / 0.00 dB
balance 0.00
Buffer Latency: 0 usec
Sink Latency: 0 usec
Resample method: PipeWire
Properties:
client.api = "pipewire-pulse"
pulse.server.type = "unix"
application.name = "Firefox"
application.process.id = "1235"
application.process.user = "user"
application.process.host = "elmina"
application.process.binary = "firefox"
application.language = "en_US.UTF-8"
window.x11.display = ":0"
application.process.machine_id = "9b3250e2e4b0485d8db77e5c4b01cf80"
application.process.session_id = "2"
media.name = "AudioStream"
node.rate = "1/48000"
node.latency = "3600/48000"
stream.is-live = "true"
node.name = "Firefox"
node.autoconnect = "true"
node.want-driver = "true"
media.class = "Stream/Output/Audio"
adapt.follower.spa-node = ""
object.register = "false"
factory.id = "6"
clock.quantum-limit = "8192"
factory.mode = "split"
audio.adapt.follower = ""
library.name = "audioconvert/libspa-audioconvert"
client.id = "52"
object.id = "60"
object.serial = "302"
pulse.attr.maxlength = "4194304"
pulse.attr.tlength = "48000"
pulse.attr.prebuf = "38408"
pulse.attr.minreq = "9600"
module-stream-restore.id = "sink-input-by-application-name:Firefox"
After this problem worsened, I started using pipewire instead of pulse, but that hasn't helped.
]I do notice that **pactl list sink** shows the sink as being SUSPENDED; that's what I'm trying to work on now. Nevermind. That goes away when I e.g., play a YouTube video.
One weird thing is that if I allow YouTube videos to play for a while, the speakers randomly start working like once every few videos and then stop working again.
Last edited by AmagicalFishy (2022-10-27 04:21:50)
Offline
Do a BIOS/UEFI update this sounds like a low level issue only they can properly fix. Which exact hardware is this?
As for "power cycling" alsactl init should do that for most logical purposes, maybe disable anything occupying the audio device and explicitly reloading snd-hda-intel with
modprobe -r snd-hda-intel && modprobe snd-hda-intel
that will only work if nothing is occupying the output, i.e. you don't see any client active anymore in fuser -v
Last edited by V1del (2022-10-19 08:29:25)
Offline
I'll do a UEFI update now—but one reason I'm skeptical of this being the problem is because everything works perfectly well on Windows.
BIOS/UEFI is now updated to the latest version, but that had no effect.
The laptop I'm using is: Lenovo Legion 7i (Gen 6 16ITH6 model w/ Core i9, RTX 3080)
I've got to figure out how to get stuff to stop using the kernel module, but dude—it's so weird: If I leave a YouTube video on for a while, give it ~15 minutes or so and my speakers pop on.
Last edited by AmagicalFishy (2022-10-19 17:51:06)
Offline
<EDIT>
use
# pacman -S pipewire-alsa alsa-utils
instead of
# pacman -S pulseaudio-alsa alsa-utils
.
</EDIT>
Could you try if this workaround is of any help for you?
Last edited by d.ALT (2022-10-21 07:37:08)
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
Maybe also try to disable sink suspension: https://wiki.archlinux.org/title/PipeWi … g_playback
Offline
I tried the workaround, but "ALSA plug-in" wasn't in alsamixer.
I disabled sink suspension, and that didn't help either.
This might be relevant—but no one talks about intermittent sound, just sound not working at all. My sound clearly has the capacity to work.
Last edited by AmagicalFishy (2022-10-24 13:35:39)
Offline
I tried the workaround, but "ALSA plug-in" wasn't in alsamixer.
Maybe it isn't there because aplay it is NOT actually playing anything. You need to provide a valid WAV file to play.
Example:
$ aplay /some/path/somewhere/VALIDAUDIOFILE.WAV
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
Maybe also try to disable sink suspension: https://wiki.archlinux.org/title/PipeWi … g_playback
Hey V1del, unfortunately in my tests that option never helped me: it always seemed to have no effect (Pipewire didn't exist at the time).
I never understood why it wasn't working.
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
I was playing an actual .wav file. :\
I've never actually seen an ALSA plug-in inside of alsamixer. FWIW though, I can see the little sound bar moving as if sound were playing in pavucontrol.
Offline
I tried the workaround, but "ALSA plug-in" wasn't in alsamixer.
But is the sound working?
I can see the little sound bar moving as if sound were playing in pavucontrol.
Yep, I meant that. Mute it.
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
Hrm, I think there may be a misunderstanding. The speakers through which sound isn't playing are my laptop's speakers.
When I look at the status of both pipewire and wireplumber, I get errors regarding an inability to find "xdg-portal."
What is xdg-portal? Both say "Can't find xdg-portal" and "found session but no portal"
Last edited by AmagicalFishy (2022-10-25 14:48:18)
Offline
What is xdg-portal? Both say "Can't find xdg-portal" and "found session but no portal"
Have a look here: https://archlinux.org/packages/?sort=&q … =&flagged=
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
Update: This seems like some positive progress.
I booted up a Ubuntu live USB and the sound worked perfectly. This isn't an issue with Linux, my hardware, UEFI settings; it's an issue with either Arch or my specific install of it.
Given that, though, there should be some way of figuring out what's different.
Offline
I booted up a Ubuntu live USB and the sound worked perfectly.
Try installing the same kernel version on Arch.
Also: is Ubuntu using PipeWire ecosystem by default nowadays?
Do a lsmod output comparison between Ubuntu and Arch, in order to check modules.
<49,17,III,I> Fama di loro il mondo esser non lassa;
<50,17,III,I> misericordia e giustizia li sdegna:
<51,17,III,I> non ragioniam di lor, ma guarda e passa.
Offline
Whew! Yup, that did it. Thanks for the suggestion. I just moved to the linux-lts kernel (matching the newest Ubuntu's, which as of this date is "5.15.75-1-lts") and—after fixing some GRUB errors —booted back into Arch and speakers worked beautifully.
So now I'm back to my original problem: The sound stops working once I wake my computer up from sleep—but starts working again when I wake my computer up from hibernate.
Anyway, I'm marking this as solved since I'm now able to get sound. Thanks for your help! This is a step in the right direction.
Last edited by AmagicalFishy (2022-10-27 04:29:10)
Offline