You are not logged in.

#1 2022-04-26 05:30:47

Hikari
Member
Registered: 2022-04-26
Posts: 1

Audio settings reset every restart

So, i have been having this problem for about a week now. when i open youtube, the video does not play unless i go to my sound settings and change my audio output (analog stereo 7.1) to something else, only for it to reset next restart along with my other volume settings. (the output option does stay, but unless i change it again it does not play any audio

Offline

#2 2022-04-27 03:02:40

jonno2002
Member
Registered: 2016-11-21
Posts: 314

Re: Audio settings reset every restart

you need to set a fallback device (default) or turn off the device you dont want to use.

in pavucontrol go to the configuration tab and set "profile" to "off" for the device you DONT want to use, OR on the "output devices" tab set the device you want as fallback (button with green tick on it)

or if you use pulsemixer, on the "F3" tab turn off the device you DONT want to use, OR on the "F1" tab set the device you want as the default.

Offline

#3 2022-05-03 18:28:20

fabrixx
Member
From: Italy
Registered: 2015-06-07
Posts: 77
Website

Re: Audio settings reset every restart

Problem still persist for me also after setted pavucontrol default device.

Offline

#4 2022-05-04 02:48:40

jonno2002
Member
Registered: 2016-11-21
Posts: 314

Re: Audio settings reset every restart

post output of:

pactl list cards|grep "Card\|Name:\|Active" && pactl get-default-sink

Offline

#5 2022-05-06 16:55:49

fabrixx
Member
From: Italy
Registered: 2015-06-07
Posts: 77
Website

Re: Audio settings reset every restart

i've no output with that command


I would like to recap what has been happening to me for a few weeks:

If I start my PC and try to play YouTube, the window stays black and loading.
If I try to play a video locally, the same happens (some plater black, some crash).
If I enter the GNOME audio settings, I enable and disable the output, I hear a click in the headphones and the audio starts, the various videos locals/YouTube also start.

If I close the screen with the audio settings everything goes back to not working.

The only way to continue to have audio is to set / reset the output and leave the GNOME/Preferences audio settings window open.

I have an SMSL M3 USB DAC connected with a headset that I have been using with Arch for many years without ever having a problem.

i have also multiple proesses of same application volume..
https://imgur.com/a/nl0tdRh

Last edited by fabrixx (2022-05-06 19:19:56)

Offline

#6 2022-05-07 04:55:36

jonno2002
Member
Registered: 2016-11-21
Posts: 314

Re: Audio settings reset every restart

what about:

pactl info|grep -v "User\|Host"

and

journalctl -b |grep -i "snd\|pulse"

Offline

#7 2022-05-07 06:02:08

fabrixx
Member
From: Italy
Registered: 2015-06-07
Posts: 77
Website

Re: Audio settings reset every restart

$ pactl info|grep -v "User\|Host"
Stringa server: /run/user/1000/pulse/native
Versione protocollo libreria: 35
Versione protocollo server: 35
Locale: sì
Indice client: 7
Dimensione tile: 65472
Nome utente: fabrixx
Nome host: archlinux
Nome server: pulseaudio
Versione server: 15.0
Specifica di campionamento predefinita: s16le ch 2 44100 Hz
Mappa del canale predefinita: front-left,front-right
Sink predefinito: alsa_output.usb-S.M.S.L_Audio_SMSL_M-3_Desktop_DAC-00.analog-stereo
Sorgente predefinita: alsa_output.usb-S.M.S.L_Audio_SMSL_M-3_Desktop_DAC-00.analog-stereo.monitor
Cookie: 33f8:2ada
pactl info|grep -v "User\|Host"
Stringa server: /run/user/1000/pulse/native
Versione protocollo libreria: 35
Versione protocollo server: 35
Locale: sì
Indice client: 7
Dimensione tile: 65472
Nome utente: fabrixx
Nome host: archlinux
Nome server: pulseaudio
Versione server: 15.0
Specifica di campionamento predefinita: s16le ch 2 44100 Hz
Mappa del canale predefinita: front-left,front-right
Sink predefinito: alsa_output.usb-S.M.S.L_Audio_SMSL_M-3_Desktop_DAC-00.analog-stereo
Sorgente predefinita: alsa_output.usb-S.M.S.L_Audio_SMSL_M-3_Desktop_DAC-00.analog-stereo.monitor
Cookie: 33f8:2ada
[fabrixx@archlinux ~]$ journalctl -b |grep -i "snd\|pulse"
mag 07 07:40:44 archlinux kernel: ata1.00: Features: Trust Dev-Sleep NCQ-sndrcv NCQ-prio
mag 07 07:40:44 archlinux kernel: snd_hda_intel 0000:0a:00.1: enabling device (0000 -> 0002)
mag 07 07:40:44 archlinux kernel: snd_hda_intel 0000:0a:00.1: Disabling MSI
mag 07 07:40:44 archlinux kernel: snd_hda_intel 0000:0a:00.1: Handle vga_switcheroo audio client
mag 07 07:40:44 archlinux kernel: snd_hda_intel 0000:0c:00.4: enabling device (0000 -> 0002)
mag 07 07:40:45 archlinux kernel: snd_hda_codec_realtek hdaudioC1D0: ALCS1200A: SKU not ready 0x00000000
mag 07 07:40:45 archlinux kernel: snd_hda_codec_realtek hdaudioC1D0: autoconfig for ALCS1200A: line_outs=3 (0x14/0x15/0x16/0x0/0x0) type:line
mag 07 07:40:45 archlinux kernel: snd_hda_codec_realtek hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
mag 07 07:40:45 archlinux kernel: snd_hda_codec_realtek hdaudioC1D0:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
mag 07 07:40:45 archlinux kernel: snd_hda_codec_realtek hdaudioC1D0:    mono: mono_out=0x0
mag 07 07:40:45 archlinux kernel: snd_hda_codec_realtek hdaudioC1D0:    dig-out=0x1e/0x0
mag 07 07:40:45 archlinux kernel: snd_hda_codec_realtek hdaudioC1D0:    inputs:
mag 07 07:40:45 archlinux kernel: snd_hda_codec_realtek hdaudioC1D0:      Front Mic=0x19
mag 07 07:40:45 archlinux kernel: snd_hda_codec_realtek hdaudioC1D0:      Rear Mic=0x18
mag 07 07:40:45 archlinux kernel: snd_hda_codec_realtek hdaudioC1D0:      Line=0x1a
mag 07 07:40:45 archlinux kernel: usbcore: registered new interface driver snd-usb-audio
mag 07 07:40:47 archlinux dbus-daemon[691]: [system] Activating via systemd: service name='org.freedesktop.RealtimeKit1' unit='rtkit-daemon.service' requested by ':1.29' (uid=120 pid=910 comm="/usr/bin/pulseaudio --daemonize=no --log-target=jo")
mag 07 07:40:56 archlinux dbus-daemon[691]: [system] Activating via systemd: service name='org.bluez' unit='dbus-org.bluez.service' requested by ':1.87' (uid=1000 pid=1200 comm="/usr/bin/pulseaudio --daemonize=no --log-target=jo")
mag 07 07:40:56 archlinux pulseaudio[1200]: stat('/etc/pulse/default.pa.d'): File o directory non esistente
mag 07 07:41:21 archlinux pulseaudio[1200]: GetManagedObjects() failed: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.
mag 07 07:53:12 archlinux pulseaudio[1200]: Failed to create sink input: sink is suspended.
mag 07 07:53:12 archlinux pulseaudio[1200]: Failed to create sink input: sink is suspended.
mag 07 07:53:12 archlinux pulseaudio[1200]: Failed to create sink input: sink is suspended.

I have a

stat('/etc/pulse/default.pa.d'): File or directory does not exist

Tryed to recreate that folder but problem persist.

After that i've resetted pulse like this guide and restard but problem persist.

$ rm -r ~/.pulse ~/.pulse-cookie ~/.config/pulse

Last edited by fabrixx (2022-05-07 06:24:47)

Offline

#8 2022-05-07 06:31:33

jonno2002
Member
Registered: 2016-11-21
Posts: 314

Re: Audio settings reset every restart

mag 07 07:53:12 archlinux pulseaudio[1200]: Failed to create sink input: sink is suspended.
mag 07 07:53:12 archlinux pulseaudio[1200]: Failed to create sink input: sink is suspended.
mag 07 07:53:12 archlinux pulseaudio[1200]: Failed to create sink input: sink is suspended.

try this:
https://wiki.archlinux.org/title/PulseA … _suspended

EDIT: you beat me to it, is there anything else in your journal that might help ?

Last edited by jonno2002 (2022-05-07 06:33:25)

Offline

#9 2022-05-07 07:29:57

fabrixx
Member
From: Italy
Registered: 2015-06-07
Posts: 77
Website

Re: Audio settings reset every restart

I am trying to consult various logs
https://imgur.com/a/Sh4ekZo

Offline

#10 2022-05-08 19:23:46

fabrixx
Member
From: Italy
Registered: 2015-06-07
Posts: 77
Website

Re: Audio settings reset every restart

After hours of trying i got around the problem by replacing pulseaudio with pipewire by installing pipewire-pulse.

Now everything works fine

Offline

#11 2022-05-09 09:20:36

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 16,239

Re: Audio settings reset every restart

Did you have pipewire-media-session or wireplumber already installed? Symptoms and resolution sound like what happens if you've installed the latter without doing a complete switch over to pipewire, as wireplumber will lock the devices for itself.

Offline

#12 2022-05-09 11:27:08

fabrixx
Member
From: Italy
Registered: 2015-06-07
Posts: 77
Website

Re: Audio settings reset every restart

I have wireplumber.
That was probably the problem then.

It was recently installed during an update:

[2022-04-21T20:05:57+0200] [ALPM] installed wireplumber (0.4.9-1)
[2022-04-21T20:05:57+0200] [ALPM] installed python-dbusmock (0.27.3-1)
[2022-04-21T20:05:57+0200] [ALPM] removed pipewire-media-session (1:0.4.1-1)

So if I removed wireplumber I could reinstall pulseaudio I guess.

Offline

#13 2022-05-10 21:36:10

eparis
Member
From: NC, USA
Registered: 2015-08-20
Posts: 9

Re: Audio settings reset every restart

fabrixx wrote:

I have wireplumber.
That was probably the problem then.

It was recently installed during an update:

[2022-04-21T20:05:57+0200] [ALPM] installed wireplumber (0.4.9-1)
[2022-04-21T20:05:57+0200] [ALPM] installed python-dbusmock (0.27.3-1)
[2022-04-21T20:05:57+0200] [ALPM] removed pipewire-media-session (1:0.4.1-1)

So if I removed wireplumber I could reinstall pulseaudio I guess.

Thanks for this... audio did not work in GNOME after

[2022-05-10T14:37:04-0400] [ALPM] installed wireplumber (0.4.10-2)

Apparently it was installed to satisfy new dependency gst-plugin-pipewire -> wireplumber.

After I removed both and rebooted, sound in GNOME came back.

Thanks for the hints!

Offline

#14 2022-05-11 15:05:58

Jason P.
Member
Registered: 2015-02-26
Posts: 167

Re: Audio settings reset every restart

More people is affected and as fabrixx mentioned, installing pipewire-pulse can fix it.

https://teddit.net/r/archlinux/comments … _replaced/

Offline

Board footer

Powered by FluxBB