Summary: | Custom xbmc.service starts x-session and xbmc before pulseaudio is fully initialized | ||
---|---|---|---|
Product: | systemd | Reporter: | John <da_audiophile> |
Component: | general | Assignee: | systemd-bugs |
Status: | RESOLVED NOTABUG | QA Contact: | systemd-bugs |
Severity: | normal | ||
Priority: | medium | CC: | da_audiophile |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: | ||
Attachments: | proposed xbmc.service |
Description
John
2014-08-11 05:56:45 UTC
There's actually no expectation that systemd-user-sessions.service network.target sound.target are in any way related to all devices being found and initialized. sound.target is closest, but it does not say anything about all devices being initialized, it's just automatically pulled in when at least one device was found (see systemd.special(7)). It is useless for your purpose. Pulseaudio is prepared for devices to come and go. So pulseaudio being initialized only means that it is ready to accept connections, not that specific hardware is ready. (For example, I have a USB sound card. Sometimes it falls out when I pull on the cable. There's no point in time that devices are initialized. As soon as I plug it back in, pulseaudio let's me use it again.) So if you know that there's a specific list of devices that xmbc should wait for, you can add specific dependencies on those devices, using systemd dependencies, or use pulseaudio-specific mechanism to enumerate cards or something. But this is a purely local configuration thing. We can't really help with that. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.