| Summary: | 6_rc0: /etc/X11/xinit.d/50pulseaudio causes 20+ second launch delay | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Bit Twister <bittwister2> |
| Component: | RPM Packages | Assignee: | Colin Guthrie <mageia> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | mageia, marja11, thierry.vignaud |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | pulseaudio-9.0-3.mga6.src.rpm | CVE: | |
| Status comment: | |||
|
Description
Bit Twister
2016-08-21 15:49:24 CEST
I wonder if this is related to the changes in Bug 17617 (which are still buggy, patch available there). (In reply to David Walser from comment #1) > I wonder if this is related to the changes in Bug 17617 (which are still > buggy, patch available there). It would not surprise me one bit. What little rooting around I have done seems a fair amount of code wants the $DESKTOP=(GNOME,KDE?,xfce?,...) type value but that variable is no longer set in /etc/sysconfig/desktop. $ cat /etc/sysconfig/desktop DISPLAYMANAGER=sddm My guess any code looking at $SESSION can not vector using the DESKTOP name. I did create ~/.DESKTOP with DISPLAYMANAGER=sddm DESKTOP=xfce4 and next login gave me a locked up environment. :( A little more testing seems to indicate $SESSION will contain the Exec value I.E. grep Exec= /usr/share/xsessions/* I tried a Plasma desktop and $SESSION had /usr/bin/startkde Summary:
6_rc0: /etc/X11/xinit.d/50pulseaudio causes 20+ second launch delay for xfce4 =>
6_rc0: /etc/X11/xinit.d/50pulseaudio causes 20+ second launch delay
David Walser
2016-08-22 13:53:53 CEST
CC:
(none) =>
mageia, thierry.vignaud Assigning to Colin, even if the above gives the impression the bug has nothing to do with pulseaudio. Colin is so brilliant, he might understand what's going on and how to fix it in a snap second :-D CC:
(none) =>
marja11 See if the update to PulseAudio 9.0 in Cauldron improves things. Also, chksession has been fixed. (In reply to David Walser from comment #5) > See if the update to PulseAudio 9.0 in Cauldron improves things. Nope, made my problems worse. At the moment I am still trying to get puleaudio to work as a system daemon with either pulseaudio-9.0-1 or -2 > Also, chksession has been fixed. Maybe it was but nothing has fixed this problem. Here is the proof. I added the echo statement # cat /etc/X11/xinit.d/50pulseaudio #!/bin/sh # to be sourced echo "SESSION=$SESSION" > $HOME/SESSION.TXT case "$SESSION" in GNOME|KDE*|xfce4) # XDG is supported so we don't need to do anything. # as XDG Autostart will "just work"(tm) ;; *) /usr/bin/start-pulseaudio-x11 ;; esac Rebooted the system and $ cat $HOME/SESSION.TXT SESSION=startxfce4 shows that start-pulseaudio-x11 will always cause the delay.
Bit Twister
2016-10-13 10:38:32 CEST
Source RPM:
pulseaudio-8.0-5.mga6.src.rpm =>
pulseaudio-9.0-3.mga6.src.rpm Seems to be working. Status:
NEW =>
RESOLVED |