You are not logged in.

#1 2020-03-18 20:58:34

redsolja
Member
Registered: 2011-04-04
Posts: 43

Slow XFCE load due to PulseAudio and snd-hda-intel

Hello,

I was experiencing a very slow XFCE startup (around 12 seconds after authentication in LightDM, or without LightDM when just using startx).
Looking around I only found references to `haveged` and `random.trust_cpu=on` kernel argument. Nothing of them worked.

When I learned about systemd-analyze --blame user I ran it and got this output:

12.2s pulseaudio.service                   
255ms evolution-source-registry.service    
125ms gvfs-udisks2-volume-monitor.service  
 73ms evolution-calendar-factory.service   
 47ms xfce4-notifyd.service                
 34ms evolution-addressbook-factory.service
  7ms xdg-user-dirs-update.service         
  6ms gvfs-daemon.service                  
  6ms at-spi-dbus-bus.service              
  5ms dbus.socket 

or something equivalent.

Googling for that indicated that there has been such a bug reported here: https://bugs.freedesktop.org/show_bug.cgi?id=93651 but marked as resolved.

Anyway, I blacklisted the `snd-hda-intel` module in `/etc/modprobe.conf` and things were fixed, but, I have no sound.
Doing a `modprobe snd-hda-intel` after I have logged in fixes the sound issue.

Does anyone know a proper way to resolve this? Is there a way to "slow" load a module or load it after user login? Should I just add some options in `/etc/modprobe.d` regarding the `snd-hda-intel` in order for it to not conflict with pulse?

Last edited by redsolja (2020-03-18 21:01:14)

Offline

Board footer

Powered by FluxBB