This forum has been archived. All content is frozen. Please use KDE Discuss instead.

Pulseaudio errors

Tags: None
(comma "," separated)
syjgin
Registered Member
Posts
8
Karma
0

Pulseaudio errors

Wed Nov 18, 2020 6:41 am
Every time when I change sound device configuration (plug in or plug out bluetooth headset, change headset mode from audio to headset itself) sound is muted. It's easy to restore sound level, but sometimes after boot pulseaudio is just not recognizes builtin analog stereo or can not add headset mode with microphone to headset. In such cases I have to run this shell script:
#!/bin/sh
rm -rf .config/pulse/*
killall pulseaudio
Maybe, someone else is facing similar problems, so this can help. Problem is existing in Neon since last year, but still not fixed:(
User avatar
apachelogger
KDE Developer
Posts
525
Karma
5
OS

Re: Pulseaudio errors

Wed Nov 18, 2020 10:51 am
Can you run the following to edit the service

Code: Select all
systemctl edit --full --user pulseaudio.service


and change the ExecStart line to read

Code: Select all
ExecStart=/usr/bin/pulseaudio --daemonize=no --log-target=journal -v --log-level=debug


then try to get the stereo inputs to not get recognized and grab a log for pasting here

Code: Select all
journalctl --user -b -1 _SYSTEMD_USER_UNIT=pulseaudio.service


Annoyed with bbcode since 1999.
syjgin
Registered Member
Posts
8
Karma
0

Re: Pulseaudio errors

Thu Nov 19, 2020 6:48 am
Ok, will try this on next problem occurrence
syjgin
Registered Member
Posts
8
Karma
0

Re: Pulseaudio errors

Thu Nov 19, 2020 6:57 am
ноя 14 20:26:45 chikatori-G3-3779 pulseaudio[3155]: Failed to open cookie file '/home/chikatori/.config/pulse/cookie': Нет такого файла или каталога
ноя 14 20:26:45 chikatori-G3-3779 pulseaudio[3155]: Failed to load authentication key '/home/chikatori/.config/pulse/cookie': Нет такого файла или каталога
ноя 15 12:34:02 chikatori-G3-3779 pulseaudio[3155]: ALSA сообщила о возможности записи новых данных в устройство, но на самом
ноя 15 12:34:02 chikatori-G3-3779 pulseaudio[3155]: деле писать было нечего. Скорее всего, это ошибка в драйвере ALSA «snd_hda_intel».
ноя 15 12:34:02 chikatori-G3-3779 pulseaudio[3155]: Пожалуйста, сообщите об этой проблеме разработчикам ALSA. Процесс разбужен
ноя 15 12:34:02 chikatori-G3-3779 pulseaudio[3155]: с установленным POLLOUT, однако последующий вызов snd_pcm_avail() вернул 0
ноя 15 12:34:02 chikatori-G3-3779 pulseaudio[3155]: или другое значение, меньшее чем min_avail.
ноя 15 12:39:07 chikatori-G3-3779 pulseaudio[3155]: After module unload, module 'module-null-sink' was still loaded!

Translated to english via google:
Nov 14 20:26:45 chikatori-G3-3779 pulseaudio [3155]: Failed to open cookie file '/home/chikatori/.config/pulse/cookie': No such file or directory
Nov 14 20:26:45 chikatori-G3-3779 pulseaudio [3155]: Failed to load authentication key '/home/chikatori/.config/pulse/cookie': No such file or directory
Nov 15 12:34:02 chikatori-G3-3779 pulseaudio [3155]: ALSA reported the possibility of writing new data to the device, but in fact
Nov 15 12:34:02 chikatori-G3-3779 pulseaudio [3155]: there was nothing to write about. This is most likely a bug in the "snd_hda_intel" ALSA driver.
Nov 15 12:34:02 chikatori-G3-3779 pulseaudio [3155]: Please report this issue to the ALSA developers. Process is awakened
Nov 15 12:34:02 chikatori-G3-3779 pulseaudio [3155]: with POLLOUT set, but subsequent call to snd_pcm_avail () returned 0
Nov 15 12:34:02 chikatori-G3-3779 pulseaudio [3155]: or other value less than min_avail.
Nov 15 12:39:07 pm chikatori-G3-3779 pulseaudio [3155]: After module unload, module 'module-null-sink' was still loaded!

Looks like problem is gone after creating ~/.config/pulse/cookie by hand. WIll observe this for next configuration change case
syjgin
Registered Member
Posts
8
Karma
0

Re: Pulseaudio errors

Thu Nov 19, 2020 7:18 am
Not sure about "losted" devices, but muting after configuration change is still exists


Bookmarks



Who is online

Registered users: Bing [Bot], Google [Bot], Yahoo [Bot]