after my system has been running fine for a while, I stopped getting sound from my laptop’s speakers at some point (obviously I must have done something to cause this, but I have no idea what it might have been). I still had sound on my headphones, though. When I tried to fix this, I managed to make it such that my headphones now don’t work anymore as well…
I’ve been mostly following steps as given here: https://en.opensuse.org/SDB:Audio_troubleshooting
When configuring my soundcard with YaST, I can hear a test sound, so it’s not a hardware issue. Once the configuration is finished, I don’t get any sound, though…
I wasn’t able to find my codecs or anything else that might be helpful, so far.
Also, here’s the output of speaker-test -c2 -l5 -twav:
Wiedergabe-Gerät ist default
Stream-Parameter sind 48000 Hz, S16_LE, 2 Kanäle
ALSA lib confmisc.c:768:(parse_card) cannot find card '0'
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_card_driver returned error: Datei oder Verzeichnis nicht gefunden
ALSA lib confmisc.c:392:(snd_func_concat) error evaluating strings
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_concat returned error: Datei oder Verzeichnis nicht gefunden
ALSA lib confmisc.c:1251:(snd_func_refer) error evaluating name
ALSA lib conf.c:4259:(_snd_config_evaluate) function snd_func_refer returned error: Datei oder Verzeichnis nicht gefunden
ALSA lib conf.c:4738:(snd_config_expand) Evaluate error: Datei oder Verzeichnis nicht gefunden
ALSA lib pcm.c:2259:(snd_pcm_open_noupdate) Unknown PCM sysdefault
Fehler beim Öffnen des Gerätes: -2, Datei oder Verzeichnis nicht gefunden
“Datei oder Verzeichnis nicht gefunden” is German for “Could not find file or directory”
I’d usually try to solve stuff on my own (and learn a lot by doing so), but this is beyond me and I need my sound to be working for video conferences, so I’d highly appreciate any help on the matter.
There’s only one sound card visible in yast. I’ve removed and redid the configuration several times now.
pulse-audio support is enabled, according to yast.
pavucontrol is installed and I can visually see that sound should be playing when I play a youtube video or a test sound in KDE-configurations Desktop-Multimedia (where pulse is selected as audio stream).
Interestingly, my laptop’s “Volume up/ Volume down” buttons don’t seem to do anything anymore.
Thanks for the inputs so far, but I really can’t get a grip on this still…
This makes sense - after a clean reboot. Looking at the script output, there were suspicious entries errors in the dmesg, including a segfault. It reads like some thermal / acpi app was loaded, causing this.
[12238.968247] thinkpad_acpi: EC reports that Thermal Table has changed
[13223.032982] thinkpad_acpi: EC reports that Thermal Table has changed
[13360.251214] plugin-containe: segfault at 0 ip 00007fd70aafa24b sp 00007fff71f35860 error 4 in libxul.so[7fd70a1a2000 3d23000]
I’ve read there are a few layers saving / restoring the mixer state, alsactl invoked via udev, Pulse audio, and kmix.
A possible fix would be to clean up the config. Goto run level 3 once, login as root, kill all pending PA processes. Then adjust via “alsamixer -c0”, and run “alsactl store”. This resets the mixer restored via alsactl.
For Pulseaudio, remove ~/.pulse ~/.config/pulse directories if they exist (they may not).
If the above does not work try using “pavucontrol” application again.