(Solved) GNOME slow login because of pulseaudio

Everything about X, Gnome, KDE, ... and everything running on it

(Solved) GNOME slow login because of pulseaudio

Postby sillen102 » 2018-02-08 16:45

Hi.

I'm having an issue with logging in to my GNOME session taking a very long time. By chance I was fiddling with pulseaudio and to make a long story short I found that disabling auto start of pulseaudio fixed the login issue. BUT then I have no sound. Or at least I have to start pulseaudio manually each time I log in (and I really don't want to have to do that).

Is there any fix for this issue? I have tried different versions of pulseaudio both the one on Debian Stable and Buster and besides not being able to disable the auto start on the version from Buster the problem is the same on both. As soon as I have pulseaudio running as it should the login takes over 1 minute from the time I enter my password in GDM (sometimes it even hangs completely and I have to switch to another TTY and do a reboot). But disabling pulseaudio makes the login almost instant.

I have also tried running a script and put it in ~/.profile that sleeps for 5-10 seconds and then starts pulseaudio but then it seems as the whole login process just freezes for the duration of the sleep before then taking the over 1 minute so I had no luck with that either.

Anyone with some wise advice?
Last edited by sillen102 on 2018-02-08 23:57, edited 1 time in total.
sillen102
 
Posts: 3
Joined: 2018-02-08 16:22

Re: GNOME slow login because of pulseaudio

Postby Wheelerof4te » 2018-02-08 20:37

That should not happen on default GBOME install of Stretch. Pulseaudio is a bit buggy, but the behaviour you're experiencing is abnormal.
Not much can be done without posting your hardware specs.
Post the output of
Code: Select all
lspci -k
User avatar
Wheelerof4te
 
Posts: 1071
Joined: 2015-08-30 20:14

Re: GNOME slow login because of pulseaudio

Postby sunrat » 2018-02-08 21:21

Also look for error messages. These may help
Code: Select all
journalctl -b -p 3
dmesg |grep pulse
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2384
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: GNOME slow login because of pulseaudio

Postby sillen102 » 2018-02-08 23:56

Well reinstalled Debian and now I don't have the issue anymore. Don't know what caused it (probably some config file that is reset now). But thanks anyway.
sillen102
 
Posts: 3
Joined: 2018-02-08 16:22

Re: (Solved) GNOME slow login because of pulseaudio

Postby sillen102 » 2018-02-09 12:49

The problem did return again. I don't know why really but the solution I finally found was to change autospawn to no in /etc/pulse/client.conf and then add the line "pulseaudio -D" in ~/.profile.
sillen102
 
Posts: 3
Joined: 2018-02-08 16:22

Re: (Solved) GNOME slow login because of pulseaudio

Postby Wheelerof4te » 2018-02-09 17:34

The reason you should have posted your hardware specs is that it may be a bug with your particular sound card which missconfigs pulse on Stretch. It's important for other users, as well.
User avatar
Wheelerof4te
 
Posts: 1071
Joined: 2015-08-30 20:14


Return to Desktop & Multimedia

Who is online

Users browsing this forum: No registered users and 4 guests

fashionable