Reply to topic

No sound after update to 20.04

danielcirco
Registered Member
Posts
11
Karma
0

No sound after update to 20.04

Tue Aug 25, 2020 6:26 pm
No sound after updating KDE to release 20.04
When starting the computer, it has no sound, the speaker icon es grayed, and in the output devices only shows 'Dummy Output'

To make the sound work again I have to kill pulseaudio with

Code: Select all
pulseaudio -k


then it seems to autodetect the card and audio works again, but icon is still grayed out.

To fix the icon i have to kill the process using the audio and start pulse audio again

Code: Select all
fuser -v /dev/snd/
kill PROCESSID
pulseaudio -k
pulseaudio -v --start


and audio and icon works, but when I restart the computer there is no audio again and have to repeat the process to make it work again.

I tried reinstalling pulseaudio, alsa-base and it also brings the sound back, but after a restart there is no sound again
(funny because if I suspend, I don't loose audio)

Thanks a lot for your help :)

Edit: I also found that running a speaker-test works, and then after stopping the testopingst, the card is autodetected, and sound is back system wide.
Code: Select all
speaker-test -Dplug:surround51 -c6 -twav


Some info about the computer and distro
laptop Matebook X Pro

syslog: https://controlc.com/ccc0d104
boot.log: https://controlc.com/53af7e19

Distro:
Code: Select all
$ lsb_release -a
No LSB modules are available.
Distributor ID: Neon
Description:    KDE neon User Edition 5.19
Release:        20.04
Codename:       focal


Audio Drivers:
Code: Select all
$ lsmod | grep snd
snd_seq_dummy          16384  0
snd_hrtimer            16384  0
snd_hda_codec_hdmi     61440  1
snd_hda_codec_realtek   122880  1
snd_hda_codec_generic    81920  1 snd_hda_codec_realtek
snd_hda_intel          53248  5
snd_intel_dspcfg       24576  1 snd_hda_intel
snd_hda_codec         131072  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
snd_hda_core           90112  5 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek
snd_hwdep              20480  1 snd_hda_codec
snd_pcm               106496  5 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec,snd_hda_core
snd_seq_midi           20480  0
snd_seq_midi_event     16384  1 snd_seq_midi
snd_rawmidi            36864  1 snd_seq_midi
snd_seq                69632  3 snd_seq_midi,snd_seq_midi_event,snd_seq_dummy
snd_seq_device         16384  3 snd_seq,snd_seq_midi,snd_rawmidi
snd_timer              36864  3 snd_seq,snd_hrtimer,snd_pcm
snd                    90112  20 snd_hda_codec_generic,snd_seq,snd_seq_device,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_pcm,snd_rawmidi
ledtrig_audio          16384  3 snd_hda_codec_generic,huawei_wmi,snd_hda_codec_realtek
soundcore              16384  1 snd


Sound Card:
Code: Select all
$ lspci | grep Audio
00:1f.3 Audio device: Intel Corporation Sunrise Point-LP HD Audio (rev 21)


Kernel Version:
Code: Select all
$ uname -rv
5.4.0-42-generic #46-Ubuntu SMP Fri Jul 10 00:24:02 UTC 2020

Last edited by danielcirco on Thu Aug 27, 2020 2:07 am, edited 1 time in total.
jgb
Registered Member
Posts
1
Karma
0

Re: No sound after update to 20.04

Tue Aug 25, 2020 7:21 pm
Me too... Any solution? Thanks
User avatar claydoh
Registered Member
Posts
675
Karma
5
OS

Re: No sound after update to 20.04

Tue Aug 25, 2020 9:55 pm
Try running pulseaudio -k, then delete the ~/.config/pulse and any pulse related file in the top level of your home dir. This will cause all the sound detection and configs to be recreated.
You might have to run pulseaudio -k again after deleting the files.


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
User avatar paulfeakins
Registered Member
Posts
11
Karma
0

Re: No sound after update to 20.04

