You are not logged in.

#1 2021-01-30 15:27:37

Firebird
Member
Registered: 2018-08-09
Posts: 57

KDE Plasma 5 no sound

Hi,

first of all, I'm not sure if this belongs to "Desktop Environments" or "Multimedia", so please feel free to move this post.
My main problem is, that my fresh linux installation, using KDE Plasma 5 has no sound on my laptop with built in microphone and speaker.
As a first step, I installed "kde-multimedia-meta", "pulseaudio", "plasma-pa", "alsa-utils", "alsa-oss". I didn't futher configure any of these packages.
KDE Plasma sound utility lists a "Speaker" and "Digital Microphone" as unmuted.

Here's a few things I managed to find out:

LC_ALL=C aplay -l
**** List of PLAYBACK Hardware Devices ****
card 0: sofhdadsp [sof-hda-dsp], device 0: HDA Analog (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 1: HDA Digital (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 3: HDMI1 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 4: HDMI2 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: sofhdadsp [sof-hda-dsp], device 5: HDMI3 (*) []
  Subdevices: 1/1
  Subdevice #0: subdevice #0
lspci -nn | grep "audio"
0000:00:1f.3 Multimedia audio controller [0401]: Intel Corporation Tiger Lake-LP Smart Sound Technology Audio Controller [8086:a0c8] (rev 20)
lsmod | grep "snd" | column -t
snd_soc_skl_hda_dsp       28672   5   
snd_soc_hdac_hdmi         45056   1   snd_soc_skl_hda_dsp
snd_hda_codec_hdmi        73728   1   
snd_hda_codec_realtek     143360  1   
snd_hda_codec_generic     98304   1   snd_hda_codec_realtek
snd_soc_dmic              16384   1   
snd_sof_pci               24576   0   
snd_sof_intel_byt         20480   1   snd_sof_pci
snd_sof_intel_ipc         20480   1   snd_sof_intel_byt
snd_sof_intel_hda_common  98304   1   snd_sof_pci
snd_soc_hdac_hda          24576   1   snd_sof_intel_hda_common
snd_sof_xtensa_dsp        16384   2   snd_sof_intel_hda_common,snd_sof_intel_byt
snd_sof_intel_hda         20480   1   snd_sof_intel_hda_common
snd_sof                   139264  4   snd_sof_pci,snd_sof_intel_hda_common,snd_sof_intel_byt,snd_sof_intel_ipc
snd_hda_ext_core          36864   4   snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_intel_hda
snd_soc_acpi_intel_match  45056   2   snd_sof_pci,snd_sof_intel_hda_common
snd_soc_acpi              16384   3   snd_soc_acpi_intel_match,snd_sof_intel_hda_common,snd_sof_intel_byt
ledtrig_audio             16384   2   snd_hda_codec_generic,snd_sof
snd_hda_intel             57344   0   
snd_intel_dspcfg          24576   3   snd_hda_intel,snd_sof_pci,snd_sof_intel_hda_common
soundwire_intel           45056   2   snd_sof_intel_hda_common,snd_intel_dspcfg
snd_hda_codec             172032  6   snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek,snd_soc_hdac_hda,snd_soc_skl_hda_dsp
snd_hda_core              106496  11  snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_sof_intel_hda,snd_soc_skl_hda_dsp
snd_hwdep                 16384   1   snd_hda_codec
snd_soc_core              323584  7   soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_soc_hdac_hda,snd_soc_dmic,snd_soc_skl_hda_dsp
snd_compress              32768   1   snd_soc_core
ac97_bus                  16384   1   snd_soc_core
snd_pcm_dmaengine         16384   1   snd_soc_core
snd_pcm                   147456  11  snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,soundwire_intel,snd_sof,snd_sof_intel_hda_common,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_hda_core,snd_pcm_dmaengine
snd_timer                 45056   1   snd_pcm
snd                       114688  22  snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_soc_hdac_hdmi,snd_compress,snd_soc_core,snd_pcm,snd_soc_skl_hda_dsp
soundcore                 16384   1   snd

So it looks like ALSA at least recognized the soundcard
Do I need to configure the system any further, or am I missing a module / package?

Offline

#2 2021-01-30 16:02:10

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 19,769

Re: KDE Plasma 5 no sound

Did you install pulseaudio-alsa ?


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#3 2021-01-30 16:16:19

Firebird
Member
Registered: 2018-08-09
Posts: 57

Re: KDE Plasma 5 no sound

ewaller wrote:

Did you install pulseaudio-alsa ?

It is installed. must have been installed via a depedency

Offline

#4 2021-01-30 16:27:29

twelveeighty
Member
From: Alberta, Canada
Registered: 2011-09-04
Posts: 1,096

Re: KDE Plasma 5 no sound

Even though Plasma may list the outputs as unmuted, make sure to check that ALSA is Unmuted.

Offline

#5 2021-01-30 16:54:19

Firebird
Member
Registered: 2018-08-09
Posts: 57

Re: KDE Plasma 5 no sound

twelveeighty wrote:

Even though Plasma may list the outputs as unmuted, make sure to check that ALSA is Unmuted.

I did

amixer sset Master unmute
amixer sset Speaker unmute
amixer sset Headphone unmute

Funny enough, alsamixer only shows element "Master" (as unmuted). but an element "PCM" is not present. Might this be the problem?

Offline

#6 2021-01-30 16:56:00

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Offline

#7 2021-01-30 17:03:45

Firebird
Member
Registered: 2018-08-09
Posts: 57

Re: KDE Plasma 5 no sound

Is installed

Offline

#8 2021-01-31 14:45:35

Firebird
Member
Registered: 2018-08-09
Posts: 57

Re: KDE Plasma 5 no sound

Short Update: I tested a bit further and somehow the headphone jack audio in + out seem to work. just not builtin microphone and speaker.
I'll update the information I got via the above listed commands (in original posts) soon.

Offline

#9 2021-02-02 18:22:29

Firebird
Member
Registered: 2018-08-09
Posts: 57

Re: KDE Plasma 5 no sound

OK, so as promised my update. Sorry for taking so much time.
The current situation is now: I got audio in / out from the headphone jack, but not via builtin speakers and microphone.
The machine itself is a Lenovo Yoga 7i  with Win10 Dualboot (everything works under Win10).
However: When booting the machine with headphones plugged ine, one can occasionally hear an occasional cracking from the main speakers

I have the following packages installed

pacman -Q | grep "alsa"
alsa-card-profiles 1:0.3.20-1
alsa-lib 1.2.4-3
alsa-oss 1.1.8-3
alsa-plugins 1:1.2.2-2
alsa-topology-conf 1.2.4-2
alsa-ucm-conf 1.2.4-2
alsa-utils 1.2.4-2
pulseaudio-alsa 1:1.2.2-2
zita-alsa-pcmi 0.3.2-3
pacman -Q | grep "pulse"
libcanberra-pulse 0.30+2+gc0620e4-3
libpulse 14.2-2
pulseaudio 14.2-2
pulseaudio-alsa 1:1.2.2-2
pulseaudio-ctl 1.68-1
pulseaudio-qt 1.2-2
pulsemixer 1.5.1-2
pacman -Q | grep "firmware"
aic94xx-firmware 30-9
linux-firmware 20201218.646f159-1
sof-firmware 1.6.1-1
wd719x-firmware 1-7

However I didn't configure any of these packages further.
The kernel module vmd is loaded as an extra (machine would not boot without it due to "Grub: UUID not found").
/etc/modprobe.d/blacklist.conf  is empty (I did not edit it).
ALSA lists the following:

aplay -L
null
    Discard all samples (playback) or generate zero samples (capture)
samplerate
    Rate Converter Plugin Using Samplerate Library
speexrate
    Rate Converter Plugin Using Speex Resampler
jack
    JACK Audio Connection Kit
oss
    Open Sound System
pulse
    PulseAudio Sound Server
speex
    Plugin using Speex DSP (resample, agc, denoise, echo, dereverb)
upmix
    Plugin for channel upmix (4,6,8)
vdownmix
    Plugin for channel downmix (stereo) with a simple spacialization
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=sofhdadsp
    sof-hda-dsp, 
    Default Audio Device
usbstream:CARD=sofhdadsp
    sof-hda-dsp
    USB Stream Output

Speaker-Tests gives me a "connection refused"

LC_ALL=C sudo speaker-test -c 8

speaker-test 1.2.4

Playback device is default
Stream parameters are 48000Hz, S16_LE, 8 channels
Using 16 octaves of pink noise
ALSA lib pulse.c:242:(pulse_connect) PulseAudio: Unable to connect: Connection refused

Playback open error: -111,Connection refused

Did I misconfigure something?

Offline

Board footer

Powered by FluxBB