Wed Aug 26, 2020 9:56 am
Same issue here after updating Plasma, and described here:
https://www.reddit.com/r/kdeneon/commen ... g_devices/

Essentially my analogue output totally disappeared from all menus.
danielcirco
Registered Member
Posts
11
Karma
0

Re: No sound after update to 20.04

Wed Aug 26, 2020 6:57 pm
@claydoh
just after
Code: Select all
pulseaudio -k
the audio card is autodetected and audio is back, deleted ~/.config/pulse killed pulseaudio again, but after restarting, no sound, just dummy output.

I think it has something to do with pipewire (idk what pipewire is, I'll read about it soon) or the alsa module loading configuration:
this is part of syslog when booting

Code: Select all
Aug 23 20:14:28 daniel pulseaudio[1492]: Failed to load module "module-alsa-card" (argument: "device_id="0" name="pci-0000_00_1f.3" card_name="alsa_card.pci-0000_00_1f.3" 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.
Aug 23 20:14:28 daniel pipewire[1491]: #033[1;31m[E][000000012.885187][pipewire.c:118 open_plugin()] can't load /usr/lib/x86_64-linux-gnu/spa-0.2/jack/libspa-jack.so: /usr/lib/x86_64-linux-gnu/spa-0.2/jack/libspa-jack.so: cannot open shared object file: No such file or directory#033[0m
Aug 23 20:14:28 daniel pipewire[1491]: #033[1;31m[E][000000012.885219][pipewire.c:254 pw_load_spa_handle()] can't load 'jack/libspa-jack': No such file or directory#033[0m
Aug 23 20:14:28 daniel pipewire[1491]: #033[1;31m[E][000000012.885233][spa-device.c:144 pw_spa_device_load()] can't load device handle: No such file or directory#033[0m
Aug 23 20:14:28 daniel pipewire[1491]: #033[1;31m[E][000000012.885244][module-device-factory.c:167 create_object()] can't create device: No such file or directory#033[0m
Aug 23 20:14:28 daniel pipewire[1491]: #033[1;31m[E][000000012.885255][private.h:241 pw_core_resource_errorv()] resource 0x55984c4ac340: id:4 seq:4 res:-2 (No such file or directory) msg:"can't create device: No such file or directory"#033[0m
Aug 23 20:14:28 daniel pipewire[1499]: #033[1;31m[E][000000012.885720][core.c:71 core_event_error()] core 0x55a0ae2531b0: proxy 0x55a0ae26f980 id:4: seq:4 res:-2 (No such file or directory) msg:"can't create device: No such file or directory"#033[0m
Aug 23 20:14:28 daniel pipewire[1499]: #033[1;31m[E][000000012.885747][media-session.c:1799 core_error()] error id:4 seq:4 res:-2 (No such file or directory): can't create device: No such file or directory#033[0m
chris-on-neon
Registered Member
Posts
4
Karma
0

Re: No sound after update to 20.04

Wed Aug 26, 2020 7:11 pm
What I had to do once was go to 'Audio' -> 'Advanced' under 'System Settings', select the non-default audio device under profile, then re-select the default device. This restored my audio.
User avatar paulfeakins
Registered Member
Posts
11
Karma
0

Re: No sound after update to 20.04

Wed Aug 26, 2020 8:00 pm
chris-on-neon wrote:What I had to do once was go to 'Audio' -> 'Advanced' under 'System Settings', select the non-default audio device under profile, then re-select the default device. This restored my audio.

Those settings were one of the first things I tried but my analogue audio device just isn't listed anywhere in there.

And since earlier today, another of my audio devices has disappeared.
danielcirco
Registered Member
Posts
11
Karma
0

Re: No sound after update to 20.04

Wed Aug 26, 2020 8:21 pm
chris-on-neon wrote:What I had to do once was go to 'Audio' -> 'Advanced' under 'System Settings', select the non-default audio device under profile, then re-select the default device. This restored my audio.

If I start the computer there is no profile listed in Audio->Advanced because there aren't devices detected, If i kill pulseaudio, then de device is autodetected and can change de profile, but neither of those made a change after a restart.

Last edited by danielcirco on Thu Aug 27, 2020 5:11 pm, edited 1 time in total.
danielcirco
Registered Member
Posts
11
Karma
0

Re: No sound after update to 20.04

Thu Aug 27, 2020 2:05 am
@jgb
@paulfeakins
what kernel version do you have? mine is 5.4.0-42-generic
User avatar paulfeakins
Registered Member
Posts
11
Karma
0

Re: No sound after update to 20.04

Thu Aug 27, 2020 10:33 am
danielcirco wrote:@jgb
@paulfeakins
what kernel version do you have? mine is 5.4.0-42-generic

Also 5.4.0-42-generic

And today my Task Manager program shortcuts have all disappeared except Discord (which shouldn't be there because it's open).

It seems the recent KDE Plasma update has introduced quite a few relatively serious issues.
august
Registered Member
Posts
1
Karma
0

Re: No sound after update to 20.04

Thu Aug 27, 2020 1:15 pm
Same issue here after update to 20.04, essentially my analogue output disappeared, too.
User avatar paulfeakins
Registered Member
Posts
11
Karma
0

Re: No sound after update to 20.04

Thu Aug 27, 2020 4:01 pm
I'm also finding the new text inputs and text selection with the mouse pretty nasty after this update, is there any word from anyone at KDE about whether it might be rolled back?

Or does anyone know how to roll it back?
danielcirco
Registered Member
Posts
11
Karma
0

Re: No sound after update to 20.04

Fri Aug 28, 2020 8:43 pm
tried updating the kernel, but neither 5.5.19 or 5.6.19 fixed the issue for me.

Also tried adding at the end of /etc/modprobe.d/alsa-base.conf
'options snd-hda-intel model=generic'
'options snd-hda-intel dmic_detect=0'

reference:
https://www.linuxuprising.com/2018/06/f ... ue-in.html

but no luck.
Does anyone know whats was the kernel version prior the update?
I've been reading the logs and searching, but I'm not sure.
User avatar claydoh
Registered Member
Posts
675
Karma
5
OS

Re: No sound after update to 20.04

Fri Aug 28, 2020 9:08 pm
danielcirco wrote:tried updating the kernel, but neither 5.5.19 or 5.6.19 fixed the issue for me.

Also tried adding at the end of /etc/modprobe.d/alsa-base.conf
'options snd-hda-intel model=generic'
'options snd-hda-intel dmic_detect=0'

reference:
https://www.linuxuprising.com/2018/06/f ... ue-in.html

but no luck.
Does anyone know whats was the kernel version prior the update?
I've been reading the logs and searching, but I'm not sure.

Did you ever figure out where the pipewire came from? It is not part of a normal Neon install ( it looks to be a new Gnome thing) . Could it be conflicting with pulseaudio perhaps?
Apparently I can't type or read.

Last edited by claydoh on Sun Aug 30, 2020 4:05 pm, edited 2 times in total.


claydoh, proud to be a member of KDE forums since 2008-Oct, and KDE user since 2001
rechapita
Registered Member
Posts
2
Karma
0

Re: No sound after update to 20.04

Sat Aug 29, 2020 4:05 pm
pipewire comes as a dependency for xdg-destop-portal-kde and kde neon provides its own version for it and its seems to be very buggy.
I have an USB headset and this version causes lots of issues for me when I plug and unplug the headset into and from the USB mostly:
- the headset not being properly detected when I plug in forcing me to restart alsa and pluseaudio
- and pipewire-media-session going 100% of the cpu when I unplug

Reverting back to the Ubuntu provided version solves my isues

 
Reply to topic

Bookmarks



Who is online

Registered users: alra, Baidu [Spider], Bing [Bot], Drecker, Frousties, Google [Bot], ipwizard, JesusM, Kdesr, pulltheo, robgriff444, Section_8, Sogou [Bot], Theo, tymond, YaCy [Bot], Yahoo [Bot]